Advertisement:

Author Topic: SMF Arcade  (Read 1217609 times)

Offline umiya

  • Jr. Member
  • **
  • Posts: 237
  • Gender: Male
Re: SMF Arcade
« Reply #20 on: October 14, 2004, 05:41:29 PM »
does anyone know how to add the score function to a game?

Offline TheDel

  • Jr. Member
  • **
  • Posts: 250
  • Gender: Male
Re: SMF Arcade
« Reply #21 on: October 14, 2004, 08:16:27 PM »
How and where would we go to find/add new games?

Offline umiya

  • Jr. Member
  • **
  • Posts: 237
  • Gender: Male
Re: SMF Arcade
« Reply #22 on: October 14, 2004, 08:26:45 PM »
http://www.ibproarcade.com  is where i would get mine from they all are free games....i would jsut change the score function

Offline diplomat.

  • SMF Friend
  • Full Member
  • *
  • Posts: 545
  • Gender: Male
  • avidSOUND
    • avidSOUND
Re: SMF Arcade
« Reply #23 on: October 14, 2004, 11:27:27 PM »
yeah i need to kno where to get other games also because i tryed on from miniclip.com and it didnt work right.
avidSOUND.com: Where Aspiring Musicians Can Be HEARD!

Offline niko

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,003
  • Gender: Male
    • Madjoki
Re: SMF Arcade
« Reply #24 on: October 15, 2004, 05:08:18 AM »
does anyone know how to add the score function to a game?

get fla file shomehow and then find game over frame add code to it... find out whats score var and set it to 'score' ex. if score was in high set(score,high) or var score = high; or like that i'm not very good in flash :P

Offline Pause

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,594
  • Official Cheesecake
    • @FWNetwork on Twitter
Re: SMF Arcade
« Reply #25 on: October 15, 2004, 07:53:01 AM »
Which EXACT file do I edit to put in the Arcade button? Also, when I go to the arcade, it doesn't have anything there... - http://www.intrepidentertainment.co.uk/smf/index.php?action=arcade
"You and me, inside that box, now." - The Doctor

Fusion Web Network
Wrestling Fusion + Wrestling Fusion Forums

Offline umiya

  • Jr. Member
  • **
  • Posts: 237
  • Gender: Male
Re: SMF Arcade
« Reply #26 on: October 15, 2004, 09:15:03 AM »
does anyone know how to add the score function to a game?

get fla file shomehow and then find game over frame add code to it... find out whats score var and set it to 'score' ex. if score was in high set(score,high) or var score = high; or like that i'm not very good in flash :P

i knew this much but i need the funcion for it

Offline Hoolio

  • Newbie
  • *
  • Posts: 5
Re: SMF Arcade
« Reply #27 on: October 15, 2004, 03:08:01 PM »
uhhh i can't even get beta 4 to install... why?

Offline diplomat.

  • SMF Friend
  • Full Member
  • *
  • Posts: 545
  • Gender: Male
  • avidSOUND
    • avidSOUND
Re: SMF Arcade
« Reply #28 on: October 17, 2004, 07:09:46 PM »
is there a way that i could uninstall a single game?
avidSOUND.com: Where Aspiring Musicians Can Be HEARD!

Offline niko

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,003
  • Gender: Male
    • Madjoki
Re: SMF Arcade
« Reply #29 on: October 18, 2004, 08:11:13 AM »
Not yet. But you can delete from db managment (phpmyadmin etc). This will be included in next version.

Offline Pause

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,594
  • Official Cheesecake
    • @FWNetwork on Twitter
Re: SMF Arcade
« Reply #30 on: October 19, 2004, 06:23:34 AM »
I've installed it, but when I try the test tool (submitting the score) it should go to domain.com/smf/index.php?act=arcade but instead goes to domain.com/index.php?act=arcade
"You and me, inside that box, now." - The Doctor

Fusion Web Network
Wrestling Fusion + Wrestling Fusion Forums

bloc

  • Guest
Re: SMF Arcade
« Reply #31 on: October 19, 2004, 06:43:05 AM »
Have this been tested at all...? ;) Reading all the errors here it seems a bit premature to release it as a mod... I am not putting it down, but it must be exhausting to fix things that *should* work from the start?

Offline niko

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,003
  • Gender: Male
    • Madjoki
