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
  #782  
Old 12-31-2002, 09:02 PM
futureal futureal is offline
 
Join Date: Feb 2002
Location: Del Mar, CA, USA
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am on the verge of having a release ready, but decided I needed to go back and change a couple things, as I detailed here: https://vborg.vbsupport.ru/showthrea...529#post336529

Because there will be no upgrade script for Beta 1 -> Beta 2, I want to try and pre-add support for some of the future feature ideas I have before Beta 2 is out, so that it will be easy to upgrade from Beta 2 to future versions without losing the score database.
Reply With Quote
  #783  
Old 12-31-2002, 09:15 PM
ixian's Avatar
ixian ixian is offline
 
Join Date: Oct 2001
Location: Denver, CO
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We love you.

No, really. Can't wait, and my users are gonna go ape....ya, you know.
Reply With Quote
  #784  
Old 01-01-2003, 02:00 AM
futureal futureal is offline
 
Join Date: Feb 2002
Location: Del Mar, CA, USA
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The Flash Games Development thread has been created, and all existing Flash source files have been released, here: https://vborg.vbsupport.ru/showthrea...threadid=47198

Note that those games are all modified for Beta 2, but should work fine with Beta 1. Nothing has changed, though, so unless you are planning to modify the games yourselves, there is no need to change to these versions.

Oh yea, note that the pre-docs for Beta 2 are also in the second post in that thread, including instructions on how to modify the games. They are worth reading.
Reply With Quote
  #785  
Old 01-01-2003, 05:21 AM
SS9267547's Avatar
SS9267547 SS9267547 is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well worth the wait! Thanks futureal!
Reply With Quote
  #786  
Old 01-01-2003, 08:21 AM
Strider Xero Strider Xero is offline
 
Join Date: Dec 2002
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I uninstall this??
Reply With Quote
  #787  
Old 01-01-2003, 09:07 AM
futureal futureal is offline
 
Join Date: Feb 2002
Location: Del Mar, CA, USA
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just remove everything that the installation file tells you to insert, and delete the proarcade.php and proarcadeadmin.php files along with the game files themselves.
Reply With Quote
  #788  
Old 01-01-2003, 02:48 PM
Strider Xero Strider Xero is offline
 
Join Date: Dec 2002
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok done thanks...i'm just waiting for beta 2...hopefully the games will work in this version.
Reply With Quote
  #789  
Old 01-01-2003, 04:07 PM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed. Works great !! Good job futureal .
Reply With Quote
  #790  
Old 01-01-2003, 06:02 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Rather then reading 53 pages and finding out it maybe isn't mentioned yet .. sigh

In the installation file it says:

Code:
+-------------------------------------------------------------------------------------------------+
| In showthread.php, replace this code:                                                           |
+-------------------------------------------------------------------------------------------------+
if (!$getperms['cangetattachment']) {
	$viewattachedimages=0;
}
+-------------------------------------------------------------------------------------------------+

+-------------------------------------------------------------------------------------------------+
| With this code:                                                                                 |
+-------------------------------------------------------------------------------------------------+
(removed ,.., snap)
+-------------------------------------------------------------------------------------------------+
But that instance appears twice in the showthreads.php file

and below that it asks to replace $postbits code, but it doesn't appear in the file, only
Code:
$postbits = getpostbit($post);
-- so I guess you meant that one? vb229

I have installed it all and set everything up
http://creations.nl/forum/proarcade.php

1 issue: I have safe-mode on and can't upload icons to the database - on page 22 you mentioned this is fixed, but it doesn't work here (bummer)
[code]Warning: Unable to create 'images/temp/icon-crown.gif': No such file or directory in /home/marietje/public_html/forum/admin/proarcadeadmin.php on line 69

Warning: Unable to move '/tmp/phpQ7bk1n' to 'images/temp/icon-crown.gif' in /home/marietje/public_html/forum/admin/proarcadeadmin.php on line 69
something didn't work...
Arcade options updated!
[/quote]
(and i actually have a images/temp/ dir chmod 777 and i upped the icon crown that came with the .zip)
btw ;i installed manually and not with vbhacker
Reply With Quote
  #791  
Old 01-01-2003, 09:37 PM
futureal futureal is offline
 
Join Date: Feb 2002
Location: Del Mar, CA, USA
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know that there are still lingering problems with safe mode, although if a server is configured properly, it should work, since I use the exact same method that vBulletin uses for attachments. If attachment uploading works, then I don't see why the arcade uploading wouldn't work.

