i'm trying to modify the pinball game i get this error:
vbProArcade Error: Invalid game name specified (todo: put something pretty here later)
heres the code i used:
// set up vars to return
vpaver = "100B2";
text = score;
action = "gameover";
game = gamename;
score_loc = location + "proarcade.php";
// this needs to match the Admin CP value
// and should be between 0 and 31
hashoffset = 5;
// do security shuffle to return newhash
subhash1 = gamehash.substr(0,hashoffset);
subhash2 = gamehash.substr(hashoffset);
newhash = subhash2.concat(subhash1);
// redirect back to vbProArcade
getURL (score_loc, "_self", "POST");
anyone know why its doing this?
|