Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
vbProArcade v1.0 Flash Games Development Details »»
vbProArcade v1.0 Flash Games Development
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: 12-31-2002 Last Update: Never Installs: 83
Is in Beta Stage  
No support by the author.

vbProArcade v1.0 Flash Games Development Thread

This thread is intended to provide support for those who wish to find new games for their Arcades, or wish to assist in the development of new games for vbProArcade, or wish to modify existing, open-source Flash games for use with vbProArcade.

Note to vbulletin.org moderators: I could not find an appropriate place for this thread, other than the Beta Hacks forum, so here it is. If you feel this should be moved somewhere else, by all means do so. An additional reason I posted it here was because, to my knowledge, only registered users can view this thread, which may contain hack code at one point or another.

For the hack itself, you will need to see this thread. The Flash Development thread that you see here is just that, and should only be for the discussion of creating/modifying games to work with vbProArcade. Any discussion of or support for the hack itself will be conducted in the other thread.

For documentation on how to modify a game to work with vbProArcade, please see the vbProArcade documentation, which will always be contained in this post. I will try and update this post whenever I update the documentation itself.

A list of current games can you find in the second post.

Before you modify ANY game's source or post it here, you must MAKE SURE that you have the author's permission to modify and redistribute the code, compiled or otherwise.

As games are modified and posted, I will update this post to list them, so that people running vbProArcade may find and install them more easily.

Show Your Support

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

Comments
  #612  
Old 04-13-2003, 05:23 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had 170 + queries on the proarcade page and after the modified php and templates 20!! The highscores are gone but is there a way to list the scores somewhere without the load of queries?
Reply With Quote
  #613  
Old 04-13-2003, 05:47 PM
Darnell 0216's Avatar
Darnell 0216 Darnell 0216 is offline
 
Join Date: Feb 2003
Location: Newark, NJ
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Over half the games at the zone are Java-based. If you can rightclick a file and get the "about macromedia 6" popup, it's a swf. If you see it go 'loading sounds, images and notice an 'applet started' saying in the status bar, it's java-based. Even the versions at Shockwave.com are java games.
Reply With Quote
  #614  
Old 04-13-2003, 05:59 PM
mv540 mv540 is offline
 
Join Date: Sep 2002
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 01:33 AM DigitalDesktops said this in Post #592
Alien Attack

Game Identifer: alien_invaders
Game Hash Offset: 5
Score Return Variable: $treffer



Enjoy!

ive got 2 problems with this...first one is there is no sounds yet there is an option for sound on/off, second thing is when i start the game i get a message saying system is too low and will not be keeping score. This is not a message from my computer but with-in the game itself before beginning playing. I played afew games and it appears to be keeping score with no problems...

:lick:
Reply With Quote
  #615  
Old 04-13-2003, 07:07 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i broke my arcade!! LOL

http://forum.ragezone.com lol use ragezone skin and go to /proarcade.php and look!!!
Reply With Quote
  #616  
Old 04-13-2003, 07:11 PM
DigitalDesktops DigitalDesktops is offline
 
Join Date: Mar 2003
Location: Scotland, UK
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 07:53 PM mv540 said this in Post #612
ive got 2 problems with this...first one is there is no sounds yet there is an option for sound on/off, second thing is when i start the game i get a message saying system is too low and will not be keeping score. This is not a message from my computer but with-in the game itself before beginning playing. I played afew games and it appears to be keeping score with no problems...

:lick:
1. the game didn't come with sound (I'll try to find it)
2. Mine does that too for some reason
Reply With Quote
  #617  
Old 04-13-2003, 07:56 PM
mv540 mv540 is offline
 
Join Date: Sep 2002
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 09:05 PM DigitalDesktops said this in Post #614
1. the game didn't come with sound (I'll try to find it)
2. Mine does that too for some reason
ok kool, thought maybe it was just me.. :knockedout:
Reply With Quote
  #618  
Old 04-13-2003, 09:44 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 03:41 PM Jakor Sevel said this in Post #603
evil, could you post up your proarcade.php, that way we don't have to try and struggle figuring it out, thanks.
Sure.. Here ya go.
Reply With Quote
  #619  
Old 04-13-2003, 10:38 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey i ++++ed my pc totally and pro arcade dont work.. i think its my active x settings but i enabled it all and it dont work.. but it works on my other 2 pcs..

any ideas please?
Reply With Quote
  #620  
Old 04-13-2003, 11:04 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tutorial: How to modify games

For those of you who want to modify games but aren't sure how to get started here's a little tutorial to help you out.

The first thing you'll need to do is find the score variable. You could just search through the code in the .fla and find it yourself, but this is how I do it.

I use a program called flash tool set which can be downloaded here: Flash Tool Set

Open the .swf file with F.T.S. and look up at the top toolbar.. Click the "aB" text icon.

Screenshot 1

You'll see a list of variables used within the game.. Most of the time it will list the score variable.. For this particular game you can see that the score variable is gScore.

Screenshot 2


Now that you know the score variable, open the game's .fla file with Flash MX.

Up at the top (center frame) you'll see the actions layer. Find the "game over" section of that layer (usually at or close to the end) and click it.

Screenshot 3

Now look just below the frame that shows the images and you'll see the contents. Up at the top right hand corner click the little list icon and select "expert mode" (see screenshot below).

Screenshot 4

Then insert the vbproarcade code in the text area.

Screenshot 5

In the top lefthand corner click file and then save. Now click file again and select "export movie".. It will then export your modified .fla as a .swf file. Upload it and test to make sure it works.

Some games aren't as easy so you might have to experiment a little.

On games that don't end by themselves (such as roulette), you'll have to add a "submit score" button.

Just go to the layer where you want the button to appear, then look up at the top and click window + common libraries + buttons. Choose the button that you want then left click on it and drag it to the scene. Once you have it in the scene just paste this code into the text area for the action:

Code for buttons

Code:
on (release) {
	// set up vars to return
vpaver = "100B2";
scorevariable = score;
action = "gameover";
game = gamename;
score_loc = location + "/proarcade.php";

// this needs to match the Admin CP value
// and should be between 0 and 31
hashoffset = 5;

// do security shuffle to return newhash
subhash1 = gamehash.substr(0,hashoffset);
subhash2 = gamehash.substr(hashoffset);
newhash = subhash2.concat(subhash1);

// redirect back to vbProArcade
getURL (score_loc, "_self", "POST");
}
Then you can add some text like "save score" on the button.. Don't forget to change the score variable to match the one in the game.

Hopefully this is helpful to some of you guys. I figure if more people know how to modify the games we'll have a lot more games to choose from.
Reply With Quote
  #621  
Old 04-13-2003, 11:12 PM
DigitalDesktops DigitalDesktops is offline
 
Join Date: Mar 2003
Location: Scotland, UK
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Tutorial EvilLS1.
Reply With Quote
Reply

Thread Tools

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:43 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.05425 seconds
  • Memory Usage 2,313KB
  • 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
  • (1)bbcode_code
  • (4)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