vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   V32 games - errors (https://vborg.vbsupport.ru/showthread.php?t=148176)

MrZeropage 05-28-2007 09:04 AM

oops, yes, that is right :)

make sure your index.php (from portal) has this 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_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

Quote:

Originally Posted by Stifmeister2 (Post 1256405)
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 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.


All times are GMT. The time now is 11:40 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01069 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete