Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 3 Articles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
v3 Arcade - Game Modification Guide & Releases
John's Avatar
John
Join Date: Mar 2002
Posts: 1,543

 

Norwich, UK
Show Printable Version Email this Page Subscription
John John is offline 01-23-2004, 10:00 PM

How v3 Games Work

v3 Arcade games are a little different to those in the original Arcade and futureal's proArcade.

Instead of a simple getURL which sends all of the variables to the next page, the v3 Arcade uses a completely different system - a series of sendAndLoad events where data is sent and received between the Flash file and vBulletin. As a result, converting games for the v3 Arcade is a little more complicated.

To get games working with the v3 Arcade, a piece of code needs to be inserted which will run on every frame of the Flash movie. (I.e. one looped movieclip which is active across all frames.) A variable also needs to be set to tell the v3 Arcade code when to end the game.

EDIT: INSTRUCTIONS UPDATED TO MAKE THE PROCESS A LOT EASIER!

Converting Games

Converting a game is quite simple, providing you have some basic knowledge of Flash.

Step 1.
Create a blank movie clip, containing two keyframes.

Step 2.
On frame 1 of this blank movieclip, insert this code (not forgetting to change the gamename value to something unique - THIS PRESUMES THAT _root.score CONTAINS THE SCORE VALUE!):
Code:
// HERE THE ARCADE SESSION IS INITIATED
// DON'T FORGET TO CHANGE THE GAMENAME VALUE!
if (this.sessionstarted != 1) {
    this.arcade = new LoadVars();
    this.sessionvars = new LoadVars();
    this.arcade.gamename = "towerball";
    this.arcade.sessdo = "sessionstart";
    this.arcade.sendAndLoad("arcade.php", sessionvars, "POST");
    this.sessionstarted = 1;
}

// IF GAMEOVER=1, SUBMIT THE SCORE AND REDIRECT THE PAGE
if (_root.gameover == 1) {
    if ((this.askpermission != 1) && (this.sessionvars.connStatus == 1)) {
        this.prequestvars = new LoadVars();
        this.pranswer = new LoadVars();
        this.prequestvars.gametime = this.sessionvars.gametime;
        this.prequestvars.fakekey = this.sessionvars.initbar;
        if (_root.score == 0) {
            this.prequestvars.score = -1;
        } else {
            this.prequestvars.score = _root.score;
        }
        this.prequestvars.id = this.sessionvars.lastid;
        this.prequestvars.sessdo = "permrequest";
        this.prequestvars.note = (this.prequestvars.id*this.prequestvars.score*this.prequestvars.fakekey);
        this.prequestvars.sendAndLoad("./arcade.php", this.pranswer, "POST");
        this.askpermission = 1;
    }
    if ((this.pranswer.validate == 1) && (this.finalsent != 1)) {
        this.burnscore = new LoadVars();
        this.burnscore.microone = this.pranswer.microone;
        this.burnscore.gametime = this.prequestvars.gametime;
        this.burnscore.id = this.prequestvars.id;
        if (_root.score == 0) {
            this.burnscore.noscore = 1;
        }
        this.burnscore.sessdo = "burn";
        this.burnscore.send("./arcade.php", "_self", "POST");
        this.finalsent = 1;
    }
}
Step 3.
Now, you need to let the game know when to finish the game and redirect the page. This is done by the setting of a new variable, "gameover". When _root.gameover==1, the game will end.

Find the frame of the "Game Over" page, and add this actionscript to the frame:
Code:
_root.gameover=1;
Save, and export the SWF movie to the appropriate place.

Releasing Games

When releasing a game, please try to stick to the same format as the other games provided below. (I.e. with the installation script.) It should be fairly easy to figure out what goes where. Try to release all games in this thread!


Additional Games So Far

