Last Game Section version: 1.2



Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Oh dear . Game doesn't exist + You forgot something
26-04-2008, 04:36 (This post was last modified: 26-04-2008 05:55 by labrocca.)
Post: #21
RE: Oh dear . Game doesn't exist + You forgot something
I am having this same problem but only with certain games. Stunt Bike being an example.

"You Forgot Something" is rather annoying...please let me know how I can fix this. I am also on clustered hosting but why would SOME games work and other don't?

EDIT:

Alright...when I go to submit a save...it gets redirected to index.

http://www.finalfantasyforum.com/index.p...=savescore

WTF?

EDIT2: Found the problem...when attempting to save the gscore variable is undefined. After doing a print_r on $mybb I see that it's labeled as enscore?

This was the solution inside submit.php

Code:
//IBProArcade or IBProArcade v3/v32

if($mybb->input['gscore'] == 'undefined'){
$mybb->input['gscore'] = $mybb->input['enscore'];
}

if(floatval($mybb->input['gscore']) && isset($mybb->input['gname']) && $mybb->request_method == "post")
{
    $name = $mybb->input['gname'];
    $score = $mybb->input['gscore'];
}
else
{

    error($lang->noinput, $lang->error);

}
Find all posts by this user
Quote this message in a reply Opera Windows XP/2003
26-04-2008, 07:41
Post: #22
RE: Oh dear . Game doesn't exist + You forgot something
Are you sure it isn't a v3 game? Only IBProArcade v2 and v32 are supported Wink

Online - Urbanus
Visit this user's website Find all posts by this user
Quote this message in a reply Firefox Linux
26-04-2008, 11:00
Post: #23
RE: Oh dear . Game doesn't exist + You forgot something
Well I downloaded them from here. My fix worked for a couple but not all of them. A couple still don't work. I just disabled them.

However now I have a new problem..seems like if you have a score it won't save any new scores.
Find all posts by this user
Quote this message in a reply Opera Windows XP/2003
26-04-2008, 11:11
Post: #24
RE: Oh dear . Game doesn't exist + You forgot something
Do you get an error?

Online - Urbanus
Visit this user's website Find all posts by this user
Quote this message in a reply Firefox Linux
26-04-2008, 21:08
Post: #25
RE: Oh dear . Game doesn't exist + You forgot something
"You forgot something"

I guess it's related to whatever the flash is outputting. Users are ticked...they get a great score and if they already have a score they get that error. I see that some of the flash games export different variables. But most use "score" in some way...maybe a preg_match would help in the error. I will post whatever I find for a solution. I certainly won't take this lying down. Smile

If you have a way for me to fix this please let me know. I am sure others are having similar problems. One easy way to troubleshoot this is the print_r($mybb) before the error statement. That way you can see what's inside $mybb->input.
Find all posts by this user
Quote this message in a reply Opera Windows XP/2003
02-05-2008, 04:30 (This post was last modified: 02-05-2008 04:32 by judel.)
Post: #26
RE: Oh dear . Game doesn't exist + You forgot something
labrocca Wrote:http://www.finalfantasyforum.com/index.p...=savescore

WTF?
Yes, I've noticed this happening on occasion as well. Not all the time, which is hard to pin down.
Find all posts by this user
Quote this message in a reply Firefox Windows XP/2003
02-05-2008, 10:40
Post: #27
RE: Oh dear . Game doesn't exist + You forgot something
(26-04-2008 21:08)labrocca Wrote:  \"You forgot something\"

I guess it's related to whatever the flash is outputting. Users are ticked...they get a great score and if they already have a score they get that error. I see that some of the flash games export different variables. But most use \"score\" in some way...maybe a preg_match would help in the error. I will post whatever I find for a solution. I certainly won't take this lying down. Smile

If you have a way for me to fix this please let me know. I am sure others are having similar problems. One easy way to troubleshoot this is the print_r($mybb) before the error statement. That way you can see what's inside $mybb->input.
Yes, the IBProArcade v2 games and v32 games outputs the same: gscore and gname. But v32 outputs an encoded version of the score, too. That encoded version is the base of the Ant-Cheat system.

Can you maybe control it once which filenames there are in the gamedata directory of that games? And: that games aren't downloaded from here, I don't find them with the search funtion.

But, it's possblie that a v3 game indeeed worked in the past, but the security is now much higher.

Online - Urbanus
Visit this user's website Find all posts by this user
Quote this message in a reply Firefox Linux
17-01-2009, 23:36
Post: #28
RE: Oh dear . Game doesn't exist + You forgot something
I've had the same problem with this system too, when I got the submit score errors it was because I renamed the file. Thank god for this thread, you're all awesome. Smile
Find all posts by this user
Quote this message in a reply Firefox Windows XP/2003
Post Reply 


Forum Jump: