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
  #452  
Old 09-22-2002, 01:07 AM
Tigga's Avatar
Tigga Tigga is offline
 
Join Date: Dec 2001
Location: Atlanta
Posts: 1,061
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by futureal
The time is (right now) pulled off of the server and stored in the database in server time. I have not yet added the code to adjust for user's timezones, although that will be rather easy to do.
Ok, so that means that if a user made a high score at say 3:37 pm, then the server time changed, the time they got their high score would remain 3:37 pm, right? Just curious about that because the user we think might be cheating made a couple of scores that were too close together to be right, but it seems it could be possible since I know the server time has changed a couple of times, thus the times he made those scores could be off.
Reply With Quote
  #453  
Old 09-23-2002, 12:04 AM
futureal futureal is offline
 
Join Date: Feb 2002
Location: Del Mar, CA, USA
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As it stands right now, changing the server time would not affect old scores, it would only affect new scores. Like:

- Server time is 1 PM
- User plays game at 1:30 and its recorded as 1:30
- Server time goes back an hour
- User plays game again and its recorded as 12:35

Now in the database, it looks like the second game finished before the first game.

Once I add the code to compensate for a user's time zone, it will take the stored time as the server time, and then calculate the viewing user's GMT offset with that.
Reply With Quote
  #454  
Old 09-23-2002, 09:13 PM
situledi situledi is offline
 
Join Date: Feb 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok.. i have a question

first af all thanx for this great MOD, and sorry for my english...

well, i want to restrict, b/c some new registred members play game before posting (to say "hi everybody.. what a beautifull forum with nice people.... lol )) incredible ...

so i make some modifications in proarcade.php:

if
(
(
($bbuserinfo[usergroupid] != 2) and
($bbuserinfo[usergroupid] != 5) and
($bbuserinfo[usergroupid] != 6) and
($bbuserinfo[usergroupid] != 7) and
($bbuserinfo[usergroupid] != 8)

) and
(
($bbuserinfo[posts] < 5)
)
)
{
show_nopermission();
}

break;

so registred user need a minimum of 5 posts before playing...

my question is.. there is a way.. for posts by day? or creating a new thread? something to help peple to not forget there are in a forum?

well i hope u understand my mind.. thanx in advance
Reply With Quote
  #455  
Old 09-23-2002, 11:40 PM
Scrooge Scrooge is offline
 
Join Date: Nov 2001
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did the code the way you suggest Futureal. I'm not sure if that is still part of my current problems or not though.

The only games that work for me are Snake and Space Invaders. Any idea why the others wouldn't work?

Also, the Champions does not display. I tried the method mentioned earlier about putting it in postbits, but that doesn't seem to work either. If I put it in postbits shouldn't I also need a template called champions_postbits or something? (Don't laugh, I am a newbie )

Thanks for any help.
Reply With Quote
  #456  
Old 09-24-2002, 02:21 AM
futureal futureal is offline
 
Join Date: Feb 2002
Location: Del Mar, CA, USA
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by situledi
so registred user need a minimum of 5 posts before playing...

my question is.. there is a way.. for posts by day? or creating a new thread? something to help peple to not forget there are in a forum?
You could do things like that, but they would require additional queries. To get a user's posts in a day you would have to select from the post table where the userid is the user's and the date is today's date. For threads you'd have to check threadid to see if it was started by a particular userid on a particular day, and so on.

Basically, you would just have to add any conditional information to the code just as you added your post check above. You may want to display a message to the user as well, such as "You must post at least XX times each day to use the Arcade."
Reply With Quote
  #457  
Old 09-24-2002, 02:40 AM
futureal futureal is offline
 
Join Date: Feb 2002
Location: Del Mar, CA, USA
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Scrooge
The only games that work for me are Snake and Space Invaders. Any idea why the others wouldn't work?
If a few games are working but others aren't, in means there is a problem in the Game Configuration. Check to make sure that the filenames (*.swf) are correct, the game names are unique/correct, and that the games are active.

Quote:
Also, the Champions does not display. I tried the method mentioned earlier about putting it in postbits, but that doesn't seem to work either. If I put it in postbits shouldn't I also need a template called champions_postbits or something? (Don't laugh, I am a newbie )
The Champ System should work "as is" with no modifications, assuming that your user's titles are being displayed in postbit (which is the vB default). Once again, make sure that the Champ System is enabled in the General Options and enabled for each game that you'd like to see it on.
Reply With Quote
  #458  
Old 09-24-2002, 02:59 AM
Scrooge Scrooge is offline
 
Join Date: Nov 2001
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
If a few games are working but others aren't, in means there is a problem in the Game Configuration. Check to make sure that the filenames (*.swf) are correct, the game names are unique/correct, and that the games are active.
Checked all of the above multiple times, and it is correct. I tried just running the flash to see if it was the hack or the actual game too. The working titles (Snake and Space Invaders) work, but even if I go directly to the others they don't work. Maybe I uploaded in ASCII when it should be binary or vice versa? I checked permissions to and they working and non-working have the same permissions.

Quote:
The Champ System should work "as is" with no modifications, assuming that your user's titles are being displayed in postbit (which is the vB default). Once again, make sure that the Champ System is enabled in the General Options and enabled for each game that you'd like to see it on.
This may be the problem. I have a couple of User Title hacks, one allowing users to change titles if they have made a donation for example. Maybe the conflict is there?
Reply With Quote
  #459  
Old 09-24-2002, 03:52 AM
VietPDX VietPDX is offline
 
Join Date: Mar 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i don't know if this an old or new bug ...but basicly i have a website for vietnamese and one of my member has this nick " be' P" ...and the program just give error. I look through the script and notice you didn't add in addslashes for username. I did some tweakin and now it's perfect now. I don't know if you already did or going to fix that bug or not, but i just want to let u know :bandit:

ENJOY
Reply With Quote
  #460  
Old 09-24-2002, 04:18 AM
Scrooge Scrooge is offline
 
Join Date: Nov 2001
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I uploaded the game files again and they work now! Don't know if it matters, but I uploaded in binary this time.
Reply With Quote
  #461  
Old 09-24-2002, 04:55 AM
Fuitad's Avatar
Fuitad Fuitad is offline
 
Join Date: Nov 2001
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am begging you, please make the arkanoid game able to disable music
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 02:25 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.06301 seconds
  • Memory Usage 2,329KB
  • 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
  • (6)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
  • (4)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