View Full Version : ibProArcade Fixes
yesfans
11-23-2011, 05:37 PM
4.1.8 removed ARCADE link from Navbar, how to put it back??
--------------- Added 1322075201 at 1322075201 ---------------
nvr mind I got it.
--------------- Added 1322075960 at 1322075960 ---------------
4.1.8 Vb, have a user saying....
"When in the arcade - it won't update your score - it says it needs a security certificate"
I am unable to duplicate it and have asked that person what game he was in. But has anyone seen this one?
Hippy
11-23-2011, 08:44 PM
check your apache error log .. most likely it's missing the gamedata folder..
Zarpor
12-21-2011, 09:48 AM
http://screensnapr.com/e/kQx2mX.png
Getting there errors any idea what it may be?
Also my game scores save but when i hit the score screen i get this string of errors
http://screensnapr.com/e/XLyPk0.png
Hippy
12-21-2011, 11:55 AM
when I get home I will see what I can figure out
--------------- Added 1324500424 at 1324500424 ---------------
I can't make this out by your errors posted
I'm going to need to get on your place to see
pm me details.
Leica.Robbiani
01-02-2012, 01:42 AM
Hi there,
I am sure I did all right during nstallation, all files are at its place. But this one left me in confusion:
Expand the menu "Arcade" in the left AdminCP-menu
I cannot find the Arcade-menu in my AdminCP-menu.
Best regards
L.R.
Hippy
01-02-2012, 01:25 PM
make sure you upload the files to the correct place ..
these file are missing or in the wrong place
includes /xml/ folder
xml/cpnav_arcade.xml
xml/hooks_ibproarcade.xml
xml/product-ibproarcade.xml
Iguana Goddess
01-08-2012, 03:45 PM
Thnx for the fixes Hippy!
Gamelobby
01-09-2012, 07:40 AM
Hippy, Please help.!!
I have tried every fix here, & still nothing. Actually i've done so many fixes i think my fixes are causing problems. lol (not really, but ive done way more than i needed to)
http://www.gamelobby.com/Forum/arcade.php
Hippy
01-09-2012, 10:37 AM
try this
https://vborg.vbsupport.ru/attachment.php?attachmentid=127767&d=1301435838
https://vborg.vbsupport.ru/attachment.php?attachmentid=131863&d=1313025056
upload these to skin files and allow over write..
if you did all the fixes this is all thats left.. because of your custom style this will work..
Thnx for the fixes Hippy!
welcome
--------------- Added 1326143704 at 1326143704 ---------------
Hippy, Please help.!!
I have tried every fix here, & still nothing. Actually i've done so many fixes i think my fixes are causing problems. lol (not really, but ive done way more than i needed to)
http://www.gamelobby.com/Forum/arcade.php
also noticed you did not add the Arcade template posted here..
Gamelobby
01-10-2012, 02:04 AM
also noticed you did not add the Arcade template posted here..
I'll try those, but they are php files (& you say allow overwrite.?) Also, im not sure what you mean by this ^
Hippy
01-10-2012, 10:41 AM
add my template posted here https://vborg.vbsupport.ru/showthread.php?t=249120 first post has the template
and the 2 files I posted above add to your ftp in your arcade skin folder..
over write the oem ones or delete them first or what ever you need to do to replace them files..
if you need help send me details via pm and I will do it for you
Gamelobby
01-11-2012, 12:59 AM
Got it.!!
Thanks. :D
Hippy
01-11-2012, 02:27 AM
looking good 2 thumbs up glad I could be a of service
goxy63
01-15-2012, 12:02 AM
Does one knows how can I achieve this:
http://img576.imageshack.us/img576/7916/arcadehowto.gif
http://img849.imageshack.us/img849/2364/sample.gif
Picture says most of it, but let me explain with my poor English
I want those names of games in statistics to be clickable/linking to very same games
Also as in second picture (not from my site) it would be great to set images just before those game names there as it looks nice :)
Anyone know how to do this and where to do changes?
Thanks
Hippy
01-15-2012, 12:15 AM
go to next level arcade and ask stangger5 https://vborg.vbsupport.ru/member.php?u=100434
small donation and I am sure he will do it
goxy63
01-15-2012, 01:48 AM
go to next level arcade and ask stangger5 https://vborg.vbsupport.ru/member.php?u=100434
small donation and I am sure he will do it
Will do, thanks
TalkVirginia
01-16-2012, 12:53 AM
I've tried to fix this myself but I really need a hand here. After installing the arcade it's jacked up my site style as shown below:
Home CMS page shows fine.
http://www.333amparanormalresearch.com/images/img1.jpg
Arcade page... not so much.
http://www.333amparanormalresearch.com/images/img2.jpg
Also the text on the box fieldsets are black when it should be white.
https://vborg.vbsupport.ru/
I'm hoping someone can help me with this.
Thanks in advance!
Jim
EDIT: I decided to discontinue using the Arcade so this can be disregarded. Thanks anyway.
Hippy
01-16-2012, 10:47 AM
well went you decide to use it again these where easy fixes..
TalkVirginia
01-19-2012, 11:20 AM
well went you decide to use it again these where easy fixes..
Thank you. Actually I decided to reinstall it on my site and still having the same issues. Can someone help with this please?
Thank you again
Hippy
01-19-2012, 08:17 PM
sure .. I can come by and do it for you or try and walk you trough it
My first couple post fix 99.9% of things other wise pm me details and ILl pop in to fix it
Destiny25
01-22-2012, 10:06 PM
Hey,
I?m having problems with the postbit:
https://vborg.vbsupport.ru/
I?ve tried out your bug fixes but it still is completely mixed up. Could you please help me? Thank you!
Regards
Hippy
01-22-2012, 11:24 PM
the code you added was from the read me file in the zip file ?
well t he code was wrong
try this
https://vborg.vbsupport.ru/showpost.php?p=2090028&postcount=3
if you have it's another mod doing it but this one triggered it .
I'll need to pop in there to see
pm me details if you don't get it with that post
Destiny25
01-23-2012, 09:34 AM
Thank you, it works! :)
ariellio
03-07-2012, 04:09 PM
I tried searching this thread but wasn't able to find anything on this bug.
I upgraded from arcade 2.7 to 2.7.2 in vB 4.0.8 and got this message:
Warning: stristr() [function.stristr]: needle is not a string or an integer in [path]/arcade.php on line 5550
I overwrote all php files before overwriting the product. Am I missing something?
stangger5
03-08-2012, 12:29 AM
I tried searching this thread but wasn't able to find anything on this bug.
I upgraded from arcade 2.7 to 2.7.2 in vB 4.0.8 and got this message:
I overwrote all php files before overwriting the product. Am I missing something?
Read this thread: https://vborg.vbsupport.ru/showthread.php?t=279382
Some games are black after the upgrade. Any advice? Running 4.1.11 and the latest Arcade.
Hippy
03-10-2012, 12:34 PM
if you click a game and it's black .. it's missing the .swf
if you still have the game you uploaded use winrar to unpack it and re upload via ftp the *.swf file to your arcade folder..
if they are all black, most likely you don't have flash install on your browser
TheBrettster
03-14-2012, 07:50 PM
I
Also the text on the box fieldsets are black when it should be white.
http://www.333amparanormalresearch.com/images/img3.jpg
[/B]
I'm having this issue aswell.
Hippy
03-14-2012, 08:21 PM
reset-fonts.css template change the #000 to the color of your choice ..
legend{color:#000
I believe the html{color:#000; as wel but I forget what font it changed
dan325ci
03-29-2012, 05:07 PM
After upgrading to the latest arcade version or vbulletin.... i am getting this error at the top of the arcade:
Warning: stristr() [function.stristr]: needle is not a string or an integer in [path]/arcade.php on line 5550
I am not sure exactly if this started happening after upgrading to the latest vbulletin or arcade (both were don't recently)
Anybody can help me with a solution?
Hippy
03-29-2012, 07:19 PM
After upgrading to the latest arcade version or vbulletin.... i am getting this error at the top of the arcade:
Warning: stristr() [function.stristr]: needle is not a string or an integer in [path]/arcade.php on line 5550
I am not sure exactly if this started happening after upgrading to the latest vbulletin or arcade (both were don't recently)
Anybody can help me with a solution?
this thread will help you
https://vborg.vbsupport.ru/showthread.php?t=279382
stangger5 has posted the way he did it .. if you need me to do the edit and send you the file
pm me..
Hippy
04-04-2012, 10:00 AM
added more info / fixes to the first post
killerhmd
04-07-2012, 02:43 AM
Hey,
I?m having problems with the postbit:
http://www.liebeskummer-forum.net/postbit.jpg
I?ve tried out your bug fixes but it still is completely mixed up. Could you please help me? Thank you!
Regards
I am having this same issue. :(
https://vborg.vbsupport.ru/external/2012/04/52.png
Hippy
04-07-2012, 12:24 PM
You need to add a <br /> in template that you added the code to
Hippy
05-03-2012, 09:51 PM
For People looking to add a Tab / buttton for the arcade
Arcade: Main Nav Tab + Sub Menu + Dropdown Menu
https://vborg.vbsupport.ru/showthread.php?t=235218
by princeedward
if you do not want to add this plugin manually
here is a xml.....
https://vborg.vbsupport.ru/attachment.php?attachmentid=136246&d=1328153789
nacaruncr
05-10-2012, 01:41 PM
I have this problem:
https://vborg.vbsupport.ru/attachment.php?attachmentid=138355&stc=1&d=1336660844
I followed the instructions from the first post and anything :S
Any idea?
Raptor
05-10-2012, 05:55 PM
instead of dozens of confusing fixes why isnt a new pack released ?
i appreciate your efforts hippy but im afraid its too much of a mess - im even using default skin and it doesn't display correctly
after years of using this mod im going to have to finally uninstall it until its supported correctly again :(
Hippy
05-10-2012, 11:01 PM
instead of dozens of confusing fixes why isnt a new pack released ?
i appreciate your efforts hippy but im afraid its too much of a mess - im even using default skin and it doesn't display correctly
after years of using this mod im going to have to finally uninstall it until its supported correctly again :(
If you like I can come by and fix it for you.. PM me
its all here for Mrzeropage to add to his first post.. sorry I can only do so much to keep it alive..
--------------- Added 1336694677 at 1336694677 ---------------
I have this problem:
https://vborg.vbsupport.ru/attachment.php?attachmentid=138355&stc=1&d=1336660844
I followed the instructions from the first post and anything :S
Any idea?
open up your adrcade skin file and search for tcat .. and replace them all to blockhead
and make sure you change the template I have in the first post...If you need me to stop by pm me
Hippy
05-11-2012, 11:22 PM
<a href="https://vborg.vbsupport.ru/showthread.php?p=2328579#post2328579" target="_blank">Updated IbProarcade Fixes</a>
this thread will no longer be updated ...
thanks
Hippy
05-12-2012, 12:43 PM
If you like I can come by and fix it for you.. PM me
its all here for Mrzeropage to add to his first post.. sorry I can only do so much to keep it alive..
--------------- Added 1336694677 at 1336694677 ---------------
open up your adrcade skin file and search for tcat .. and replace them all to blockhead
and make sure you change the template I have in the first post...If you need me to stop by pm me
I edited the skin files
and attached them..
replace your skin files..
in /arcade/skins/ folder
over write
HeLLCiTo
06-10-2012, 02:22 PM
I get a message that the score will not be saved but only I can think of a game, what are the permissions on the FTP Arcade to php swf and gif files because I think it may be that
another question
The messages also won tournaments has moved me other profile data
https://vborg.vbsupport.ru/external/2012/06/39.jpg
thanks
Hippy
06-10-2012, 03:21 PM
in your postbit_legacy
change your edit from
<dd>{vb:raw post.crowns}{vb:raw post.champtext}</dd>
or
if you never fixed the typo it will like so
<dt>{vb:raw post.crowns}{vb:raw post.champtext}</dd><br />
change it to
{vb:raw post.crowns}{vb:raw post.champtext}
and you can try this as well if the above is not perfect
{vb:raw post.crowns}<dd>{vb:raw post.champtext}</dd>
now for the score not saving
no more edits in the index.php for vb4.2.0 (if you added it , remove it)
also good for anything before
if you don't want to edit your index file any longer
add this .htaccess file to your forums root dir
same place you will find your forum.php index.php and arcade.php
*note If you already have a .htaccess file there add this
add this
# Send hardcoded ipa scores to arcade instead
RewriteCond %{QUERY_STRING} act=Arcade [OR]
RewriteCond %{QUERY_STRING} autocom=arcade
RewriteRule ^index.php arcade.php [L,QSA]
under RewriteEngine on
if you have a existing htaccess
other wise just upload this one attached
HeLLCiTo
06-10-2012, 03:44 PM
thanks
it from postbit_legacy has been fixed
I have not a file called .htaccess I should do
Hippy
06-10-2012, 03:51 PM
sorry I forgot to add the file .. see above post
HeLLCiTo
06-10-2012, 05:22 PM
thanks, I just download
I added. htaccess in the root directory and in the arcade directory but the strange thing happens to me only a game, the game is called Panda jumping if it helps
Hippy
06-10-2012, 08:56 PM
the file only goes in the root dir ..
and I don't quite understand what you mean about the game
this is the only one not working ?
HeLLCiTo
06-11-2012, 05:59 PM
the file only goes in the root dir ..
and I don't quite understand what you mean about the game
this is the only one not working ?
yes only this game is giving me the problem
I've put the file in the root directory folder and the arcade folder
Hippy
06-11-2012, 06:07 PM
Not all games work../ save score you can email it to me and I'll test it. Details in my profile
HeLLCiTo
06-12-2012, 08:11 PM
Not all games work../ save score you can email it to me and I'll test it. Details in my profile
I just send the game by email
thanks :up:
Hippy
06-12-2012, 08:33 PM
I tested the same v2 game yesterday and it saved score "Same files Same size"
Not sure why it will not save score by U
did you try to uninstall and reinstall it ?
dan325ci
06-14-2012, 04:48 PM
Hi
We are using NGINX and do not have any .htaccess file in the root directory of the arcade.
Also, the zip attachment you have above has nothing in it.
Our problem is half the games are not able to submit scores...
in your postbit_legacy
change your edit from
<dd>{vb:raw post.crowns}{vb:raw post.champtext}</dd>
or
if you never fixed the typo it will like so
<dt>{vb:raw post.crowns}{vb:raw post.champtext}</dd><br />
change it to
{vb:raw post.crowns}{vb:raw post.champtext}
and you can try this as well if the above is not perfect
{vb:raw post.crowns}<dd>{vb:raw post.champtext}</dd>
now for the score not saving
no more edits in the index.php for vb4.2.0 (if you added it , remove it)
also good for anything before
if you don't want to edit your index file any longer
add this .htaccess file to your forums root dir
same place you will find your forum.php index.php and arcade.php
*note If you already have a .htaccess file there add this
add this
# Send hardcoded ipa scores to arcade instead
RewriteCond %{QUERY_STRING} act=Arcade [OR]
RewriteCond %{QUERY_STRING} autocom=arcade
RewriteRule ^index.php arcade.php [L,QSA]
under RewriteEngine on
if you have a existing htaccess
other wise just upload this one attached
HeLLCiTo
06-15-2012, 10:23 PM
I tested the same v2 game yesterday and it saved score "Same files Same size"
Not sure why it will not save score by U
did you try to uninstall and reinstall it ?
I tried to install and gives me the same error and it is rare
I've installed it as a mirror, without removing the previous version, but now is I have two identical sets
Hippy
06-16-2012, 09:42 AM
Hi
We are using NGINX and do not have any .htaccess file in the root directory of the arcade.
Also, the zip attachment you have above has nothing in it.
Our problem is half the games are not able to submit scores...
the file above is not empty
I do not have the time to check your OS
but you need to have your ftp client set to be able to view dot file
you can make your own .htaccess with this in it
RewriteEngine on
# Send hardcoded ipa scores to arcade instead
RewriteCond %{QUERY_STRING} act=Arcade [OR]
RewriteCond %{QUERY_STRING} autocom=arcade
RewriteRule ^index.php arcade.php [L,QSA]
and up load it to your forum root dir
this goes for the others who are posting they are adding this to there arcade dir
I tried to install and gives me the same error and it is rare
I've installed it as a mirror, without removing the previous version, but now is I have two identical sets
so both do not work..
Im not sure why this happens to some with these older v2 games
make a test site and try it there
dan325ci
06-17-2012, 03:50 PM
Actually i know how to create an .htaccess file...its just that NGINX web servers do not use the .htaccess file so what could i do in it's place?
I also have a second question...seems when i add games it says that i need to CHMOD certain directories to 777. I am just curious if setting these directories to 777 will post any security risks....and the arcade directory in general should be set to 777 or 755?
Thanks.
the file above is not empty
I do not have the time to check your OS
but you need to have your ftp client set to be able to view dot file
you can make your own .htaccess with this in it
RewriteEngine on
# Send hardcoded ipa scores to arcade instead
RewriteCond %{QUERY_STRING} act=Arcade [OR]
RewriteCond %{QUERY_STRING} autocom=arcade
RewriteRule ^index.php arcade.php [L,QSA]
and up load it to your forum root dir
this goes for the others who are posting they are adding this to there arcade dir
so both do not work..
Im not sure why this happens to some with these older v2 games
make a test site and try it there
Hippy
06-17-2012, 04:50 PM
Did you do the index edit ? in the archive you'll find the code
Buller
06-18-2012, 09:55 AM
Hi Hippy
I uploaded your htaccess file to the root dir where arcade.php, index and forum are and then removed the index.php arcade code, I then tried a game and it would not send the score, I put the code back in the index.php did not remove the htaccess file and then replayed the game and it scored. Any ideas ?
Hippy
06-18-2012, 02:43 PM
was it a .htaccess ? or htaccess with out the .
was was the issue before ?
Buller
06-18-2012, 03:06 PM
was it a .htaccess ? or htaccess with out the .
was was the issue before ?
That was it, forgot the "." Thank You Hippy
Hippy
06-18-2012, 03:15 PM
Anytime
Gerry5039
06-23-2012, 12:44 AM
Im so sorry but this thread has just totally confused me, Im not a programmer so I am beat and will have to install the Arcade. this line is not in my navbar template,
<li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li>
So I cant go any further.
Thanks
Hippy
06-24-2012, 10:37 AM
what version of vb are you running ?
if your running anything under vb4.2.0 then use this mod
https://vborg.vbsupport.ru/showthread.php?t=235218
or here is the xml to install it for you
https://vborg.vbsupport.ru/attachment.php?attachmentid=136246&d=1328153789
if your vb4.2 then use the navigation manager
and here is the updated fix thread https://vborg.vbsupport.ru/showthread.php?p=2328579
Mahoni999
09-18-2012, 10:48 AM
Hello Hippy :)
Can you help me with this Error?
Error #011 -> gid=108|ui[a_sess_gid]=108|g[gid]=|vs[mid]=11578|vs[gname]=redandblu|gamename=redblu
I am unsure for what stays the Error 11 ??
Thanks in Advance :)
Mahoni
Hippy
09-18-2012, 10:58 AM
I need a little more detail.what version are you using what started this error. Where are your seeing this error what fixes did you apply already . The more the better
Mahoni999
09-18-2012, 02:51 PM
i am not havin the Problem myself. just trying to help somebody.
Arcade running is 2.7.2
Certain Games can`t submit Highscore. Not all of them basicly older ones.
The basic Error-Message is: This score was not submitted from the game. Your score will not be saved.
After Debuging we got this Error 11 Message.
holdsession.php is in Place. No CMS is running so no Need to modify the index.php
I will try to get more Details.
Kind Regards,
Mahoni
Hippy
09-18-2012, 03:10 PM
If your using vb4 open up the holdsession and delete everything in it or comment it all out..Save and upload over writing the old one. if its vb3 leave it...its not needed for vb4 open but you cant just delete the file. Because the script is calling it m but it will be find like that.
Mahoni999
09-18-2012, 03:13 PM
Oh sorry forgot to tell which vb Version.
Arcade is running on vb 3.8.6
stangger5
09-18-2012, 05:17 PM
Error #011 -> gid=108|ui[a_sess_gid]=108|g[gid]=|vs[mid]=11578|vs[gname]=redandblu|gamename=redblu
I am unsure for what stays the Error 11 ??
Mahoni
Error #11 is suppost to be for cheating..
Looking at your error message,,it doesnt have the game id..
Error #011 -> gid=108|ui[a_sess_gid]=108|g[gid]=|vs[mid]=11578|vs[gname]=redandblu|gamename=redblu
The g[gid]= should say g[gid]=108..
Look at the game redblu and see if its id is 108..
Mahoni999
09-18-2012, 05:53 PM
Hello stangger :)
The Game ID is correct. it is 108.
For sure Cheating is not the Reason for it. I just play the Game regular and it won`t save.
On my Site the Game works fine and saves Highscores. So i guess it must be something on this other Site.
Could it be a Incompatibility of the PHP Version? How can the game id get lost?
Regards,
Mahoni
stangger5
09-18-2012, 06:16 PM
Have them look in the error logs,,see if it says anything about max_input_vars in php.ini ..
Mahoni999
09-19-2012, 06:27 AM
Hello stangger :)
What if they see a Error Log like you posted? What would be the Problem? i Know this is responsible for the Runtime. Would that mean the PHP Version isn`t good for the Arcade?
Regards,
Mahoni
stangger5
09-19-2012, 08:25 AM
Could be many different things..
If they get a max_input_vars isnt high enough..Try raising it..
Could try deleting the game (Remove from database and delete game files)..
Install some other games and then install it again..
Mahoni999
09-19-2012, 03:53 PM
Arghhhhh
This Dude wasted my Time and now he just sayed it is not so important for him. He says he can live with this Issue. First he could not get fast enough Help and now that. So i will stop at this Point to search for him for a Solution.
Sorry for taking Time from you stangger and you Hippy.
Regards,
Mahoni
Hippy
09-19-2012, 08:00 PM
no problem..
madness85
02-18-2013, 07:45 PM
no problem..
hi buddy im trying to change the black lines on Tournaments cant seem to find it :(
any chance u know how :)
https://vborg.vbsupport.ru/external/2013/02/11.jpg
Digital Jedi
02-19-2013, 07:00 PM
That's probably in arcade.php. He using tables with border colors to create the lines. You'd have to edit that file directly after hunting for it somewhere in the file. The code would look something like this:
<table border="0" width="500" height="1" align="center" bordercolor="000000" cellspacing="0" cellpadding="0">
<tbody><tr><td width="200">
<table border="0" width="200" height="1" align="center" bordercolor="000000" cellspacing="0" cellpadding="0" bgcolor="000000">
<tbody><tr><td></td></tr>
</tbody></table>
</td>
<td width="198">
<table border="0" width="192" height="1" align="center" bordercolor="000000" cellspacing="0" cellpadding="0">
<tbody><tr><td></td></tr>
</tbody></table>
</td>
<td width="200">
<table border="1" width="200" height="1" align="center" bordercolor="000000" cellspacing="0" cellpadding="0" bgcolor="000000">
<tbody><tr><td></td></tr>
</tbody></table>
</td></tr>
</tbody></table>
Hippy
02-19-2013, 08:09 PM
hi buddy im trying to change the black lines on Tournaments cant seem to find it :(
any chance u know how :)
https://vborg.vbsupport.ru/external/2013/02/11.jpg
Did you use the arcade template and the arcade. css I posted.
Is this with a custom skin?
Shoot me pm I'd you would like me to see the issue...
I forget tho jedi is also correct about this being in the tourtment area
TroyTrojansFan
02-21-2013, 04:42 AM
Hi,
I've got my arcade up but the only thing that seems to be not working is that high scores are not being saved. The game screen says it is sending the score and then sends you to a forum page rather than back to the arcade page. Is that suppose to happen?
I'm using vb4.2 I'm also using vb on a Windows server.
I think I saw a place where this was addressed but I can't find it again. Thank you in advance for your help. :-)
Hippy
02-21-2013, 10:01 AM
Hi,
I've got my arcade up but the only thing that seems to be not working is that high scores are not being saved. The game screen says it is sending the score and then sends you to a forum page rather than back to the arcade page. Is that suppose to happen?
I'm using vb4.2 I'm also using vb on a Windows server.
I think I saw a place where this was addressed but I can't find it again. Thank you in advance for your help. :-)
Did you add the index edit?
https://vborg.vbsupport.ru/showthread.php?t=282802
You'll find it here or within your arcade archive you downloaded @vb in mrzeropages arcade thread
TroyTrojansFan
02-22-2013, 01:51 AM
Did you add the index edit?
https://vborg.vbsupport.ru/showthread.php?t=282802
You'll find it here or within your arcade archive you downloaded @vb in mrzeropages arcade thread
Hi,
I just did that and my arcade comes to a complete stop after a game and it is sending results. It "stops" at the following URL:
http://www.yoursite.com/forum/index.php?act=Arcade&do=newscore
I'm not sure what to do now??
Thank you for your help. :-)
Hippy
02-22-2013, 02:54 AM
not enough info.. :( anyway
windows server the htaccess rewrite will not work ..
so you need to use
open index.php
At the very beginning of the File, right after:
----------------------------------------------------------
<?php
----------------------------------------------------------
you have to insert:
----------------------------------------------------------
// ibProArcade
if($_POST['module'] == "pnFlashGames")
{
require_once('./global.php');
switch($_POST['func'])
{
case "storeScore":
$_GET['act'] = "Arcade";
$_GET['module'] = "arcade";
$_GET['do'] = "pnFStoreScore";
break;
case "saveGame":
$_GET['do'] = "pnFSaveGame";
break;
case "loadGame":
$_GET['do'] = "pnFLoadGame";
break;
case "loadGameScores":
$gid = $vbulletin->input->clean_gpc('p', 'gid', TYPE_INT);
$uid= $vbulletin->userinfo['userid'];
$game = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "games_scores WHERE mid=$uid AND gid = $gid ORDER BY score DESC LIMIT 0,1");
$scores = $game[score];
if($scores != false)
{
//Return true
print "&opSuccess=true&gameScores=$scores&endvar=1"; //send endvar to keep opSuccess separate from all other output from PostNuke
}
else
{
print "&opSuccess=false&error=Error&endvar=1";
}
break;
}
}
$act = $_GET[act];
$autocom = $_GET[autocom];
$showuser= $_GET[showuser];
if($act == "Arcade" || $autocom=="arcade") {
include "arcade.php";
exit();
}
if(!empty($showuser) && $showuser >= 1) {
$u = $showuser;
$_GET[u] = $showuser;
include "member.php";
exit();
}
// end of ibProArcade
----------------------------------------------------------
Otherwise your scores won't be recorded :)
TroyTrojansFan
02-22-2013, 04:00 AM
Hi,
Yes, I have added the code to the .htaccess file and the code to the index.php file. The arcade will still not save the scores. :(
I haven't seen anything else in the threads that tells you what to do after that?
Thank you for the help. :-)
Hippy
02-22-2013, 09:57 AM
Hi,
Yes, I have added the code to the .htaccess file and the code to the index.php file. The arcade will still not save the scores. :(
I haven't seen anything else in the threads that tells you what to do after that?
Thank you for the help. :-)
If you have rewrite on.. Then you do not need the index edit.. Do one or the other they may conflict with try one test if it doesn't work test the other
TroyTrojansFan
02-22-2013, 11:54 PM
Well, I tried the .htaccess page with just the added code and the index.php page in it's original condition and it doesn't work. Also tried the index.php code on there with the .htaccess file it's original state and neither work. :(
I don't know what to try now. :confused:
stangger5
02-23-2013, 09:05 AM
Well, I tried the .htaccess page with just the added code and the index.php page in it's original condition and it doesn't work. Also tried the index.php code on there with the .htaccess file it's original state and neither work. :(
I don't know what to try now. :confused:
Do you have a index.php file ??
I dont think index.cfm will work..
Try adding the arcade index.php code to your forum/forum.php file..
TroyTrojansFan
02-25-2013, 12:32 AM
Do you have a index.php file ??
I dont think index.cfm will work..
Try adding the arcade index.php code to your forum/forum.php file..
That worked!! Thank you very much for your help!! Great modification!!
I thought I'd share a small fix. We had one game (Onslaught 2) that would get errors when scores were submitted, and I always suspected it was because the scores were large numbers. It turns out the problem was due to the fact that our server OS is 64 bit and the score encoding depends on 32 bit arithmetic. So I made this change:
Find this line:
$decodescore = $player_score * $vs['randchar1'] ^ $vs['randchar2'];
and put this code after it:
if (defined('PHP_INT_SIZE') AND (PHP_INT_SIZE == 8) AND ($player_score * $vs['randchar1'])>2147483647)
{
$decodescore &= 0xffffffff;
$decodescore |= ($decodescore & 0x80000000) ? 0xffffffff00000000 : 0;
}
As far as I know Onslaught 2 is the only game we had a problem with, but I thought I'd share it anyway in case someone else is interested.
Edit: I changed the above to simpler code that only runs when needed, and it's been tested better (although I don't know of any problem with what I originally posted).
xxdestinyxx
01-08-2014, 01:33 PM
- Wrong thread -
FireFish
04-24-2014, 09:40 PM
Any ideas why I'm looking like a trainwreck compatibility wise?
http://screencast.com/t/AUw5GDD9Z3
stangger5
04-25-2014, 12:20 AM
Any ideas why I'm looking like a trainwreck compatibility wise?
Over write your ARCADE template with the one in the first post in this thread,,for starters..
FireFish
04-25-2014, 12:31 AM
Over write your ARCADE template with the one in the first post in this thread,,for starters..
I tried that before posting that screenshot. Negative. :mad:
stangger5
04-25-2014, 12:50 AM
Mind if I have a look ?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.