Log in

View Full Version : V32 games - errors


deepak7
05-26-2007, 04:44 PM
Hey

EVERY V32 game i install on my forum wont save scores! (score not submitted from the game)

Any idea? Do I need to install them differently? (I upload the tar and click on Install near the filename in admin).

I have ibProArcade v2.6.1+ and 3.6.5 (just upgraded to 3.6.7)

stangger5
05-26-2007, 06:38 PM
If you are using vbAdvanced or anther Portal and your index.php is not the original one from vBulletin,
you have to edit your alternate index.php.

Read the (INFO - vbadvanced or another Portal.txt) that comes with the arcade..

I have about 70 of the v32,v33 games installed so far..All working fine...

Stifmeister2
05-26-2007, 07:47 PM
If you are using vbAdvanced or anther Portal and your index.php is not the original one from vBulletin,
you have to edit your alternate index.php.

Read the (INFO - vbadvanced or another Portal.txt) that comes with the arcade..

I have about 70 of the v32,v33 games installed so far..All working fine...
I have vbadvanced in my www.mysite.com/index.php, but my forums are in www.mysite.com/forums/index.php (and naturally arcade is in www.mysite.com/forum/arcade.php)

Do I still need to edit that vbadvanced index.php??


I was getting te same error in a v32 game I found recently...

MrZeropage
05-26-2007, 09:52 PM
you always need to adapt the index.php if it is not original vBulletin's index.php as games do submit their score to index.php ;)

deepak7
05-27-2007, 12:52 PM
Hi

Thx for replies.
I dont have vbadvanced but I have:

VBSEO, Commbull... and some others.

Can you please tell me exactly what changes do I need to make to index.php ?

stangger5
05-27-2007, 03:04 PM
Read the (INFO - vbadvanced or another Portal.txt) that comes with the arcade..

Stifmeister2
05-27-2007, 03:23 PM
you always need to adapt the index.php if it is not original vBulletin's index.php as games do submit their score to index.php ;)
Well I haven't had any problems so far and I've had arcade over 1 year. :) Only with this new v32 game...

Kacela
05-27-2007, 06:20 PM
Same problem here. I cannot use any of the V32 games... when it comes time to submit, the window just goes black and out to lunch... version 2x games submit their scores just fine.

MrZeropage
05-27-2007, 06:31 PM
did you check v33 game, too ?
you have ibProArcade v2.6.1+ ?

If you want, I can check the problem on somebodys site, just provide AdminCP+FTP access via PM and tell me the name of the installed v32 game...

stangger5
05-27-2007, 11:17 PM
The (INFO - vbadvanced or another Portal.txt) has changed for the new v32,v33 games...
Mr.Z added more code to it,,I think it was in the last version..

Have you done the newest index.php edit ???

I had the old index.php edit and my v32,v33 games wouldnt submit..
After I did the newest edit,,they all work...

MrZeropage
05-28-2007, 09:04 AM
oops, yes, that is right :)

make sure your index.php (from portal) has this code// 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_NOHTML);
$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

deepak7
05-28-2007, 09:54 AM
Ty , still not working.
ITS ONLY for v32 games :/

Stifmeister2
05-28-2007, 07:32 PM
I did the edit for my vbadvanced index but I still get the error. The first time I play everything goes just fine. But the next time I play I always get the same errror (score not submitted from the game).

It's a v33 game called "Meredes Drift" (downloaded from ibparcade.com). I use IE7 (if it matters).

The same thing goes for every member I think, first score is ok, then none of the scores are saved.. :(

MrZeropage
05-30-2007, 07:24 PM
all of you having this problem please provide AdminCP+FTP access so I can check this out and fix it is necessary. Tell me which games have this problem...

stangger5
05-30-2007, 08:13 PM
I did the edit for my vbadvanced index but I still get the error. The first time I play everything goes just fine. But the next time I play I always get the same errror (score not submitted from the game).

It's a v33 game called "Meredes Drift" (downloaded from ibparcade.com). I use IE7 (if it matters).

The same thing goes for every member I think, first score is ok, then none of the scores are saved.. :(

Thats the problem with v32,v33 games...

It will only let you submit one time,,,then you just about have to log out and back in before it will save your score again for that game...

Now thats Secure...lmao

MrZeropage
05-30-2007, 08:27 PM
multiple scores work fine here with secure game, sorry ... need to test this on some other site I think

Stifmeister2
05-30-2007, 09:04 PM
I have 2 secure games, and the other one (v32 game) works just fine, but the other one (v33) only lets me save 1 score. :( (Haven't tested if it works again if I log out and log back in.)


Mr. Zeropage could you please test THIS GAME (http://www.ibparcade.com/index.php?automodule=downloads&showfile=1540) on your board to see if it's a error in the game or something wrong on my forum? I deleted the game already cause our board members got frustrated when their good scores weren't saved. :( Try to play it 2-3 times in a row and see if you can get more than 1 score saved.

Kacela
05-31-2007, 08:42 PM
PM sent!

Curious Too
08-26-2007, 11:11 PM
Was this issue ever resolved? None of the scores for V32 or V33 games will submit. There are no error messages during the installation. I do not have vbadvanced or any other portal installed. I am using ibProArcade v2.6.3+.

MrZeropage
08-27-2007, 05:32 AM
This is working fine in v2.6.3+ re-install such game to make sure it really gets installed correctly and then it will work.

Curious Too
08-27-2007, 10:12 AM
This is working fine in v2.6.3+ re-install such game to make sure it really gets installed correctly and then it will work.

It doesn't work for me. No folder is created in the arcade/gamedata/ folder or the /arcade/tar/gamedata folder for the corresponding game. There are no error messages during the installation of the game and no error messages in the apache error log. The permissions on the /arcade/gamedata and /arcade/tar/gamedata folders is 777. The only way for me to install V32 games is to manually create the folder in /arcade/gamedata and manually upload the game data file to that folder. I did not have this problem with v2.6.2.

MrZeropage
08-27-2007, 02:05 PM
you updated your /admincp/arcade.php to v2.6.3+ ?
and also updated the /functions folder ?

And when you install a new, fresh game, then it should create the subfolder for the game