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)

jaffaman 07-31-2009 01:46 PM

I got this from an old version from v2.6.7 m8 i think it should be the same the file was called INFO - vbadvanced or another Portal.


Hope that helps Glen290.

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


glen290 07-31-2009 01:52 PM

That works perfect...cheers for your help jaffaman.. :D :D

jaffaman 07-31-2009 01:53 PM

Np m8

cionfs 08-03-2009 09:50 AM

Hi! I've a problem. When you enter a new score, this is not saved.
I've IbProArcade 2.6.8 and vBulletin 3.8.3.

How can I solve?

PS: I changed the index.php file by adding the code but does not solve

Eruantien 08-03-2009 07:18 PM

I have the same issue. New scores are not being saved.

inciarco 08-04-2009 01:15 AM

Sometimes on FireFox the Scores are Not Saved but on Internet Explorer and on Google Chrome All the Times the Scores are Saved Fine.

Try with those 2 Browsers, perhaps is something (Bug) on the Code that needs to be Reviewed for the Next Update of the Mod.

Of course Post the Results of your Tests with the other 2 Web Browsers.

My Best Regards.

:)

Eruantien 08-04-2009 02:35 AM

It is not saving the scores with any browser...

RedTrinity 08-04-2009 08:57 AM

Similar problem here, except every time a game goes to submit a score, a blank page is displayed instead. Refreshing the page displayed a message that the score is not saved.

Some scores are saved, but many are not.

Has never been an issue before, its possibly related to the upgrade to V2.6.8 recently.

Would appreciate some support, or a solution, for this :) Members are getting quite upset that some of their exceptionally good scores are not being recorded.

Cheers :)

multiplex 08-05-2009 07:17 PM

has anyone noticed this...

in the admin cp-->arcade-->Notifications

all options have a notification option except for the last 2

Notification-Messagetext: Reminder
Notification-Messagetext: Disqualification

i'm having people complain they missed their turn in a tournament cause they didnt get a notification. so i go to see if the option is turned on and the yes/no option isnt even there

is anyone else have this issue?

inciarco 08-12-2009 03:58 AM

Quote:

Originally Posted by GamerGirl27 (Post 1861109)
Similar problem here, except every time a game goes to submit a score, a blank page is displayed instead. Refreshing the page displayed a message that the score is not saved.

Some scores are saved, but many are not.

Has never been an issue before, its possibly related to the upgrade to V2.6.8 recently.

Would appreciate some support, or a solution, for this :) Members are getting quite upset that some of their exceptionally good scores are not being recorded.

Cheers :)


I Quote this Post I Just Made that Can be Useful to Perhaps Solve when Scores are not being Saved on Mozilla FireFox and also when Games don't Work as they should. (With Google Chrome and Internet Explorer the Score Problem don't Occur, so it's something with FireFox):


Quote:

Originally Posted by inciarco (Post 1865601)
On the CPanel Application where you can Configure Your Account, there is an Option for "Hotlink Protection", there you can set to Enable/Disable thar Feature and also the URLs that won't be Affected by it and the Files You'd like to Protect; and also the Option to "Allow Direct Requests of URLs of Files with the Web Browser" when the Hotlink Protection is Enabled, which is the one that is needed to be Activated for the Images to be Displayed on FireFox.

I Also Realized that this same Option when Enabled allow the Scores to be Saved on the IBProArcade Arcade Systemm which otherwise would'nt be Saved for many Games, and also things like the Sound in some Games that didn't Worked Before is Now Working Fine after Enabling that Option on the Hotlink Feature.

My Best Regards.

:)


Mustang Sally 08-12-2009 04:43 PM

Will this work if my web server only excepts 0755? They do not support chmod 0777. They said, if I use 0777, I will get a server error.

tropicon 08-13-2009 02:49 PM

Where can we download more games and how to install?

mikeo9043 08-14-2009 01:40 PM

I've had this mod for a while but I just noticed after testing out a few games, it wont save my score anymore, after the saving score screen goes it just takes you back to the homepage..what could be the problem?

psilocybin1 08-16-2009 11:53 PM

install all games button doesnt work...i get this

Quote:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@***.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
heres the error log

[Sun Aug 16 19:52:36 2009] [error] [client x.x.x.x] File does not exist: public_html/500.shtml, referer:/arcade.php?code=add_game

beerhead 08-18-2009 02:10 AM

I'm curious if there's a way to remove the arcade mod cp for the supermods only? Or is there a way to edit their permissions so that they can't reset scores?

Any help would be great.

mrytown 08-22-2009 03:58 AM

Wow what a great thing you have made, first time for a install myself and well it worked just like you said, easy as pie!!!! 2 THUMBS UP!!!!!!!!!!!!!!!!

installed on
www.thecorrectionalconnection.com

Toshifira 08-22-2009 04:27 AM

Excellent, Thanks! ^^

matthewhotdude 08-24-2009 05:57 PM

I cant get the highscores to show up in the postbit

matthewhotdude 08-24-2009 07:13 PM

I had to reinstall my vbulletin style, Since then I can't get the high scores to show up in the postbit. Please help

*ignor im nuts, forgot the template edits

yeshoward 08-25-2009 01:58 AM

This score was not submitted from the game. Your score will not be saved.

Transmission Timeout (0 sec)

many players have met these errors, any fix?

yeshoward 08-25-2009 02:58 AM

icons are shown on postit fine

How to make a <div>champions </div> with <if> condition?

condition : If there is champion from this member, <div> will show?

J19784B5A39B 08-27-2009 05:13 PM

I apologize for my English is not correct: I have problems in my game room, the games do not work in v32 why? Someone could help me? Since I installed ibProArcade games have started to score zero

