vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Scores won't save for vb 3.8.5 (https://vborg.vbsupport.ru/showthread.php?t=250002)

Hell Bomb 09-05-2010 07:56 PM

Scores won't save for vb 3.8.5
 
Hey guys, for some reason no matter what I do none of the scores save. Is their any known fixes for this? Like i said in the title I have 3.8.5

Hippy 09-05-2010 09:41 PM

did you try this edit>?

Code:

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');

        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
----------------------------------------------------------


Otherwise your scores won't be recorded :)


Hell Bomb 09-05-2010 09:46 PM

I have the vbadvance outside the forum root folder so that shouldn't be an issue should it?

Here is the debug error
Error #001 -> vs_gid=248 | cookie_gid=248 | gameid=16

Hippy 09-05-2010 10:20 PM

I seen that it was in the same dir
forum.trinityentertainment
can't hurt to try it ..
I see it saved scores at one time.. what did you change, that it stopped saving the score?
did you un-install it ?
It was all there before
all the games and data are missing now
as far as the debug error I have no idea what that means..

Hell Bomb 09-05-2010 10:26 PM

Quote:

Originally Posted by Hippy (Post 2094320)
I seen that it was in the same dir
forum.trinityentertainment
can't hurt to try it ..

my vbadvance is in in the public_html folder while my forum is in the forum folder

Quote:

Originally Posted by Hippy (Post 2094320)
I see it saved scores at one time.. what did you change, that it stopped saving the score?
did you un-install it ?

it will only save scores for like 8 different games
Quote:

Originally Posted by Hippy (Post 2094320)
It was all there before
all the games and data are missing now
as far as the debug error I have no idea what that means..

Gunna try and load all the games from my friends site and upload them to my site and see if it works.

Hippy 09-05-2010 10:46 PM

I do notice every now and again the gamedata folders go missing ..
Some how the arcade deletes them and they have to be added back manually because they stop saving score..
If you have some that don't save and others that do.. then there is a good chance thats what happened

desi-boy 10-23-2010 12:16 PM

Same 4 me Scores won't save for 4.0.8 and i got this error msg
Quote:

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

how can i fix this plezzz

Hippy 10-23-2010 03:38 PM

Quote:

Originally Posted by desi-boy (Post 2113147)
Same 4 me Scores won't save for 4.0.8 and i got this error msg



how can i fix this plezzz

do the portal / index edit. the instructions can be found in the zip file you downloaded


All times are GMT. The time now is 06:57 AM.

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.00963 seconds
  • Memory Usage 1,735KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete