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

I was able to get this action-script info out of the snake game :

Quote:

// Action script...

// [Action in Frame 1]
ifFrameLoaded(45)
{
gotoAndStop(4);
} // End of ifFrameLoad

// [Action in Frame 3]
gotoAndPlay(1);

// [Action in Frame 4]
score = 0;
stop();

// [Action in Frame 37]
Snake._visible = false;
score = 0;
tail = 1;
head = 3;
xv = 0;
yv = 1;
x = 160;
y = 100;
eaten = true;
extend = false;
makeMove = false;

// [Action in Frame 38]
x = x + 10 * xv;
y = y + 10 * yv;
head++;
duplicateMovieClip("Snake", head, 16384 + head);
setProperty(head, _x, x);
setProperty(head, _y, y);
if (eval("s_" + x + "_" + y) || x < 20 || x > 300 || y < 20 || y > 290)
{
gotoAndStop(43);
} // end if
eval("s_" + x + "_" + y) = true;
if (extend)
{
extend = false;
score = score + level;
}
else
{
eval("s_" + tail._x + "_" + tail._y) = false;
removeMovieClip(tail);
tail++;
} // end if
if (Food._x == x && Food._y == y)
{
eaten = true;
extend = true;
} // end if
if (eaten)
{
Sound.gotoAndPlay(2);
eaten = false;
tellTarget("Food")
{
_x = 10 * (random(28) + 2)
_y = 10 * (random(27) + 2)
} // end of tellTarget
} // end if
makeMove = false;

// [Action in Frame 39]
if (level == 3)
{
gotoAndPlay(38);
} // end if

// [Action in Frame 40]
if (level == 2)
{
gotoAndPlay(38);
} // end if

// [Action in Frame 41]
gotoAndPlay(38);

// [Action in Frame 43]
for (temp = head; tail < temp + 1; temp--)
{
setProperty(temp, _alpha, 33);
} // end of for
vpaver = "100B";
snakescore = score;
action = "gameover";
game = gamename;
score_loc = location + "/proarcade.php";
getURL(score_loc, "_self", "POST");

// [Action in Frame 44]
rank = 0;
Input._visible = false;
scoresURL = "snakescores.txt";
loadMovie(scoresURL, "Scores");
stop();

// [Action in Frame 45]
if (level == 3)
{
l = "p";
}
else if (level == 2)
{
l = "w";
}
else
{
l = "s";
} // end if
for (i = 1; i < 11; i++)
{
if (Scores["s" + l + i] < score)
{
rank = i;
i = 11;
} // end if
} // end of for
if (rank)
{
for (i = 9; i >= rank; i--)
{
Scores["s" + l + Number(i + 1)] = Scores["s" + l + i];
Scores["n" + l + Number(i + 1)] = Scores["n" + l + i];
} // end of for
Scores["s" + l + rank] = score;
Scores["n" + l + rank] = "";
tellTarget("Input")
{
_y = 20 * _root.rank + 59.500000
_x = 100 * _root.level - 45.500000
_visible = true
} // end of tellTarget
HS.gotoAndStop(3);
}
else
{
HS.gotoAndStop(2);
} // end if
stop();
now , being a flash rookie - is this enough info to be able to start adding our own games because I really want to add flash casino games in there , I've posted that all over these forums with no luck.
Reply With Quote
  #743  
Old 12-17-2002, 08:16 PM
Da`Nacho Da`Nacho is offline
 
Join Date: Mar 2002
Location: Fort Worth, Texas
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can gleam the info from that...

quite bluntly the scores are sent like this:

url/proarcade.php?action=<actionname>&game=<gamename>& <scorevarname>=<scorevalue>

ie to give yourself 33,500 in tetris:

http://www.myforum.com/proarcade.php?action=gameover&game=tetris&tetrissc ore=33,500

From that you can see pretty much how the games are sending the score back to proarcade.php. I wouldn't be posting this except for the fact that I've had everyone putting in fake scores all day. I had one user who even told me he actually recompiled the breakout .swf and changed the breakoutscore = score; line to read a static value and the location variable to match the url to our forum, and then all he had to do was run it and presto.

There must be some way to prevent both of the above from happening.
Reply With Quote
  #744  
Old 12-17-2002, 09:37 PM
theoneandonly theoneandonly is offline
 
Join Date: Sep 2002
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey futureal, are you going to add any more games besides the 4 that u released?
Reply With Quote
  #745  
Old 12-18-2002, 12:06 AM
xxxsaint's Avatar
xxxsaint xxxsaint is offline
 
Join Date: Jun 2002
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well , I have a slot machine .fla , and a poker machine .fla , how would I learn what to do to make those work out ?
Reply With Quote
  #746  
Old 12-18-2002, 01:15 AM
xxxsaint's Avatar
xxxsaint xxxsaint is offline
 
Join Date: Jun 2002
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

seeee , i'm psyched up about it
Reply With Quote
  #747  
Old 12-18-2002, 02:32 PM
Automated Automated is offline
 
Join Date: Sep 2002
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

glad to see i could help! I dont know any flash so i look forward to seeing what you guys come up with.

Does anybody have a game we can add yet?

Thanks
Matthew
Reply With Quote
  #748  
Old 12-18-2002, 02:34 PM
Automated Automated is offline
 
Join Date: Sep 2002
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by xxxsaint
well , I have a slot machine .fla , and a poker machine .fla , how would I learn what to do to make those work out ?
download this program (http://www.buraks.com/asv/index.html) and then you will see how it all works but i think xxxsaint has covered it all!

Anybody had any luck?
Reply With Quote
  #749  
Old 12-18-2002, 07:44 PM
TheSonic TheSonic is offline
 
Join Date: Aug 2002
Location: Stuttgart
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack.

After playing a game, i am redirected to the scoreboard, but Scores ARE NEVER added - all games are still at "0
(New Game!) " What can be wrong?

I dont see the "GameOver"-Screen - i just checked the templates - all are available.

Running 2.2.9

MAYDAY

BTW: Great hack!!
Reply With Quote
  #750  
Old 12-18-2002, 09:40 PM
orca's Avatar
orca orca is offline
 
Join Date: Oct 2001
Location: Switzerland
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm a bit difficult to do a search in this big thread but I have a problem: After playing a game and the game's over I'll be directed to http://www.mysite.com/proarcade.php instead of http://www.mysite.com/forums/proarcade.php. Anyone now where I need to fix this?
Reply With Quote
  #751  
Old 12-20-2002, 07:12 PM
stryka stryka is offline
 
Join Date: Aug 2002
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think everyone needs to show some patience...

I know we need to test this out but if you explain to your users that this is BETA and you have no control over future upgrades/releases.... then they might understand the delay etc...

but I am glad that so many ppl have installed this hack and is providing feedback...

and yes... i too can't wait for the next beta release... but it might take weeks, months or days...
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 09:49 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06271 seconds
  • Memory Usage 2,328KB
  • 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
  • (2)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