? Pacman (by Paul Neave) - https://vborg.vbsupport.ru/showpost....&postcount=102
? Simon (by Paul Neave) - https://vborg.vbsupport.ru/showpost....&postcount=130
? Breakout - https://vborg.vbsupport.ru/showpost....&postcount=350
? Target - https://vborg.vbsupport.ru/showpost....&postcount=359
? Maeda Path - https://vborg.vbsupport.ru/showpost....&postcount=469
? Helicopter - https://vborg.vbsupport.ru/showpost....&postcount=504
? Curveball - https://vborg.vbsupport.ru/showpost....&postcount=506
? Miniclip Snake - https://vborg.vbsupport.ru/showpost....&postcount=537
? Towerball - https://vborg.vbsupport.ru/showpost....39&postcount=7
? Alien Clones - https://vborg.vbsupport.ru/showpost....3&postcount=12
? Penguin Bashing - https://vborg.vbsupport.ru/showpost....9&postcount=72
? Mars Rover - https://vborg.vbsupport.ru/showpost....&postcount=109
? Disco Racer - https://vborg.vbsupport.ru/showpost....&postcount=138
? Joust - https://vborg.vbsupport.ru/showpost....&postcount=144
? Hexxagon - https://vborg.vbsupport.ru/showpost....&postcount=938
? Monkey Lander - http://www.v3arcade.com/play/showthread.php?t=55
? Pingu Slap - http://www.v3arcade.com/play/showthread.php?t=53
? Bloody Pingu - https://vborg.vbsupport.ru/showpost....&postcount=295
? Radial Snake - https://vborg.vbsupport.ru/showpost....&postcount=300
? Kill Kenny - https://vborg.vbsupport.ru/showpost....&postcount=304
? Alien Attack - https://vborg.vbsupport.ru/showpost....&postcount=314
? Ron North's Jewels - https://vborg.vbsupport.ru/showpost....&postcount=329
? KickUps - https://vborg.vbsupport.ru/showpost....&postcount=363
? Altex - https://vborg.vbsupport.ru/showpost....&postcount=403
? Enemy Shooting - https://vborg.vbsupport.ru/showpost....&postcount=403
? Jail Break - https://vborg.vbsupport.ru/showpost....&postcount=403
? Snow Paul - https://vborg.vbsupport.ru/showpost....&postcount=403
? Space Hunter - https://vborg.vbsupport.ru/showpost....&postcount=403
? Plasmanaut on Fire - https://vborg.vbsupport.ru/showpost....&postcount=443
? Simpsons Shooter - https://vborg.vbsupport.ru/showpost....&postcount=447
? Plasmanout V2 - https://vborg.vbsupport.ru/showpost....&postcount=464
? Pinball - http://www.v3arcade.com/play/showthread.php?t=182
? Juggler - http://www.v3arcade.com/play/showthread.php?t=207
? Starship Legend - http://www.v3arcade.com/play/showthread.php?t=208
? Aim & Fire - http://www.v3arcade.com/play/showthread.php?t=206
? Plops - http://www.v3arcade.com/play/showthread.php?t=184
? Tie Fighter Shooter - https://vborg.vbsupport.ru/attachmen...chmentid=17650
? Witch Hunt - https://vborg.vbsupport.ru/attachmen...chmentid=17651
Reply With Quote
  #802  
Old 10-30-2004, 05:56 PM
Zath Zath is offline
 
Join Date: May 2004
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bitg
or you can send me $20 via paypal and I will give you access to my ftp.
You are just plain LAME! Along with anyone else who charges for other peoples material should be taken to court. It would be different if YOU made the game or had permission from everyone who created them. I could see it if you were paying the owner of the game a percent of your income for charging people for access to a game that the orginal author put out for FREE.

You say "I'm simply charging access to my FTP" yea whatever!! I'm sure none of these authors of these games that put them out for free is going to like you making money from thier creation. I hope one of them takes you to court. I sure would.

Oh, and another thing... charging $20 for access to a server that you probly pay $7 a month to have is highway robbery. I know my webhost cost me about $7 a month and I have 800mb storage with a 40gb transfer a month. So if your gonna play like your charging people for accessing your server... Don't rip them off. It boils down to this... You are charging for the material thats on your server. Enough said!

:ermm:
Reply With Quote
  #803  
Old 10-30-2004, 06:06 PM
DjTaz DjTaz is offline
 
Join Date: Apr 2003
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The host i use charges 45 dollars for the year to register the .com AND gives u 1 gig of storage and unlimited bandwidth - great deal , but i dont want to advertise the host name in case im not allowed - Pm me if u need it.
Reply With Quote
  #804  
Old 10-30-2004, 07:02 PM
Wential Wential is offline
 
Join Date: Aug 2004
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go get 'em.....

Registrant:
Deep South Entertainment (ICESWIDQED)
2798 N Roosevelt Blvd
Key West, FL 33040
US

Domain Name: V3ARCADEGAMES.COM

Administrative Contact, Technical Contact:
Deep South Entertainment (38485048O)
2798 N Roosevelt Blvd
Key West, FL 33040
US
305-000-0000

Record expires on 03-Oct-2005.
Record created on 03-Oct-2004.

Domain servers in listed order:

NS1.DONHOST.CO.UK 62.232.63.121
NS2.DONHOST.CO.UK 195.10.228.132
Reply With Quote
  #805  
Old 10-30-2004, 07:22 PM
Holidazed's Avatar
Holidazed Holidazed is offline
 
