The Arcive of vBulletin Modifications Site. |
|
Scores won't save for vb 3.8.5 Details »»
|
|||||||||||||||||||||||||
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
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
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 :)
|
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
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.. |
|
#5
|
|||
|
|||
|
Quote:
Quote:
Gunna try and load all the games from my friends site and upload them to my site and see if it works. |
|
#6
|
||||
|
||||
|
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 |
|
#7
|
||||
|
||||
|
Same 4 me Scores won't save for 4.0.8 and i got this error msg
Quote:
how can i fix this plezzz |
|
#8
|
||||
|
||||
|
do the portal / index edit. the instructions can be found in the zip file you downloaded
|
![]() |
|
|