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)

auz1111 03-25-2003 03:05 PM

I am still having trouble getting the scores for hexxagon to record. Is there anyway you guys could inform me with your exact variables and HTML code. I used the code from post #165 and am using score variable $hexxagonscore, but it is not working.

Mr L 03-25-2003 04:17 PM

Is Frogger actually working?

I've seen some comments of people looking at it, but no confirmed yes or no, it's all ok?

Tigga 03-25-2003 10:04 PM

Thanks to everyone who have modified the new games. I just added 6 new ones to my site earlier and my users are loving them. It's so funny to see everyone competing just to have a little crown by their name. ;)

Osmosis 03-26-2003 02:14 AM

Quote:

Yesterday at 05:05 PM auz1111 said this in Post #330
I am still having trouble getting the scores for hexxagon to record. Is there anyway you guys could inform me with your exact variables and HTML code. I used the code from post #165 and am using score variable $hexxagonscore, but it is not working.

The HTML code for hexxagon that I'm using is :
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>

The score variable is $hexxagonscore and the hash offset is (as always) 5.

Where the smiley is in the code, it should be fullcolon D

auz1111 03-26-2003 12:07 PM

Thanks Osmosis! It is working now. :)

Osmosis 03-26-2003 06:59 PM

My pleasure!

As a sidenote here, and I"m not sure how this will be taken by you all, but I've managed to create a wrapper for an SWF file that works on my forums arcade. I've successfully taken an swf from the web, wrapped it, and made the scores submit to the arcade.

Now, I am not posting it here for 2 reasons. First of all, this is essentially a way to pirate copyrighted games (if they arent copyright, they have source code), and I dont want to be the one to spearhead this pirate ship. Secondly, I've only used this wrapper on one game so far (Pedestrian Killer), and it certainly doesnt work perfectly... i.e. the game has a built in high scores table that essentially appears and then the game submits the players score to the arcade.

BUT, hopefully thats incentive for you all to learn a bit more about flash :) I certainly hope a post like this doesnt get me banned from these boards, and if it will please let me know ahead of time so I can delete this post.

The Wedge 03-27-2003 02:01 AM

Warning: If you reached this page via your browser's "Back" button, you must refresh this
page before playing Simon Says, otherwise your score will result in a security violation.

i get that error when i try to isntall Simon Says.... any help?

The Wedge 03-27-2003 02:14 AM

also the swf file doesnt appear....

The Wedge 03-27-2003 03:30 AM

Quote:

01-31-03 at 02:56 AM Sanni said this in Post #112
problem fixed. I ended up adding it manually via running the following sql statement that futunreal posted (i think he was the one who posted it):

Code:

INSERT INTO arcadegames VALUES (NULL, 'hexxagonFinal', 'Hexxagon', 'Try to get the most stones.', 'hexxagonFinal.swf', 'hexxagon.gif', 'GIF89a\0\0?\0\0\0u?\0n?\0n?\0m?\0g?\0f?\0g?\0f?\0a?\0`?\0`?\07m\03g\03f\00`\06\0=\09\0\Z3\0\0 ?? ??????\n?????????[ xT\n?????????????Y \n?????????????????ý??zzzvvvuuuQQQFFF333### \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\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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\0K\0,\0\0\0\0\r\0 \0\0.\0?Hp ??        2Yh????:?H?"?%+J?8?? 7r I????\0\0;', 'Hexxagon Champion', '', '$hexxagonscore', 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="400" height="500">\r\n<param name="movie" value="$vpa_gameurl?location=$vpa_bburl&gamename=$game&gamehash=$gamehash&s=$session[sessionhash]">\r\n<param name=loop value=false> \r\n<param name=menu value=false> \r\n<param name=quality value=high> \r\n<param name=bgcolor value=#000000>\r\n<embed src="$vpa_gameurl" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="500">\r\n</embed>\r\n</object>');
and it works now. Not sure why i couldnt get it working via the admin cp (had no problems with simon says).

one thing that did throw me is that it doesnt add the score unless you fill in/complete the entire board. I sat there testing it for ages trying to figure out why my score wasnt being added :speechless:


anyway, i hope the above helps anyone else who was having simular problems :)


i get this error


MySQL said:


You have an error in your SQL syntax near '\'hexxagonFinal\', \'Hexxagon\', \'Try to get the most stones.\', \'hexxagonFina' at line 1


Run SQL query/queries on database - i go through there....

Osmosis 03-27-2003 03:44 AM

I dont know why you'd want to send that SQL query when you can add the game thru the admin CP no problem.


All times are GMT. The time now is 10:59 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.01943 seconds
  • Memory Usage 1,769KB
  • 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
  • (2)bbcode_code_printable
  • (2)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