Join Date: May 2002
Location: Van Nuys, CA
Posts: 713
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zath
You are just plain LAME! Along with anyone else who charges for other peoples material should be taken to court. It would be different if YOU made the game or had permission from everyone who created them. I could see it if you were paying the owner of the game a percent of your income for charging people for access to a game that the orginal author put out for FREE.
You know what? FU. I am tired of this old argument. I have laid out my explanation and it is valid. You are just too stupid to see it. If you truly believed what you are saying then you would not be running ANY game at all on your site that does not have the author's permission. I highly doubt that is the case. You are a f*cking hypocrite!

Quote:
Originally Posted by Zath
You say "I'm simply charging access to my FTP" yea whatever!! I'm sure none of these authors of these games that put them out for free is going to like you making money from thier creation. I hope one of them takes you to court. I sure would.
I see how you did not quote or comment on the fact that on 11-23, I am opening it up for free. I get no credit whatsoever for being nice to anybody. I bet you will be 1st in line on my site to get it when it is free. Why don't you give me your ip address and I will be sure to block it so you don't have to be a hypocrite publically.

Quote:
Originally Posted by Zath
Oh, and another thing... charging $20 for access to a server that you probly pay $7 a month to have is highway robbery. I know my webhost cost me about $7 a month and I have 800mb storage with a 40gb transfer a month. So if your gonna play like your charging people for accessing your server... Don't rip them off. It boils down to this... You are charging for the material thats on your server. Enough said!
I charge what I charge. That is none of your business. You act like I am selling something to people and then not giving what I promised. I have not heard one complaint from ANYBODY who bought access. They got EXACTLY what they asked for and more. So you can rant and rave all you want. I just have to say F*CK YOU and all others who are as closed minded and stupid as you are.

You know, because of stupid people like you, I will not open it up to the public for easy access. I will not put it on a simple download from my website. I will leave it on an ftp so you have ask for access. It will still be for free. But I will have to make you an ftp account to get access to it. This way, I can stop f*cking morons like you from getting something they publically announce they are against.
Reply With Quote
  #806  
Old 10-30-2004, 08:03 PM
Zath Zath is offline
 
Join Date: May 2004
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bitg
You know what? FU. I am tired of this old argument. I have laid out my explanation and it is valid. You are just too stupid to see it.
Stupid isnt the word for looking at rip off artist like yourself. I'm laying it out in the open before you try and rip off evey kid hoping to have a fun game site for thier friends.

Quote:
Originally Posted by bitg
I see how you did not quote or comment on the fact that on 11-23, I am opening it up for free. I get no credit whatsoever for being nice to anybody. I bet you will be 1st in line on my site to get it when it is free.
Hey dont pat yourself on the back too hard. I'm sure you already have taken advantage of lots of people. For your information I will not be pacing waiting for your site to open.

Quote:
Originally Posted by bitg
Why don't you give me your ip address and I will be sure to block it so you don't have to be a hypocrite publically.
Well you sure wont have to worry about me wanting anything you got.

Quote:
Originally Posted by bitg
I charge what I charge. That is none of your business. You act like I am selling something to people and then not giving what I promised. I have not heard one complaint from ANYBODY who bought access. They got EXACTLY what they asked for and more. So you can rant and rave all you want.
Thats fair but I bet most of the people that paid are probley under 18.

Quote:
Originally Posted by bitg
I just have to say F*CK YOU and all others who are as closed minded and stupid as you are.
This comment just shows how intellengent you are. FU too. Feel better now?

Quote:
Originally Posted by bitg
You know, because of stupid people like you, I will not open it up to the public for easy access. I will not put it on a simple download from my website. I will leave it on an ftp so you have ask for access. It will still be for free. But I will have to make you an ftp account to get access to it. This way, I can stop f*cking morons like you from getting something they publically announce they are against.
That way you can get another pat on the back from people you DO decied to let have access. Boy.. I've seen people who like ass kissers but you top the cake. Keep your files, FTP and you potty mouth to yourself.

__________________________________________________ ______________

NOTE TO MODS: I will not post any another remark about this guy. Nor will I reply when he tries to make a "come back" from this post and tries himself look better. I just wanted to make sure that people know what he is doing and I believe its all out on the table now. People can also see how immature this guy is when he is confronted. Save your money... everything he has is on the net for free.

Apoligies to the mods of this forum
Zath
Reply With Quote
  #807  
Old 10-30-2004, 08:08 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sheesh, is there any need for all the personal abuse in this thread?

This thread is supposed to be for discussion of the v3arcade hack. All this is doing is helping to kill it off, and that's not a good thing.
Reply With Quote
  #808  
Old 10-30-2004, 08:10 PM
Zath Zath is offline
 