matthewhotdude 08-28-2009 12:46 PM

Sorry if been asked before, how can you set it so users have to post so many posts in the forum a day before they can use the arcade?

rootsxrocks 08-28-2009 02:43 PM

I know you can set a min rep and post count, but not sure if you can reset it daily

Ice-Maiden 08-28-2009 03:00 PM

Quote:

Originally Posted by matthewhotdude (Post 1875786)
Sorry if been asked before, how can you set it so users have to post so many posts in the forum a day before they can use the arcade?

Just go in ACP Arcade and scroll down to Group permissions, there you can set to members having to have a minimum post count before being able to access the arcade and you can also set a daily post level for them to play!

Hope this helps! :)

Ice-Maiden 08-28-2009 03:02 PM

Quote:

Originally Posted by yeshoward (Post 1873788)
This score was not submitted from the game. Your score will not be saved.

Transmission Timeout (0 sec)

many players have met these errors, any fix?

I am getting this alot and have got the maximum time out set in settings and it is still happening, need help asap for this or i may have to uninstall and downgrade to a lower version of the arcade until this is sorted as i have alot of angry members right now! :(

Fynnon 08-29-2009 02:23 PM

1 Attachment(s)
im having one issue with this mod, its about how it displays, see screenshot attached please

i guess it would be better to have an arrow image instead of the text
Quote:

Make the winner advance
and when you hover it the text to show up

Attachment 103817

ShadowStalker 08-30-2009 09:47 PM

Smooth install. Thanks!

inxolly 08-31-2009 03:59 PM

Anywhere else the footer works fine, but on arcade footer it shows it at the top (i assume because you put your own footer in there too)

Any idea how to fix this?
http://www.xl7.eu/uploads/1251814974.png

jkcerda 09-03-2009 05:40 PM

ok, how in the world do I add games?
second, I had it installed and things worked fine, disabled it to do some trouble shooting as there was a hack causing problems , now, the arcade is "active" but the link is no longer in my navbar:confused:

jack.wasabibot 09-06-2009 06:19 AM

thanks alot! I'm using this on my site now. When Vbulletin goes to 4.0 will this survive with an update? or will it have to be totally rewritten?

J19784B5A39B 09-07-2009 12:28 PM

Again I apologize to my English.
I am very disappointed by vBulletin: I bought the license, planning to do when we installed bene.Da: ibProArcade games room and impazzita.L 'installation is perfect but the games all give scores zero.Ho asked several times by the support staff and no one ever helped us in this problema.Are products vbulletin and miss supporto.E 'a disgrace.

matthewhotdude 09-07-2009 02:09 PM

Get this error when installing games :(

Fatal error: Maximum execution time of 30 seconds exceeded in /home/chattabo/public_html/arcade/functions/tar.php on line 808

m411b 09-08-2009 03:18 PM

Quote:

Originally Posted by inciarco (Post 1865604)
I Quote this Post I Just Made that Can be Useful to Perhaps Solve when Scores are not being Saved on Mozilla FireFox and also when Games don't Work as they should. (With Google Chrome and Internet Explorer the Score Problem don't Occur, so it's something with FireFox):

OK, well I dont use CPanel! So is there any other fix for keeping scores?

m411b 09-08-2009 03:25 PM

Quote:

Originally Posted by jaffaman (Post 1859052)
I got this from an old version from v2.6.7 m8 i think it should be the same the file was called INFO - vbadvanced or another Portal.


Hope that helps Glen290.

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


Perfect fix! Thanks so much..

J19784B5A39B 09-08-2009 04:12 PM

I am here to ask a serious media, I beg you in danger of closing the game room. The problem is serious: since we installed Ipbroarcade with Top25players, everything went wrong: zero scores and standing fold. The download was done well, please someone vbulletin, can come to our aid?
Someone is willing to give us a hand and come to our forum? Now we have installed v3arcade, but someone can help and come to our forum to install ibProArcade? Respond please.

CharLzarD 09-10-2009 09:13 PM

Hmmm. Doesn't seem to be working for me on vBulletin v3.8.4.

In the ACP I get errors whenever I go to anything in the Arcade section of the ACP. I can still stay on the page, but it gives me errors like:

Fatal error: require() [function.require]: Failed opening required './arcade/functions/functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/insomni1/public_html/forums/admincp/arcade.php on line 37

When I go to the Arcade directory in my website it says that I don't have permission to access it.

m411b 09-12-2009 01:55 AM

???

How do I change the message that guests see when they try to play the arcade?
I do not allow guest to play the arcade and I would like to entice them to register in this manner!

Thanx, m411b

m411b 09-12-2009 10:24 AM

OK got it! Thanx for the help..

War.Frog 09-12-2009 12:58 PM

1 Attachment(s)
When I try and start a tourney, i get this

Quote:

mySQL query error: INSERT INTO tournaments
(gid,numplayers,datestarted,demare,creat,plibre,nb tries,cost,jackpot,jackpot_type,champion,url_discu t) VALUES
('21','4','1252727363','0','nyjetgrl','3','2','0', '','raising','','')

mySQL error: Unknown column 'jackpot' in 'field list'
mySQL error code:
Date: Friday 11th 2009f September 2009 10:49:23 PM
I discovered that going in through the Arcade ModCP avoided this error, for whatever reason. However, when I start a tourney I get the Join Tourney screen (see attach), a message that Tournament Registration is OK, and then I'm looped right back to this join screen.

Any thoughts?


All times are GMT. The time now is 09:52 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.08183 seconds
  • Memory Usage 1,847KB
  • 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
  • (2)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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