As far as the other problem, that was an error in the installation instructions. The place that should be modified is the second occurance of that code in showthread.php.

As soon as I finish getting Beta 2 out the door, I will revisit the safe mode problem...
Reply With Quote
  #792  
Old 01-02-2003, 12:25 AM
futureal futureal is offline
 
Join Date: Feb 2002
Location: Del Mar, CA, USA
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another Beta 2 update:

I am not going to have the hack in a vbhacker format this time around, because I expect frequent changes/updates to the Beta as people test it. I know that makes it harder on people, but I don't have much of a choice, since setting up a larger hack for vbhacker distribution is rather unwieldy.

I am still working on a couple of things, namely the User Detail pages and a Scoreboard Reset feature. Everything else is already done.
Reply With Quote
  #793  
Old 01-02-2003, 08:40 AM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting the following error messages from some of the users when trying to play the games:

>>

You do not have permission to access this page. This could be due to one of several reasons:
You do not have permission to access the page that you were trying to. Are you trying to edit someone else's post or trying to access administrative features? Check that you are allowed to perform this action in the Forum Rules.
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation. "

<<

All the games run fine for me (local admin) but also with one of my test accounts, but all the other users get that message.

Any ideas ?
Reply With Quote
  #794  
Old 01-02-2003, 08:58 AM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've now figured out that this problem occurs only for people in certain user groups.

My test user was in the 'Registered' user group and this was fine. I have also created my own groups in vBulletin, one of which is called 'Full Member', which most people are a part of. I changed somebody that was having the problem from 'Full Member' to 'Registered' and it worked perfectly, so it must be to do with the user group permissions. I'm just not sure where to change this.
Reply With Quote
  #795  
Old 01-02-2003, 08:58 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by futureal
I know that there are still lingering problems with safe mode, although if a server is configured properly, it should work, since I use the exact same method that vBulletin uses for attachments. If attachment uploading works, then I don't see why the arcade uploading wouldn't work.

As far as the other problem, that was an error in the installation instructions. The place that should be modified is the second occurance of that code in showthread.php.

As soon as I finish getting Beta 2 out the door, I will revisit the safe mode problem...
Thank you for your reply :bunny:

I was wondering though - I set it to the first instance, since below that was the postbit stuff that needed changing, and everything now runs fine.

What might not work now, or works incorrectly because I put it at the first instance?

Do you maybe have an alternative way of letting me use those images?

Normal attachment uploading goes fine with vbulletin, just not this.
Reply With Quote
  #796  
Old 01-02-2003, 12:06 PM
futureal futureal is offline
 
Join Date: Feb 2002
Location: Del Mar, CA, USA
Posts: 556
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Intex
I've now figured out that this problem occurs only for people in certain user groups.

My test user was in the 'Registered' user group and this was fine. I have also created my own groups in vBulletin, one of which is called 'Full Member', which most people are a part of. I changed somebody that was having the problem from 'Full Member' to 'Registered' and it worked perfectly, so it must be to do with the user group permissions. I'm just not sure where to change this.
Near the top of proarcade.php, find this code:

PHP Code:
  case "gameover":
    if ((
$bbuserinfo[usergroupid] != 2) and
        (
$bbuserinfo[usergroupid] != 5) and
        (
$bbuserinfo[usergroupid] != 6) and
        (
$bbuserinfo[usergroupid] != 7)) {
      
show_nopermission();
    }
    break; 
To add additional usergroups, just add a corresponding line for that usergroupid. For example, if you wanted to add the usergroup with id 20, your code would end up looking like:

PHP Code:
  case "gameover":
    if ((
$bbuserinfo[usergroupid] != 2) and
        (
$bbuserinfo[usergroupid] != 5) and
        (
$bbuserinfo[usergroupid] != 6) and
        (
$bbuserinfo[usergroupid] != 20) and
        (
$bbuserinfo[usergroupid] != 7)) {
      
show_nopermission();
    }
    break; 
To figure out which group belongs to which ID, when you move the mouse over a group name in the Admin CP, look in your browser's status bar for where it says "...&usergroupid=##" and the ## will be your ID.
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:24 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.12645 seconds
  • Memory Usage 2,388KB
  • Queries Executed 30 (?)
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
  • (2)bbcode_php
  • (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
  • (4)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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