Re: SMF Arcade
« Reply #32 on: October 19, 2004, 10:20:45 AM »
Have this been tested at all...? ;) Reading all the errors here it seems a bit premature to release it as a mod... I am not putting it down, but it must be exhausting to fix things that *should* work from the start?

Yes, it's working on local install and at http://www.titanix.net/~niko/index.php?action=arcade

If you have that test-tool included you should download new version

Offline Bullcat Webhosting

  • Sophist Member
  • *****
  • Posts: 1,245
  • Gender: Male
  • Ooit was ik programeur, nu gelukkig weer hobby'ist
    • Bullcat Webhosting
Re: SMF Arcade
« Reply #33 on: October 19, 2004, 05:34:21 PM »
Everiting works in rc1, ( exept a smal bug when adding game 2) but where do i put. the icons for the game name ? and how do i add new games to the database ?? do i have to modify arcade.php everytime i add a new game ?


Wij ondersteunen SMF forums & safe mode staat uit.

Offline niko

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,003
  • Gender: Male
    • Madjoki
Re: SMF Arcade
« Reply #34 on: October 20, 2004, 08:02:54 AM »
but where do i put. the icons for the game name ?

Games/ Folder

and how do i add new games to the database ??

Add to database using phpmyadmin, etc.
No modifying Arcade.php needed

Beta 5 will mostly likely have automatic installer. You need only to create .php file with info.
Beta 5 or 6 is last before 1.00.

Offline Bullcat Webhosting

  • Sophist Member
  • *****
  • Posts: 1,245
  • Gender: Male
  • Ooit was ik programeur, nu gelukkig weer hobby'ist
    • Bullcat Webhosting
Re: SMF Arcade
« Reply #35 on: October 20, 2004, 09:05:25 AM »
Quote
Games/ Folder
when i put the gif's in it nothing happens.

a screen dump tell's you even more ! i don't have high scores also !?? ( some txt in dutch )



a=can you help me with the probs i have ?

sorry for my englisch, but i think it's better as your ducth  8) 8)


Wij ondersteunen SMF forums & safe mode staat uit.

Offline Nyx

  • Jr. Member
  • **
  • Posts: 315
  • Gender: Female
Re: SMF Arcade
« Reply #36 on: October 24, 2004, 02:18:33 AM »
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'eskiv', 'eskiv', 'Back
:(  :'(

Offline Bullcat Webhosting

  • Sophist Member
  • *****
  • Posts: 1,245
  • Gender: Male
  • Ooit was ik programeur, nu gelukkig weer hobby'ist
    • Bullcat Webhosting
Re: SMF Arcade
« Reply #37 on: October 24, 2004, 08:12:58 AM »
Replace in arcade.php
Quote
array(
   'Eskiv',
   'INSERT INTO pahajoki_games VALUES (, \'eskiv\', \'Eskiv\', \'<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="200" height="150" id="eskivbw" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/eskivbw.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#ffffff" />\r\n<embed src="Games/eskivbw.swf" quality="high" bgcolor="#ffffff" width="640" height="480" name="eskivbw" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object>\', \'\', \'Collect blocks. But be aware of balls \');')
   );

with
Quote
array('Eskiv', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'eskiv\', \'Eskiv\', \'<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="200" height="150" id="eskivbw" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/eskivbw.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#ffffff" />\r\n<embed src="Games/eskivbw.swf" quality="high" bgcolor="#ffffff" width="640" height="480" name="eskivbw" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object>\', \'\', \'Collect blocks. But be aware of balls \');')
   );


Wij ondersteunen SMF forums & safe mode staat uit.

Offline DoW Kid Rock

  • Jr. Member
  • **
  • Posts: 139
  • Gender: Male
    • Disciples of Wrestling
Re: SMF Arcade
« Reply #38 on: October 25, 2004, 10:59:55 PM »
says it installed fine, but can't get to my arcade at:

http://www.disciplesofwrestling.ca/forum/index.php?action=arcade


Offline Bullcat Webhosting

  • Sophist Member
  • *****
  • Posts: 1,245
  • Gender: Male
  • Ooit was ik programeur, nu gelukkig weer hobby'ist
    • Bullcat Webhosting
Re: SMF Arcade
« Reply #39 on: October 26, 2004, 07:28:31 AM »
Have you upload al the files ?? also the template file ??


Wij ondersteunen SMF forums & safe mode staat uit.