Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbProArcade Beta 2 Details »»
vbProArcade Beta 2
Version: 1.00, by futureal futureal is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-28-2002 Last Update: Never Installs: 227
Is in Beta Stage  
No support by the author.

vbProArcade Beta 2

1/5/03: Beta 2 released
9/12/02: Beta 1.03 zip updated to include safe mode fix
9/3/02: Beta 1.03 released -- small bug fixes, see below
9/1/02: Beta 1 of vbProArcade has been posted. Please see below for installation instructions.


Background Information

vbProArcade is a fully-customizable Flash arcade add-on for vBulletin, complete with game-by-game scoreboards, forum integration, a "champions" system, statistics, and more.

This is an extensive hack that is still in BETA form, and I don't recommend installing it if you are not willing to work through potential issues and future updates/upgrades! I am working on making the installation instructions as easy as possible, but it will probably be some time before it is perfect.

Watch this post for updates as they happen, and check out screenshots from the list below. If you would like to see the hack in action, you may visit my Shadows of Namek forums. You will need to register to play, but you can view the scoreboards and the arcade itself as a guest.


Credits

This hack materialized thanks to work and help from a number of people and forums. Here they are:
  • Original vbTetris Hack by Erwin Loh
  • Original vbTetris Leaderboard Hack by John Warwick (john.eovie)
  • One of my users, Simon Steel, for work on Flash coding/recoding
  • The users of one of my forums, Shadows of Namek, for their extensive testing of the system
  • And The Kryptonian for pre-release and release candidate installation testing.
Games

So far, there are FIVE GAMES that work correctly with this hack. They are:

Breakout
Pacman
Snake
Space Invaders
Tetris

All five .SWF files are included in the release archive.

There is now a Flash Games Development Thread for the purpose of modifying existing games to work with vbProArcade, or for creating new games to be compatible with vbProArcade. If you have a game that you wish to see modified but don't know how, post the .FLA source in that thread and hopefully somebody can assist you.


Installation Instructions

Download the file attached to this post, unzip it and familiarize yourself with the contents BEFORE doing anything.

There are TWO separate files worth reading, the Documentation and the Installation Instructions. I recommend that you read both BEFORE doing anything else.

Once you have done this, the instructions to be followed are contained in vbproarcade-install.txt. Follow them as precisely as possible. If you encounter an error somewhere, it is likely that you missed a step or made a small error. Please double-check your work BEFORE posting about problems here.

And it cannot be said enough: read that file before you do anything, and if you are unsure of something, please post your question(s) before attempting to install the hack.


Problems and Fixes/Workarounds (as of 1/5)
  • None
Known Bugs/Limitations

Here is the list of stuff that I know does not work. I will be working towards correcting these bugs BEFORE adding new features for the next release.
  • Netscape will allow you to play the games but not record scores
  • If a user uses the "Back" button to go to the game screen, and does not refresh before playing, the score will result in a Security Violation. This is by design.
Screen Shots for Beta 2

Here is the list of posts from this thread that contain screen shots for the new version. Check them out!Upcoming Features

This is the stuff that is in progress for future release:
  • Complete Admin Panel Scoreboard Editor
  • Additional integration with vB
  • Even better Who's Online screen
Some have emailed or PM'd me asking if I would accept donations for my work on this hack, and yes, I certainly will, and any and all support is greatly appreciated. With over 2,000 lines of original PHP code, in addition to HTML and Flash work, I have spent a great deal of time developing and debugging the source for this, and it is a great feeling to have people like it so much that they want to give something back.

All donations received go directly back into supporting my websites and my design activities. You may click here to donate via Paypal. Note that donations are by no means required, and not donating does not mean you won't get support for the hack.

Last but not least, thanks for checking this out!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1937  
Old 02-28-2004, 04:17 PM
Warlord's Avatar
Warlord Warlord is offline
 
Join Date: Jan 2002
Location: TN, USA
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NM I fixed it. Thanks for the awesome hack futureal!

Now where can I get more games?
Reply With Quote
  #1938  
Old 02-28-2004, 04:19 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

https://vborg.vbsupport.ru/showthrea...threadid=47198

Reply With Quote
  #1939  
Old 03-15-2004, 10:13 PM
THE REAL BLAZE THE REAL BLAZE is offline
 
Join Date: May 2002
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some reason, everything works xept when i click on the game, the page stays blank

my board www.rapblock.com/forums, arcadelinks at the top
Reply With Quote
  #1940  
Old 03-27-2004, 11:12 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any news on ProArcade vB3? Things have gone quiet again..
I hope to be launching my new site within a month, with the arcade already installed on the forums. I'd rather hold out for ProArcade, but it may be that I install v3 Arcade if this isn't out in time..

I don't mean to put a deadline on you, but I was expecting a release when vB3 went Gold (even though you implied no such thing) and it hasn't arrived..

Regards,
Oblivion Knight
Reply With Quote
  #1941  
Old 04-06-2004, 12:23 AM
gwhooooey gwhooooey is offline
 
Join Date: Feb 2003
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you given up on this for vB3? The thread seems to have died.

