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
  #652  
Old 11-23-2002, 08:16 PM
xxxsaint's Avatar
xxxsaint xxxsaint is offline
 
Join Date: Jun 2002
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by desi
ok guys .. my appology.. but i really needed to fix this hack cause my forum members were eating my brains off ...

well as suggested i've checked everything .... all the games work fine for admins only ...

but when i try to activate the game... i just doesn't do it ..

i have checked the code over and over again ... but its all as in the install text ....

cheers

open proarcade.php

look for this code :
Quote:
if (($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7) and
those are user group id's. ANY user group that you want to be able to play ,has to be added to this portion , for example , my code looks like this :

Quote:

if (($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7) and
($bbuserinfo[usergroupid] != 8) and
($bbuserinfo[usergroupid] != 9) and
($bbuserinfo[usergroupid] != 10) and
($bbuserinfo[usergroupid] != 11) and
($bbuserinfo[usergroupid] != 12) and
($bbuserinfo[usergroupid] != 13) and
($bbuserinfo[usergroupid] != 14) and
($bbuserinfo[usergroupid] != 15) and
($bbuserinfo[usergroupid] != 16) and
($bbuserinfo[usergroupid] != 17) and
($bbuserinfo[usergroupid] != 18) and
($bbuserinfo[usergroupid] != 21) and
($bbuserinfo[usergroupid] != 22) and
($bbuserinfo[usergroupid] != 23) and
($bbuserinfo[usergroupid] != 24)) {
show_nopermission();
}
break;
default:
// if no action specified, go to arcade page
$action = "arcade";
break;
}
because of all the custom sections and levels we have. He can't put it in the php as a general user group clearance because he doesn't know how many user groups you have , or which ones you wish to allow usage of the arcade , so you have to modify that portion of proarcade.php yourself to fit your individual forum.
Reply With Quote
  #653  
Old 11-24-2002, 03:56 AM
JackG JackG is offline
 
Join Date: Nov 2001
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My problem is step 5.
I try to add allgames.sql and I get this:

(I run it from the file and also get the error)

SQL-query:

