https://next-level-arcade.com


Results 1 to 8 of 8

Thread: Game Eror

  1. #1
    Junior Member

    Join Date
    Apr 2016
    Posts
    6
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Game Eror

    Giving exclamation error in some games I downloaded from your site games are being played , but no kind of points, what should I do not save your score , please, set up from the beginning to remove the game that mistakes help but still the same unfortunately please help system Vbulletin

    Some games do not save in points


    V32 games ibProArcade troubled me

    Attachment 271

  2. The Following User Says Thank You to real For This Useful Post:

    junkyman (04-29-2016)

  3. #2
    Junior Member

    Join Date
    Apr 2016
    Posts
    6
    Thanks
    0
    Thanked 2 Times in 2 Posts
    help me

  4. #3
    Super Moderator junkyman's Avatar

    Join Date
    Apr 2006
    Location
    In Paradise
    Posts
    11,124
    Thanks
    1,566
    Thanked 617 Times in 566 Posts
    Sorry for the delay ,,, When brother stangger comes back online , he will help you he is very good.
    Make A Contribution Using PayPal To Help Support Next-level-Arcade


    R.I. P. Rock Falcon

  5. #4
    Junior Member

    Join Date
    Apr 2016
    Posts
    6
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Thanks Waiting for help recently and I'm guessing

  6. The Following User Says Thank You to real For This Useful Post:

    junkyman (04-29-2016)

  7. #5
    Administrator stangger5's Avatar

    Join Date
    Nov 2005
    Posts
    1,633
    Thanks
    666
    Thanked 620 Times in 320 Posts
    They save score to the index.php instead of arcade.php.
    You need to add the save score code to your index.php file..

    That code is in the INFO - vbadvanced or another Portal file that comes with the arcade..

  8. The Following User Says Thank You to stangger5 For This Useful Post:

    junkyman (04-29-2016)

  9. #6
    Junior Member

    Join Date
    Apr 2016
    Posts
    6
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by stangger5 View Post
    They save score to the index.php instead of arcade.php.
    You need to add the save score code to your index.php file..

    That code is in the INFO - vbadvanced or another Portal file that comes with the arcade..
    I do exactly as required public_html > index.php

    open index.php

    The file is too early <? php

    did add code after the code ?

    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_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;
    	}
    }
    
    $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

  10. #7
    Junior Member

    Join Date
    Apr 2016
    Posts
    6
    Thanks
    0
    Thanked 2 Times in 2 Posts
    help me?

  11. #8
    Administrator stangger5's Avatar

    Join Date
    Nov 2005
    Posts
    1,633
    Thanks
    666
    Thanked 620 Times in 320 Posts
    Enable debug-mode, open /arcade.php and set $DEBUGMODE to value 2 (right at the beginning of the script)
    Error message has extended information when set to 2..You can post the error messages here.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Link Exchange - Affiliates/Friends