Join Date: May 2004
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Like I said I have nothing more to say about it
Reply With Quote
  #809  
Old 10-30-2004, 09:09 PM
TwinsX2Dad TwinsX2Dad is offline
 
Join Date: Oct 2004
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zath
charging $20 for access to a server that you probly pay $7 a month to have is highway robbery. I know my webhost cost me about $7 a month and I have 800mb storage with a 40gb transfer a month. So if your gonna play like your charging people for accessing your server... Don't rip them off. It boils down to this... You are charging for the material thats on your server.
Um, wrong on all counts. They are not charging for the files - I've not seen anywhere that I was not allowed to give away the zip files myself, even though I am not about to do that. It is for pure access to the download area and I can see the point of charging for it.

And, until you've been in business, please don't start hammering people for what they charge for something. It is what is known as supply & demand, capitalism, whatever. If enough people find it isn't worth the money, they won't patronize the site. It matters not if they pay $1 for something, then sell it for $50. You really don't want to know what your local retailer is making in profit. It costs less than $1 to make a case of Coca-Cola, yet you're probably paying (on average) 12-15 times that much.

It is people like you who find car dealerships a rip off for their 8-20% profit on the manufacturer's sticker of that new car, yet have happily spent thousands on your music CDs which cost about 40 cents to produce. Or you buy those $5 packs of smokes which cost RJR & Co. less than 30 cents. How about that beer? Did you know the cost of the can or bottle is more than the swill inside?

I believe everyone needs to chill out and get back to reality. If you don't want to add this hack, then don't add it. If you'd rather go out and search for the 500+ games available for this hack, then by all means, have at it.

These are all OPTIONS, folks - no one is twisting your arm to do any of it.
Reply With Quote
  #810  
Old 10-30-2004, 09:37 PM
Holidazed's Avatar
Holidazed Holidazed is offline
 
Join Date: May 2002
Location: Van Nuys, CA
Posts: 713
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TwinsX2Dad, I totally agree with you. Thanks for the support.

Quote:
Originally Posted by Zath
Stupid isnt the word for looking at rip off artist like yourself. I'm laying it out in the open before you try and rip off evey kid hoping to have a fun game site for thier friends.
I am not stopping anybody from running a game site. Go out and hunt down the games individually for yourself. Leave me the f*ck alone.

Quote:
Originally Posted by Zath
Hey dont pat yourself on the back too hard. I'm sure you already have taken advantage of lots of people. For your information I will not be pacing waiting for your site to open.
I am not patting myself on the back. You are a f*cking d*ck. People like you are why I am not giving out free access. You are the kind of person who finds free stuff on the net and just complains when you cannot get it fast enough and never say "Thanks" to the person giving it away.

Quote:
Originally Posted by Zath
Well you sure wont have to worry about me wanting anything you got.
Good! Because of you I am not making it easy for ppl to get the games for free from me. Everybody can thank you for showing me that there many f*cking morons out there. I would not spit in your mouth if you were dying of thirst you f*cking idiot.

Quote:
Originally Posted by Zath
Thats fair but I bet most of the people that paid are probley under 18.
Again, you have no idea what you are talking about. It shows in everything you say.

Quote:
Originally Posted by Zath
This comment just shows how intellengent you are. FU too. Feel better now?
Not really. I would feel better if you would shut your hole.

Quote:
Originally Posted by Zath
That way you can get another pat on the back from people you DO decied to let have access. Boy.. I've seen people who like ass kissers but you top the cake. Keep your files, FTP and you potty mouth to yourself.
You have no right to speak. You are an ignorant self serving hypocritical ingrate and are probably about 12 years old. I can tell by the opinions you have. Up yours f*ckhead!

Quote:
Originally Posted by Zath
I will not post any another remark about this guy. Nor will I reply when he tries to make a "come back" from this post and tries himself look better. I just wanted to make sure that people know what he is doing and I believe its all out on the table now. People can also see how immature this guy is when he is confronted. Save your money... everything he has is on the net for free.
Good! It's about time you learned to shut up when you realize you don't have any idea what you are talking about. 12 years olds lime you should not be here anyway.
Reply With Quote
  #811  
Old 10-30-2004, 11:41 PM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zath
You are just plain LAME!
I'm gonna have to agree with you there, you see, i've just noticed this post and the penny finally dropped, i'm being flamed in the ibproarcade thread for sharing games to save the folks at ibproarcade.com some bandwidth.... (bigt was maybe hosting alot ibproarcade zips) anyways check my sig, so you see...it all finally falls into place, all chasing the $ - Zath, thanks

-b6
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 05:28 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.05654 seconds
  • Memory Usage 2,370KB
  • Queries Executed 26 (?)
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
  • (19)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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