INSERT INTO arcadegames VALUES (
1,
\'tetris\',
\'Tetris\',
\'The classic game of Tetris that we all know and love...\',
\'tetris.swf\',
\'\', \'\', 0, 0, 0,
\'Tetris Champion\',
\'#FF0000\',
\'$tetrisscore\',
550, 380,
\'classid=\"clsid27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$v pa_bburl&gamename=$game\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);

INSERT INTO arcadegames VALUES (
2,
\'breakout\',
\'Breakout\',
\'A simple Arkanoid-style game -- see how many balls you can keep going at once!\',
\'breakout.swf\',
\'\', \'\', 0, 0, 0,
\'Breakout Champion\',
\'#ff0000\',
\'$breakoutscore\',
400, 500,
\'classid=\"clsid27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\' \\r\\n \\r\\n \\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);

INSERT INTO arcadegames VALUES (
3,
\'pacman\',
\'Pacman\',
\'A perfect recreation of the arcade classic!\',
\'pacman.swf\',
\'\', \'\', 0, 0, 0,
\'Pacman Champion\',
\'#FF0000\',
\'$pacmanscore\',
360, 420,
\'classid=\"clsid27CDB6E-AE6D-11cf-96B8-444553540000\"\\r\\ncodebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);

INSERT INTO arcadegames VALUES (
4,
\'spaceinvaders\',
\'Space Invaders\',
\'Drop down, increase speed, and reverse direction!\',
\'invaders.swf\',
\'\', \'\', 0, 0, 0,
\'Space Invaders Champion\',
\'#FF0000\',
\'$invadersscore\',
500, 500,
\'classid=\"clsid27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);

INSERT INTO arcadegames VALUES (
5,
\'snake\',
\'Snake\',
\'Eat as much as you can without hitting the walls or your own tail!\',
\'snake.swf\',
\'\', \'\', 0, 0, 0,
\'Snake Champion\',
\'#FF0000\',
\'$snakescore\',
400, 400,
\'classid=\"clsid27CDB6E-AE6D-11cf-96B8-444553540000\"\\r\\ncodebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);


MySQL said: You have an error in your SQL syntax near '$tetrisscore', 550, 380, 'classid="clsid27CDB6E-AE6D-11cf-96B8-444553540' at line 9
Back
Reply With Quote
  #654  
Old 11-24-2002, 07:38 AM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by JackG


INSERT INTO arcadegames VALUES (
1,
\'tetris\',
\'Tetris\',
\'The classic game of Tetris that we all know and love...\',
\'tetris.swf\',
\'\', \'\', 0, 0, 0,
\'Tetris Champion\',
\'#FF0000\',
\'$tetrisscore\',
550, 380,
\'classid=\"clsid27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$v pa_bburl&gamename=$game\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);





INSERT INTO arcadegames VALUES (
2,
\'breakout\',
\'Breakout\',
\'A simple Arkanoid-style game -- see how many balls you can keep going at once!\',
\'breakout.swf\',
\'\', \'\', 0, 0, 0,
\'Breakout Champion\',
\'#ff0000\',
\'$breakoutscore\',
400, 500,
\'classid=\"clsid27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\' \\r\\n \\r\\n \\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);






INSERT INTO arcadegames VALUES (
3,
\'pacman\',
\'Pacman\',
\'A perfect recreation of the arcade classic!\',
\'pacman.swf\',
\'\', \'\', 0, 0, 0,
\'Pacman Champion\',
\'#FF0000\',
\'$pacmanscore\',
360, 420,
\'classid=\"clsid27CDB6E-AE6D-11cf-96B8-444553540000\"\\r\\ncodebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);







INSERT INTO arcadegames VALUES (
4,
\'spaceinvaders\',
\'Space Invaders\',
\'Drop down, increase speed, and reverse direction!\',
\'invaders.swf\',
\'\', \'\', 0, 0, 0,
\'Space Invaders Champion\',
\'#FF0000\',
\'$invadersscore\',
500, 500,
\'classid=\"clsid27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);





INSERT INTO arcadegames VALUES (
5,
\'snake\',
\'Snake\',
\'Eat as much as you can without hitting the walls or your own tail!\',
\'snake.swf\',
\'\', \'\', 0, 0, 0,
\'Snake Champion\',
\'#FF0000\',
\'$snakescore\',
400, 400,
\'classid=\"clsid27CDB6E-AE6D-11cf-96B8-444553540000\"\\r\\ncodebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'location=$vpa_bburl&gamename=$game&s=$session[sessionhash]\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);

Run the Querys one be one, not all together. Ive separated the querys in the quote for u.
Reply With Quote
  #655  
Old 11-24-2002, 07:42 AM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upps, you see that smilie?? So take youre allgames-file, and separate the querys there. That should be easy..
If you copy and paste the code from here you get an MySql-Error...
Reply With Quote
  #656  
Old 11-24-2002, 05:07 PM
xxxsaint's Avatar
xxxsaint xxxsaint is offline
 
Join Date: Jun 2002
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone found , or anyone else interested in casino games for this that could be modified to work with lesane's store money system ?
Reply With Quote
  #657  
Old 11-24-2002, 09:56 PM
JackG JackG is offline
 
Join Date: Nov 2001
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Minifreunde,

Thanks for taking the time to separate them for me.
But still the error comes (taken from allgames.sql file):


Error
SQL-query:

INSERT INTO arcadegames VALUES (
1,
'tetris',
'Tetris',
'The classic game of Tetris that we all know and love...',
'tetris.swf',
'', '', 0, 0, 0,
'Tetris Champion',
' '$tetrisscore',
550, 380,
'classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab 'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$v pa_bburl&gamename=$game',
'\r\n


---> MySQL said: You have an error in your SQL syntax near '$tetrisscore',
550, 380,
'classid="clsid27CDB6E-AE6D-11cf-96B8-444553540' at line 9


---------

Same sort of error if I run all at once.

I am on Win NT if that matters in this case.

* phpMyAdmin 2.1.0

* MySQL 3.23.28-gamma


Any ideas?
Reply With Quote
  #658  
Old 11-24-2002, 10:04 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by JackG
' '$tetrisscore',
One ' not two ('$tetrisscore')
Reply With Quote
  #659  
Old 11-24-2002, 10:35 PM
JackG JackG is offline
 
Join Date: Nov 2001
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm. i dont understand what you mean.
I am copying what was in the zip file exactly
as is.

Please re phrase.
Reply With Quote
  #660  
Old 11-24-2002, 10:46 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The error is theres '' in my quote above when there should only be '

IE: Two apostrophe's (') when there should be one.
Reply With Quote
  #661  
Old 11-24-2002, 11:00 PM
JackG JackG is offline
 
Join Date: Nov 2001
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, but I am not using 2.
Why do I get an error?
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 04:54 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.05609 seconds
  • Memory Usage 2,338KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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