Version: , by xXTheOneRavenXx
Developer Last Online: Apr 2014
Version: Unknown
Rating:
Released: 12-21-2007
Last Update: Never
Installs: 0
No support by the author.
Good day all. How's it go'in? I just had one issue. I am using VB version 3.6.8 and IbProArcade 2.6.5+. Thought the games that came with the arcade (i.e asteroids, Space Invaders, Tetris, Snake, Simon, Hexxagon, Breakout & Moonlander) all work, if I try to install any other games from the PnFlashgames website, and the following steps my board doesn't seem to detect the .swf or .gif files:
1) locally unzip the archive
2) upload the .swf-file to /arcade
3) create two .gif-files (gamename1.gif and gamename2.gif) based on the .gif provided with the game
4) upload the two .gif-files to /arcade/images/
5) enter AdminCP -> Arcade -> Add Game and manually add it (using the first upper section)
The files show in the correct location on my server, and seem to install fine on the board. But don't work. So when I try to uninstall them using the AdminCP, the .swf & .gif files are not detected and it asks me to remove them using the ftp. Any solutions?
The games I am trying to use are: Contra World Challenge II, Ice World, Black Jack, Frogger, Pacman, Ms.Pacman, DTunnel, Hoops, Jewels, Kill Kenny, Joust, Memory, Plasmanout on Fire, Plasmanout V2, & The Simpsons.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Okay, now I figured out the problem with a few games. With Frogger, Pacman, Hoops, Jewels, & The Simpsons it was just a matter of making sure that image files (gamename1 was 20x20 pixels & gamename2) was 100x100 pixels. Now there is a major programming error with Ice World where the ground doesn't show up so you die automatically so I uninstalled it. Now I have a different problem. When the games & the arcade were first installed, everything worked fine. The scores were recording, etc... now today it stopped recording new scores. For instance I beat one of my members top Pacman score today and the arcade game flashed a notice "If you are logged in your scored will be recorded." However my score was not recorded and I was indeed logged into my site. So I then tried installing the below patch from the vbadvanced or another portal .txt file that came with 2.6.5+ IPB Arcade. However, I am still having the problem where scored are no longer being recorded. I have 14 games in total. Any suggestions on how to fix it??
If you are using vbAdvanced Portal and your /index.php is not the original one from vBulletin,
you have to edit your alternate index.php:
open index.php
At the very beginning of the File, right after:
----------------------------------------------------------
<?php
----------------------------------------------------------
you have to insert:
----------------------------------------------------------
// ibProArcade
if($_POST['module'] == "pnFlashGames")
{
require_once('./global.php');
case "saveGame":
$_GET['do'] = "pnFSaveGame";
break;
case "loadGame":
$_GET['do'] = "pnFLoadGame";
break;
case "loadGameScores":
$gid = $vbulletin->input->clean_gpc('p', 'gid', TYPE_INT);
$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;
}
}