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)

DigitalDesktops 04-02-2003 10:05 PM

atm i'm working on making the two games Hlodder posted(Post 359 & 340) compatible with the arcade.

Mr L 04-02-2003 10:29 PM

Quote:

Today at 12:05 AM DigitalDesktops said this in Post #370
atm i'm working on making the two games Hlodder posted(Post 359 & 340) compatible with the arcade.
Digital,

This is great news... :D ...just wish I had the skillset to do them!

Cheers.

Harvey.

-Sidekick- 04-02-2003 10:41 PM

Quote:

Today at 06:28 AM NuclioN said this in Post #368
The amount of games to share for the arcade would improve dramaticly if someone adds a step by step tutorial on how to search the scorevariable and how to implement the final code.
I saw that the code is pretty regular in all the games.

Also, i see that it's a problem for a couple of people to share their new games. That can create a 'if you don't share, i will not share' environment.

Either you know how to modify flash well or you don't. I personally don't know how to modify flash, but my buddy that does knew instantly what the directions for modifying games meant.

gwhooooey 04-02-2003 10:49 PM

What info would I have to enter for these 2 games?

http://www.flashkit.com/movies/Games...-436/index.php

http://www.flashkit.com/movies/Games...5654/index.php

...and if you can't do a high score board thingy for it, how would I add it anyway so users can play but just not get high scores.

And also how would I add any of the games on....

https://vborg.vbsupport.ru/showthrea...threadid=42196

...there?

Thanks for anyone who can help

DigitalDesktops 04-02-2003 10:59 PM

Quote:

Today at 12:49 AM gwhooooey said this in Post #373
What info would I have to enter for these 2 games?

http://www.flashkit.com/movies/Games...-436/index.php

http://www.flashkit.com/movies/Games...5654/index.php

...and if you can't do a high score board thingy for it, how would I add it anyway so users can play but just not get high scores.

And also how would I add any of the games on....

https://vborg.vbsupport.ru/showthrea...threadid=42196

...there?

Thanks for anyone who can help

you would have to add:

// 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");

some where on the Action Layer. but you need to find the score variable first. i'm also working on modifying frogger, but so far no luck.

Link14716 04-03-2003 11:52 PM

I have attempted Kill Kenny, however, it redirected to /proarcade.php instead of /forums/proarcade.php and when I got it to redirect properly, it gave me an "Invalid Game Specified" error.

dstruct2k 04-04-2003 12:37 AM

I have modified, and am running, the Star Wars: TIE Fighter game... Give me a couple minutes to get it together, and I'll post it up here.

DigitalDesktops 04-04-2003 12:54 AM

Quote:

Today at 01:52 AM Link14716 said this in Post #375
I have attempted Kill Kenny, however, it redirected to /proarcade.php instead of /forums/proarcade.php and when I got it to redirect properly, it gave me an "Invalid Game Specified" error.
make sure you don't change this bit of code:

// 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");

dstruct2k 04-04-2003 12:59 AM

TIE Fighter

Game Hash Offset: 5
Score Return Variable: $score
HTML Code for Game:
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="400" 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="400" height="500">
</embed>
</object>

Enter this query or add it via Admin CP:
PHP Code:

INSERT INTO arcadegames VALUES (NULL, 'starwars', 'Tie Fighter', 'Shoot down the enemies before they shoot you!', 'starwars.swf', 'starwars.gif', 'GIF89a\0\0?\0\0\0\0??????????????څ????ߔ???????Ƥ????կ????????UVV?????ϰ????????T8F/\r\\@?ͅ?̐۷???t???~U?v.M6??9?f/??U0#??JŗX??X?lE_?Y?vP??q?ǚѵ?????????????    5&7*\Z???             ???\r\n??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????___????????????????????????????????????   ?????????????????????????????????????????????????????????????????????????????????????????????~~~|||{{{yyyxxxwwwvvvuuurrrpppooonnnmmmlllkkkjjjiiihhhgggfffeeecccbbb```^^^]]][[[XXXVVVRRRNNNLLLHHHFFFAAA???>>>999222000///---,,,***)))((($$$    \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0,\0\0\0\0\0\0\0?\0?    dǃ??!??6?!?o??(s?p??Ck??l??e?3?\rYЀ??Ȑ!?J?ąͤC?<ٱR?\ZJ1\n@ab??$???d?? P?DmZ?F\\C!7T?0 ?    ?%M?0?#??Q????ɓ?1?\Z?0?AB?+R @?"?\nR @m??ɓ?N?:?A֐?\n`&p?R?ʕ.a?l\n%J??Q?@-?4*?+v??\0?\0??2_?t????;?B???(T?F?>???h?6R?X g?2U?`qd\nT?Q??t\Z)??O?ޔ?c????ȁ??ȓQ?~??jϝT??`????&4?\\?? ?00Hyر????K.??b?f<??#?Z?\01    8?!???????-?xVt?)??J*r???    9<P    $?$??S .,b??\ZV???(g???SL?? T??%?@b??CK,?    $mp?F ?xBHX?!E$=D`?)jrI$??‹0??2?#??1?~???DRF3???)???\'?TR?0? ??)? ????a    )?Hx?9???*???rJ)?pRJ+??q?!u??!??2J(?$BF4\r?s?1??Š*??"?&?,"??$2    (??&\n ?C?:???I???R?#?8?H$?L2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\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0!?\0\0K\0,\0\0\0\0\r\0 \0\0.\0?Hp ??    2Yh????:?H?"?%+J?8?? 7r I????\0\0;', 'Tie Fighter Champion', '', '$score', 5, '<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="550" height="380">\r\n<param name="movie" value="$vpa_gameurl?location=$vpa_bburl&gamename=$game&gamehash=$gamehash&s=$session[sessionhash]&username=$username&highscore=$highscore&bbtitle=$bbtitle">\r\n<param name="quality" value="high">\r\n<param name=bgcolor value="#576375">\r\n<embed src="$vpa_gameurl" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="380">\r\n</embed></object>');

This is the Star Wars Shooter that was submitted earler, it was easy to fix up.

dstruct2k 04-04-2003 01:01 AM

Remember, you have to QUOTE the SQL Query to get a copy of it that will work.


All times are GMT. The time now is 10:31 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.03515 seconds
  • Memory Usage 1,767KB
  • 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
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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