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)

EvilLS1 04-13-2003 05:54 AM

Alien attack works good. Thanks!

EvilLS1 04-13-2003 06:02 AM

Quote:

Today at 06:29 AM The Wedge said this in Post #597
can you please post your edited templates, i keep messing mine up for some damn reason, and i have to many games and entries....
Check the attachment. You'll need to remove some stuff from proarcade.php too.. I can post mine if you need it.

Crazy Pete 04-13-2003 06:11 AM

I think a cool one for us would be some form of that game called Collapse over at msn games.

Jakor Sevel 04-13-2003 01:47 PM

evil, could you post up your proarcade.php, that way we don't have to try and struggle figuring it out, thanks.

PixelFx 04-13-2003 04:05 PM

something like Rumble Cube would be kewl, if there was a way to add it. http://zone.msn.com/rumblecube/

mv540 04-13-2003 04:34 PM

Quote:

Today at 05:59 PM PixelFx said this in Post #604
something like Rumble Cube would be kewl, if there was a way to add it. http://zone.msn.com/rumblecube/

thats an awsum game to have, just went to check it out and cant stop playing...
:banana:

Jakor Sevel 04-13-2003 04:48 PM

we'd need the flash file of rumble cube for it to be converted, i doubt it's a swf either.

Jakor Sevel 04-13-2003 04:58 PM

alright, i now have flash, but i'm not sure how to insert the code so it works with proarcade. Can anyone tell me where to insert it, and how. I'm trying to do it with quickshot, if anyone wants to show me an example with one of the games they did, that would be great. This will allow me to convert games for vb as well.

PixelFx 04-13-2003 05:16 PM

you now have flash for rumble cube? you need the fla for it to be able to edit it as far as I know.

as for the game it's self.. yeah it's addictive, I got 400K exp just um checking it out ;) After posting the link.

Jakor Sevel 04-13-2003 05:22 PM

no, i have flash mx, lmao. I'm trying to modify games but I'm not sure how to, and rumble cube isn't a flash game, or I doubt it is.

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

EvilLS1 04-13-2003 11:21 PM

Quote:

Today at 01:06 AM DigitalDesktops said this in Post #619
Nice Tutorial EvilLS1. :)

Thanks. Hopefully it will encourage people to help find and modify more games. :)

Jakor Sevel 04-14-2003 12:47 AM

hmmmm, i don't think anyone will be able to get quick shot to work. I tried but since it's setup in rounds I tried at the very end and all it did was start over for some reason. Anyone know why?

And i'll look for new games.

Jakor Sevel 04-14-2003 01:45 AM

Here's my very first game! WOOT! It's called Monster or something like that but I thought that was gay and I call it Save Us! lmao. I even changed it so that the game didn't end at 25 saves, lmao. Basically you'll always "lose". Unless you get 100000 saves, lmao. Anywayz, hope ya'll like it!

Save Us!


Score Variable: $mate
Hash Offset: 5

HTML:

Code:

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="600" height="500">
<param name="movie" value="$vpa_gameurl?location=$vpa_bburl&gamename=$game&gamehash=$gamehash&s=$session[sessionhash]">
<param name=loop value=false>
<param name=menu value=false>
<param name=quality value=high>
<param name=bgcolor value=#000000>
<embed src="$vpa_gameurl" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="500">
</embed>
</object>


Jakor Sevel 04-14-2003 02:06 AM

Squid Hunter

Score Variable: $points
Hash Offset: 5

HTML:
Code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="600" height="500">
<param name="movie" value="$vpa_gameurl?location=$vpa_bburl&gamename=$game&gamehash=$gamehash&s=$session[sessionhash]">
<param name=loop value=false>
<param name=menu value=false>
<param name=quality value=high>
<param name=bgcolor value=#000000>
<embed src="$vpa_gameurl" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="500">
</embed>
</object>


-Sidekick- 04-14-2003 02:10 AM

Just edit your post and choose "Disable Smilies in This Post" in the options section. :classic:

EvilLS1 04-14-2003 02:10 AM

Quote:

note: again where the smiley occurs replace it with colon D
You can edit your post and disable smileys. ;)

-Sidekick- 04-14-2003 02:10 AM

I BEAT YOU! hahaha

EvilLS1 04-14-2003 02:11 AM

Hehe.. oh well. :)

Jitway 04-14-2003 02:33 AM

Save us does not save the score.

Erwin 04-14-2003 04:20 AM

Read his post:

Quote:

Basically you'll always "lose". Unless you get 100000 saves, lmao.

The Wedge 04-14-2003 07:47 AM

Quote:

Yesterday at 06:46 AM Erwin said this in Post #598
My templates are modified, and won't make sense to you. :)

Just follow the instructions in my post.


i was trying to follow it but i totaly didnt know what to take out of the HTML......

Jakor Sevel 04-14-2003 09:56 AM

Jitway, it saves the score of people you save, not the ones you don't. If it's not working then it's something with your info, lmao.

netware 04-14-2003 10:03 AM

Icons for Game 'Saveus' :
greeTz
SC

netware 04-14-2003 10:04 AM

Icon for the Game 'Squid'
greeTz
SC

EvilLS1 04-14-2003 11:07 AM

Here's a slightly modified version of Squid Hunter if anyone wants to use it.

I added the ability for users to submit their score by clicking a button instead of the auto submit.

I also changed the score variable to $score instead of $points because the $points variable was submitting a very high number that wasn't the actual score from the game.

So if you use this version you will need to change the score variable to $score in your admin panel.

hash offset: 5
score variable: $score

EvilLS1 04-14-2003 11:08 AM

BTW, thanks for the games Jakor. And thanks for the icons netware. :)

Jakor Sevel 04-14-2003 12:00 PM

no prob evil, and yea i was thinking about using score but wasn't sure, lol. I think I'll stick with points though. And thanks for the icons netware, i'll try and provide icons with future games but I was kinda rushing last night, lmao. I can't wait to get home and try more games ^_^

I hate how some games are like....in another language or something, lol. I would've converted this cheatah racer game but i couldn't figure it out. I'll post it up later if anyone wants me to.

Kars10 04-14-2003 12:05 PM

Stupid Question, but does the Jewels work for you guys?
I am lost when i wont submit my scores...is there a way to submit scores earlier with a button or something??

Thanks in advance
Kars

MentaL 04-14-2003 12:15 PM

expect a lot of games for that tutorial :) welldone

netware 04-14-2003 12:29 PM

Moing !!

Might it be smart to open a new thread , collecting all available games and the tutorial !

I found all games but it was a lot of work to get all information !

just an idea crossing my mind :-)

greeTz
SC


All times are GMT. The time now is 03:15 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.02403 seconds
  • Memory Usage 1,833KB
  • 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
  • (3)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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