Let us know
Reply With Quote
  #1942  
Old 08-27-2004, 11:15 PM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any word about the fix for vB2 to ensure that the games are scorable in Mozilla? What OBJECT and EMBED tags need to be used for these games so that the scores are recorded? Thanks!
Reply With Quote
  #1943  
Old 08-29-2004, 03:49 AM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reducing Queries on proarcade.php

1. Get rid of the Mini Scoreboards:

For those of you who want to reduce queries by removing the scoreboard, just follow these easy steps while editing proarcade.php (this will take off around one to two queries per game):

a. FIND and DELETE the following code:

Code:
      // now begin the mini-leaderboard display
      $gs_rank = 0;
      $gamescorecellbits = "";

      $miniboard_q = $DB_site->query("SELECT * FROM arcadescores WHERE game='$gamename' AND valid=1 ORDER BY score DESC LIMIT 5");

      while ($miniboard = $DB_site->fetch_array($miniboard_q)) {

        $gs_rank++;
        $gs_score = number_format($miniboard[score]);
        $gs_user = $miniboard[username];

        // make date/time look good
        $gs_date = date("F j, Y", $miniboard[endtime]);
        $gs_time = date("g:i a", $miniboard[endtime]);

        $duration = $miniboard[endtime] - $miniboard[begintime];

        $gs_duration_mins = div($duration,60);
        $gs_duration_secs = $duration % 60;

        eval("\$gamescorecellbits .= \"".gettemplate("vbproarcade_arcade_gamescorecellbit")."\";");

      }

      eval("\$thisgamescorecell = \"".gettemplate("vbproarcade_arcade_gamescorecell")."\";");

      $allgamescorecells[$cellcount++] = $thisgamescorecell;
b. FIND and DELETE this following code:

Code:
  $curcell = 0;

  while (($curcell <= $cellcount) && ($cellcount != 0)) {

    if (($curcell+2) <= $cellcount) {

      // in this case, do a pair of cells

      $gamescorecell_1 = $allgamescorecells[$curcell];
      $gamescorecell_2 = $allgamescorecells[$curcell+1];

      // need to format it correctly since we are splitting rows

      $gamescorecell_1 = preg_replace("/GSCOLSPAN/","align=\"right\"",$gamescorecell_1);
      $gamescorecell_1 = preg_replace("/GSOUTWIDTH/","width=\"50%\"",$gamescorecell_1);
      $gamescorecell_1 = preg_replace("/GSINWIDTH/","width=\"100%\"",$gamescorecell_1);
      $gamescorecell_2 = preg_replace("/GSCOLSPAN/","align=\"left\"",$gamescorecell_2);
      $gamescorecell_2 = preg_replace("/GSOUTWIDTH/","width=\"50%\"",$gamescorecell_2);
      $gamescorecell_2 = preg_replace("/GSINWIDTH/","width=\"100%\"",$gamescorecell_2);

    } else {

      // in this case, a single cell

      $gamescorecell_1 = $allgamescorecells[$curcell];
      $gamescorecell_2 = "";

      // in this case we had an odd # of cells so just center the remaining cell

      $gamescorecell_1 = preg_replace("/GSCOLSPAN/","colspan=2 align=\"center\"",$gamescorecell_1);
      $gamescorecell_1 = preg_replace("/GSOUTWIDTH/","width=\"100%\"",$gamescorecell_1);
      $gamescorecell_1 = preg_replace("/GSINWIDTH/","width=\"50%\"",$gamescorecell_1);

    }

    $gamescores .= "<tr>" . $gamescorecell_1 . $gamescorecell_2 . "</tr>\n";

    $curcell += 2;

  }
Reply With Quote
  #1944  
Old 09-20-2004, 04:47 PM
Barto Barto is offline
 
Join Date: Jun 2002
Location: Milano
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HI,
I use Vb 2.3.4.
Every time that I finish a game appear this:

"data mismatch has been discovered between the game and the arcade, normally as the result of a cheating attempt. This attempt has been logged, and the score invalidated. If you feel that you are receiving this message in error, please contact the system administrator."

Please help me!!!
Reply With Quote
  #1945  
Old 09-23-2004, 01:54 AM
Blue Moose Aaron's Avatar
Blue Moose Aaron Blue Moose Aaron is offline
 
Join Date: Sep 2002
Location: Austin, Texas
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

He's got about 91% of it done, just has a ton of personal things going on. He hasn't abandoned it I swear!
Reply With Quote
  #1946  
Old 10-18-2004, 02:57 AM
Mystictrunks03 Mystictrunks03 is offline
 
Join Date: Jul 2003
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get this error when accessing my site:

Parse error: parse error, unexpected T_DEC, expecting T_VARIABLE or '$' in /home/shankwh/public_html/main/forum/admin/functions.php on line 201

help
Reply With Quote
  #1947  
Old 12-02-2004, 10:31 AM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*bump*
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:41 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.07774 seconds
  • Memory Usage 2,339KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (12)post_thanks_box
  • (12)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (12)post_thanks_postbit_info
  • (11)postbit
  • (12)postbit_onlinestatus
  • (12)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete