PDA

View Full Version : Non Gamedata Games Scores Not Saving



Pages : [1] 2

joe43wv
02-05-2016, 09:32 PM
Hello all, Stannger5 was helping us over at Vbulletin and told us to come here. We're having trouble with games that do not come with a Game Data folder included in the download not saving scores. Any tar we upload and install that has the gamedata folder included the scores post no problem. One game we have tested with from here is Aztec Drop. Any thoughts?

stangger5
02-06-2016, 12:10 AM
Aztec Drop is a v2 game..Its an older game and doesnt come with game data files..

It saves score to the index.php instead of arcade.php.
You need to add the save score code to your index.php files..

That code is in the INFO - vbadvanced or another Portal files that comes with the arcade..

joe43wv
02-06-2016, 12:49 AM
I added that when I upgraded. This is a continuance of the discussion from VBulletin with Mike8823, if that helps ya pick up where we left off.

stangger5
02-06-2016, 12:51 AM
Mind if I have a look at your site ?

joe43wv
02-06-2016, 01:00 AM
You are more than welcome to. Want the site link or FTP access?

stangger5
02-06-2016, 01:07 AM
You can pm me both..

joe43wv
02-06-2016, 01:14 AM
PM sent.

stangger5
02-06-2016, 01:31 AM
One thing to try,, add www to your site..
Sometimes the arcade or games will not work right without it ..

joe43wv
02-06-2016, 01:36 AM
Just tested it, no dice.The games worked before I upgraded to 2.7.3+, I'm not sure what changed with the upgrade but that is when it stopped working.

stangger5
02-06-2016, 01:40 AM
After you played a game and tried to submitted score, the link in your browser had www ?

joe43wv
02-06-2016, 01:48 AM
No. The old version didn't have www either.

stangger5
02-06-2016, 01:56 AM
Just give it a try.. You will have to log in again..
If it doesnt work,,we can move to something else..

joe43wv
02-06-2016, 02:08 AM
Okay, tested it and same result.

stangger5
02-06-2016, 02:25 AM
I see the problem now,,, give me a few mins to fix..

joe43wv
02-06-2016, 02:31 AM
Great, thanks Stangger!

stangger5
02-06-2016, 02:47 AM
Its working now..

It was the arcades ibp_cleanhtml code for saving scores..

It would change game_AztecDropAS3v2DR to game_AztecAS3v2DR, it took out Drop..
I changed it to use vbulletins, $vbulletin->input->clean_gpc

joe43wv
02-06-2016, 02:55 AM
Great, thanks Stangger! Does that fix all of the V2 games or just this one?

stangger5
02-06-2016, 03:00 AM
Your welcome..

It should fix most v2 and v32 games with that same problem..

It will not fix v32 games, if they are missing their game data files..

joe43wv
02-06-2016, 03:04 AM
AWESOME! Stangger, your the man!

blind-eddie
02-09-2016, 03:12 AM
Its working now..

It was the arcades ibp_cleanhtml code for saving scores..

It would change game_AztecDropAS3v2DR to game_AztecAS3v2DR, it took out Drop..
I changed it to use vbulletins, $vbulletin->input->clean_gpc


This is something you spoke of a while back is it not?