News:

Wondering if this will always be free?  See why free is better.

Main Menu

SMF Arcade

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

Previous topic - Next topic

houston

I am getting a lot of guest wanting to get access to the arcade, which has been disabled for guests. How would I hide the tab from guests so I no longer get this error showing up in my forum errors list.

Cheers

fwitt

Quote from: khurrum on October 30, 2006, 05:05:57 PM
I get following message on trying to run arcade_install.php:

Installer version is: 1.2.4 while Arcade version is 1.2.4b.

that is an old version of the arcade, download a newer one from smfarcade.net, 1.3.1 is the current version

Quote from: houston on October 31, 2006, 12:42:52 PM
I am getting a lot of guest wanting to get access to the arcade, which has been disabled for guests. How would I hide the tab from guests so I no longer get this error showing up in my forum errors list.

in index.template.php find the code for the arcade link and put

if ($context['user']['is_logged'])

on the line b4 the echo statement

choloman05

Quote from: Bullcat Webhosting on October 29, 2004, 04:43:29 PM
The code below, add all the download games to arcade.php, just download all the games, en add this code to arcade.php !

// Games list
// $games = array('Display name in install','Sql query to excute on install');
$games = array(
array('Duck Hunt', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'duckhunt\', \'Duck Hunt\', \'<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="450" height="393" id="duckhunt.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/duckhunt.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/duckhunt.swf" quality="high" bgcolor="#000000" width="450" height="393" name="duckhunt.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Hunt ducks. Classic game\')'),
array('Pinguin', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pinguin\', \'Pinguin\', \'<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="450" height="393" id="pingviinikibpa.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/pingviinikibpa.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/pingviinikibpa.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pingviinikibpa.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Pinguin. Classic game\')'),
array('Pacman', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pacman\', \'Pacman\', \'<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="450" height="393" id="pacman.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/pacman.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/pacman.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pacman.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Pacman. Classic game\')'),
array('Breakout', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'breakout\', \'Breakout\', \'<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="450" height="393" id="breakout.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/breakout.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/breakout.swf" quality="high" bgcolor="#000000" width="450" height="393" name="breakout.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Breakout. Classic game\')'),
array('Spacehunter', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'spacehunter\', \'Spacehunter\', \'<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="450" height="393" id="spacehunter.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/spacehunter.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/spacehunter.swf" quality="high" bgcolor="#000000" width="450" height="393" name="spacehunter.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Spacehunter. Classic game\')'),
array('Snake', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'snake\', \'Snake\', \'<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="450" height="393" id="snake.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/snake.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/breakout.swf" quality="high" bgcolor="#000000" width="450" height="393" name="snake.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Snake. Classic game\')'),
array('Simpsons', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'simpsons\', \'Simpsons\', \'<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="450" height="393" id="simpsons.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/simpsons.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/simpsons.swf" quality="high" bgcolor="#000000" width="450" height="393" name="simpsons.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Simpsons. Classic game\')'),
array('Sagaofsai', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'sagaofsai\', \'Sagaofsai\', \'<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="450" height="393" id="sagaofsai.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/sagaofsai.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/sagaofsai.swf" quality="high" bgcolor="#000000" width="450" height="393" name="sagaofsai.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Sagaofsai. Classic game\')'),
array('Rshot3', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'rshot3\', \'Rshot3\', \'<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="450" height="393" id="rshot3.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/rshot3.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/rshot3.swf" quality="high" bgcolor="#000000" width="450" height="393" name="rshot3.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Rshot3. Classic game\')'),
array('Project_orion', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'project_orion\', \'Project_orion\', \'<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="450" height="393" id="project_orion.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/project_orion.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/project_orion.swf" quality="high" bgcolor="#000000" width="450" height="393" name="project_orion.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Project_orion. Classic game\')'),
array('Pingbrick', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pingbrick\', \'Pingbrick\', \'<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="450" height="393" id="pingbrick.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/pingbrickbreakout.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/pingbrick.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pingbrick.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Pingbrick. Classic game\')'),
array('Paul', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'paul\', \'Paul\', \'<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="450" height="393" id="paul.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/paul.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/paul.swf" quality="high" bgcolor="#000000" width="450" height="393" name="paul.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Paul. Classic game\')'),
array('Karts', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'karts\', \'Karts\', \'<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="450" height="393" id="karts.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/karts.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/karts.swf" quality="high" bgcolor="#000000" width="450" height="393" name="karts.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Karts. Classic game\')'),
array('Hexxagon', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'hexxagon\', \'Hexxagon\', \'<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="450" height="393" id="hexxagon.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/hexxagon.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/hexxagon.swf" quality="high" bgcolor="#000000" width="450" height="393" name="hexxagon.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Hexxagon. Classic game\')'),
array('Asteroids', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'asteroids\', \'Asteroids\', \'<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="450" height="393" id="asteroids.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/asteroids.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/asteroids.swf" quality="high" bgcolor="#000000" width="450" height="393" name="asteroids.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Asteroids. Classic game\')'),
array('Xmas-boarding', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'xmas-boarding\', \'Xmas-boarding\', \'<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="450" height="393" id="xmas-boarding.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/xmas-boarding.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/xmas-boarding.swf" quality="high" bgcolor="#000000" width="450" height="393" name="xmas-boarding.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Xmas-boarding. Classic game\')'),
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 \');')
);


