vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - ibProArcade - professional Arcade System (https://vborg.vbsupport.ru/showthread.php?t=101554)

legacy99 03-25-2008 12:06 AM

Does anyone know why games that save scores using, for example, 17.5 on other sites will save as 17 on mine?

MissKalunji 03-25-2008 12:50 AM

there's a setting : Score Separator try that and see?

Sgt Pepper 03-25-2008 04:16 AM

CHmoded the arcade folder and all its subfolders but not the .swf files cos there not subfolders.I did everything the instructions said to and still nothing....I really wanna use this but i cant get it going. plz help.it says wat i said 4 posts ago.is it something to do with the functions bit?

Thanking you in advance,
Sgt Pepper

JVCode 03-25-2008 04:44 AM

There's a problem with my ibparcade since installing 3.7 RC1 - None of the scores are being submitted, "This score was not submitted from the game. Your score will not be saved." - That's all i get everytime.

Gemma 03-25-2008 03:19 PM

Quote:

Originally Posted by JVCode (Post 1473886)
There's a problem with my ibparcade since installing 3.7 RC1 - None of the scores are being submitted, "This score was not submitted from the game. Your score will not be saved." - That's all i get everytime.

Portal installed? Anything other than the original index.php installed? Use the support forum instead of this thread?

slickdawg 03-26-2008 11:41 AM

I did a new install on 3.8.2 pl2 and arcade acts like it did not create the tables, I get these errors (this one from admincp - arcade - group permissions)

mySQL query error: SELECT usergroupid, title, arcade_access, p_require, max_play, ppd_require, ibpa_cats, tourney FROM vbulletinusergroup

mySQL error: Unknown column 'arcade_access' in 'field list'
mySQL error code:
Date: Wednesday 26th 2008f March 2008 07:40:28 AM

Sworm 03-26-2008 01:47 PM

Why arcade has got all of this DB problems? :(

calumn 03-26-2008 02:48 PM

Hello

I am having a problem, I know what is causing it but do not know how to solve it. My forum is www.computalk.net and has an arcade at www.computalk.net/arcade.php

Before it worked and submitted scores correctly to the highscores table.

However now, I have installed a portal page. The actually forum is now at www.computalk.net/forum.php instead of index.php

But the highscores aren't working, the games submit to:

http://www.computalk.net/index.php?a...de&do=newscore

That worked on the old one, but now they should submit to:

http://www.computalk.net/forum.php?a...de&do=newscore

I have looked around and can't find out how to change this, any help would be greatly appreciated.

R-D 03-26-2008 03:01 PM

Quote:

Originally Posted by calumn (Post 1475032)
Hello

I am having a problem, I know what is causing it but do not know how to solve it. My forum is www.computalk.net and has an arcade at www.computalk.net/arcade.php

Before it worked and submitted scores correctly to the highscores table.

However now, I have installed a portal page. The actually forum is now at www.computalk.net/forum.php instead of index.php

But the highscores aren't working, the games submit to:

http://www.computalk.net/index.php?a...de&do=newscore

That worked on the old one, but now they should submit to:

http://www.computalk.net/forum.php?a...de&do=newscore

I have looked around and can't find out how to change this, any help would be greatly appreciated.

There's instructions in the .zip file for sites with a portal:

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


vahit_k 03-28-2008 07:59 AM

thank you


All times are GMT. The time now is 05:10 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.05134 seconds
  • Memory Usage 1,758KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (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