Quote:
PHP Notice: Undefined index: sessdo in /path/to/nepalhub.com/httpdocs/arcade.php on line 33
|
I was getting the same thing. Solution?
Code:
/*
if($_POST['sessdo'] == "sessionstart") {
$gamerand = rand(1,10);
$gametime = mktime();
$lastid = 1;
echo "&connStatus=1&initbar=$gamerand&gametime=$gametime&lastid=$lastid&result=OK";
exit;
}
if($_POST['sessdo'] == "permrequest") {
$microone = microtime();
setcookie("v3score", $_POST['score']);
echo "&validate=1µone=$microone&result=OK";
exit;
}
*/
and
Code:
/*
if($_POST['sessdo'] == "burn") {
$DB->query("SELECT gname FROM ibf_games_list WHERE gid=" . $_COOKIE['gidstarted']);
$gname = $DB->fetch_row();
$_POST['gname'] = $gname['gname'];
$_POST['gscore'] = $_COOKIE['v3score'];
$ibforums->input['do'] = "newscore";
}
*/
Both places in arcade.php mentioning sessdo should be commented out, just like they are above. No guarantees how this will affect the ibProArcade setup, but it seems to run games and all that just fine, at least for me.
It looks like this has something to do with the vbarcade games and all that, or maybe an earlier v3 thing, but so far, nothing's acted up while leaving those commented out. The error definitely disapeared once that was done though.
HTH . Good product so far, just that one minor bug (and the fact that 777 permissions are evil in and of themselves!)