Is this still how you add games? I found this on pg 4 of the thread, which was obviously a long time ago and I wonder if it still applies. Thanks.

Bigguy

Upload the games to the Games folder and they should show up under "Game Installer" in the arcade admin panel. There are 2 files for each game, a .swf and a .gif There is another way to do it with a php file and that will upload alot of games all at once, but I am not sure how to do that.

choloman05

 oh shoot, sorry I guess I should have been more clear. I'm wondering about any other flash game that is not packaged on smfarcade.net. Thanks though bigguy.

fwitt

you can install any .swf game with the installer,

BUT
1. you need to make sure you have a .gif with the same name as the .swf for the icon in the list
2. it depends on the game as to whether it will submit scores
3. the game .swf and its .gif need to be in the Games folder of your smf


if you have a game that you would like to submit scores ask in the games request board at smfarcade.net and we will request permission from the author to modify the game to submit scores (copyright law requires the copyright holders permission to modify games in this way).

khurrum

Hello.

Please! Is there anyone who can install hide tag and arcade mods for me in my forum. I will be so much thankful to you. I am really not a technical person and do not understand codings. I tried a lot and read entire pages but did not understood. It is technical language and for me it is very difficult.

Kindly someone help me. So nice of you and will be heartly thankful to you.

I have created forum at www.khurrum.com/forum
regards
KHURRUM

choloman05

fwitt - Thanks so much.

tL0z

Hello,

Does this mod already work with 1.1RC3?

Thanks

Bigguy

Yes it does. You can get it at: www.smfarcade.net

Skhilled

Quote from: choloman05 on November 03, 2006, 01:35:45 PM
oh shoot, sorry I guess I should have been more clear. I'm wondering about any other flash game that is not packaged on smfarcade.net. Thanks though bigguy.
Also if the game has a folder like /Gamedata or something else you will need to upload it and everything in it to the /Games folder as well.

junglecat

#2291
I have a Error in Package Installation

The only line that shows an error is this one:

2. Execute Modification ./Themes/default/index.template.php Test failed

I am not using the default theme. What should I do?


ETA it's not a permissions problem. I checked that file and the permissions are 777
PM me for affordable hosting. I will install your SMF forum with your choice of a theme for FREE.
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
Join us at Christian Discussions 
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

vbgamer45

I would install it then make the changes to your theme by opening up the .xml file.
If you are installing SMF Arcade 1.3.1 the only thing that it changes on index.template.php is adds a link to the arcade and is simple to add to a custom theme.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

junglecat

Yes, I am using SMF Arcade 1.3.1 and have this page open so I can make sure I do it right: http://www.smfarcade.net/index.php?page=20
PM me for affordable hosting. I will install your SMF forum with your choice of a theme for FREE.
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
Join us at Christian Discussions 
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

robotman321

i have a problem i dont know if you addressed it but, when i upload a package of games and after they install smoothly they dont play can you take a look: http://discosbazaar.com/upgradedforum

please and thank-you
whats a signature without text, WOOT!

Niteblade

Ready for 1.1 Final ? ;D
affiliate blog

robotman321

ok i found out why my forums acted liek they did, my base urls wernt the same i found that out when i went and searched common errors

it owns everything is working fine :)
whats a signature without text, WOOT!

DemonicInfluence

Quote from: nite0859 on November 28, 2006, 11:05:51 PM
Ready for 1.1 Final ? ;D

it should be if you modify the package_info.xml file to say 1.1 final is allowed to install

DemonicInfluence

Actually, now E 1.5 is out. That should let you install of 1.1 final along with bug fixes and some new stuff

nobert

Hello!
Sorry, but I don't speak english very much!
I have a question:
I where find lots of games for arcade?
Example: hxxp:www.smfarcade.net [nonactive]

Thank you!
hxxp:www.2008a.extra.hu [nonactive]

hxxp:users.cwi.hu/l/i/linkfelho/index.php [nonactive]hxxp:2008a.extra.hu [nonactive]

Advertisement: