vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   vbProArcade v1.0 Flash Games Development (https://vborg.vbsupport.ru/showthread.php?t=47198)

NuclioN 04-13-2003 05:23 PM

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?

Darnell 0216 04-13-2003 05:47 PM

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.

mv540 04-13-2003 05:59 PM

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! :D


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:

MentaL 04-13-2003 07:07 PM

i broke my arcade!! LOL

http://forum.ragezone.com lol use ragezone skin and go to /proarcade.php and look!!!

DigitalDesktops 04-13-2003 07:11 PM

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 :p (I'll try to find it)
2. Mine does that too for some reason

mv540 04-13-2003 07:56 PM

Quote:

Today at 09:05 PM DigitalDesktops said this in Post #614
1. the game didn't come with sound :p (I'll try to find it)
2. Mine does that too for some reason

ok kool, thought maybe it was just me.. :knockedout:

EvilLS1 04-13-2003 09:44 PM

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.

MentaL 04-13-2003 10:38 PM

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?

EvilLS1 04-13-2003 11:04 PM

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. :)

DigitalDesktops 04-13-2003 11:12 PM

Nice Tutorial EvilLS1. :)


All times are GMT. The time now is 04:01 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.01896 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete