News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SMF Arcade

Started by niko, October 01, 2004, 02:45:55 PM

Previous topic - Next topic

umiya

does anyone know how to add the score function to a game?

TheDel

How and where would we go to find/add new games?

umiya

http://www.ibproarcade.com  is where i would get mine from they all are free games....i would jsut change the score function

diplomat.

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!

niko

Quote from: umiya on October 14, 2004, 05:41:29 PM
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
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

Pause

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

Bite Fusion
Fusion Web Network
VG Fusion
Wrestling Fusion + Wrestling Fusion Forums

umiya

Quote from: Niko on October 15, 2004, 05:08:18 AM
Quote from: umiya on October 14, 2004, 05:41:29 PM
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

Hoolio

uhhh i can't even get beta 4 to install... why?

diplomat.

is there a way that i could uninstall a single game?
avidSOUND.com: Where Aspiring Musicians Can Be HEARD!

niko

Not yet. But you can delete from db managment (phpmyadmin etc). This will be included in next version.
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

Pause

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

Bite Fusion
Fusion Web Network
VG Fusion
Wrestling Fusion + Wrestling Fusion Forums

bloc

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?

niko

Quote from: Bloc 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?

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
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

Bullcat Webhosting

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.

niko

Quote from: Hans_de_Echte on October 19, 2004, 05:34:21 PM
but where do i put. the icons for the game name ?

Games/ Folder

Quote from: Hans_de_Echte on October 19, 2004, 05:34:21 PM
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.
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

Bullcat Webhosting

QuoteGames/ 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.

Nyx

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
:(  :'(

Bullcat Webhosting

Replace in arcade.php
Quotearray(
   '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
Quotearray('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.

DoW Kid Rock


Bullcat Webhosting

Have you upload al the files ?? also the template file ??


Wij ondersteunen SMF forums & safe mode staat uit.

Advertisement: