Quote from: AIMJournals on October 02, 2004, 03:38:18 PM
weird... Duck Hunt (included with this mod) didn't work for me... it also seems that all DB Querys this mod makes are being executed twice... ???
Quote from: AIMJournals on October 02, 2004, 03:38:18 PM
it also seems that all DB Querys this mod makes are being executed twice... ???
Quote from: roboter88 on October 07, 2004, 01:00:59 PM
Can you PM the code for FLASH -> SMF syndication?
I coded "robot invasion" arcade shooter and like to make it compatible :-)
Cheers
on (press){
set (score,high);
set (act,"submit");
set (game,"duckhunt");
set (url,"index.php?action=arcade");
getURL (url, "_self", "POST");
}
on (press){
set (score,high);
set (act,"submit");
set (game,"duckhunt");
set (url,"index.php?action=arcade");
getURL (url, "_self", "POST");
}
Quote from: umiya on October 14, 2004, 05:41:29 PM
does anyone know how to add the score function to a game?
Quote from: Niko on October 15, 2004, 05:08:18 AMQuote 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
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?
Quote from: Hans_de_Echte on October 19, 2004, 05:34:21 PM
but where do i put. the icons for the game name ?
Quote from: Hans_de_Echte on October 19, 2004, 05:34:21 PM
and how do i add new games to the database ??
QuoteGames/ Folderwhen i put the gif's in it nothing happens.
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 \');')
);
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 \');')
);
Quote from: DoW Kid Rock on October 26, 2004, 01:25:30 PM
I had done that, but I didn't realize that when it installed in the package manager for some reason it didn't do the sql entries or edit the index.php.
it is working now, but just have to get the games working. not easy entering them into phpmyadmin by hand and the games aren't working properly. tried games from ibproarcade, but it doesn't submit the scores properly.
will wait for later incarnations of this before going any further
Quote from: nesianstyles on October 28, 2004, 01:26:18 AM
added 13 full games done for this mod today.
Hope you like them
Download/View (http://nesian.info/smgames/)
if(isset($_POST['act'])) $_POST['do'] = $_POST['act'];
if(isset($_POST['game']) && isset($_POST['score'])) $_POST['do'] = "submit"; // If game and score is set then -> submit
elseif( isset($_GET['do']) && isset($_GET['game'])) $_GET['do'] == "play"; // If game is set but no play or highscore -> play
Quote from: Niko on October 29, 2004, 08:40:29 AMI didn't realise games needed it, but I have been doing the games from another arcade mod and its hard to add another line of actionscript with the program I use.Quote from: nesianstyles on October 28, 2004, 01:26:18 AM
added 13 full games done for this mod today.
Hope you like them
Download/View (http://smfgames.com)
thanks for these. but they have missing var do = submit; this is not big problem thought, since Beta 4+ repairs.
in Sources/Arcade.php
find:Code Select
if(isset($_POST['act'])) $_POST['do'] = $_POST['act'];
add after:Code Select
if(isset($_POST['game']) && isset($_POST['score'])) $_POST['do'] = "submit"; // If game and score is set then -> submit
elseif( isset($_GET['do']) && isset($_GET['game'])) $_GET['do'] == "play"; // If game is set but no play or highscore -> play
// 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 \');')
);
array('NAME', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'name\', \'NAME\', \'<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="NAME.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/NAME.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/NAME.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\')'),
Quote from: nesianstyles on October 29, 2004, 08:52:10 PM
added 8 more games:
ameriman
dragndrop
funkypong
target_shoot
rsnake
cheetah_race
squid_hunter
star_wars
download/view (http://nesian.info/smgames/)
Also put up a example arcade and a board for support and stuff.
QuoteYou rock! Would it be too much to ask to throw in a couple of card games like Poker and Black Jack if possible?Sure thing, I know a video poker game and a few slot games which are open source. I have 2 blackjack games I can convert, but the authors don't seem contactable since there sites are about webdesign.
Quote from: Elijah Bliss on October 29, 2004, 09:23:44 PMQuote from: nesianstyles on October 29, 2004, 08:52:10 PM
added 8 more games:
ameriman
dragndrop
funkypong
target_shoot
rsnake
cheetah_race
squid_hunter
star_wars
download/view (http://nesian.info/smgames/)
Also put up a example arcade and a board for support and stuff.
You rock! Would it be too much to ask to throw in a couple of card games like Poker and Black Jack if possible?
Quote from: trenchteam on October 31, 2004, 01:24:08 AM
Does this work with RC2?
Quote from: Niko on October 31, 2004, 02:17:53 PMI run it on RC2, and it works... wouldn't mind having the Sonic the Hedgehog from IBProArcade though... would someone email them for permission? (I would but can't access the site etc. for some reason)Quote from: trenchteam on October 31, 2004, 01:24:08 AM
Does this work with RC2?
i think so. since this has only one core change (to action array)
Quote from: trenchteam on October 31, 2004, 01:24:08 AM
Does this work with RC2?
Quote from: Kender on November 05, 2004, 08:35:23 AM
is http://www.pahajoki.info/server/SMF_Arcade(Beta4).zip still the most recent version, if so, when will next release be? also, i attempted to set up the patcher on my forum, using http://www.pahajoki.info/server/ as the site, and it could not access it as an upload site for patches
Quote from: Hans_de_Echte on October 20, 2004, 09:05:25 AMQuoteGames/ Folderwhen 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 )
(http://www.het-catshuys.nl/upload/arcade.jpg)
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)
Quote from: Hans_de_Echte on October 20, 2004, 09:05:25 AMQuoteGames/ Folderwhen 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 )
(http://www.het-catshuys.nl/upload/arcade.jpg)
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)
$context['arcade']['games'][$i]['thumbnail'] = "Games/{$game['thumb']}";
$context['arcade']['games'][$i]['thumbnail'] = "Games/".$game['game'].".gif";
$context['arcade']['games'][$i]['thumbnail'] = "Games/".$game['game'].".jpg";
$context['arcade']['games'][$i]['thumbnail'] = "Games/".$game['game'].".png";
Quote from: soapbath on November 11, 2004, 08:33:08 PM
nesianstyles; Have you got them arrays?
array('Duck Hunt', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'duckhunt\', \'Duck Hunt\', \'<center><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></center>\', \'\', \'Duck Hunt. Classic Arcade Game.\')'),
array('Tetris', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'tetris\', \'Tetris\', \'<center><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="tetris.swf" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/tetris.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#ffffff" />\r\n<embed src="Games/tetris.swf" quality="high" bgcolor="#ffffff" width="640" height="480" name="tetris" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object></center>\', \'\', \'Shaped blocks fall into a pit where you must arrange them so they fit neatly.\');'),
array('Simon', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'simon\', \'Simon\', \'<center><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="simon.swf" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/simon.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#000000" />\r\n<embed src="Games/simon.swf" quality="high" bgcolor="#000000" width="640" height="480" name="simon" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object></center>\', \'\', \'Follow the pattern of lights and sounds. \');'),
array('Space Hunter', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'spacehunter\', \'Space Hunter\', \'<center><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></center>\', \'\', \'Space Hunter. Classic Space Game.\')'),
array('Asteroids', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'asteroids\', \'Asteroids\', \'<center><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></center>\', \'\', \'Asteroids. Classic Arcade Game.\')'),
array('Invaders', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'invaders\', \'Invaders\', \'<center><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="invaders.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/invaders.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/invaders.swf" quality="high" bgcolor="#000000" width="450" height="393" name="invaders.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Invaders. Classic Arcade Game.\')'),
array('Eskiv', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'eskiv\', \'Eskiv\', \'<center><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="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></center>\', \'\', \'Collect blocks. But beware of the balls.\');'),
array('Ping Pong', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pingpong\', \'Ping Pong\', \'<center><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="pingpong.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/pingpong.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/pingpong.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pingpong.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Ping Pong. Classic Game.\')'),
array('Air Fox', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'airfox\', \'Air Fox\', \'<center><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="airfox.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/airfox.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/airfox.swf" quality="high" bgcolor="#000000" width="450" height="393" name="airfox.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Air Fox. Shoot enemies out of the sky.\')'),
array('Slots', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'slots\', \'Slots\', \'<center><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="slots.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/slots.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/slots.swf" quality="high" bgcolor="#000000" width="450" height="393" name="airfox.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Slots. Casino Game.\')'),
array('Video Poker', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'videopoker\', \'Video Poker\', \'<center><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="videopoker.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/videopoker.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/videopoker.swf" quality="high" bgcolor="#000000" width="450" height="393" name="videopoker.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center></center>\', \'\', \'Poker. Casino Game.\')'),
array('Seconds of Madness', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'secondsofmadness\', \'Seconds of Madness\', \'<center><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="secondsofmadness.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/secondsofmadness.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/secondsofmadness.swf" quality="high" bgcolor="#000000" width="450" height="393" name="secondsofmadness.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Seconds of Madness. Obstacle Game.\')'),
array('Pacman', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pacman\', \'Pacman\', \'<center><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></center>\', \'\', \'Pacman. Classic Arcade Game.\')'),
array('Frogger', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'frogger\', \'Frogger\', \'<center><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="frogger.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/frogger.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/frogger.swf" quality="high" bgcolor="#000000" width="450" height="393" name="frogger.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Frogger. Classic Arcade Game\')'),
array('Breakout', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'breakout\', \'Breakout\', \'<center><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></center>\', \'\', \'Breakout. Classic Arcade Game.\')'),
array('Mumu', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'mumu\', \'Mumu\', \'<center><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="mumu.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/mumu.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/mumu.swf" quality="high" bgcolor="#000000" width="450" height="393" name="mumu.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Mumu. Puzzle Game.\')'),
array('Jewels', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'jewels\', \'Jewels\', \'<center><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="jewels.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/jewels.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/jewels.swf" quality="high" bgcolor="#000000" width="450" height="393" name="jewels.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Jewels. Classic Game.\')'),
array('Plasmanaut', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'plasmanaut\', \'Plasmanaut\', \'<center><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="plasmanaut.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/plasmanaut.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/plasmanaut.swf" quality="high" bgcolor="#000000" width="450" height="393" name="plasmanaut.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object></center>\', \'\', \'Plasmanaut. Blast enemies out of space.\')'),
array('Karts', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'karts\', \'Karts\', \'<center><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></center>\', \'\', \'Karts. Classic Racing Game.\')')
Quote from: kindred on November 12, 2004, 02:57:40 PMYes it is.
Not to mention, Hoolio... doing it that way (without permission from the author) and then posting the game to your site is illegal.
Quote from: kindred on November 12, 2004, 02:57:40 PMTrue. flashkit.com is good place to find. Google also
There are a number of SWF and Flash-optimized games available for download, both free and registered. Why do something illegal?
Quote from: kindred on November 12, 2004, 02:57:40 PM
(BTW: I have a PNFlash component for Mambo, which allows the SMF games to be run under Mambo as well... now I just have to get the SMF-scoring component installed correctly. LOL!)
Quote from: Trekkie101 on November 18, 2004, 01:20:38 PM
Erm the address you gave me didnt work (i changed it) i still cant get my acracde working.
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 \');')
);
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 \');')
);
Quote from: nesianstyles on November 05, 2004, 02:48:53 PM
Downloads are now in categorys, I also have added a new design, more games, a cool web ftp thing to upload files and got permission from ghost to do seconds of madness (cool game) and mumu (like Trytrist). I am contacting matmi and ultimate arcade at the moment to see if I can do their games.
puzzel games:
secondsofmadness
mumu
classic games:
airfox
frogger
invaders
jewels
mahjong
pacman
pingpong
simon
tetris
download/view (http://nesian.info/smgames/)
Quote from: Oldiesmann on November 19, 2004, 09:58:40 PM
I have a suggestion. Currently you have to add a query to Sources/Arcade.php everytime you want to add a game, and you can't uninstall a game without having to add a query for it or deleting it in phpMyAdmin. Why not have it read the Games directory, make an array of all the games in the directory, and then go through the games table and see which ones are installed? Then you can output an "install" link for every game that isn't installed and add an "uninstall" link for each game that is installed. This will prevent accidentally installing a game twice (you might want to make that a UNIQUE value) and will make things a bit easier to manage.
Quote from: Oldiesmann
Seems to work fine in 1.0 preview. I still think you should either center the games or make use of all that extra space and display your high score and the top 10 high scores for that game.
Quote from: Oldiesmann on November 19, 2004, 10:24:26 PM
I tried both Plasmanaut and Airfox and both of those went directly to .../index.php?action=arcade instead of .../index.php?action=arcade&do=submit when the game ended. (Plasmanaut you have to click submit, but still...)
Quote from: Nikoin Sources/Arcade.php
find:Code Select
if(isset($_POST['act'])) $_POST['do'] = $_POST['act'];
add after:Code Select
if(isset($_POST['game']) && isset($_POST['score'])) $_POST['do'] = "submit"; // If game and score is set then -> submit
elseif( isset($_GET['do']) && isset($_GET['game'])) $_GET['do'] == "play"; // If game is set but no play or highscore -> play
Quote from: nesianstyles on December 11, 2004, 02:23:09 AMIs there any chance you could put all of them in one tar.gz or zip file? It's just fiddly having to download them one by one... :)
I guess I better add more games soon, but there is 45 at the moment
Quote from: Niko on December 13, 2004, 12:27:58 PMGreat - I'll install it as soon as I get my board back up :D
Beta 5 is out! Finally
Quote from: DoW Kid Rock on December 15, 2004, 12:17:52 PMI'll look into that
I tried the auto install, but had to unzip the folder first then zip the contents. then I installed from the package manager and it said it worked, but ended up doing everything by hand.
Quote from: DoW Kid Rock on December 15, 2004, 12:17:52 PMThis is 'feature'
anyway my problem is that when I go to the arcade and click on admin, then try to change the options it says "Invalid action"
Quote from: DoW Kid Rock on December 15, 2004, 12:17:52 PM
I try to add a game, but it just comes to the main arcade screen again.
Quote from: RGSMDNR on December 15, 2004, 03:01:26 PM
if i install the new version, will it erase the current scores?
Quote from: incubusnb on December 15, 2004, 03:12:30 PM
is Beta 5 just an upgrade? i noticed it has a smaller file size than Beta 4, should i install 4 first and then upgrade?
Quote from: DoW Kid Rock on December 18, 2004, 01:21:55 PM
ok I did the beta5b upgrade and am able to go in and fill the information in, but when I go back to the arcade and select the game it comes to the screen that has the game name, but the swf file doesn't load.
I thought it might be mozilla, but have tried it in IE and nothing.
also does anyone have a good site to download the thumbnails needed?
thank you
Quote from: johnm on December 18, 2004, 09:37:28 AM
just a question about installing new games can you make up a class id for the games or does it have to be some thing specific?
i.e duck hunt game id =classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
and say tetris game =classid="clsid:d27cdb6e-ae6d-11cf-96b8-4445535569872"
thanks
on (press){
set (score,high);
set (act,"submit"); // No longer required
set (game,"<game id>"); // Use same for filename and you don't need to write it to some where if you are lazy
getURL (index.php?action=arcade", "_self", "POST");
}
<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"> <param name="allowScriptAccess" value="sameDomain"> <param name="movie" value="Games/duckhunt.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#000000"><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"></object>
Quote from: johnm on December 18, 2004, 08:44:05 PM
im guessing you want to know what html code do you put in use some thing like:Code Select<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"> <param name="allowScriptAccess" value="sameDomain"> <param name="movie" value="Games/duckhunt.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#000000"><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"></object>
thats what i did and it seems fine you will need to change the classid to some thing uniqe
and change the name of the swf file
Quote from: DoW Kid Rock on December 15, 2004, 12:17:52 PM
I tried the auto install, but had to unzip the folder first then zip the contents. then I installed from the package manager and it said it worked, but ended up doing everything by hand.
anyway my problem is that when I go to the arcade and click on admin, then try to change the options it says "Invalid action"
I try to add a game, but it just comes to the main arcade screen again.
looks like it would be an awesome mod if I could get it working
I have RC2 just in case you need to know that
Fatal error: Cannot instantiate non-existent class: swfheader in /public_html/smf1/Sources/Arcade.php on line 322
Quote from: DoW Kid Rock on December 19, 2004, 01:42:30 AM
did you install the beta5b?
I had that same problem and it was fixed with b. also did you run the sql query to add the tables to your database?
Quote from: nviceversa on December 19, 2004, 01:37:25 AMQuote from: DoW Kid Rock on December 15, 2004, 12:17:52 PM
I tried the auto install, but had to unzip the folder first then zip the contents. then I installed from the package manager and it said it worked, but ended up doing everything by hand.
anyway my problem is that when I go to the arcade and click on admin, then try to change the options it says "Invalid action"
I try to add a game, but it just comes to the main arcade screen again.
looks like it would be an awesome mod if I could get it working
I have RC2 just in case you need to know that
Okay i am having the same problem as this person.
So when i added snake.swf and went into the games admin panel and clicked on snake.swf
it came up with this errorCode SelectFatal error: Cannot instantiate non-existent class: swfheader in /public_html/smf1/Sources/Arcade.php on line 322
what's the problem with this?
Quote from: nviceversa on December 19, 2004, 03:43:05 AM
Lol thanks^ forgot to upload that file ;D
Notice: Undefined index: install in /var/www/html/forums/Sources/Arcade.php on line 35
Notice: Undefined variable: i in /var/www/html/forums/Themes/default/Arcade.template.php on line 105
Notice: Undefined variable: i in /var/www/html/forums/Themes/default/Arcade.template.php on line 107
Notice: Undefined variable: i in /var/www/html/forums/Themes/default/Arcade.template.php on line 108
Notice: Undefined variable: i in /var/www/html/forums/Themes/default/Arcade.template.php on line 110
Notice: Undefined index: sub_action in /var/www/html/forums/Themes/BlueChill/Arcade.template.php on line 185
Notice: Undefined index: sub_action in /var/www/html/forums/Themes/BlueChill/Arcade.template.php on line 236
Notice: Undefined index: sub_action in /var/www/html/forums/Themes/BlueChill/Arcade.template.php on line 246
Notice: Undefined index: sub_action in /var/www/html/forums/Themes/BlueChill/Arcade.template.php on line 249
Notice: Undefined index: sub_action in /var/www/html/forums/Themes/BlueChill/Arcade.template.php on line 295
Quote from: 4dd1ct on December 21, 2004, 07:02:11 AMtry going to index.php?action=arcade&do=admin and installing that way - that should do it.
I got a game to work by adding it using phpmadmin, however no matter where I enter the $games= array into my arcade.php no new games show up. Am I doing something stupid here?
Quote from: 4dd1ct on December 21, 2004, 08:24:31 AMWhich forum version are you using?
Thanks for the reply.
Unfortunately, that's my second problem - if I visit the admin section I just get a blank-ish forum page with my username at the top. I am logged into smf as admin but that doesn't seem to change anything. I've tried reinstalling the mod and with different versions but that doesn't seem to make any difference.
As I say, seems to be installed ok though because if I add games manually they work. :(
Quote from: 4dd1ct on December 21, 2004, 10:09:26 AMOkay....are you also using the default template?
1.0 RC2.
Quote from: 4dd1ct on December 21, 2004, 10:17:15 AMTry switching to the default template and seeing if it works using that then (as most modifications only modify the default SMF theme).
Do you mean the default SMF template/theme? I'm using the helios theme if that's what you meant.
4dd
Quote from: DoW Kid Rock on December 21, 2004, 10:15:37 AM
how I install games are uploading them to the games folder then go into the arcade then click on the admin link. then click on games......not install a new game. from there you can click on any of the games uploaded and add in the information for it
Quote from: DoW Kid Rock on December 21, 2004, 10:36:56 AM
if you let it run through it will submit your score as 0
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/html/forums/Sources/Arcade.php on line 101
Quote from: 4dd1ct on December 21, 2004, 10:22:46 AMNo Problem, that's what I'm here for ;)
Thanks for your help btw Mattitude :)
Quote from: nesianstyles on December 23, 2004, 04:13:17 PM
finally a update:
eastereggs is fixed so if it wasn't submitting scores, it is now (zip updated) :)
10 New games for christmas:
air_sk8ing - sports
starfall - other
militaryhg - other
militarysnow - other
amira - puzzel
newtons_revenge - puzzel
discoracer - racing
flasteroids - clones
frogger2 - classic
donkeykong - classic
download/view (http://smfgames.freelinuxhost.com)
QuoteWarning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/cheatpog/.panel/web/bulletin/bb/db/mysql4.php on line 331
phpBB : Critical Error
Quote from: johnm on December 30, 2004, 05:14:34 PM
you still need to upload all of the files via ftp to the appropriate directories
when i installed arcade 5b it didnt upload any files for some reason
Quote from: profile on December 30, 2004, 06:54:50 PMQuote from: johnm on December 30, 2004, 05:14:34 PM
you still need to upload all of the files via ftp to the appropriate directories
when i installed arcade 5b it didnt upload any files for some reason
Now I'm getting:
2: Invalid argument supplied for foreach()
Maybe a little too anxious trying to get arcade and SMF to work. :-[
Quote from: profile on December 30, 2004, 06:54:50 PMQuote from: johnm on December 30, 2004, 05:14:34 PM
you still need to upload all of the files via ftp to the appropriate directories
when i installed arcade 5b it didnt upload any files for some reason
Now I'm getting:
2: Invalid argument supplied for foreach()
Maybe a little too anxious trying to get arcade and SMF to work. :-[
Quote from: Diplomat on January 01, 2005, 03:04:18 PM
after i installed 1.0 final, my arcade it like froze. i can still play games and it still logs scores, but i cant install new games or add comments or any of that....and i just got my arcade template to just the way i want it :'(
Quote from: Diplomat on January 01, 2005, 03:04:18 PM
after i installed 1.0 final, my arcade it like froze. i can still play games and it still logs scores, but i cant install new games or add comments or any of that....and i just got my arcade template to just the way i want it :'(
Quote from: johnm on January 04, 2005, 06:01:11 AM
but at the moment none of the games on my site will work in internet explorer i have tried this on several pc's. but they will work in firefox.
<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="600" height="430" id="amira.swf" align="middle">
<param id="allowScriptAccess" value="sameDomain">
<param id="movie" value="Games/amira.swf">
<param id="quality" value="high">
<param id="bgcolor" value="">
<embed src="Games/amira.swf" quality="high" bgcolor="" width="600" height="430" id="amira.swf"
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
<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="600" height="430" id="amira.swf" align="middle">
<param name="allowScriptAccess" value="sameDomain">
<param name="movie" value="Games/amira.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#000000">
<embed src="Games/amira.swf" quality="high" bgcolor="#000000" width="600" height="430" name="amira.swf"
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
Quote from: finnhack on January 04, 2005, 06:30:55 AMQuote from: johnm on January 04, 2005, 06:01:11 AM
but at the moment none of the games on my site will work in internet explorer i have tried this on several pc's. but they will work in firefox.
Could this have anything to do with 'param name' changed to 'param id' ?
Looking at your sites html source and comparing it to mine, I found very few differences.
Your html source for loading the swf:Code Select<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="600" height="430" id="amira.swf" align="middle">
<param id="allowScriptAccess" value="sameDomain">
<param id="movie" value="Games/amira.swf">
<param id="quality" value="high">
<param id="bgcolor" value="">
<embed src="Games/amira.swf" quality="high" bgcolor="" width="600" height="430" id="amira.swf"
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
And this is mine from the earlier version of the Arcade:Code Select<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="600" height="430" id="amira.swf" align="middle">
<param name="allowScriptAccess" value="sameDomain">
<param name="movie" value="Games/amira.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#000000">
<embed src="Games/amira.swf" quality="high" bgcolor="#000000" width="600" height="430" name="amira.swf"
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
I also notcied a missing bgcolor in your code, but havent tried how this could possible affect anything.
function fhtml($file, $width, $height, $bgcolor)
{
$html = '
<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="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle">
<param id="allowScriptAccess" value="sameDomain">
<param id="movie" value="Games/' . $file . '">
<param id="quality" value="high">
<param id="bgcolor" value="' . $bgcolor . '">
<embed src="Games/' . $file . '" quality="high" bgcolor="' . $bgcolor . '" width="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
';
return $html;
}
function fhtml($file, $width, $height, $bgcolor)
{
$html = '
<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="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle">
<param name="allowScriptAccess" value="sameDomain">
<param name="movie" value="Games/' . $file . '">
<param name="quality" value="high">
<param name="bgcolor" value="' . $bgcolor . '">
<embed src="Games/' . $file . '" quality="high" bgcolor="' . $bgcolor . '" width="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
';
return $html;
}
echo '<p align="center">';
echo $context['arcade']['game_html'];
echo "</p>";
echo '<p align="center">';
echo $context['arcade']['game']['html'];
echo "</p>";
echo '<p align="center">';
echo $context['arcade']['game_html'];
echo "</p>";
echo '<p align="center">';
echo $context['arcade']['game']['html'];
echo "</p>";
QuoteThis will be not used!
Fill bgcolor, name, description, and so on...
width and height should be auto-detected
Quote from: KuraWeb on January 04, 2005, 10:06:54 AM
i Replace in arcade.php
The problem are my.QuoteThis will be not used!
Fill bgcolor, name, description, and so on...
width and height should be auto-detected
i'm have the code html in that's place.
Quote from: Douglas on January 03, 2005, 02:29:53 PMTrying to add a game in for the very first time.Still waiting for an answer on this one. :)
2: arcade(swfheader.php): failed to open stream: No such file or directory
Quote from: Douglas on January 04, 2005, 11:55:06 PMQuote from: Douglas on January 03, 2005, 02:29:53 PMTrying to add a game in for the very first time.Still waiting for an answer on this one. :)
2: arcade(swfheader.php): failed to open stream: No such file or directory
Quote from: Douglas on January 04, 2005, 11:55:06 PMQuote from: Douglas on January 03, 2005, 02:29:53 PMTrying to add a game in for the very first time.Still waiting for an answer on this one. :)
2: arcade(swfheader.php): failed to open stream: No such file or directory
Quote from: flapper on January 05, 2005, 06:38:36 AM
Get this pronblem all of a sudden after upgrading to SMF v1.0, when trying to install a game on admin arcade
Notice: Undefined offset: 801 in /home/******/t/mysite/user/htdocs/forum/Sources/Load.php(1036) : eval()'d code on line 461
An Error Has Occurred!
2: Missing argument 2 for db_query()
only admin can play the games the were there before the upgrade, but i cant install new ones, when my members enter the arcade/game section they get this message when entering the games area.
An Error Has Occurred!
2: Invalid argument supplied for foreach()
Everything worked fine until the upgrade
Thankyou in advance.
Quote from: johnm on January 04, 2005, 09:59:48 AM
the code i mentioned is in Arcade.php not in Arcade.template.php
use
function fhtml($file, $width, $height, $bgcolor)
{
$html = '
<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="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle">
<param name="allowScriptAccess" value="sameDomain">
<param name="movie" value="Games/' . $file . '">
<param name="quality" value="high">
<param name="bgcolor" value="' . $bgcolor . '">
<embed src="Games/' . $file . '" quality="high" bgcolor="' . $bgcolor . '" width="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
';
return $html;
}
Quote from: Douglas on January 05, 2005, 02:51:30 PM
Niko, you need to remove the include swfheader.php in your files, as well, as that's where I got mine.
ALSO, I installed a game, it's taking FOREVER to load up. Takes a long time to load up on other sites as well. IE here (which covers approximately 80% of my members, so don't tell me to use a different browser, you'll cause me to lose at least HALF my members that way, lol)
Quote from: Niko on January 05, 2005, 03:37:10 PM
nviceversa: Thats ood, try reinstalling i try get Beta 5.6 out tomorrow (GTM+2)
Maybe i should get another test sever :>
Quote from: trenchteam on January 06, 2005, 12:03:23 AM
Just wondering if there will be a package for this, where its just upload and GO! I keep getting errors tryin to change the files in this thing.
Quote from: johnm on January 04, 2005, 09:59:48 AM
the code i mentioned is in Arcade.php not in Arcade.template.php
use
function fhtml($file, $width, $height, $bgcolor)
{
$html = '
<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="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle">
<param name="allowScriptAccess" value="sameDomain">
<param name="movie" value="Games/' . $file . '">
<param name="quality" value="high">
<param name="bgcolor" value="' . $bgcolor . '">
<embed src="Games/' . $file . '" quality="high" bgcolor="' . $bgcolor . '" width="' . $width . '" height="' . $height . '" id="' . $file . '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>
';
return $html;
}
Quote
Quote from: trenchteam on January 07, 2005, 02:51:26 AM
LInks to download these flash games everyone is using?
Quote from: Juggler on January 08, 2005, 06:52:30 AM
Already got all those thanx. I was enquiring about other flash games and as long as I had permission would I only need the .swf file to be able to add it into the board or would it need special coding for the high scores to register?
Quote from: finnhack on January 09, 2005, 04:07:27 PM
Does anyone got an idea how I could show these arcade actions in Who's online? It was quite easy to get it working on "the toplevel" by which I mean adding action=arcade to show as "someone is playing a game" - but when I tried to get it to show which game the user was playing I run into problems.
Quote from: Aravot on January 11, 2005, 01:18:34 AM
anyone?
Quote from: trenchteam on January 11, 2005, 05:01:50 AM
Can you erase the coding up there? safety issue!!!! THANKS!
oh man! I got it to work! Awesome stuff! YEAH! ;D
8: Undefined variable: latest
File: /path/to/forum/Sources/Arcade.php
Line: 479
http://www..../index.php?action=arcade
8: Undefined index: arcade_67
File/path/to/forum /Sources/Arcade.php
Line: 60
http://www....se/index.php?action=arcade
8: Undefined index: arcade_19
File: /path/to/forum /Sources/Arcade.php
Line: 78
http://www..../index.php?action=arcade
8: Undefined index: arcade_28
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 15
http://www..../index.php?action=arcade
8: Undefined index: arcade_76
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 48
http://www..../index.php?action=arcade
8: Undefined index: arcade_27
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 93
Quote from: 1948Pal on January 13, 2005, 10:58:39 PM
Hi
Ok, Im trying out this mod, and so far I have just a few hiars left on my head :), I followed the readme step by step, the package install, and steps 4 through 8 manually, except for the code in the index.template.php for the "games" button, which I didn't want in place before the mod is working. C~reated a "Games" folder in the root of the forum, and uploaded via ftp a game.swf. Everything went fine. Now when I do blah blah/index.php?action=arcade, I get empty tables where the stuff is suppose to be, and of course they're empty and the error log gets filled with pages of undefined index:arcade_28, ...etc. like theseCode Select
8: Undefined variable: latest
File: /path/to/forum/Sources/Arcade.php
Line: 479
http://www..../index.php?action=arcade
8: Undefined index: arcade_67
File/path/to/forum /Sources/Arcade.php
Line: 60
http://www....se/index.php?action=arcade
8: Undefined index: arcade_19
File: /path/to/forum /Sources/Arcade.php
Line: 78
http://www..../index.php?action=arcade
8: Undefined index: arcade_28
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 15
http://www..../index.php?action=arcade
8: Undefined index: arcade_76
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 48
http://www..../index.php?action=arcade
8: Undefined index: arcade_27
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 93
Well, you get the idea. This goes for all the defined variables in the language file Modifications.english.php, as if it doesn't recognize it even exists, but it is there.
Is something missing, what can I do to fix?
Thanks to all.
Quote from: johnm on January 14, 2005, 05:50:37 AMQuote from: 1948Pal on January 13, 2005, 10:58:39 PM
Hi
Ok, Im trying out this mod, and so far I have just a few hiars left on my head :), I followed the readme step by step, the package install, and steps 4 through 8 manually, except for the code in the index.template.php for the "games" button, which I didn't want in place before the mod is working. C~reated a "Games" folder in the root of the forum, and uploaded via ftp a game.swf. Everything went fine. Now when I do blah blah/index.php?action=arcade, I get empty tables where the stuff is suppose to be, and of course they're empty and the error log gets filled with pages of undefined index:arcade_28, ...etc. like theseCode Select
8: Undefined variable: latest
File: /path/to/forum/Sources/Arcade.php
Line: 479
http://www..../index.php?action=arcade
8: Undefined index: arcade_67
File/path/to/forum /Sources/Arcade.php
Line: 60
http://www....se/index.php?action=arcade
8: Undefined index: arcade_19
File: /path/to/forum /Sources/Arcade.php
Line: 78
http://www..../index.php?action=arcade
8: Undefined index: arcade_28
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 15
http://www..../index.php?action=arcade
8: Undefined index: arcade_76
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 48
http://www..../index.php?action=arcade
8: Undefined index: arcade_27
File: /path/to/forum /Themes/custom/Arcade.template.php (eval?)
Line: 93
Well, you get the idea. This goes for all the defined variables in the language file Modifications.english.php, as if it doesn't recognize it even exists, but it is there.
Is something missing, what can I do to fix?
Thanks to all.
Have you either uploaded modifications.english.php or edited it to include the arcade strings
make sure it goes in Themes/default/languages
$score['comment'] == null
empty($score['comment'])
Quote from: nesianstyles on January 14, 2005, 10:59:32 PM
I have one but it was removed from my site as namco complained to its author. I was thinking of putting it back as I hate that version :D
Quote from: trenchteam on January 15, 2005, 03:04:49 AMQuote from: nesianstyles on January 14, 2005, 10:59:32 PM
I have one but it was removed from my site as namco complained to its author. I was thinking of putting it back as I hate that version :D
let me know if i can get a copy!
// Arcade
$txt['arcade_0'] = "Vielen dank fürs Spielen!<br />Dein Punktestand wurde zur Highscore liste hinzugefügt";
$txt['arcade_1'] = "Punktestand";
$txt['arcade_2'] = "Highscores anschauen";
$txt['arcade_3'] = "Nochmal Spielen";
$txt['arcade_4'] = "oder vieleicht ";
$txt['arcade_5'] = "Etwas anderes Spielen";
$txt['arcade_6'] = "Persöhnliche bestleistung";
$txt['arcade_7'] = "Champion";
$txt['arcade_8'] = "Es tut uns leid aber Gäste können keine Punktestände übermitteln. Bitte erst Registrieren";
$txt['arcade_9'] = "Zurück zur Spieleliste";
$txt['arcade_10'] = "Dieses Spiel Spielen";
$txt['arcade_11'] = "etwas anderes";
$txt['arcade_12'] = "Top 10 Spieler für";
$txt['arcade_13'] = "Position";
$txt['arcade_14'] = "Mitglied";
$txt['arcade_15'] = "Zeit";
$txt['arcade_16'] = "Spiel";
$txt['arcade_17'] = "Arcade";
$txt['arcade_18'] = "Spielen";
$txt['arcade_19'] = "Admin";
$txt['arcade_20'] = "Highscores";
$txt['arcade_21'] = "Update";
$txt['arcade_22'] = "Kommentar wurde hinzugefügt";
$txt['arcade_23'] = "Kommentar";
$txt['arcade_24'] = "Übermitteln";
$txt['arcade_25'] = "Kein Kommentar";
$txt['arcade_26'] = "Keine Highscores gespeichert";
$txt['arcade_27'] = "Spiele";
$txt['arcade_28'] = "Arcade panel";
$txt['arcade_29'] = "Caterogy";
$txt['arcade_30'] = "Zeige alle Spiele";
$txt['arcade_31'] = "Instlliere ein neues Spiel";
$txt['arcade_32'] = "Spiel Editieren";
$txt['arcade_33'] = "Willkommen zum Admin bereich!<br />Bitte wähle die aktion vom 'Arcade Panel'";
$txt['arcade_34'] = "Willkommen zum Admin bereich!";
$txt['arcade_35'] = "Arcade einstellungen";
$txt['arcade_36'] = "SQL Queries erfolgreich ausgeführt (WENN du den richtigen Typ eingestellt hast)";
$txt['arcade_37'] = "Entfernen";
$txt['arcade_38'] = "Interner Name";
$txt['arcade_39'] = "Name";
$txt['arcade_40'] = "HTML-code (nicht mehr benutzt)";
$txt['arcade_41'] = "Beschreibung";
$txt['arcade_42'] = "Normale sortierung";
$txt['arcade_43'] = "Rückwärts sortierung";
$txt['arcade_44'] = "Punkte";
$txt['arcade_45'] = "Breite";
$txt['arcade_46'] = "Höhe";
$txt['arcade_47'] = "Typ";
$txt['arcade_48'] = "Flash";// DO NOT TRANSLATE or CHANGE
$txt['arcade_49'] = "Java"; // DO NOT TRANSLATE or CHANGE
$txt['arcade_51'] = "Übermitteln";
$txt['arcade_52'] = "Datei";
$txt['arcade_53'] = "Thumbnail";
$txt['arcade_54'] = "Caterogy";
$txt['arcade_55'] = "Änderungen gespeichert!";
$txt['arcade_56'] = "Hallo, "; // Hallo, user
$txt['arcade_57'] = "Und Willkommen zum Arcade!";
$txt['arcade_58'] = "Letzte Punkte";
$txt['arcade_59'] = "Hintergrund Farbe (FLASH)";
$txt['arcade_60'] = "Spiele in die Datenbank eingefügt! Nun kannst du sie Testen";
/* Added 10.12.2004 (Beta 5)*/
/* (name) (61) (score) (62) (game_name) (63) (time)*/
$txt['arcade_61'] = " punktete ";
$txt['arcade_62'] = " bei ";
$txt['arcade_63'] = " am ";
/* Added 11.12.2004 (Beta 5)*/
$txt['arcade_64'] = "Installiert";
$txt['arcade_65'] = "Datei fehlt";
$txt['arcade_66'] = "Nicht Installiert";
$txt['arcade_67'] = "Keine Kategorie";
$txt['arcade_68'] = ".info für einfache installation Speichern (Für sharing)";
/* Beta 5.5 */
$txt['arcade_69'] = "Benutze arcade_sql.php dafür";
$txt['arcade_70'] = "Keine erlaubniss um Arcade Admin zu benutzen";
$txt['arcade_71'] = "Query ist fehlerhaft!";
$txt['arcade_72'] = "Du kannst keine Spiele entfernen die nicht Installiert sind";
$txt['arcade_73'] = "Zurück zur Spiele Liste";
$txt['arcade_74'] = "Es gibt keine Highscores für dieses Spiel";
$txt['arcade_75'] = "Es gibt keine Highscores für dieses Spiel für die ausgewählte Zeitspanne"; // NOT Used
$txt['arcade_76'] = "Willkommen im Arcade!";
$txt['arcade_77'] = "Keine Spiele Installiert";
$txt['comment'] = "o_O";
Quote from: maufonseca on January 15, 2005, 12:20:51 AM
Hi... I am trying to install this mod, but I realy dont understand :(
I used the package manager,and I dont know how to put a link to the arcade so I used http://gamingalley.webplanethost.com/forum/index.php?action=arcade (http://mysite.com/forum/index.php?action=arcade) to enter, and I get this message error:
Table 'maufon_smf1.smf_games_high' doesn't exist
File: /home/maufon/public_html/forum/Sources/Arcade.php
Line: 458
I dont know alot about code..... :'(
Quote from: CF-UK.NET on January 15, 2005, 06:54:10 AMWhen I try to enter to http://gamingalley.webplanethost.com/forum/index.php?action=arcade&do;install=1 I get again that messageQuote from: maufonseca on January 15, 2005, 12:20:51 AM
Hi... I am trying to install this mod, but I realy dont understand :(
I used the package manager,and I dont know how to put a link to the arcade so I used http://gamingalley.webplanethost.com/forum/index.php?action=arcade (http://mysite.com/forum/index.php?action=arcade) to enter, and I get this message error:
Table 'maufon_smf1.smf_games_high' doesn't exist
File: /home/maufon/public_html/forum/Sources/Arcade.php
Line: 458
I dont know alot about code..... :'(
if tables dont exsist type this in to your url http://gamingalley.webplanethost.com/forum/index.php?action=arcade&do;install=1
install instructions are here (http://arcade.cf-uk.net/index.php?pid=5)
Quote from: nviceversa on January 15, 2005, 12:50:31 PMI know what phpmyadmin is, but I dont know what I have to put in the board
If that doesn't work you may have to enter the mysql via Phpmyadmin You can run that via phpmyadmin What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.msg174759;topicseen#msg174759)
Quote from: Elijah Bliss on January 15, 2005, 03:19:04 AMYou can now :) Here (http://smfgames.com/index.php?ind=downloads&op=entry_view&iden=54). I've decided to do this since I hate the other version and Neave stated that everyone did not have to remove Pacman from their sites, only his.Quote from: trenchteam on January 15, 2005, 03:04:49 AMQuote from: nesianstyles on January 14, 2005, 10:59:32 PM
I have one but it was removed from my site as namco complained to its author. I was thinking of putting it back as I hate that version :D
let me know if i can get a copy!
I second that. :D
Quote from: maufonseca on January 15, 2005, 04:08:08 PMI take it you need to run the upgrade command ..
Please..... I rely need help with this :'(
Tables Structure
Replace pahajoki_ with your own prefix
CREATE TABLE `pahajoki_games` (
`id` int(11) NOT NULL auto_increment,
`game` varchar(25) NOT NULL default '',
`name` varchar(25) NOT NULL default '',
`html` text NOT NULL,
`thumb` varchar(255) NOT NULL default '',
`desc` text NOT NULL,
`highscore` int(11) NOT NULL default '0',
`caterogy` int(11) NOT NULL default '0',
`width` int(11) NOT NULL default '0',
`height` int(11) NOT NULL default '0',
`type` int(11) NOT NULL default '0',
`file` varchar(255) NOT NULL default '',
`bgcolor` varchar(7) NOT NULL default '#FFFFFF',
PRIMARY KEY (`id`)
) TYPE=MyISAM;
CREATE TABLE `pahajoki_games_caterogy` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM;
CREATE TABLE `pahajoki_games_high` (
`id` int(11) NOT NULL auto_increment,
`game` varchar(25) NOT NULL default '',
`member` int(11) NOT NULL default '0',
`score` float NOT NULL default '0',
`stime` bigint(20) NOT NULL default '0',
`ip` varchar(11) NOT NULL default '',
`comment` varchar(255) default NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
INSERT INTO `pahajoki_games_caterogy` VALUES (1, 'The Classics');
INSERT INTO `pahajoki_games_caterogy` VALUES (2, 'Action & Adventure');
INSERT INTO `pahajoki_games_caterogy` VALUES (3, 'Orginals');
INSERT INTO `pahajoki_games_caterogy` VALUES (4, 'Card game''s');
Quote2: Invalid argument supplied for foreach()
QuoteQuery is invalid!
Quote from: maufonseca on January 15, 2005, 05:11:37 PMshouldn't matter what theme you use. Add some games to the game folder.
Yeah, the page loads, and I see the menu and all, and there is a block thet says:
An Error Has Occurred!
2: Invalid argument supplied for foreach()
Also, I dont use the Default theme :(
Quote from: trenchteam on January 15, 2005, 06:11:00 PMI download 1 game, and I get a zip file, I aextracted and I got a file named "games"...... I go to my Arcade page and I click in "Admin in the Arcade Panel. I go to a page thet says:Quote from: maufonseca on January 15, 2005, 05:11:37 PMshouldn't matter what theme you use. Add some games to the game folder.
Yeah, the page loads, and I see the menu and all, and there is a block thet says:
An Error Has Occurred!
2: Invalid argument supplied for foreach()
Also, I dont use the Default theme :(
Quote from: nviceversa on January 15, 2005, 06:34:58 PMYeah, I downloaded a game called DonkeyKong in a zip file. I extracted what I found in the zip file and I got a Folder named "games" inside I got this two files: donkeykong.gif and donkeykong.swf
the folder should read Games not games
And make sure the ext. of the game is .SWF
Quote from: Fanta on January 16, 2005, 08:49:20 AM
How can I make the arcade members only?
function template_play(){
global $context, $scripturl, $txt,$user_info;
// global $settings, $options, $modSettings
echo '<p align="center">';
echo $context['arcade']['game_html'];
echo "</p>";
}
function template_play(){
global $context, $scripturl, $txt,$user_info;
// global $settings, $options, $modSettings
echo '<p align="center">';
if ($context['user']['is_guest'])
{
echo '<center><h5>Guests Cant Play games Please <a href="', $scripturl, '?action=login2">Login</a> or <a href="', $scripturl, '?action=register">register</a></h5></center>';
}
else
{
echo $context['arcade']['game_html'];
echo "</p>";
}
}
Quote from: Enigma on January 16, 2005, 08:05:11 PMTry this
Where can I get games for the arcade? The site http://arcade.cf-uk.net/index.php is not sending me an activation email.
Quote from: 1948Pal on January 16, 2005, 08:23:24 PM
Sorry, try it without the www, but this site will forward you to the one you tried already. When I registered with this site, the email they sent went to my email as "bulk" mail. Perhaps you should check that on your email agent.
Quote from: Enigma on January 16, 2005, 08:05:11 PM
Where can I get games for the arcade? The site http://arcade.cf-uk.net/index.php is not sending me an activation email.
Quote from: Enigma on January 16, 2005, 08:32:27 PMQuote from: 1948Pal on January 16, 2005, 08:23:24 PM
Sorry, try it without the www, but this site will forward you to the one you tried already. When I registered with this site, the email they sent went to my email as "bulk" mail. Perhaps you should check that on your email agent.
I checked my bulk folder already. I even had it resend the activation emai. Are there any other sites?
Quote from: redone on January 17, 2005, 09:35:57 AM
Can someone tell me how to enter the table info into my database? I get the same error about the tables being created and it seems I have to enter it manually. I have access to phpmyadmin but I don't know how to enter the information!
If anyone could help I would really appreciate it.
:)
Quote from: trenchteam on January 17, 2005, 11:47:57 PMQuote from: redone on January 17, 2005, 09:35:57 AM
Can someone tell me how to enter the table info into my database? I get the same error about the tables being created and it seems I have to enter it manually. I have access to phpmyadmin but I don't know how to enter the information!
If anyone could help I would really appreciate it.
:)
PHPMYADMIN.
Click the SQL link then upload the SQL file in the Arcade zip.
Quote from: champi.nl on January 18, 2005, 08:16:39 PM
Thanx... I had to install everything manual... the package manager does not work with 1.0.1. at my site...
i forgot to put that (Themes/default/languages/Modifications.english.php) there... now it works... ;D
Does anyone have the same problem with the package manager and 1.0.1.... when this is the wrong topic for it... let me see the correct link..
Quote from: John on January 19, 2005, 07:04:41 AM
pm me your admin details and url, ftp information and i may need access to your web control panel for myphp admin i wont have time to do it until later this eve about 10:30gmt
Quote from: .COMplex on January 19, 2005, 08:54:54 AMQuote from: John on January 19, 2005, 07:04:41 AM
pm me your admin details and url, ftp information and i may need access to your web control panel for myphp admin i wont have time to do it until later this eve about 10:30gmt
Hey John, I solved this issue for Danking already.
on (press){
set (score,high);
set (act,"submit");
set (game,"duckhunt");
set (url,"index.php?action=arcade");
getURL (url, "_self", "POST");
}
Quote from: John on January 20, 2005, 07:49:05 PM
sorry for going on a bit......
Quotethanks for the new pacman! Much better! ;DNo problem.
Quoteif some one stumbles on your site and sees you have converted their game(s) without consent they can insist on you removing that game and they are within their rights to do so.Their also able to lawsuit you
Quote from: trenchteam on January 21, 2005, 12:41:19 AM
thanks for the new pacman! Much better! ;D
Quote from: Aravot on January 21, 2005, 01:19:06 PMHave a look at Neave Pacman ;)Quote from: trenchteam on January 21, 2005, 12:41:19 AM
thanks for the new pacman! Much better! ;D
If I may ask what new pacman?
Quote from: Niko on January 21, 2005, 04:06:27 PMGood to hear- keep up the good work :D
Yay my site (pahajoki.info) is finally up again. :) it was beacuse admin is in military service and apache didnt restart when server did crash.
Beta 6 will finally using smf permissons you can expect it this month or early next month
And Package manager should install correctly
Invalid argument supplied for foreach()
2: Invalid argument supplied for foreach()
File: /home/patman/public_html/Themes/default/languages/Modifications.english.php (eval?)
Line: 28
CREATE TABLE `smf_games` (
`id` int(11) NOT NULL auto_increment,
`game` varchar(25) NOT NULL default '',
`name` varchar(25) NOT NULL default '',
`html` text NOT NULL,
`thumb` varchar(255) NOT NULL default '',
`desc` text NOT NULL,
`highscore` int(11) NOT NULL default '0',
`caterogy` int(11) NOT NULL default '0',
`width` int(11) NOT NULL default '0',
`height` int(11) NOT NULL default '0',
`type` int(11) NOT NULL default '0',
`file` varchar(255) NOT NULL default '',
`bgcolor` varchar(7) NOT NULL default '#FFFFFF',
PRIMARY KEY (`id`)
) TYPE=MyISAM;
Quote from: DoW Kid Rock on January 22, 2005, 07:11:28 PM
I have a problem when a regular member tries to play games they get the following:Code SelectInvalid argument supplied for foreach()
so I checked the error log and it has the following:Code Select2: Invalid argument supplied for foreach()
File: /home/patman/public_html/Themes/default/languages/Modifications.english.php (eval?)
Line: 28
any ideas?
2: Invalid argument supplied for foreach()
File: /home/ragea/public_html/forums/Themes/amdblack01/Arcade.template.php (eval?)
Line: 164
Quote from: champi.nl on January 24, 2005, 04:21:11 PM
yeah... beta 6... can we simply upgrade then...?
Quote from: Seb87 on January 24, 2005, 02:45:16 PM
When the beta6 come from ??
Quote from: champi.nl on January 26, 2005, 11:01:40 AM
I ve already ranked people on place 100 and further with zero points at snake... is there no way to store only the first 100 results..? Or do I have to clean the tables...?
QuoteFatal error: [] operator not supported for strings in /home/loginname/domains/mysite.com/public_html/smf/arcade_sql.php on line 115
Quote from: ragea on January 23, 2005, 08:08:35 PM
Ive tried to install this arcade a few times with the package manager, then tried by hand but no matter what everytime i go to admin part and click games i get this errorCode Select2: Invalid argument supplied for foreach()
File: /home/ragea/public_html/forums/Themes/amdblack01/Arcade.template.php (eval?)
Line: 164
Quote from: champi.nl on January 26, 2005, 06:12:57 PM
arcade settings still dont work... arent they...?
when i try to play...
Table '2425smf.smf_games_sessions' doesn't exist
Bestand: /home/champi.nl/www/smf/Sources/Arcade.php
Regel: 206
CREATE TABLE `pahajoki_games_sessions` (
`id` int(11) NOT NULL auto_increment,
`user` int(11) NOT NULL default '0',
`info` tinytext NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
Quote from: Aravot on January 26, 2005, 06:55:34 PM
Same error as the one above me.
Upgrading from 5.6, when run arcade_sql.php got the following errorQuoteFatal error: [] operator not supported for strings in /home/loginname/domains/mysite.com/public_html/smf/arcade_sql.php on line 115
When click on Game button this error,
(http://webpages.charter.net/osipof/smf/arcadeerror.jpg)
It seems it adds the login name in-front of 'smf_games_challenge' but don't know how to fix it, no clue of programming
Quote from: champi.nl on January 27, 2005, 09:43:33 AM
thx niko... now it works....
i manuallly added that table....
arcade settings still not a feature isnt it???
when i challenge someone, and i decline him... the challenge does not go away... where can i clean/delete those challenges..?
and when a member wants to play... he gets you arent allowed to view this arcade...??? how to solve this...
2: Invalid argument supplied for foreach()
File: /home/disciple/public_html/gamer/Themes/default/languages/Modifications.english.php (eval?)
Line: 36
Quote from: DoW Kid Rock on January 27, 2005, 12:34:07 PM
Actually I misread it and I actually have this error:Code Select2: Invalid argument supplied for foreach()
File: /home/disciple/public_html/gamer/Themes/default/languages/Modifications.english.php (eval?)
Line: 36
have taken the entries out of the file and put them back in, but it still doesn't work. I do have other mods, so I can't just upload the modifications file
Quote from: Niko on January 27, 2005, 07:52:08 AMQuote from: Aravot on January 26, 2005, 06:55:34 PM
Same error as the one above me.
Upgrading from 5.6, when run arcade_sql.php got the following errorQuoteFatal error: [] operator not supported for strings in /home/loginname/domains/mysite.com/public_html/smf/arcade_sql.php on line 115
When click on Game button this error,
(http://webpages.charter.net/osipof/smf/arcadeerror.jpg)
It seems it adds the login name in-front of 'smf_games_challenge' but don't know how to fix it, no clue of programming
Run queries manuall using mysql.txt
it isn't your loginname but also your mysql databasename and it is added front of table's name
Quote from: Niko on January 27, 2005, 01:59:57 PM/me suggests to Niko that in future he could use CREATE TABLE IF NOT EXISTS in the sql.txt
oops... just apply new tables only
edit:
in this case challenge and sessions tables
Quote from: danolie on January 27, 2005, 05:12:18 PM
HI... I realize others have had this error, but with 24 pages on this thread, I still wasn't able to find a concise answer (or at least one that I understand)...
I used package manager to install the arcade mod... when I run /arcade_sql.php?
I get: Fatal error: [] operator not supported for strings in /home/campusa/public_html/team/arcade_sql.php on line 20
If I need to do something with my SQL databases... please point me to where i can figure out how to do it.
Otherwise, is there something i'm missing??
Thanks,
Dan
CREATE TABLE `smf_games` (
`id` int(11) NOT NULL auto_increment,
`game` varchar(25) NOT NULL default '',
Quote from: Niko on January 27, 2005, 01:59:57 PM
oops... just apply new tables only
edit:
in this case challenge and sessions tables
Quote from: LiL_J on January 27, 2005, 06:52:57 PM
n i click th challenges link it says " Unable to load the 'challenge' template." any idae y?
Quote from: LiL_J on January 27, 2005, 08:09:53 PMQuote from: LiL_J on January 27, 2005, 06:52:57 PM
n i click th challenges link it says " Unable to load the 'challenge' template." any idae y?
ok i got that fixed i reuploaded the files but now im having the same problem as Aravot
Quote from: Aravot on January 27, 2005, 07:36:24 PM
When I click Arcade Settings I get following error, how to fix it. Thanks in advance.
(http://webpages.charter.net/osipof/smf/arcadesetting.jpg)
Quote from: John on January 27, 2005, 08:24:59 PM
Niko: would you like a foreign test site to test your newest versions out so you maybe albe to either iron out some problems before you release a mod or you could either release a mod with some notes on "whats wrong in this version = how to fix"
i could happily do this for free for you, we have already done a manuall install instructions
wich i hope it has helped some people out there.
Quote from: Niko on January 27, 2005, 01:59:57 PM
oops... just apply new tables only
edit:
in this case challenge and sessions tables
Quote from: pacolls on January 28, 2005, 04:28:20 AMQuote from: Niko on January 27, 2005, 01:59:57 PM
oops... just apply new tables only
edit:
in this case challenge and sessions tables
Where is the estructure of table sessions, in the file mysql.txt not exist this table.
QuoteQuote from: John on Today at 01:24:59 AM
Niko: would you like a foreign test site to test your newest versions out so you maybe albe to either iron out some problems before you release a mod or you could either release a mod with some notes on "whats wrong in this version = how to fix"
i could happily do this for free for you, we have already done a manuall install instructions
wich i hope it has helped some people out there.
Yes
CREATE TABLE `smf_games` (
`id` int(11) NOT NULL auto_increment,
`game` varchar(25) NOT NULL default '',
`name` varchar(25) NOT NULL default '',
`html` text NOT NULL,
`thumb` varchar(255) NOT NULL default '',
`desc` text NOT NULL,
`highscore` int(11) NOT NULL default '0',
`caterogy` int(11) NOT NULL default '0',
`width` int(11) NOT NULL default '0',
`height` int(11) NOT NULL default '0',
`type` int(11) NOT NULL default '0',
`file` varchar(255) NOT NULL default '',
`bgcolor` varchar(7) NOT NULL default '#FFFFFF',
PRIMARY KEY (`id`)
) TYPE=MyISAM;
CREATE TABLE `smf_games_caterogy` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM;
CREATE TABLE `smf_games_high` (
`id` int(11) NOT NULL auto_increment,
`game` varchar(25) NOT NULL default '',
`member` int(11) NOT NULL default '0',
`score` float NOT NULL default '0',
`stime` bigint(20) NOT NULL default '0',
`ip` varchar(11) NOT NULL default '',
`comment` varchar(255) default NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
INSERT INTO `smf_games_caterogy` VALUES (1, 'The Classics');
INSERT INTO `smf_games_caterogy` VALUES (2, 'Action & Adventure');
INSERT INTO `smf_games_caterogy` VALUES (3, 'Orginals');
INSERT INTO `smf_games_caterogy` VALUES (4, 'Card game''s');
CREATE TABLE `smf_games_challenge` (
`cid` int(11) NOT NULL auto_increment,
`player1` int(11) NOT NULL default '0',
`player2` int(11) NOT NULL default '0',
`game` int(11) NOT NULL default '0',
`player1_score` float NOT NULL default '0',
`player2_score` float NOT NULL default '0',
`message` varchar(255) NOT NULL default '',
`complete` int(11) NOT NULL default '0',
`reason` varchar(255) NOT NULL default '',
`player1_status` int(11) NOT NULL default '0',
`player2_status` int(11) NOT NULL default '0',
PRIMARY KEY (`cid`)
) TYPE=MyISAM AUTO_INCREMENT=9 ;
Quote from: PrideDragon on January 28, 2005, 08:49:25 AM
This error when play game
Table 'barconinet744.smf_games_sessions' doesn't exist
File: c:\hosting\barconi.net\wwwroot\forums\Sources\Arcade.php
Line: 206
Why???
Quote from: Niko on January 28, 2005, 12:40:36 AMQuote from: Aravot on January 27, 2005, 07:36:24 PM
When I click Arcade Settings I get following error, how to fix it. Thanks in advance.
(http://webpages.charter.net/osipof/smf/arcadesetting.jpg)
Arcade Settings is not yet ready.Quote from: John on January 27, 2005, 08:24:59 PM
Niko: would you like a foreign test site to test your newest versions out so you maybe albe to either iron out some problems before you release a mod or you could either release a mod with some notes on "whats wrong in this version = how to fix"
i could happily do this for free for you, we have already done a manuall install instructions
wich i hope it has helped some people out there.
Yes
Quote from: PrideDragon on January 28, 2005, 09:16:30 AMAs i said Arcade Settings is NOT READY and it should NOT workQuote from: Niko on January 28, 2005, 12:40:36 AMQuote from: Aravot on January 27, 2005, 07:36:24 PM
When I click Arcade Settings I get following error, how to fix it. Thanks in advance.
(http://webpages.charter.net/osipof/smf/arcadesetting.jpg)
Arcade Settings is not yet ready.Quote from: John on January 27, 2005, 08:24:59 PM
Niko: would you like a foreign test site to test your newest versions out so you maybe albe to either iron out some problems before you release a mod or you could either release a mod with some notes on "whats wrong in this version = how to fix"
i could happily do this for free for you, we have already done a manuall install instructions
wich i hope it has helped some people out there.
Yes
Sorry my I have bad english.
I Have this error
Why???
Quote from: .complex on January 28, 2005, 03:27:31 PM
I had that same problem, Make sure it is CHOMD to 777 the dir,
I had to CHOMD "Thumbs.db" in my Games Dir
QuoteI had to CHOMD "Thumbs.db" in my Games Dir
Quote from: John on January 28, 2005, 01:47:10 PM
check your index.template.php file.
either the sections have been removed or commented out?
assuming the arcade mod did this to your forums use your ftp client to restore the backup (index.template.php~) (rename it to index.template.php if its fixed your problem but the games/arcade button is no longer there edit the index.template.php file and add the arcade button in your self
QuoteFatal error: [] operator not supported for strings in /hsphere/local/home/adminkhi/setuners.com/forum/arcade_sql.php on line 20
Quote from: The Scion Dragon on January 29, 2005, 01:10:27 AM
When installing i get this when trying to run arcade_sqlQuoteFatal error: [] operator not supported for strings in /hsphere/local/home/adminkhi/setuners.com/forum/arcade_sql.php on line 20
CREATE TABLE `pahajoki_games_sessions` (
`id` int(11) NOT NULL auto_increment,
`user` int(11) NOT NULL default '0',
`info` tinytext NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
Quote from: The Scion Dragon on January 29, 2005, 01:30:33 PMGo to Administration Center ---> Edit Permissions
I got the arcade all installed and the games work and everything but when I member clicks arcade it says that they are not allowed to access the arcade
Quote from: Juggler on January 30, 2005, 08:34:32 AM
Not sure what's happened but after upgrading to 6.1 I've lost ALL my thumbnails and there's no option to add them back in.
Help!!
Quote from: finnhack on January 09, 2005, 04:07:27 PM
Does anyone got an idea how I could show these arcade actions in Who's online? It was quite easy to get it working on "the toplevel" by which I mean adding action=arcade to show as "someone is playing a game" - but when I tried to get it to show which game the user was playing I run into problems.
Quote from: John on January 30, 2005, 04:49:37 PMQuote from: finnhack on January 09, 2005, 04:07:27 PM
Does anyone got an idea how I could show these arcade actions in Who's online? It was quite easy to get it working on "the toplevel" by which I mean adding action=arcade to show as "someone is playing a game" - but when I tried to get it to show which game the user was playing I run into problems.
have you got anywhere with this?
Quote from: Mattitude on January 29, 2005, 02:30:25 PMQuote from: The Scion Dragon on January 29, 2005, 01:30:33 PMGo to Administration Center ---> Edit Permissions
I got the arcade all installed and the games work and everything but when I member clicks arcade it says that they are not allowed to access the arcade
Then set the permissions to access and use the arcade.
Quote from: Minion on January 31, 2005, 11:47:27 PMQuote from: Mattitude on January 29, 2005, 02:30:25 PMQuote from: The Scion Dragon on January 29, 2005, 01:30:33 PMGo to Administration Center ---> Edit Permissions
I got the arcade all installed and the games work and everything but when I member clicks arcade it says that they are not allowed to access the arcade
Then set the permissions to access and use the arcade.
I have the same problem.
The admin of the clients server has no clue what they are doing. So i cannot use package manager because zlib is broke.
I can add the permissions in the db myself. What are they and where do they go?
NONE of my users can get in the games because of permissions.
Thanks in advance!
Quote
Notice: Undefined index: is_admin in /home/fertilit/public_html/forum/Sources/Security.php on line 552
Notice: Undefined index: permissions in /home/fertilit/public_html/forum/Sources/Security.php on line 559
Warning: in_array(): Wrong datatype for second argument in /home/fertilit/public_html/forum/Sources/Security.php on line 559
Quote from: DoW Kid Rock on February 01, 2005, 09:03:28 PM
just put a thumbnail with the same name as the swf file. i.e. for pacman put a thumbnail named pacman.gif or pacman.jpg in the games folder and it will show automatically
Quote from: DoW Kid Rock on February 01, 2005, 09:05:01 PM
just a question about the challenge option.....been looking through the thread, but can't find anything about how to use it. I have sent a challenge, but nothing happens
Quote from: Klaas Koopman on February 02, 2005, 02:36:06 PMEnter your FTP and CHMOD 777 this files:
oh wait yes i did that now, but now i get this message :
2: copy(/home2/kkoopman/public_html/dikkop/getid3/getid3.lib.php): failed to open stream: Permission denied
Quote from: Klaas Koopman on February 02, 2005, 03:37:57 PM
2: copy(/home2/kkoopman/public_html/dikkop/Games/PUT GAMES IN THIS FOLDER): failed to open stream: Permission denied
Quote from: Klaas Koopman on February 02, 2005, 03:47:50 PM
>:(okay i chmodded everything that popped up but they kept coming , now i'm at : 2: copy(/home2/kkoopman/public_html/dikkop/Themes/default/Arcade.template.php): failed to open stream: Permission denied
should I continue to cmod them all to 777?
Quote from: Klaas Koopman on February 02, 2005, 03:53:42 PM
hmm can't seem to find that file :S can it be that I don't have it?
Quote from: Klaas Koopman on February 02, 2005, 03:47:50 PM
>:(okay i chmodded everything that popped up but they kept coming , now i'm at : 2: copy(/home2/kkoopman/public_html/dikkop/Themes/default/Arcade.template.php): failed to open stream: Permission denied
should I continue to cmod them all to 777?
Quote from: Klaas Koopman on February 02, 2005, 04:00:50 PM
okay now i'm stuck on this one :
2: copy(index.php~): failed to open stream: Permission denied
how to do this one?
Quote from: Tony on February 01, 2005, 05:47:12 PM
Some errors from my error log...............................
8: Use of undefined constant position - assumed 'position'
File: /home/fertilit/public_html/forum/Themes/default/Arcade.template.php (eval?)
Line: 503
8: Use of undefined constant member - assumed 'member'
File: /home/fertilit/public_html/forum/Sources/Arcade.php
Line: 236
8: Use of undefined constant arcade_highscores_per_page - assumed 'arcade_highscores_per_page'
File: /home/fertilit/public_html/forum/Sources/Arcade.php
Line: 546
Im not sure if the following is related to the arcade mod (Its only happend since the arcade mod was installed - but it could be something else of course) - but a couple of members have mentioned these errors when logging in...
Quote from: Aravot on February 02, 2005, 08:18:47 PM
I was browsing Arcade.php code when I noticed all [category] is spelled [caterogy]
2: copy(C:\Server\htdocs\forums/Games/Thumbs.db): failed to open stream: Permission denied
File: C:\Server\htdocs\forums\Sources\Subs-Package.php
Line: 961
8: Use of undefined constant highscore - assumed 'highscore'
File: /home/mywebsite.com/public_html/smf/Sources/Arcade.php
Line: 200
200 $context['arcade']['games'][$i]['desc'] = $game['desc'];
201 if($game[highscore] != 2) $context['arcade']['games'][$i]['top10'] = highscore($game['game'], $game['highscore']);
202 $context['arcade']['games'][$i]['personal'] = highscore_user($game['game'], $game['highscore'], $ID_MEMBER);
203 $context['arcade']['games'][$i]['caterogy'] = $game['caterogy'];
204 $context['arcade']['games'][$i]['highscore'] = $game['highscore'];
Quote from: AGMR_Rhino on February 03, 2005, 11:18:06 PM
um... i didnt want to read all thirty pages to find this out but after you install it how do you get to it do you add a button and if so how?
echo '
<a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . "Arcade" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];
Quote from: hypnoticpimp on February 04, 2005, 01:33:41 AM
HELP! all my members tell me when they try to click on games! this comes up
An Error Has Occurred! You arent allowed to view arcade, sorry! And they said! They logged in! please how can i fix this
Quote from: Niko on January 30, 2005, 01:18:15 PM
http://www.kanetti.fi/~pahajoki/.smf/perm.JPG
Quote from: Waste on February 03, 2005, 12:15:34 PM
This is the fifth time I've tried to install this, and it has never worked.
I'm getting a 404 error this time.
[edit]
Error when trying to install from the package manager:Code Select2: copy(C:\Server\htdocs\forums/Games/Thumbs.db): failed to open stream: Permission denied
File: C:\Server\htdocs\forums\Sources\Subs-Package.php
Line: 961
Notice: Undefined index: rem in C:\Server\htdocs\forums\arcade_sql.php on line 17
Notice: Use of undefined constant arcade_games_per_page - assumed 'arcade_games_per_page' in C:\Server\htdocs\forums\arcade_sql.php on line 301
Notice: Use of undefined constant arcade_challenge_per_page - assumed 'arcade_challenge_per_page' in C:\Server\htdocs\forums\arcade_sql.php on line 302
Notice: Use of undefined constant arcade_results_per_page - assumed 'arcade_results_per_page' in C:\Server\htdocs\forums\arcade_sql.php on line 303
Notice: Use of undefined constant arcade_highscores_per_page - assumed 'arcade_highscores_per_page' in C:\Server\htdocs\forums\arcade_sql.php on line 304
Notice: Use of undefined constant arcade_version - assumed 'arcade_version' in C:\Server\htdocs\forums\arcade_sql.php on line 305
Notice: Undefined index: step in C:\Server\htdocs\forums\arcade_sql.php on line 317
Quote from: John on February 04, 2005, 09:15:16 AMQuote from: Waste on February 03, 2005, 12:15:34 PM
This is the fifth time I've tried to install this, and it has never worked.
I'm getting a 404 error this time.
[edit]
Error when trying to install from the package manager:Code Select2: copy(C:\Server\htdocs\forums/Games/Thumbs.db): failed to open stream: Permission denied
File: C:\Server\htdocs\forums\Sources\Subs-Package.php
Line: 961
windows?
check ntfs permissions and script permissions
im not sure if windows will allow thumbs.db to be copied/replaced on windows but try deleting first if it exists in the folder its being copied to.
Quote from: Douglas on January 30, 2005, 03:32:54 PMFixed those
Suggestions and bug fixes:
In Arcade.php, you have quite a few variables (Line 299 and 236 and 3 others) that need to have single quotes. highscores, scores and member are three of the variables missing this info. Check your Error Log file for the exact line numbers and variables. I had to manually patch my Arcade.php file to fix this (attached, so you can run a diff). Please fix this for your next version.
Quote from: Douglas on January 30, 2005, 03:32:54 PM
ALSO, in your games table, you have a field named "desc". Please note that desc is short for DESCending, a MySQL/PHP control code for sorting. You should consider changing this to descrip or dsc, to allow those of us that love doing things manually to be able to put the code in easily without having to rename it twice.
Quote from: Douglas on January 30, 2005, 03:32:54 PM
ALSO, on another forum system (that will not be named), they had icons that would indicate whether a person had a high score for a game. That would be a GREAT feature to implement. The icons were the size of smilies, and were near a person's name. You could also implement this into the profile page, as well.
Good work! Keep it up!
Quote from: Niko on February 04, 2005, 03:38:53 PMQuote from: Douglas on January 30, 2005, 03:32:54 PM
ALSO, on another forum system (that will not be named), they had icons that would indicate whether a person had a high score for a game. That would be a GREAT feature to implement. The icons were the size of smilies, and were near a person's name. You could also implement this into the profile page, as well.
Good work! Keep it up!
Like this (http://www.kanetti.fi/~pahajoki/.smf/post.JPG) with icons added to left?
Quote from: Niko on February 04, 2005, 03:38:53 PMLike this (http://www.kanetti.fi/~pahajoki/.smf/post.JPG) with icons added to left?Actually, I was thinking of little icons next to each other, general location, with mouseovers if they're the champ of that one.
Quote from: Niko on February 04, 2005, 03:38:53 PM
Like this (http://www.kanetti.fi/~pahajoki/.smf/post.JPG) with icons added to left?
Quote from: Douglas on February 04, 2005, 04:31:46 PM
Aravot and Tony, if you're still having problems with those error messages, locate the Arcade.php file on Page 28 of this thread that I posted. That will fix your problems. Niko will be putting the fixes for that on the next version. My uploaded file is a temp solution, needs to go into your Sources directory
8: Undefined index: game
File: /mywebsite.com/public_html/smf/Sources/Arcade.php
Line: 554
Quote from: Douglas on February 04, 2005, 04:31:46 PM
Aravot and Tony, if you're still having problems with those error messages, locate the Arcade.php file on Page 28 of this thread that I posted. That will fix your problems. Niko will be putting the fixes for that on the next version. My uploaded file is a temp solution, needs to go into your Sources directory
Quote8: Use of undefined constant arcade_highscores_per_page - assumed 'arcade_highscores_per_page'
File: /home/fertilit/public_html/forum/Sources/Arcade.php
Line: 546
8: Use of undefined constant position - assumed 'position'
File: /home/fertilit/public_html/forum/Themes/default/Arcade.template.php (eval?)
Line: 503
$per_sivu = $modSettings[arcade_highscores_per_page];
$per_sivu = $modSettings['arcade_highscores_per_page'];
echo "<tr class=\"{$a[$i % 2]}\"><td>".$temp[position].".</td><td><a href=\"{$scripturl}?action=profile;u={$temp['memberid']}\">".$temp['member']."</a></td><td>".$temp['score']."</td><td>".$temp['comment']."</td><td>".$temp['timef']."</td></tr>";
echo "<tr class=\"{$a[$i % 2]}\"><td>".$temp['position'].".</td><td><a href=\"{$scripturl}?action=profile;u={$temp['memberid']}\">".$temp['member']."</a></td><td>".$temp['score']."</td><td>".$temp['comment']."</td><td>".$temp['timef']."</td></tr>";
Quote from: sammy on February 05, 2005, 12:06:05 PMI have two errors one on line 154 and one on line 200 please help this are the errors:Open up Sources/Arcade.php in your favorite Text editor (I suggest Notepad). Go to those lines and place single quotes around the assumed words there. :)
8: Use of undefined constant arcade_games_per_page - assumed 'arcade_games_per_page'
Bestand: /home/projects/mijndomein/default/...../_SMF/Sources/Arcade.php
Regel: 154
and
8: Use of undefined constant highscore - assumed 'highscore'
Bestand: /home/projects/mijndomein/default/...../_SMF/Sources/Arcade.php
Regel: 200
Quote from: Dragon Gamer on February 06, 2005, 02:40:46 PM
i have a serious question ok.
I installed the mod but how do i get the games going?
I am totally confused at this part.
Quote from: Niko on February 07, 2005, 02:48:28 PM
It will work...
and 1.00 is now released :)
Edit: one quick fix added (to package)
Quote from: Tony on February 07, 2005, 06:25:20 PMQuote from: Niko on February 07, 2005, 02:48:28 PM
It will work...
and 1.00 is now released :)
Edit: one quick fix added (to package)
Was it the one I found? line 245 of Arcade.php or another?
Quote from: Tony on February 07, 2005, 06:24:11 PM
I just noticed how many queries get processed when paging through the game list....
Page created in 7.623 seconds with 110 queries. with 7 games per page
Page created in 2.754 seconds with 223 queries. with 15 games per page
I suggest that there be a lot less when the next version comes out.
Table 'raclan_forums.smf_games' doesn't exist
File: /xxx/xxx/public_html/Sources/Arcade.php
Line: 738
Running query CREATE TABLE IF NOT EXISTS `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF' , );... Failed
CREATE TABLE `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF');
Quote from: trenchteam on February 08, 2005, 04:49:09 AM
I got it working! THE LATEST UPGRADE. It wasnt as easy as I thought it would be though. I manually added al the files then ran the SQL. The package manager was really screwing my site over for a bit. How do you get the champion icon where your avatar is at? thats a cool feature. IM using a custom template, so can you tell me where to add the tags/
Quote from: Jerry on February 08, 2005, 04:43:23 AM
I ran the SQL installer but I get this after install:Code SelectTable 'raclan_forums.smf_games' doesn't exist
File: /xxx/xxx/public_html/Sources/Arcade.php
Line: 738
I think it has to do with this:Code SelectRunning query CREATE TABLE IF NOT EXISTS `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF' , );... Failed
I ran this with phpmyadmin, will it be ok?Code SelectCREATE TABLE `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF');
Quote from: champi.nl on February 08, 2005, 11:35:10 AM
Everything went fine wtih upgrading... except when i want to go to the admin panel... it brings me to the foruminddex file... what file do i miss... i has to go to arcadeadmin...
Quote from: russ on February 08, 2005, 01:40:28 PM
Its causing an error with the permissions part of the admin section, any1 else get that error?
Quote from: sammy on February 08, 2005, 04:17:46 PM
i have many times this errors on my forum: with lines
Undefined index: game
8: Undefined index: game
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Sources/Arcade.php
Regel: 396
8: Undefined index: game
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Sources/Arcade.php
Regel: 440
Undefined variable: time
8: Undefined variable: time
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Sources/Arcade.php
Regel: 418
unserialize(): Argument is not a string
8: unserialize(): Argument is not a string
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Sources/Arcade.php
Regel: 327
Undefined index: game_html
8: Undefined index: game_html
Bestand: /home/projects/mijndomein/default/.../www/Wil/_SMF/Themes/default/languages/Arcade.dutch.php (eval?)
Regel: 382
Have more people this and how can i this fix all the above errors are many time's on my error list more than 2o time on 3 Hours i have installed SMF Arcade 1.0 and SMF 1.0.1
Please help me !
Quote from: russ on February 08, 2005, 01:40:28 PM
Its causing an error with the permissions part of the admin section, any1 else get that error?
Quote from: Sig on February 09, 2005, 05:02:56 AMQuote from: russ on February 08, 2005, 01:40:28 PM
Its causing an error with the permissions part of the admin section, any1 else get that error?
yes, I get an error in permissions as well. error on line 998
Quote from: LiL_J on February 08, 2005, 08:55:57 PM
would it be possible to pull the latest highscores through ssi to put them in my home page.
SMF Arcade Install & Update tool
Welcome to Arcade Install & Update tool
Connectin to database... Connected and Selected Database
Checking settings
Running query SELECT * FROM smf_settings WHERE variable='arcade_games_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_challenge_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_results_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_highscores_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_highscores_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_version'... Success
Running query INSERT INTO smf_settings SET value='1.00', variable='arcade_version'... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF' , );... Failed
Running query CREATE TABLE IF NOT EXISTS `smf_games_challenge` ( `cid` int(11) NOT NULL auto_increment PRIMARY KEY, `player1` int(11) NOT NULL DEFAULT '0' , `player2` int(11) NOT NULL DEFAULT '0' , `game` int(11) NOT NULL DEFAULT '0' , `player1_score` float NOT NULL DEFAULT '0' , `player2_score` float NOT NULL DEFAULT '0' , `message` varchar(255) NOT NULL , `complete` int(11) NOT NULL DEFAULT '0' , `reason` varchar(255) NOT NULL , `player1_status` int(11) NOT NULL DEFAULT '0' , `player2_status` int(11) NOT NULL DEFAULT '0' , `time` int(11) NOT NULL DEFAULT '0' );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_high` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `member` int(11) NOT NULL DEFAULT '0' , `score` float NOT NULL DEFAULT '0' , `stime` bigint(20) NOT NULL DEFAULT '0' , `ip` varchar(11) NOT NULL , `comment` varchar(255) );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_caterogy` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `name` varchar(255) NOT NULL );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_sessions` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `user` int(11) NOT NULL DEFAULT '0' , `info` tinytext NOT NULL );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` ( `id` int(11) NOT NULL DEFAULT '0' auto_increment PRIMARY KEY, `member` int(11) NOT NULL DEFAULT '0' , `game` varchar(255) NOT NULL DEFAULT '0' );... Failed
Table 'smf.smf_games' doesn't exist
Quote from: John on February 08, 2005, 07:53:53 AMQuote from: trenchteam on February 08, 2005, 04:49:09 AM
I got it working! THE LATEST UPGRADE. It wasnt as easy as I thought it would be though. I manually added al the files then ran the SQL. The package manager was really screwing my site over for a bit. How do you get the champion icon where your avatar is at? thats a cool feature. IM using a custom template, so can you tell me where to add the tags/
you need to edit Display.php and Display.template.php read through arcade.xml to see were the edits need to go
Quote from: sh-demon on February 09, 2005, 11:47:11 PM
I have tried installing this mod on a fresh installation of smf and i keep on getting the same two (2) errors when it gets to step 2. Two of the queries fail to run and when i try to run them myself using phpmyadmin they also fail as well giving me an error stating that i seem to have an error in my sql syntax. Here are the exact errors.Code Select
SMF Arcade Install & Update tool
Welcome to Arcade Install & Update tool
Connectin to database... Connected and Selected Database
Checking settings
Running query SELECT * FROM smf_settings WHERE variable='arcade_games_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_challenge_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_results_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_highscores_per_page'... Success
Running query INSERT INTO smf_settings SET value='15', variable='arcade_highscores_per_page'... Success
Running query SELECT * FROM smf_settings WHERE variable='arcade_version'... Success
Running query INSERT INTO smf_settings SET value='1.00', variable='arcade_version'... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF' , );... Failed
Running query CREATE TABLE IF NOT EXISTS `smf_games_challenge` ( `cid` int(11) NOT NULL auto_increment PRIMARY KEY, `player1` int(11) NOT NULL DEFAULT '0' , `player2` int(11) NOT NULL DEFAULT '0' , `game` int(11) NOT NULL DEFAULT '0' , `player1_score` float NOT NULL DEFAULT '0' , `player2_score` float NOT NULL DEFAULT '0' , `message` varchar(255) NOT NULL , `complete` int(11) NOT NULL DEFAULT '0' , `reason` varchar(255) NOT NULL , `player1_status` int(11) NOT NULL DEFAULT '0' , `player2_status` int(11) NOT NULL DEFAULT '0' , `time` int(11) NOT NULL DEFAULT '0' );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_high` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `member` int(11) NOT NULL DEFAULT '0' , `score` float NOT NULL DEFAULT '0' , `stime` bigint(20) NOT NULL DEFAULT '0' , `ip` varchar(11) NOT NULL , `comment` varchar(255) );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_caterogy` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `name` varchar(255) NOT NULL );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_sessions` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `user` int(11) NOT NULL DEFAULT '0' , `info` tinytext NOT NULL );... Success
Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` ( `id` int(11) NOT NULL DEFAULT '0' auto_increment PRIMARY KEY, `member` int(11) NOT NULL DEFAULT '0' , `game` varchar(255) NOT NULL DEFAULT '0' );... Failed
Table 'smf.smf_games' doesn't exist
thats what happens on step two.
this is what happens when i try to run those 2 queries again using phpmyadmin
this is for the first querie i run once again this is the querie
Running query CREATE TABLE IF NOT EXISTS `smf_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF' , )
this is the error
#1064 - 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 'Running query CREATE TABLE IF NOT EXISTS `smf_games` ( `id` int(11) NOT NULL aut' at line 1
this is for the 2nd querie that fails
this is the querie i am running
SQL-query:
Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` (
`id` int( 11 ) NOT NULL DEFAULT '0' AUTO_INCREMENT PRIMARY KEY ,
`member` int( 11 ) NOT NULL DEFAULT '0',
`game` varchar( 255 ) NOT NULL DEFAULT '0'
)
this is the error
#1064 - 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 'Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` ( `id` int(11) NOT NU' at line 1
any help on this will be greatly appreciated.
Quote from: maufonseca on February 12, 2005, 11:18:54 AM
Hi, I am too lazy to look at the other pages........ Anyone knows if there are some modifications I can do in other themes to make the arcade work/look fine
I am having this errors:
My arcade look like this:
(http://img.photobucket.com/albums/v57/maufonseca93/Avatars%20and%20siggys/arcadeincorrect.bmp) (my theme)
And should look like this:
(http://img.photobucket.com/albums/v57/maufonseca93/Avatars%20and%20siggys/arcadecorrect.bmp) (default theme)
SQL-query:
CREATE TABLE IF NOT EXISTS `smf_games` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`game` varchar( 25 ) NOT NULL ,
`name` varchar( 25 ) NOT NULL ,
`help` text NOT NULL ,
`desc` text NOT NULL ,
`highscore` int( 11 ) NOT NULL DEFAULT '0',
`caterogy` int( 11 ) NOT NULL DEFAULT '0',
`width` int( 11 ) NOT NULL DEFAULT '0',
`height` int( 11 ) NOT NULL DEFAULT '0',
`type` int( 11 ) NOT NULL DEFAULT '0',
`file` varchar( 255 ) NOT NULL ,
`bgcolor` varchar( 7 ) NOT NULL DEFAULT '#FFFFFF',
)
MySQL said:
#1064 - 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 ')' at line 1
Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` ( `id` int(11) NOT NULL DEFAULT '0' auto_increment PRIMARY KEY, `member` int(11) NOT NULL DEFAULT '0' , `game` varchar(255) NOT NULL DEFAULT '0' );... Failed
Table 'smf2.smf_games' doesn't exist
Quote from: sh-demon on February 13, 2005, 06:34:37 PM
Im not sure how to do that. could you post here the queries that i need to run for the arcade to work. I tried runnint the queries that failed again using phpmyadmin but they would always fail. I think there might be something wrong with the actual queries. Only 2 of the queries failed so there must be something wrong with them. Any help with this would be greatly appreciated. I really want to get this thing to work.
the following query fails when i try to run it using phpmyadminCode Select
SQL-query:
CREATE TABLE IF NOT EXISTS `smf_games` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`game` varchar( 25 ) NOT NULL ,
`name` varchar( 25 ) NOT NULL ,
`help` text NOT NULL ,
`desc` text NOT NULL ,
`highscore` int( 11 ) NOT NULL DEFAULT '0',
`caterogy` int( 11 ) NOT NULL DEFAULT '0',
`width` int( 11 ) NOT NULL DEFAULT '0',
`height` int( 11 ) NOT NULL DEFAULT '0',
`type` int( 11 ) NOT NULL DEFAULT '0',
`file` varchar( 255 ) NOT NULL ,
`bgcolor` varchar( 7 ) NOT NULL DEFAULT '#FFFFFF',
)
this is the error i get after trying to run itCode Select
MySQL said:
#1064 - 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 ')' at line 1
this query fails only because the first query above fails to create the tableCode Select
Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` ( `id` int(11) NOT NULL DEFAULT '0' auto_increment PRIMARY KEY, `member` int(11) NOT NULL DEFAULT '0' , `game` varchar(255) NOT NULL DEFAULT '0' );... Failed
Table 'smf2.smf_games' doesn't exist
I installed a brand spanking new smf board in another folder and created a new database for it just to try this out again and yet it still doesn't work so it must be something the actual mod is messing up on. I am using both latest smf forum and smf arcade so im at a loss as to what is wrong.
Quote from: sh-demon on February 13, 2005, 06:34:37 PM
Im not sure how to do that. could you post here the queries that i need to run for the arcade to work. I tried runnint the queries that failed again using phpmyadmin but they would always fail. I think there might be something wrong with the actual queries. Only 2 of the queries failed so there must be something wrong with them. Any help with this would be greatly appreciated. I really want to get this thing to work.
the following query fails when i try to run it using phpmyadminCode Select
SQL-query:
CREATE TABLE IF NOT EXISTS `smf_games` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`game` varchar( 25 ) NOT NULL ,
`name` varchar( 25 ) NOT NULL ,
`help` text NOT NULL ,
`desc` text NOT NULL ,
`highscore` int( 11 ) NOT NULL DEFAULT '0',
`caterogy` int( 11 ) NOT NULL DEFAULT '0',
`width` int( 11 ) NOT NULL DEFAULT '0',
`height` int( 11 ) NOT NULL DEFAULT '0',
`type` int( 11 ) NOT NULL DEFAULT '0',
`file` varchar( 255 ) NOT NULL ,
`bgcolor` varchar( 7 ) NOT NULL DEFAULT '#FFFFFF',
)
this is the error i get after trying to run itCode Select
MySQL said:
#1064 - 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 ')' at line 1
this query fails only because the first query above fails to create the tableCode Select
Running query CREATE TABLE IF NOT EXISTS `smf_games_champ` ( `id` int(11) NOT NULL DEFAULT '0' auto_increment PRIMARY KEY, `member` int(11) NOT NULL DEFAULT '0' , `game` varchar(255) NOT NULL DEFAULT '0' );... Failed
Table 'smf2.smf_games' doesn't exist
I installed a brand spanking new smf board in another folder and created a new database for it just to try this out again and yet it still doesn't work so it must be something the actual mod is messing up on. I am using both latest smf forum and smf arcade so im at a loss as to what is wrong.
CREATE TABLE `games` (
`id` int(11) NOT NULL auto_increment,
`game` varchar(25) NOT NULL default '',
`name` varchar(25) NOT NULL default '',
`dsc` text NOT NULL,
`highscore` int(11) NOT NULL default '0',
`caterogy` int(11) NOT NULL default '0',
`width` int(11) NOT NULL default '0',
`height` int(11) NOT NULL default '0',
`type` int(11) NOT NULL default '0',
`file` varchar(255) NOT NULL default '',
`bgcolor` varchar(7) NOT NULL default '#FFFFFF',
`help` text NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=50 ;
Quote from: Niko on February 14, 2005, 03:40:58 PM
1.0.1 is released in installer should now work propely also theres one major change on challenge feature
Installer bug was only on some mysql-version i think and was beacuse default values on auto_increment filed
http://my.site/forum//index.php?action=arcade
Apply Filter: Only show the errors with the same message
2: Division by zero
File: /home/XXX/public_html/forum/Sources/Subs.php
Line: 582
http://my.site/forum//index.php?action=arcade
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_games_per_page
File: /home/XXX/public_html/forum/Sources/Arcade.php
Line: 163
Quote from: sh-demon on February 14, 2005, 08:28:59 PM
Once again new install and now same query fails again
Running query CREATE TABLE IF NOT EXISTS `smf2_games` ( `id` int(11) NOT NULL auto_increment PRIMARY KEY, `game` varchar(25) NOT NULL , `name` varchar(25) NOT NULL , `help` text NOT NULL , `desc` text NOT NULL , `highscore` int(11) NOT NULL DEFAULT '0' , `caterogy` int(11) NOT NULL DEFAULT '0' , `width` int(11) NOT NULL DEFAULT '0' , `height` int(11) NOT NULL DEFAULT '0' , `type` int(11) NOT NULL DEFAULT '0' , `file` varchar(255) NOT NULL , `bgcolor` varchar(7) NOT NULL DEFAULT '#FFFFFF' , );... Failed 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 ')' at line 14
that is from the arcade installer.
this is from phpmyadmin
SQL-query:
CREATE TABLE IF NOT EXISTS `smf2_games` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`game` varchar( 25 ) NOT NULL ,
`name` varchar( 25 ) NOT NULL ,
`help` text NOT NULL ,
`desc` text NOT NULL ,
`highscore` int( 11 ) NOT NULL DEFAULT '0',
`caterogy` int( 11 ) NOT NULL DEFAULT '0',
`width` int( 11 ) NOT NULL DEFAULT '0',
`height` int( 11 ) NOT NULL DEFAULT '0',
`type` int( 11 ) NOT NULL DEFAULT '0',
`file` varchar( 255 ) NOT NULL ,
`bgcolor` varchar( 7 ) NOT NULL DEFAULT '#FFFFFF',
)
MySQL said:
#1064 - 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 ')' at line 1
this is on a fresh install of smf and a fresh install of the arcade using the package manager. this is the only mod i cannot seem to get to work on my board.
CREATE TABLE `smf_games` (
`id` int(11) NOT NULL auto_increment,
`game` varchar(25) NOT NULL default '',
`name` varchar(25) NOT NULL default '',
`dsc` text NOT NULL,
`highscore` int(11) NOT NULL default '0',
`caterogy` int(11) NOT NULL default '0',
`width` int(11) NOT NULL default '0',
`height` int(11) NOT NULL default '0',
`type` int(11) NOT NULL default '0',
`file` varchar(255) NOT NULL default '',
`bgcolor` varchar(7) NOT NULL default '#FFFFFF',
`help` text NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
http://my.site/forum//index.php?action=arcade
Apply Filter: Only show the errors with the same message
2: Division by zero
File: /home/XXX/public_html/forum/Sources/Subs.php
Line: 582
http://my.site/forum//index.php?action=arcade
Apply Filter: Only show the errors with the same message
8: Undefined index: arcade_games_per_page
File: /home/XXX/public_html/forum/Sources/Arcade.php
Line: 163
INSERT INTO smf_settings SET value='1.00', variable='arcade_version'
INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'
Quote from: _complex on February 15, 2005, 01:43:00 PM
MySQL said: Documentation
#1064 - 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 'INSERT INTO smf_settings SET value='15', variable='arcade_games
INSERT INTO smf_settings SET value='1.00', variable='arcade_version'
INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'';
Quote from: sh-demon on February 15, 2005, 09:39:35 PM
ok finally got it to work. I had to use that new arcade.sql.php file and install it manually. the package manager was doing something wrong. now where do i get these games from.
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 ' height=, type=0, file='airfox.swf'' at line 1
File: c:\wamp\www\forums\Sources\Arcade.php
Line: 956
Quote from: sh-demon on February 15, 2005, 11:37:38 PM
yes i found them and i downloaded that huge pack but im having issues installing them i keep getting a dsc error after i hit install
this is the errorCode Select
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 ' height=, type=0, file='airfox.swf'' at line 1
File: c:\wamp\www\forums\Sources\Arcade.php
Line: 956
are there any default values that need to be filled in for these games to install?
Quote from: _complex on February 15, 2005, 02:55:21 PM
Hmm I did like thisCode SelectINSERT INTO smf_settings SET value='1.00', variable='arcade_version'
INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'';
and it said
MySQL said: Documentation
#1064 - 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 'I' at line 1
Quote from: _complex on February 16, 2005, 11:14:25 PM
How can i solve this? when i input that.. i get the error below... thanksQuote from: _complex on February 15, 2005, 02:55:21 PM
Hmm I did like thisCode SelectINSERT INTO smf_settings SET value='1.00', variable='arcade_version'
INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'';
and it said
MySQL said: Documentation
#1064 - 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 'I' at line 1
INSERT INTO smf_settings SET value='1.00', variable='arcade_version';
INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page';
INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page';
INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'';
<?php
//by [email protected]
$content = "";
$query = $DB->query("SELECT id FROM smf_games");
$count = $DB->get_num_rows ($query);
$start = rand(0, ($count -1));
$query = $DB->query("SELECT id, game, name FROM smf_games LIMIT $start, 1");
$row = $DB->fetch_row($query);
$id = $row['id'];
$game = $row['game'];
$name = $row['name'];
if(file_exists("./forum/Games/{$row['game']}.gif")){
$thumb = "$this->siteurl/forum/Games/{$row['game']}.gif";
}
elseif(file_exists("./forum/Games/{$row['game']}.GIF")){
$thumb = "$this->siteurl/forum/Games/{$row['game']}.GIF";
}
elseif(file_exists("./forum/Games/{$row['game']}.png")){
$thumb = "$this->siteurl/forum/Games/{$row['game']}.png";
}
elseif(file_exists("./forum/Games/{$row['game']}.PNG")){
$thumb = "$this->siteurl/forum/Games/{$row['game']}.PNG";
}
elseif(file_exists("./forum/Games/{$row['game']}.jpg")){
$thumb = "$this->siteurl/forum/Games/{$row['game']}.jpg";
}
elseif(file_exists("./forum/Games/{$row['game']}.JPG")){
$thumb = "$this->siteurl/forum/Games/{$row['game']}.JPG";
}
elseif(file_exists("./Games/{$row['game']}.gif")){
$thumb = "$this->siteurl/forum/Games/{$row['game']}.gif";
}
elseif(file_exists("./Games/{$row['game']}.GIF")){
$thumb = "$this->siteurl/forum/Games/{$row['game']}.GIF";
}
elseif(file_exists("./Games/{$row['game']}.png")){
$thumb = "$this->siteurl/forum/Games/{$row['game']}.png";
}
elseif(file_exists("./Games/{$row['game']}.PNG")){
$thumb = "$this->siteurl/forum/Games/{$row['game']}.PNG";
}
elseif(file_exists("./Games/{$row['game']}.jpg")){
$thumb = "$this->siteurl/forum/Games/{$row['game']}.jpg";
}
elseif(file_exists("./Games/{$row['game']}.JPG")){
$thumb = "$this->siteurl/forum/Games/{$row['game']}.JPG";
}
$content = "<td align=\"center\" id=\"tdblock\" ><a href=\"$this->siteurl/forum/index.php?action=arcade;do=play;game=$id\">Click To Play<br>$name<br></a><a href=\"$this->siteurl/forum/index.php?action=arcade;do=play;game=$id\"><img src='{$thumb}' border=\"0\"></a>";
unset($query);
unset($count);
unset($start);
unset($row);
unset($id);
unset($game);
unset($thumb);
?>
QuoteTable 'smf_games_champ' doesn't exist[EDIT - Nevermind, forgot you had to use the php installation file too]
File: /home/httpd/vhosts/---/httpdocs/community/Sources/Display.php
Line: 546
Quote from: Niko on February 17, 2005, 08:00:57 AMQuote from: _complex on February 16, 2005, 11:14:25 PM
How can i solve this? when i input that.. i get the error below... thanksQuote from: _complex on February 15, 2005, 02:55:21 PM
Hmm I did like thisCode SelectINSERT INTO smf_settings SET value='1.00', variable='arcade_version'
INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page'
INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'';
and it said
MySQL said: Documentation
#1064 - 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 'I' at line 1
every line must have ;
likeCode SelectINSERT INTO smf_settings SET value='1.00', variable='arcade_version';
INSERT INTO smf_settings SET value='15', variable='arcade_games_per_page';
INSERT INTO smf_settings SET value='15', variable='arcade_challenge_per_page';
INSERT INTO smf_settings SET value='15', variable='arcade_results_per_page'';
INSERT INTO smf_settings (variable, value) VALUES (('arcade_version', '1.00'), ('arcade_games_per_page', '15'), ('arcade_challenge_per_page', '15'), ('arcade_results_per_page', '15'));
QuoteTable 'jazhawk_astroboy.smf_games' doesn't exist
File: /home/jazhawk/public_html/forum/Sources/Arcade.php
Line: 875
Quote from: trenchteam on February 18, 2005, 11:50:44 PM
Niko, can you see if you can help me with the arcade in my Mambo Portal. It gets called, but the games cant be played. This thread explains it more. Thanks for any help.
http://www.simplemachines.org/community/index.php?topic=28302.0
Quote from: bigamers.com on February 20, 2005, 12:49:21 PM
ok when its loading up the pics next to the avatar it says loading pic from http://www.bigamers.com/forums/index.php/games/frogger.gif
were the hell did index.php come in? and how can i fix this... this happened after i installed tiny portal and it did this to my friends as well!
Quote from: Dem0n on February 20, 2005, 03:30:07 PM
edit index.template.php of the current theme you want it in, and look for the current buttons ontop and add the code for the buttons you wish to add.
// How about the [search] button?
if ($context['allow_search'])
echo '
<a href="', $scripturl, '?action=search">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/search.gif" alt="' . $txt[182] . '" border="0" />' : $txt[182]), '</a>', $context['menu_separator'];
Unable to load the 'challenge' template.
Quote from: John on February 20, 2005, 02:43:22 PMQuote from: bigamers.com on February 20, 2005, 12:49:21 PM
ok when its loading up the pics next to the avatar it says loading pic from http://www.bigamers.com/forums/index.php/games/frogger.gif
were the hell did index.php come in? and how can i fix this... this happened after i installed tiny portal and it did this to my friends as well!
turn off search engine freindly urls under features and options in admin
Quote from: bigamers.com on February 20, 2005, 10:33:12 PMQuote from: John on February 20, 2005, 02:43:22 PMQuote from: bigamers.com on February 20, 2005, 12:49:21 PM
ok when its loading up the pics next to the avatar it says loading pic from http://www.bigamers.com/forums/index.php/games/frogger.gif
were the hell did index.php come in? and how can i fix this... this happened after i installed tiny portal and it did this to my friends as well!
turn off search engine freindly urls under features and options in admin
ok thanks alot ^^ and also what does that search friendly crap do anyway? and is there a way i can limit how many campions of games it shows near there avatar?
/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game",__FILE__,__LINE__);
/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game LIMIT 10",__FILE__,__LINE__);
Quote from: crank0r on February 22, 2005, 06:45:29 PM
i installed works fine, just have 2 games buttons, how to delete 1, here is site btw. www.crank0r.com
echo '
<a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . "Arcade" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];
Quote from: crank0r on February 23, 2005, 03:00:34 PM
thanks aravot, now only 1 button, but my second problem is that im seeing donkeykong champion twice under my name in posts? so something is installed twice isnt it ?
Quote from: Dragon Gamer on February 22, 2005, 12:29:39 PM
I think that all these stuff should be put in a file within the mod so when people download it they know what they're dealing with when they have to make modifications.
Quote from: Aravot on February 23, 2005, 05:10:32 PMQuote from: crank0r on February 23, 2005, 03:00:34 PM
thanks aravot, now only 1 button, but my second problem is that im seeing donkeykong champion twice under my name in posts? so something is installed twice isnt it ?
Sorry can't help you there, cause I am on version 6.1 which doesn't have that feature.
QuoteUnknown column 'dsc' in 'field list'
File: /home/trekkie1/public_html/place/Sources/Arcade.php
Line: 934
Quote from: asdf1248 on February 24, 2005, 10:19:26 AM
Sorry if this has been asked before...but is there one compatible for SMF 1.0.2 yet? Or is the current version compatible?
Quote from: Trekkie101 on February 24, 2005, 05:06:57 PM
I dunno for sure but im gettingQuoteUnknown column 'dsc' in 'field list'
File: /home/trekkie1/public_html/place/Sources/Arcade.php
Line: 934
When trying to install a game.
Quote from: maufonseca on February 22, 2005, 05:21:44 PMAnyone saw my post?
I upgraded to 1.0.2, but now I cant enter the Arcade Admin; It redirects me to my forum's index
Quote from: maufonseca on February 24, 2005, 10:18:50 PMQuote from: maufonseca on February 22, 2005, 05:21:44 PMAnyone saw my post?
I upgraded to 1.0.2, but now I cant enter the Arcade Admin; It redirects me to my forum's index
Quote from: John on February 24, 2005, 10:53:58 PM
Hi, everyone can you please read your arcade news in your arcadeadmin panel
Quote from: maufonseca on February 24, 2005, 10:18:50 PMQuote from: maufonseca on February 22, 2005, 05:21:44 PMAnyone saw my post?
I upgraded to 1.0.2, but now I cant enter the Arcade Admin; It redirects me to my forum's index
'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('Arcade.php', 'ArcadeAdmin'),
Quote from: Aravot on February 25, 2005, 02:15:50 AMQuote from: John on February 24, 2005, 10:53:58 PM
Hi, everyone can you please read your arcade news in your arcadeadmin panel
Arcade beta 6.1b following message:
Unable to connect smfgames.com
Visit site for latest news
Quote from: Aravot on February 25, 2005, 02:15:50 AMQuote from: John on February 24, 2005, 10:53:58 PM
Hi, everyone can you please read your arcade news in your arcadeadmin panel
Arcade beta 6.1b following message:
Unable to connect smfgames.com
Visit site for latest news
Quote from: Niko on February 25, 2005, 06:47:16 AMQuote from: Aravot on February 25, 2005, 02:15:50 AMQuote from: John on February 24, 2005, 10:53:58 PM
Hi, everyone can you please read your arcade news in your arcadeadmin panel
Arcade beta 6.1b following message:
Unable to connect smfgames.com
Visit site for latest news
Do you have javascript enabled?
QuoteSMF Arcade Install & Update toolWhen I click on Step 2, I got:
Install
Checking database differences
Connected and Selected Database
Finding tables... 35 tables in database
smf1_games
id int(11) NOT NULL auto_increment PRIMARY KEY
game varchar(25) NOT NULL
name varchar(25) NOT NULL
help text NOT NULL
desc text NOT NULL
dsc text
highscore int(11) NOT NULL DEFAULT '0'
caterogy int(11) NOT NULL DEFAULT '0'
width int(11) NOT NULL DEFAULT '0'
height int(11) NOT NULL DEFAULT '0'
type int(11) NOT NULL DEFAULT '0'
file varchar(255) NOT NULL
bgcolor varchar(7) NOT NULL DEFAULT '#FFFFFF'
smf1_games_challenge
cid int(11) NOT NULL auto_increment PRIMARY KEY
player1 int(11) NOT NULL DEFAULT '0'
player2 int(11) NOT NULL DEFAULT '0'
game int(11) NOT NULL DEFAULT '0'
player1_score float NOT NULL DEFAULT '0'
player2_score float NOT NULL DEFAULT '0'
message varchar(255) NOT NULL
complete int(11) NOT NULL DEFAULT '0'
reason varchar(255) NOT NULL
player1_status int(11) NOT NULL DEFAULT '0'
player2_status int(11) NOT NULL DEFAULT '0'
time int(11) NOT NULL DEFAULT '0'
smf1_games_high
id int(11) NOT NULL auto_increment PRIMARY KEY
game varchar(25) NOT NULL
member int(11) NOT NULL DEFAULT '0'
score float NOT NULL DEFAULT '0'
stime bigint(20) NOT NULL DEFAULT '0'
ip varchar(11) NOT NULL
comment varchar(255)
smf1_games_caterogy
id int(11) NOT NULL auto_increment PRIMARY KEY
name varchar(255) NOT NULL
smf1_games_sessions
id int(11) NOT NULL auto_increment PRIMARY KEY
user int(11) NOT NULL DEFAULT '0'
info tinytext NOT NULL
smf1_games_champ
id int(11) NOT NULL auto_increment PRIMARY KEY
member int(11) NOT NULL DEFAULT '0'
game varchar(255) NOT NULL DEFAULT '0'
Step 1 done
Dynamic SQL-Queries needeed: 6
Step 2
QuoteSMF Arcade Install & Update toolI have the games in the game folder already. When I set up SMF (on local computer here - not on webhost yet), I called the database smf1 (since I have smf in a previous install already). I'm not good with databases or PHP, but can follow instructions if shown/told what to do.
Welcome to Arcade Install & Update tool
Connectin to database... Connected and Selected Database
Checking settings
Running query SELECT * FROM smf1_settings WHERE variable='arcade_games_per_page'... Success
Running query SELECT * FROM smf1_settings WHERE variable='arcade_challenge_per_page'... Success
Running query SELECT * FROM smf1_settings WHERE variable='arcade_results_per_page'... Success
Running query SELECT * FROM smf1_settings WHERE variable='arcade_highscores_per_page'... Success
Running query SELECT * FROM smf1_settings WHERE variable='arcade_version'... Success
Running query UPDATE smf1_settings SET value='1.00' WHERE variable='arcade_version'... Success
Warning: Invalid argument supplied for foreach() in c:\wamp\www\smf1.0.2\arcade_sql.php on line 686
Table 'smf1.smf1_games' doesn't exist
Quote from: John on February 24, 2005, 08:12:38 AMQuote from: Aravot on February 23, 2005, 05:10:32 PMQuote from: crank0r on February 23, 2005, 03:00:34 PM
thanks aravot, now only 1 button, but my second problem is that im seeing donkeykong champion twice under my name in posts? so something is installed twice isnt it ?
Sorry can't help you there, cause I am on version 6.1 which doesn't have that feature.
you will need to edit display.template.php and remove the duplicated lines of code
(search for arcade)
you should check display.php to to see if the arcade code is duplicated there too.
Quote from: flapper on February 25, 2005, 05:58:15 PM
I cant install arcade
First i unistalled SMF Arcade Beta 5.6
Then uploaded SMF_Arcade_1[1].0.3 using Package Manager and installed
Installing this package will perform the following actions: Type Action Description
1. Execute Modification index.php Success
2. Execute Modification Themes/default/index.template.php Success
3. Execute Modification Sources/Subs.php Success
4. Execute Modification Sources/ManagePermissions.php Success
5. Execute Modification Themes/default/languages/Modifications.english.php Success
6. Execute Modification Themes/default/Display.template.php Success
7. Execute Modification Sources/Display.php Success
8. Extract Tree ./getid3
9. Extract Tree ./Games
10. Extract File ./arcade_sql.php
11. Extract File ./Sources/Arcade.php
12. Extract Tree ./Themes/default/default
13. Extract File ./Themes/default/Arcade.template.php
14. Extract File ./Themes/default/ArcadeAdmin.template.php
15. Extract File ./Themes/default/images/english/games.gif
16. Extract File ./Themes/default/languages/Arcade.english.php
Then exicuted
arcade_sql.php
Welcome to Arcade Install & Update tool
Clean Install
but keep getting this error, I checked all files and everything is 777
Fatal error: [] operator not supported for strings in /home/********/*/my site/user/htdocs/forum/arcade_sql.php on line 20
can someone please help me.
Quote from: trenchteam on February 26, 2005, 08:10:31 PM
HOw do i add the champion name under the avatar in Custom themes?
Quote from: Niko on February 26, 2005, 05:19:24 AM
Seems like your arcade_sql.php is old version upload it with ftp
Quote from: flapper on February 27, 2005, 06:53:27 PM
If i do a manual install, do i upload all the files in the zip file
Quote from: greyknight17 on March 02, 2005, 08:35:49 AM
flapper, I'm no expert at this, but I see some users posting the actual lines in those files here.
So try posting the corresponding lines in the files mentioned and post them here. Maybe that will help them (the helpers here) more.
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
Quote from: flapper on March 02, 2005, 10:39:28 AMQuote from: greyknight17 on March 02, 2005, 08:35:49 AM
flapper, I'm no expert at this, but I see some users posting the actual lines in those files here.
So try posting the corresponding lines in the files mentioned and post them here. Maybe that will help them (the helpers here) more.
ok hope this helps
get this error on the Edit Permissions page
Parse error: parse error, unexpected ';', expecting ')' in /home/fhlinux198/a/africansouth.co.uk/user/htdocs/forum/Sources/ManagePermissions.php on line 1035
and members are still not allowed in arcade
here are the lines in the ManagePermissions.php file sorry only have notepad so no line count:
'send_mail' => false,
),
'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
),
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),
'board' => array(
QuoteTable 'db119726169.sidigames_caterogy' doesn't exist
File: /[munged]/Sources/Arcade.php
Line: 861
/* Tables to check */
$tables[][0] = $db_prefix.'games';
$tables[][0] = $db_prefix.'games_challenge';
$tables[][0] = $db_prefix.'games_high';
$tables[][0] = $db_prefix.'games_caterogy';
$tables[][0] = $db_prefix.'games_sessions';
$tables[][0] = $db_prefix.'games_champ';
$tables[][0] = $db_prefix.'games_category';
Quote from: ViV on February 28, 2005, 06:08:44 AM
everything has got installed... its only wen in my admin panel... i select a game and click on install... then fill necessary info...and submit.. it gives me this error...
Unknown column 'dsc' in 'field list'
File: /home/mycpanelloginname(sorry i havnt disclosed that)/public_html/forum/Sources/Arcade.php
Line: 936
Any idea as to what it could be and how can I install games?
Quote from: Nietha on March 06, 2005, 02:43:31 AMQuote from: ViV on February 28, 2005, 06:08:44 AM
everything has got installed... its only wen in my admin panel... i select a game and click on install... then fill necessary info...and submit.. it gives me this error...
Unknown column 'dsc' in 'field list'
File: /home/mycpanelloginname(sorry i havnt disclosed that)/public_html/forum/Sources/Arcade.php
Line: 936
Any idea as to what it could be and how can I install games?
open Sources/Arcade.php and change all "dsc" to "desc" there's about 4-5 of them.
Quote from: Waste on March 02, 2005, 12:24:31 PM
Hello, me again.
I got the arcade to work finally by manually installing it.
But, I do not like where the "Current Champion of:" thumbnails are as I have someone on my site3 who is really good at flash games and is the champion of 10+ games.
It really makes his posts huge.
My question is, how can I stick the code for the champion list into thier profiles instead of on thier posts?Code Select
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
// Arcade
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="',$tmp['name'],'', $txt['arcade_136'],'" width="20">';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
// Arcade
// Now print the second column where the members avatar/text is shown.
echo '
Parse error: parse error, unexpected T_STRING in /client/milossa/public_html/board/Games/parasites.swf on line 369
QuoteInvalid argument supplied for foreach()
QuoteOk guys... I am completely boggled with this one:
I have installed the Arcade mod (and it would appear successful)
I then added some categories.
I am now trying to add some games.
I choose the game (say, MahJong for example), enter data and click submit.
I then get a whole screen full of ASCII characters, ending with the message
Fatal error: Cannot instantiate non-existent class: mahjong in /XXX/Sources/ArcadeAdmin.php on line 277
line 277 is:Code Select
$gam = new $class($scripturl);
so... for some reason, it's not letting me install games.
Anyone have a clue as to what is going on here???
Quote from: kindred on March 17, 2005, 03:24:37 PM
Now, however, if I try to change the category of the game, I get:
An Error Has Occurred!
2: mysql_free_result(): supplied argument is not a valid MySQL result resource
File: /XXX/Sources/ArcadeAdmin.php
Line: 338
Quote2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
QuoteArcade.php
Arcade2.php
arcade_custom.php
arcade_custom.zip
ArcadeAdmin.php
Quote from: Aravot on March 17, 2005, 04:08:14 PM
After installing SMF Arcade 1.1.2 I noticed I have a Sources folder with the following filesQuoteArcade.php
Arcade2.php
arcade_custom.php
arcade_custom.zip
ArcadeAdmin.php
in my SMF/Sources folder, full path
/SMF
/Sources
/Sources
Arcade.php
Arcade2.php
arcade_custom.php
arcade_custom.zip
ArcadeAdmin.php
Quote from: Niko on March 17, 2005, 04:23:30 PMQuote from: Aravot on March 17, 2005, 04:08:14 PM
After installing SMF Arcade 1.1.2 I noticed I have a Sources folder with the following filesQuoteArcade.php
Arcade2.php
arcade_custom.php
arcade_custom.zip
ArcadeAdmin.php
in my SMF/Sources folder, full path
/SMF
/Sources
/Sources
Arcade.php
Arcade2.php
arcade_custom.php
arcade_custom.zip
ArcadeAdmin.php
Fixed, replaced old with new...
i think it was becuase extract tree Souirces to $sourcesdir changed it to Boarddir
Quote2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
QuoteNow, however, if I try to change the category of the game, I get:
An Error Has Occurred!
2: mysql_free_result(): supplied argument is not a valid MySQL result resource
File: /XXX/Sources/ArcadeAdmin.php
Line: 338
1.1.2 is now avaible here... this bug is fixed in it
Quote from: nokonium on March 17, 2005, 05:50:24 PM
I tried it on my backup and all was OK, so I went and tried on the main forum. It would not install and run, ended up uninstalling it and reinstalling 1.0.3 it is working again but we have two Games buttons in default and all the champions have double sets of awards. :-X
echo '
<a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . "Arcade" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];
Quote from: champi.nl on March 17, 2005, 04:51:53 PM
i have uploaded everything manually on my testboard... it seems to work... but when i want to run arcade_sql.php it says Error: Make sure you have uploaded all files correctly!
how can this be possible... i unzipped only the package without using the package manager...
but the arcade module is functioning..it works...
???
is t really nescessary to run arcade_sql... did make? there werent new tables isnt?
greetz
Quote from: Aravot on March 17, 2005, 06:57:45 PM
You can remove the extra button by deleting a duplicate code from index.template.php
QuoteI have this error but every time I try and go to arcade it takes me to arcade admin.
Quote from: nokonium on March 17, 2005, 05:50:24 PM
all the champions have double sets of awards. :-X
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
Quote from: champi.nl on March 18, 2005, 05:48:42 AMQuoteI have this error but every time I try and go to arcade it takes me to arcade admin.
try to enable arcade in adminpanel... anyone resolved other problems..
???
Quote from: Niko on March 20, 2005, 12:53:38 PM
1.1.3 released! go grab it
2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /home/fertilit/public_html/forum/index.php
Line: 119
Quote2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /mysite.com/smf/index.php
Line: 121
// What function shall we execute? (done like this for memory's sake.)
call_user_func(smf_main());
Quote from: Niko on March 22, 2005, 09:14:19 AM
check that index.php has ArcadeAdim => 'ArcadeAdmin.php' not Arcade.php
'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),
'arcadeadmin' => array('Arcade.php', 'ArcadeAdmin'),
Quote from: nokonium on March 21, 2005, 05:43:47 PM
8: Undefined index: version
File: /[file path]/Themes/default/languages/Arcade.english.php (eval?)
Line: 421
if(isset($_GET['category']) && @count($_GET['category']) > 0){
if($where != ""){
$where .= " AND ";
}
if($where2 != ""){
$where2 .= " AND ";
}
$or = "";
foreach($_GET['category'] as $id){
$where .= " $or caterogy={$id}";
$where2 .= " $or caterogy={$id}";
$url .= ";category[]={$id}";
$or = "OR";
}
}
Quote from: sWiZZ on March 26, 2005, 10:46:33 AM
2: Division by zero
File: /home/alex/public_html/alfino/forums/Sources/Subs.php
Line: 582
I got this error.
Quote from: trenchteam on April 03, 2005, 07:24:16 AM
This is the error Im getting with the new version.
2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /home/XXXX/public_html/XXXX/index.php
Line: 119
Quote from: ashvin on April 04, 2005, 12:03:59 PM
i dont think it works for 1.0.3, i keep gettin same error as some people above
smf_games_champ' doesn't exist
no point installing
Quote from: rmb on April 06, 2005, 04:54:11 PM
I tryed today but I heave problem with permission file. Is that mod working on 1.0.3 or is there some bug?
Quote from: ashvin on April 07, 2005, 01:15:04 PM
it says
You arent allowed to view arcade, sorry
when my members try 2 access, ive already enabled in arcade
Quote from: ashvin on April 07, 2005, 01:15:04 PMyou have to add the permission for their user groups
it says
You arent allowed to view arcade, sorry
when my members try 2 access, ive already enabled in arcade
Quote from: olti on April 09, 2005, 07:30:23 PM
Ok, I have installed SMF Arcade! How to install games?
Quote from: kindred on April 09, 2005, 06:58:22 PM
this has been covered...
The arcade mod will not work properly with the mambo bridge (any version)...
It should load games just fine, but will not save high scores and will exit back to the top level frontpage of the site...
nothing can be done about it without actually changing the flash files themselves.
In mambo, I suggest you run the mamboflashgames component and use pnGames flash games...
Quote from: profile on April 09, 2005, 07:47:00 PMQuote from: olti on April 09, 2005, 07:30:23 PM
Ok, I have installed SMF Arcade! How to install games?
upload to the arcade folder, then add the games via the forum configuration > arcade >
Quote from: rmb on April 12, 2005, 03:40:35 AM
Howw cann I add categories to arcade? Everything is working just fine but without categories.
Thabk you for your answer
Quote from: profile on April 12, 2005, 06:59:30 AM
use the forum admin, then click on arcade, then categorys
Quote from: chupacabra on April 14, 2005, 09:05:19 AM
is this mod compatible with 1.0.3 now?
Quote from: rmb on April 13, 2005, 04:12:35 AMQuote from: profile on April 12, 2005, 06:59:30 AM
use the forum admin, then click on arcade, then categorys
Arcade - admin and I get this:
Arcade
Start | Games | Arcade settings | Highscores
Quote from: chupacabra on April 14, 2005, 09:05:19 AM
is this mod compatible with 1.0.3 now?
Quote from: profile on April 14, 2005, 12:46:53 PM
The arcade section should look like this:
Arcade
Start | Games | Arcade settings | Categorys | Highscores
Quote2: ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasonscan somone help me?
File: /data/members/free/tripod/uk/s/p/a/sparks/htdocs/SMF/getid3/getid3.php
Line: 60
Quote from: dragon52225 on April 20, 2005, 02:10:52 PM
Hey, how come i can't install games?
I get this error:Quote2: ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasonscan somone help me?
File: /data/members/free/tripod/uk/s/p/a/sparks/htdocs/SMF/getid3/getid3.php
Line: 60
Quote from: Niko on April 20, 2005, 05:25:33 PMI no, I don't like it either, right now, my real host (hiya-host) got hacked and they are recoveringQuote from: dragon52225 on April 20, 2005, 02:10:52 PM
Hey, how come i can't install games?
I get this error:Quote2: ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasonscan somone help me?
File: /data/members/free/tripod/uk/s/p/a/sparks/htdocs/SMF/getid3/getid3.php
Line: 60
There are way to skip this... but i still dont recormend using tripod...
Open getid3.php find all ini_get functions and replace them like
$memory_limit = ini_get('memory_limit'); with $memory_limit = 12345;
Quote from: kindred on April 21, 2005, 01:02:12 AM
are you running on the default theme or something different?
If you are using a different theme, you'll have to install the arcade link button by hand.
Quote from: kindred on April 21, 2005, 07:29:26 AM
In that case, the package should have installed a "games" button up next to the calendar... and there should be an Admin action in the admin left-hand bar...
Don't forget to go into Manage Permissions and give people permissions for the various arcade actions.
Quote from: revgreed on April 23, 2005, 07:06:10 AM
Hi again,
I appreciate your time here. I made a mistake - my current Theme settings are this:
Admin > Current Theme's Settings
This Theme's URL: mywebsite.org/Themes/classic
This Theme's images URL: mywebsite.org/Themes/classic/images
This Theme's directory: mywebsite.org/Themes/converted
The button did not appear after the installation nor did any arcade admin on the left hand bar. Does this mean I need to manually place one? If so, what would be the path or what have you? And how would I get the admin portion to display?
Thanks again!
Quote from: kindred on April 24, 2005, 10:34:59 AMQuote from: revgreed on April 23, 2005, 07:06:10 AM
Hi again,
I appreciate your time here. I made a mistake - my current Theme settings are this:
Admin > Current Theme's Settings
This Theme's URL: mywebsite.org/Themes/classic
This Theme's images URL: mywebsite.org/Themes/classic/images
This Theme's directory: mywebsite.org/Themes/converted
The button did not appear after the installation nor did any arcade admin on the left hand bar. Does this mean I need to manually place one? If so, what would be the path or what have you? And how would I get the admin portion to display?
Thanks again!
Go into your package manager... next to the arcade mod is the option to list files...
find the .mod (hmm... or is it .xml for arcade?) Anyway, find the file that handles the install and view it...
Find any mention of the TEMPLATE files that exist in the classic directory. You'll have to manually edit each of those. (definitely index.template.php, maybe admin.template.php, maybe more)
Quote from: profile on April 09, 2005, 07:52:41 PMQuote from: kindred on April 09, 2005, 06:58:22 PM
this has been covered...
The arcade mod will not work properly with the mambo bridge (any version)...
It should load games just fine, but will not save high scores and will exit back to the top level frontpage of the site...
nothing can be done about it without actually changing the flash files themselves.
In mambo, I suggest you run the mamboflashgames component and use pnGames flash games...
Would it be possible for the mod description to state that it's not supported using any bridge? I must've missed it since there's over 40 pages of postings now. Thanks.
8: Undefined index: version
File: /home/compfree/public_html/forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 421
Looked at the Arcade.english.php and this is what i get at line 421? $txt['arcade_185'] = "Click here to join";
Now for some reason only admins can see & play the games.. Global mods & users get An Error Has Occurred!
You arent allowed to view arcade, sorry!
heh i'm pretty sure i've got the permissions right, any input or resolve would be greatly appreciated ;)Quote from: kindred on April 24, 2005, 06:46:22 PMbut i'd enabled the arcade well ahead of discovering the error ;)
well, for the playing games part... in the aracde admin, one option is to have the games active or not... if not, only admins can get in
Quote from: kburrows on April 27, 2005, 05:04:47 PM
After installing the Arcade mod it tells me I am running a 1.02 Database... how can I upgrade it?
Quote from: [Unknown] on April 30, 2005, 12:38:55 AMYour problems with the arcade mod will not go away at this point. You will still have to resolve them either with the information in this topic or by upgrading at some point to a version without the bug.Appreciate the input, thanks
-[Unknown]
Quote from: [Unknown] on April 30, 2005, 12:38:55 AM
The error you're getting is a database error. It may be caused by something wrong with the arcade mod, or improper installation.
However, because you used, presumably, the package manager to upgrade... you didn't run upgrade.php. This isn't a problem and is not the cause of your problem, but running upgrade.php will remove that warning (basically describing that the problem *could* be that.)
Your problems with the arcade mod will not go away at this point. You will still have to resolve them either with the information in this topic or by upgrading at some point to a version without the bug.
-[Unknown]
Quote from: Bigguy on May 08, 2005, 08:50:36 PM
I am trying to install this mod through package manager but for some reason it doesnt want to ...I`m very new to this ...is it possible for some one to walk me through this ... I dont have much mysql experience either
Quote from: Bigguy on May 08, 2005, 09:13:47 PM
I did that ....it comes up saying success for about 6 or 7 files and stops at getid folder or somthing and tells me to chmodd via ftp ...I do ....and nothing ...what am I doing wrong
Quote from: Bigguy on May 08, 2005, 09:51:48 PM
ok so after they are set to 777 I try to install the arcade again right ...at which point do I run arcade.sql or what ever that file is or do I have to run it first ???
Quote from: Bigguy on May 08, 2005, 10:40:37 PM
Well thats a very nice offer ....that makes me a bit nervous doing that to tell you the truth...I am sorry. I think I would have to go into cpanel in order to do this right I cant see how you are going to do anything with an admin account on my board that I haven`t already done ...I know I`m new to this but there doesnt seem to be any options in the admin panel other than the ones I have used already ...
Quote from: Bigguy on May 08, 2005, 10:50:13 PM
I still do need help though ...and I `m not trying to be rude to you. I have just got this board up and running after some server downtime on my host ...everything is fixed now on the host server and I`m just a bit anxious to get things rolling. I am a mod on my hosting site so if anything needs doing I`m sure I can do it ...I have just never played with smf before ...and again I`m sorry about that ...is there away you can still help ??
Quote from: Bigguy on May 08, 2005, 10:56:25 PM
Thats nuts ...my first time in here and that happens ....wow man :'(
Quote from: Bigguy on May 08, 2005, 11:03:39 PM
It would be nice to get this installed. I have tried a couple times, but get the same thing ...no real error messages or anything it just doesnt do anything
Quote from: Douglas on May 08, 2005, 11:12:48 PM
G-RIDER, freedom of speach only applies to publicly owned places, not privately owned sites. And you know, you illiterate twit, you would have been taken more seriously if you knew how to spell and use proper grammar and punctuation.
Moron.
QuoteTable 'bigguy_smf1.smf_games_caterogy' doesn't exist
File: /home/bigguy/public_html/smf/Sources/ArcadeAdmin.php
Line: 169
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.3, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Quote from: Bigguy on May 09, 2005, 12:31:41 AM
I dont know how to run that file other than in cpanel ...is there another way ? sorry for the double post ...I`m anxious now LOL
Quote from: Bigguy on May 09, 2005, 12:41:18 AM
ok well hey guys I actually did it from cpanel and it works awesome I got it installed.....hey you guys are good even with that little interuption we had .....now were do I download AND how do I install a game or 2
Quote from: Bigguy on May 09, 2005, 12:46:10 AM
how do I install ??? upload to the games directory and it should be there in my admin panel
Quote from: probinson77 on May 12, 2005, 04:29:19 PM
I've written some code to make SMF Arcade work with Orstio's version of the Mambo-SMF bridge. It's actually quite simple. Just copy and paste the code from this thread (http://smfgames.com/forum/index.php?topic=796.0) at SMFGames into your Mambo index.php and submitting scores and comments, challenges and tournaments will all work with the bridge.
Quote from: Yann on May 09, 2005, 05:25:26 PMOpen the arcade_sql.php and find the code creating the table and run the raw sql in phpmyadmin or something
ok it's not possible to have a simply sql file ............
Quote from: Skhilled on May 13, 2005, 11:23:04 PM
Hi, after installing and upgrading, I've received this error message:
Database Error
Table 'wishyou_smf1.smf_games_caterogy' doesn't exist
File: /home/wishyou/public_html/skhilled/smf/Sources/ArcadeAdmin.php
Line: 169
Do I need to manually create the table? Or should I have used "update" instead of "upgrade"?
QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Quote from: Ben_S on May 09, 2005, 12:33:36 PM
Are there any plans to "fix" this mod so it doesn't do in excess of 70 queries on some page views?
Quote from: OIDanTheManIO on May 09, 2005, 12:38:23 AMQuote from: Bigguy on May 09, 2005, 12:31:41 AM
I dont know how to run that file other than in cpanel ...is there another way ? sorry for the double post ...I`m anxious now LOL
No. It's not done from Cpanel. It's done from http://www.yourwebsite.com/arcadesql.php .
-Dan The Man
Quotegame directory path:
www._________________.com/bb/Games/ (Games Directory is invalid)[/b]
and url:
/homepages/20/d107436098/htdocs/bb/games (no errors here but the only first one)
Quote from: hel8itch on May 19, 2005, 04:09:23 PM
can someone make the arrays for all the games for me pleeeeeeeeeeeeeeeeease
i tried adding one to the list i have and it buggered up :-[
Quote from: eddie43302 on May 21, 2005, 09:55:45 PMexacully what happend to me m8, i really wanted it :(
as soon as i installed the arcade mod no one could view any post on my forum got errors so i uninstalled it and my forum back to normal i like this mod but it made my forum go down!
Quote from: RingofFire on May 21, 2005, 10:46:22 PM
Is there anyway to turn off the champion listings under peoples names in posts, it takes up half a page cause one guy won 40 things
/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))
/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ,{$db_prefix}games WHERE {$db_prefix}games_champ.game={$db_prefix}games.game LIMIT 5",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))
Quote from: LFC4EVA on May 22, 2005, 10:08:18 AM
my members cant view the games it says there not allowed. can someone help
Quote from: LFC4EVA on May 22, 2005, 09:33:59 AM
How do i install a game?
Quote from: LFC4EVA on May 22, 2005, 07:13:27 AMQuote from: eddie43302 on May 21, 2005, 09:55:45 PMexacully what happend to me m8, i really wanted it :(
as soon as i installed the arcade mod no one could view any post on my forum got errors so i uninstalled it and my forum back to normal i like this mod but it made my forum go down!
Quote from: Lostnode on May 22, 2005, 06:00:10 AM
Anywhere I can get the games, the game site seems to be down the last few days :(
Quote from: NitroRich on May 22, 2005, 04:48:54 PMhere is the exact error i got after i hit apply mod in the package manager i didnt do anything else.Quote from: LFC4EVA on May 22, 2005, 07:13:27 AMQuote from: eddie43302 on May 21, 2005, 09:55:45 PMexacully what happend to me m8, i really wanted it :(
as soon as i installed the arcade mod no one could view any post on my forum got errors so i uninstalled it and my forum back to normal i like this mod but it made my forum go down!
were you getting errors on the permissions.php? or perhaps give some permissions would do it.
QuoteTable 'user_14351.smf_games_champ' doesn't exist
Quote from: ArkServer on May 23, 2005, 03:30:12 PM
ive got this wierd error, i just installed the mod but now i got 4/5 game button's on my index
http://arkserver.servehttp.com/smf/index.php
anyone know howto fix? thnx allot ;D
Quote from: Niko on May 23, 2005, 03:43:20 PMQuote from: ArkServer on May 23, 2005, 03:30:12 PM
ive got this wierd error, i just installed the mod but now i got 4/5 game button's on my index
http://arkserver.servehttp.com/smf/index.php
anyone know howto fix? thnx allot ;D
just edit your template
Quote from: NitroRich on May 23, 2005, 03:58:13 PM
looks like you tried to install it too many times.
for smf arcade support goto:
smfgames.com
Quote from: ArkServer on May 23, 2005, 03:46:06 PM
//edit
i just noticed i cant install any games? i put a file called Game_pack0.zip into the \games directory and when i click on games on the admin section i dont see anything that can be installed :S
Quote from: NitroRich on May 23, 2005, 04:19:38 PM
that's right!
extract the files and yo have to upload these into the game directory using a ftp program like http://winscp.net/eng/download.php it is free! then go to the admin section , click on games-admin then in the 'games' section look under the list of your games, (if any) you will see a drop list, select the one you have UPLOADED then click on 'install'
Quote from: NitroRich on May 23, 2005, 04:44:56 PM
make sure to put a name to your game:
Internal Name: ameriman
Name: AmeriMan
File: ....
etc...etc..
Quote from: ArkServer on May 23, 2005, 04:38:49 PMQuote from: NitroRich on May 23, 2005, 04:19:38 PM
that's right!
extract the files and yo have to upload these into the game directory using a ftp program like http://winscp.net/eng/download.php it is free! then go to the admin section , click on games-admin then in the 'games' section look under the list of your games, (if any) you will see a drop list, select the one you have UPLOADED then click on 'install'
thnx i can see the games now :D
after i hit install i goto "Game Installer" and fill everything in but when i hit submit it says " Please fill form completely"
I think it is in this field "Background color (FLASH)" because i dont know what to fill in so i typed "white" lol
anyways thnx allot for helping me out :D
Quote from: Niko on May 24, 2005, 01:53:19 PMDid they fix that in arcade 1.2.0 then?
it is alerdy fixed or so i remember
Quote from: Bitwiz44 on May 25, 2005, 07:52:24 PM
Anyone know of another way of obtaining games that can plug in to this mod? Its seems another re-source will be needed soon.
Find
Copy to clipboardCode:
'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
),
Add after
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),
2: Invalid argument supplied for foreach()
File: /home/hwwepa08/public_html/board/Sources/ManagePermissions.php
Line: 1083
),
'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' =>false, )
),'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),
Notice: Undefined index: theme_dir in /home/totaltwa/public_html/board/Sources/Load.php on line 847
Notice: Undefined index: default_theme_dir in /home/totaltwa/public_html/board/Sources/Load.php on line 849
Notice: Undefined index: default_theme_dir in /home/totaltwa/public_html/board/Sources/Load.php on line 856
Notice: Undefined index: theme_dir in /home/totaltwa/public_html/board/Sources/Load.php on line 905
Notice: Undefined index: theme_url in /home/totaltwa/public_html/board/Sources/Load.php on line 905
Notice: Undefined index: theme_dir in /home/totaltwa/public_html/board/Sources/Load.php on line 906
Notice: Undefined index: theme_url in /home/totaltwa/public_html/board/Sources/Load.php on line 906
Notice: Undefined index: default_theme_url in /home/totaltwa/public_html/board/Sources/Load.php on line 907
Notice: Undefined index: default_theme_url in /home/totaltwa/public_html/board/Sources/Load.php on line 908
if (file_exists($settings['theme_dir'] . '/' . $template_name . '.template.php'))
template_include($settings['theme_dir'] . '/' . $template_name . '.template.php', true);
elseif (file_exists($settings['default_theme_dir'] . '/' . $template_name . '.template.php'))
{
// Make it known that this template uses different directories...
$settings['default_template'] = true;
template_include($settings['default_theme_dir'] . '/' . $template_name . '.template.php', true);
}
// Hmmm... doesn't exist?! I don't suppose the directory is wrong, is it?
elseif (!file_exists($settings['default_theme_dir']) && file_exists($boarddir . '/Themes/default'))
array($settings['theme_dir'], $template_name, $lang, $settings['theme_url']),
array($settings['theme_dir'], $template_name, $language, $settings['theme_url']),
array($settings['default_theme_dir'], $template_name, $lang, $settings['default_theme_url']),
array($settings['default_theme_dir'], $template_name, $language, $settings['default_theme_url'])
);
An Error Has Occurred! 2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback File: /home2/wide/public_html/forum/index.php Line: 119 |
Quote from: Niko on May 25, 2005, 09:03:59 AM
Smf arcade 1.2 seems to have few bugs...
Quote from: nokonium on May 30, 2005, 03:27:34 PMQuote from: Niko on May 25, 2005, 09:03:59 AM
Smf arcade 1.2 seems to have few bugs...
But they don't want bug reports on SMF Games, they want them posted off site. If you post and say the buck stops at SMFGAMES, they ban you.
I am not prepared to use a supposedly secure site with an a invalid certificate. I will not accept an unknown issuer for a secure certificate so I am unable to make any bug reports there. When you click on the link to the site to report bugs, then a security warning pops up - unknown issuer for secure certificate
Why can't bugs be reported in what I assumed was the Arcade support forum, rather than offsite, where it looks like they are being hidden.
Surely it's better for everybody to see what problems others are experiencing and together find cures.
(http://www.nokonium.plus.com/black-cat/angry/flaming1.gif) (http://www.nokonium.plus.com/black-cat/angry/flaming1.gif) (http://www.nokonium.plus.com/black-cat/angry/flaming1.gif)
Quote from: johnm on May 30, 2005, 06:27:57 PM
the balls in your court...
Quote from: nesianstyles on May 30, 2005, 11:29:58 PM
If it wasn't for bug reports, then we would have a pretty bad arcade ;)
Quote from: nokonium on May 31, 2005, 02:33:14 AMQuote from: nesianstyles on May 30, 2005, 11:29:58 PM
If it wasn't for bug reports, then we would have a pretty bad arcade ;)
Without the bugs it would be better. Bloc withdrew one of his beta mods because he was concerned about the problems with it and it is now only being released to beta testers until it is stable.
Arcade could do with more beta testing before a new version is released.
Quote from: rider on May 31, 2005, 12:36:58 PM
Until the bugs are worked just use 1.1.3
QuoteAs for the invalid cert.As far as I know it is valid.
Quote from: nokonium on May 31, 2005, 01:08:21 PMQuote from: rider on May 31, 2005, 12:36:58 PM
Until the bugs are worked just use 1.1.3
That was until it was repacked, 1.2RP has been repacked, that is what RP stands for ::)
No kidding.Well I guess the bugs have not been worked out,so just use 1.1.3 until fixed.QuoteAs for the invalid cert.As far as I know it is valid.
AFAIK my browser knows better than I do on this subject so I believe it.
Quote from: Niko on May 31, 2005, 03:45:15 PM
You can also post to smfgames forum...
Quote from: Niko on June 01, 2005, 09:21:25 AMDoes that mean i also have to upload arcade.xml and the other .xml?
make sure you have upload ArcadeAdmin.php and others
Quote from: AlexHobbs on June 01, 2005, 09:28:05 AMRight ive uploaded every single file in the zip and it still comes up with the same error?Quote from: Niko on June 01, 2005, 09:21:25 AMDoes that mean i also have to upload arcade.xml and the other .xml?
make sure you have upload ArcadeAdmin.php and others
Quote from: nokonium on June 01, 2005, 08:33:25 AMQuote from: Niko on May 31, 2005, 03:45:15 PM
You can also post to smfgames forum...
Do I want to post in SMF Games? Yes I do, I have a forum that is running Arcade, it is a popular feature and I have some bug problems that need to be resolved. However I cannot post there because I and my IP have been banned without any warning, for saying it as I saw it. I did not call anyone an idiot or worse, I did not excercise the swear filter. I am a blunt speaker and will continue to be.
FYI I have a screenshot of the security message.
(http://www.nokonium.plus.com/bits/rootcert.jpg)
Quote from: AlexHobbs on June 01, 2005, 09:43:01 AMQuote from: AlexHobbs on June 01, 2005, 09:28:05 AMRight ive uploaded every single file in the zip and it still comes up with the same error?Quote from: Niko on June 01, 2005, 09:21:25 AMDoes that mean i also have to upload arcade.xml and the other .xml?
make sure you have upload ArcadeAdmin.php and others
I've run arcade_sql.php to install it and it still dosent work
Quote from: caNcer_b0y on June 01, 2005, 11:56:05 PMQuote from: AlexHobbs on June 01, 2005, 09:43:01 AMQuote from: AlexHobbs on June 01, 2005, 09:28:05 AMRight ive uploaded every single file in the zip and it still comes up with the same error?Quote from: Niko on June 01, 2005, 09:21:25 AMDoes that mean i also have to upload arcade.xml and the other .xml?
make sure you have upload ArcadeAdmin.php and others
I've run arcade_sql.php to install it and it still dosent work
Some times more than one run of arcade_sql.php is needed. Also, did you uninstall the previous version you had installed? if not you should do so :) then let us know if it has been resolved. :)
Quote from: Harro on June 02, 2005, 07:11:40 AMYea im experiencing that - only the players who played it can view the results is there any way to make them public?
Anychance that in future releases of the arcade something will change for the tournaments?
Now when a tournament is over, nothing happens...
If you don't go to the tournament you won't know who won.
Maybe another page with "finished tournaments" with the results there?
Quote from: vintagepc on June 02, 2005, 11:43:02 AM
I'm having a prob, with 1.0.3- dl'd it with the package manager, but the arcade won't install, I just get a page of errors... what do I do?
Quote from: Harro on June 02, 2005, 07:11:40 AM
Anychance that in future releases of the arcade something will change for the tournaments?
Now when a tournament is over, nothing happens...
If you don't go to the tournament you won't know who won.
Maybe another page with "finished tournaments" with the results there?
Quote from: johnm on June 01, 2005, 04:29:06 PM
well dont take this the wrong way but that doesnt actually mean that the cert isnt valid its just saying that your browser doesnt recognise it.
John
Quote from: Niko on June 02, 2005, 12:47:29 PMQuote from: Harro on June 02, 2005, 07:11:40 AM
Anychance that in future releases of the arcade something will change for the tournaments?
Now when a tournament is over, nothing happens...
If you don't go to the tournament you won't know who won.
Maybe another page with "finished tournaments" with the results there?
thats for next version
Quote from: nokonium on June 02, 2005, 01:30:11 PMQuote from: johnm on June 01, 2005, 04:29:06 PM
well dont take this the wrong way but that doesnt actually mean that the cert isnt valid its just saying that your browser doesnt recognise it.
John
I am very pleased to see that you have become a member of Our-Local (http://our-local.co.uk) and that you and our internet security expert are discussing this issue.
Quote from: LFC4EVA on June 05, 2005, 02:14:12 PM
my members cant view the arcade.
its enabled and they have permission but nothing
any ideas
QuoteTable 'nquiz.smf_games_caterogy' doesn't exist
File: /home/content/r/r/a/rramos/html/forum/Sources/ArcadeAdmin.php
Line: 169
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.3, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
QuoteTable 'nquiz.smf_games_caterogy' doesn't exist
File: /home/content/r/r/a/rramos/html/forum/Sources/ArcadeAdmin.php
Line: 113
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.3, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Quote from: Niko on June 06, 2005, 10:30:13 AM
you didnt run aracde_sql.php some servers require it to ran twice
QuoteTable 'michiga1_smf1.smf_games_champ' doesn't exist
File: /home/michiga1/public_html/forum/Sources/Display.php
Line: 639
SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 113 tables in database
Notice: Undefined index: theme_dir in /home/disciple/public_html/forum/Sources/Load.php on line 837
Notice: Undefined index: default_theme_dir in /home/disciple/public_html/forum/Sources/Load.php on line 839
Notice: Undefined index: default_theme_dir in /home/disciple/public_html/forum/Sources/Load.php on line 846
Notice: Undefined index: theme_dir in /home/disciple/public_html/forum/Sources/Load.php on line 895
Notice: Undefined index: theme_url in /home/disciple/public_html/forum/Sources/Load.php on line 895
Notice: Undefined index: theme_dir in /home/disciple/public_html/forum/Sources/Load.php on line 896
Notice: Undefined index: theme_url in /home/disciple/public_html/forum/Sources/Load.php on line 896
Notice: Undefined index: default_theme_url in /home/disciple/public_html/forum/Sources/Load.php on line 897
Notice: Undefined index: default_theme_url in /home/disciple/public_html/forum/Sources/Load.php on line 898
The default theme's directory is wrong, please correct it by clicking this text.
Notice: Undefined index: theme_dir in /home/disciple/public_html/forum/Sources/Load.php on line 837
Notice: Undefined index: _ in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 147
Hey, Kid Rock, you have 62 messages, 0 are new.
Total time logged in: 3 days, 14 hours and 26 minutes.
Show unread posts since last visit.
Show new replies to your posts.
June 10, 2005, 08:51:59 AM
Search: Advanced search
20391 Posts in 2408 Topics by 214 Members
Latest Member: DrPayne
*
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 428
Home
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 429
Help
Notice: Undefined index: images_url in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 431
Gallery
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 435
Search
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 440
Admin
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 445
Profile
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 449
Member Map
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 454
Calendar Arcade
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 462
Shop
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 469
Notice: Undefined index: chatAlt in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 469
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 474
Make a Donation
Notice: Undefined index: use_image_buttons in /home/disciple/public_html/forum/Sources/Load.php(1055) : eval()'d code on line 486
Logout
Quote from: peta-sucks.com on June 11, 2005, 12:29:19 PM
i wish someone woulfd help me. i cant install games. i have them uploaded in my games directory
Quote from: five on June 11, 2005, 12:24:49 PM
Hi
I attempted to install this with no other mods but I use the helios theme. It has trashed my forum and there is a big notice saying I have an illegal copy of smf because of the copyright. However, I never removed the copyright and would know how even if I wanted to. Up till now I have been so very pleased with SMF because it is so much easier to use than phpbb.
I havent got a clue when it comes to php and if there are no instructions i am up shoot creek wihtout a paddle. If some one can fix this I am even willing to pay. Would the support on this site be able to upgrade me to the latest version for the $49 and stick my back up in it? Any help will be very gratefully received.
Thanks
P.S.
I am not sure if I am allowed to post the address of my board so just delete if it is a problem.
www.lowlifescum.com/fora
<a href="', $scripturl, '?action=arcade"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/games.gif" alt="' . "Arcade" . '" style="margin: 2px 0;" border="0" /></a>', $context['menu_separator'];
Quote from: jsdoyle on June 13, 2005, 11:45:12 PM
I don't know what's going on. My install of Arcade 1.1.3 was working fine. I uploaded the files from 1.2RP to my server and ran the sql file. Now I can't install any new games.
Quote from: jsdoyle on June 13, 2005, 11:45:12 PM
I don't know what's going on. My install of Arcade 1.1.3 was working fine. I uploaded the files from 1.2RP to my server and ran the sql file. Now I can't install any new games.
I get an error no matter what I do that says "Missing field: Category".
I think it has something to do with the fact that the table in the database is called "smf_games_caterogy" and in the arcade_admin.php file the word "Category" is misspelled "Caterogy" throughout the file. It is possible that one was misspelled where it shouldn't have been for the update.
Anyone have a clue why I'm getting the error? and maybe a better question is why does it appear I'm the only one with the error??
Thanks!
In arcadeadmin.php find
$to_check = array('game','bgcolor','name','highscore','category','width','height','type','file');
it has typo change it to
$to_check = array('game','bgcolor','name','highscore','caterogy','width','height','type','file');
Quote from: mrselnombre on June 16, 2005, 05:32:02 AMQuote from: jsdoyle on June 13, 2005, 11:45:12 PM
I don't know what's going on. My install of Arcade 1.1.3 was working fine. I uploaded the files from 1.2RP to my server and ran the sql file. Now I can't install any new games.
I get an error no matter what I do that says "Missing field: Category".
I think it has something to do with the fact that the table in the database is called "smf_games_caterogy" and in the arcade_admin.php file the word "Category" is misspelled "Caterogy" throughout the file. It is possible that one was misspelled where it shouldn't have been for the update.
Anyone have a clue why I'm getting the error? and maybe a better question is why does it appear I'm the only one with the error??
Thanks!
there is a fix for this,Code Select
In arcadeadmin.php find
$to_check = array('game','bgcolor','name','highscore','category','width','height','type','file');
it has typo change it to
$to_check = array('game','bgcolor','name','highscore','caterogy','width','height','type','file');
it has to read caterogy in that line, not category. It is line 268 i think.
Quote from: Harro on June 17, 2005, 10:21:01 AMi did that and everything is fine..just when m tryin to install the game itgive that error....
Have you tried to run the sql file again?
Quote from: mrselnombre on June 17, 2005, 02:44:22 AM
make sure you are editting the right line. It worked for me.
Quote from: mrselnombre on June 17, 2005, 02:54:54 PM
ahh seems there is the same problem on line 403 it says category when it should be caterogy.
Try changing that one, i am sure i only had to edit my file once though.
Quote from: HindSights2020 on June 18, 2005, 02:13:03 AM
Well now that I installed the Arcade I get this error if I try to view threads.
Database Error
Table 'hindsigh_smf1.smf_games_champ' doesn't exist
File: /home/hindsigh/public_html/forums/Sources/Display.php
Line: 577
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.1. It is recommended that you execute the latest version of upgrade.php.
Table 'albanian_smf.smf_games_champ' doesn't exist
File: /home/albanian/public_html/smf/Sources/Display.php
Line: 634
Quote from: ivo2296 on June 18, 2005, 12:20:17 AM
Please a little help!
Database Error
Table 'smf.smf_games_caterogy' doesn't exist
File: D:\Program Files\Apache Group\Apache2\htdocs\f\Sources\Arcade.php
Line: 861
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
What ia can do to change that when i call index.php?action=arcadeadmin;sa=games
Quote from: the mighty gc on June 18, 2005, 11:47:17 AMQuote from: ivo2296 on June 18, 2005, 12:20:17 AM
Please a little help!
Database Error
Table 'smf.smf_games_caterogy' doesn't exist
File: D:\Program Files\Apache Group\Apache2\htdocs\f\Sources\Arcade.php
Line: 861
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
What ia can do to change that when i call index.php?action=arcadeadmin;sa=games
i have this same problem....then i upgrade my forum....and i have the same problem as hindsight right after. how can i fix it to make the arcade work. i had to completely clean out arcade to get things working again, but obviously i want to run arcade...how can i do this without breaking everything again?
Quote from: OIDanTheManIO on June 18, 2005, 02:17:44 AMQuote from: HindSights2020 on June 18, 2005, 02:13:03 AM
Well now that I installed the Arcade I get this error if I try to view threads.
Database Error
Table 'hindsigh_smf1.smf_games_champ' doesn't exist
File: /home/hindsigh/public_html/forums/Sources/Display.php
Line: 577
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.1. It is recommended that you execute the latest version of upgrade.php.
Post merged with the appropriate topic.
-Dan The Man
Quote from: Forsaken on June 19, 2005, 03:33:48 PM
Every time I attempt to install the Arcade I keep getting these error messages.
SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 78 tables in database
Notice: Undefined index: theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 884
Notice: Undefined index: default_theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 886
Notice: Undefined index: default_theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 893
Notice: Undefined index: theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 942
Notice: Undefined index: theme_url in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 942
Notice: Undefined index: theme_dir in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 943
Notice: Undefined index: theme_url in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 943
Notice: Undefined index: default_theme_url in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 944
Notice: Undefined index: default_theme_url in /homepages/6/d121813149/htdocs/americangunner/forum/Sources/Load.php on line 945
The default theme's directory is wrong, please correct it by clicking this text.
An Error Has Occurred!
2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /home/content/h/i/l/hillwoodband/html/smf/index.php
Line: 119
Quote from: HindSights2020 on June 18, 2005, 12:40:22 PMhello?Quote from: OIDanTheManIO on June 18, 2005, 02:17:44 AMQuote from: HindSights2020 on June 18, 2005, 02:13:03 AM
Well now that I installed the Arcade I get this error if I try to view threads.
Database Error
Table 'hindsigh_smf1.smf_games_champ' doesn't exist
File: /home/hindsigh/public_html/forums/Sources/Display.php
Line: 577
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.1. It is recommended that you execute the latest version of upgrade.php.
Post merged with the appropriate topic.
-Dan The Man
Could someone please answere this one?
Quote from: Niko on June 20, 2005, 05:50:13 AM
you dont have all files uploaded
Quote from: drummerkid418 on June 20, 2005, 04:31:00 PMQuote from: Niko on June 20, 2005, 05:50:13 AM
you dont have all files uploaded
Then, what do I need to upload? And how do I do it?
Quote from: NOS ChromeNut on June 20, 2005, 11:41:34 AM
:(
I asked this question maybe 5, 6, 10 pages back and never got an answer, so I'm not feeling the love here... :'( Oh well, let me restate my question, updating it slightly. Before, I had an issue where when I loaded the arcade pack on 1.0.3 it overwrote my index.php file, and put me back a couple of revisions per the Current Templates review.
New updated question - does this arcade pack work with 1.0.4? And don't answer that you had it prior to 1.0.4 and when you updated to 1.0.4 it still works, I get that. I want to know that if I load this pack it will not reverse my version again to something older...
still not feeling the love... {heavy sigh} :'(
Quote from: HindSights2020 on June 20, 2005, 11:40:25 AMQuote from: HindSights2020 on June 18, 2005, 12:40:22 PMhello?Quote from: OIDanTheManIO on June 18, 2005, 02:17:44 AMQuote from: HindSights2020 on June 18, 2005, 02:13:03 AM
Well now that I installed the Arcade I get this error if I try to view threads.
Database Error
Table 'hindsigh_smf1.smf_games_champ' doesn't exist
File: /home/hindsigh/public_html/forums/Sources/Display.php
Line: 577
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.4, whereas your database is at version SMF 1.0.1. It is recommended that you execute the latest version of upgrade.php.
Post merged with the appropriate topic.
-Dan The Man
Could someone please answere this one?
Quote from: eddie43302 on June 24, 2005, 07:26:54 PM
yea lol! they are gonna want you to pay in the future lol! Someone out there always trying to make a buck!i know i aint gonna pay for that crap this arcade aint worth all that lol!!!!
Quote from: badshah on June 25, 2005, 04:25:41 PM
actually its all sorted.....ran the intall file and n boom..all worked...yeehaaaa
'category' => array(
'name' => &$txt['arcade_144'],
'selected' => false,
'link' => $scripturl.'?action=arcadeadmin;sa=category',
'last' => false,
Function ArcadeAdmin_category()
{
global $boardurl, $txt, $scripturl, $db_prefix;
global $ID_MEMBER;
global $context, $user_info, $db_prefix, $modSettings;
$query = "SELECT * FROM {$db_prefix}games_caterogy";
$result = db_query($query, __FILE__, __LINE__);
//$context['arcade']['caterogy'][0] = $txt['arcade_67']; // First (0) is reversed for 'No Caterogy'
Quote from: nokonium on June 26, 2005, 09:08:52 AM
I've just been looking at the ArcadeAdmin file and I've notices something that concerns me. I know that there are caterogies'' and that it has to be kept that way, what concerns me are categories
This is what I mean
An array in the Load Template section has category onlyCode Select'category' => array(
'name' => &$txt['arcade_144'],
'selected' => false,
'link' => $scripturl.'?action=arcadeadmin;sa=category',
'last' => false,
and the function: Function ArcadeAdmin_category(), which has both category and caterogyCode SelectFunction ArcadeAdmin_category()
{
global $boardurl, $txt, $scripturl, $db_prefix;
global $ID_MEMBER;
global $context, $user_info, $db_prefix, $modSettings;
$query = "SELECT * FROM {$db_prefix}games_caterogy";
$result = db_query($query, __FILE__, __LINE__);
//$context['arcade']['caterogy'][0] = $txt['arcade_67']; // First (0) is reversed for 'No Caterogy'
There are only 3 instances of category, all the others are caterogy.
Is the inconsistancy, not the spelling, part of the Arcade problems?
Quote from: johnm on June 26, 2005, 05:30:15 PM
whilst i think the arcade mod has progressed quite nicley niko needs to iorn out the bugs before any newer features are added
Quote from: ROGUE-Master on June 27, 2005, 08:58:03 PM
Is this compatible with 1.0.4?
Quote from: ivo2296 on June 30, 2005, 11:55:36 PM
I did installed the mod and i have pack7 with some games, created categories in admin panel but when try to install a game always shows err.:
Missing field: Category
QuoteAn Error Has Occurred!
Missing field: Category
Quote from: redone on July 03, 2005, 07:58:36 AM
In arcadeadmin.php find
$to_check = array('game','bgcolor','name','highscore','category','width','height','type','file');
it has typo change it to
$to_check = array('game','bgcolor','name','highscore','caterogy','width','height','type','file');
IIRC
or just find $to_check and replace with latter
I am assuming your using 1.2rp.
Quote from: ivo2296 on July 03, 2005, 09:39:50 PM
Waitt i don't get something - the socond string has typo not the first
Quote from: ivo2296 on July 04, 2005, 09:25:20 AM
How can uninstall this mod, in package manager it shows that the mod is not installed. But i have install it and some game are there.
Please help cause i can't access forum's permitions after i installed the mod!
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),
Quote from: SeaOfSin on July 04, 2005, 12:49:05 PMQuote from: ivo2296 on July 04, 2005, 09:25:20 AM
How can uninstall this mod, in package manager it shows that the mod is not installed. But i have install it and some game are there.
Please help cause i can't access forum's permitions after i installed the mod!
The permissions problem is easy to fix!
Open
ManagePermissions.php
FindCode Select
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
),
Just below it you will see an extra ), Just remove that.
QuoteDatabase Error
The SELECT would examine too many records and probably take a very long time. Check your WHERE and use SET OPTION SQL_BIG_SELECTS=1 if the SELECT is ok
File: /mnt/web_g/d01/s24/b023e0e0/www/prophoto/forum/Sources/Arcade.php
Line: 444
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Quotebut you can try to edit arcade.php on line 444 and add to the query SET OPTION SQL_BIG_SELECTS=1
444 $context['arcade']['panel']['panels'][] = $game_info2;
if (allowedTo('manage_smileys'))
$context['admin_areas']['layout']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';
if (allowedTo('admin_arcade'))
$context['admin_areas']['layout']['areas']['admin_arcade'] = '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>';
Quote from: Charge on July 08, 2005, 04:27:57 AMrun arcade_sql.php
hi, i don't really can install all the thing into my database ? cause i intsall it on my forum and then i clicked on the Arcade and clicked Games, it says that smf_ blabla table not found ?
Quote from: Charge on July 08, 2005, 05:12:25 AMAre you using the default theme or another?
i try that, but it can't works too and somemore my whole display theme is mess up after i install it.
Quote from: Kindred on July 08, 2005, 10:55:32 AM
you can manually uninstall by openning the XML install file and doing the actions listed in reverse... (i.e. instead of adding code, remove the code that the install file tells you to add)
Quotejust run query "SET OPTION SQL_BIG_SELECTS=1" (or maybe you have to add it to highscores query).
QuoteDatabase Error
The SELECT would examine too many records and probably take a very long time. Check your WHERE and use SET OPTION SQL_BIG_SELECTS=1 if the SELECT is ok
File: /mnt/web_g/d01/s24/b023e0e0/www/prophoto/forum/Sources/Arcade.php
Line: 444
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Quote from: tylerd213 on July 08, 2005, 03:31:13 PM
How do I set the permissions for the arcade? cause regular users are not allowed to view it
// Here's the monstrous $_REQUEST['action'] array - $_REQUEST['action'] => array($file, $function).
$actionArray = array(
'activate' => array('Register.php', 'Activate'),
'admin' => array('Admin.php', 'Admin'),
'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),
'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),
'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),
'arcade' => array('Arcade.php','Arcade'),
Quote from: YahMan on July 11, 2005, 05:00:31 PM
After installing, using the package manager I get:
3. Execute Modification Sources/Subs.php Test failed
If I install anyway, I get:
Table 'xxx_1.smf_games_category' doesn't exist
File: /srv/www/htdocs/xxxxx/html/community/Sources/ArcadeAdmin.php
Line: 191
Obviously it doesn't connect to my database, or is it something different?
Quote from: YahMan on July 11, 2005, 05:00:31 PM
After installing, using the package manager I get:
3. Execute Modification Sources/Subs.php Test failed
Quote from: the mighty gc on July 11, 2005, 11:31:05 PM
installing 1.2.1 i get these errors....
3. Execute Modification Sources/Subs.php Test failed
Connected and Selected Database
Finding tables... 114 tables in database
Table 'disciple_smf.smf_games_category' doesn't exist
Quote from: Jounouchi on July 13, 2005, 07:24:43 AM
[email protected]
I get this:
Table 'gbanetwork_smf.SMF_games_category' doesn't exist
File: /home/gbanetwork/domains/gba-network.mihopa.com/public_html/Sources/ArcadeAdmin.php
Line: 135
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
What should I do now?
Quote from: the mighty gc on July 14, 2005, 11:33:25 PM
i manually got this thing to run, but only admins can access the arcade, cant seem to get the permissions file to accept the arcade...i defnitely dont want everyone to be admins, lol
how can i fix the permissions in 1.1 beta 3 to allow me to give permissions to regular members?
Quote from: Graeme1978 on July 12, 2005, 06:44:48 AM
3. Execute Modification Sources/Subs.php Test failed
I also get this error. Running SMF 1.1 Beta 3 - I get this error when trying to install SMF Arcade 1.2 or 1.2.1
Quote from: the mighty gc on July 14, 2005, 11:33:25 PMIf you installed it manually (like me) in the read me you have to add a code to permissions.php? find that part and edit it so everything is 'yes' accept for arcade admin which should be 'no'
i manually got this thing to run, but only admins can access the arcade, cant seem to get the permissions file to accept the arcade...i defnitely dont want everyone to be admins, lol
how can i fix the permissions in 1.1 beta 3 to allow me to give permissions to regular members?
2: copy(/home/wwpx10h/public_html/general/getid3/getid3.lib.php): failed to open stream: Permission denied
File: /home/wwpx10h/public_html/general/Sources/Subs-Package.php
Line: 961
Quote8: Undefined index: id
File: /home/forumzonenetru/www/Themes/default/languages/Arcade.italian.php (eval?)
Linea: 515
Quote from: edi67 on July 16, 2005, 08:58:42 AM
i have smf arcad 1.1.3 all work ok but i have always a lot of this errors in logs errors:Quote8: Undefined index: id
File: /home/forumzonenetru/www/Themes/default/languages/Arcade.italian.php (eval?)
Linea: 515
is possible fix it?
514 $subject = $txt['arcade_143'].' '.$game['name'];
515 // Add link to results
516 $link = "[url={$scripturl}?action=arcade;sa=challenge;id={$cid}]{$txt['arcade_85']}[/url]";
Quote from: AlexHobbs on July 17, 2005, 06:19:33 AM
right ive added a eval (~) to the end of my arcade and the error your experiencing has come up, so i took of the ~ and it works, try doing that and tell me what happens.
Quote from: pmp6nl on July 18, 2005, 04:34:22 AMYou are using either:
Hey everyone, anyone know how to fix this:
Table 'ndbisonc_smf1.smf_games_category' doesn't exist
File: /home/ndbisonc/public_html/forums/Sources/ArcadeAdmin.php
Line: 191
I am running SMF 1.0.5
THANKS
Quote from: Vi31 on July 17, 2005, 10:23:21 PMexactly the same as above
Can someone tell me how to find and get rid of all the files that belong to this mod. I uploaded this mod and completely FU...D up my forum. Now when I click on a topic I get this error.
Table 'msvi007_smf1.smf_games_champ' doesn't exist
File: /home/msvi007/public_html/timeout/Sources/Display.php
Line: 631
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Please Please Please help me get rid of it.
Quote from: edi67 on July 18, 2005, 12:39:13 AMthe actual file name so from arcade.italian.php~ change it to arcade.italian.php with no ~Quote from: AlexHobbs on July 17, 2005, 06:19:33 AM
right ive added a eval (~) to the end of my arcade and the error your experiencing has come up, so i took of the ~ and it works, try doing that and tell me what happens.
sorry me where i add a eval (~) ? you can show me the line ?
Quotethe actual file name so from arcade.italian.php~ change it to arcade.italian.php with no ~
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 '' at line 1
File: /home/xxxxx/public_html/xxxxxx/Sources/Display.php
Line: 546
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Table 'xxxx_smf1.smf_games_category' doesn't exist
File: /home/xxxxxx/public_html/xxxxxxxx/Sources/ArcadeAdmin.php
Line: 191
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
514 $subject = $txt['arcade_143'].' '.$game['name'];
515 // Add link to results
516 $link = "[url={$scripturl}?action=arcade;sa=challenge;id={$cid}]{$txt['arcade_85']}[/url]";
Quote from: littleone on July 18, 2005, 10:39:34 AM
I am getting these kinds of messages as soon as upload the mod for Arcade. Any suggestions or ideas?Code SelectYou have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: /home/xxxxx/public_html/xxxxxx/Sources/Display.php
Line: 546
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.Code SelectTable 'xxxx_smf1.smf_games_category' doesn't exist
File: /home/xxxxxx/public_html/xxxxxxxx/Sources/ArcadeAdmin.php
Line: 191
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Fatal error: Call to undefined function: parse_bbc() in /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php on line 280
$top10[$i]['comment'] = parse_bbc("[i]{$txt['arcade_25']}[/i]");
8: Undefined variable: latest
File: /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php
Line: 495
return $latest;
Quote from: Graeme1978 on July 15, 2005, 04:20:37 AM
3. Execute Modification Sources/Subs.php Test failed
I also get this error. Running SMF 1.1 Beta 3 - I get this error when trying to install SMF Arcade 1.2 or 1.2.1
Quote from: AlexHobbs on July 18, 2005, 10:00:05 AMQuote from: pmp6nl on July 18, 2005, 04:34:22 AMYou are using either:
Hey everyone, anyone know how to fix this:
Table 'ndbisonc_smf1.smf_games_category' doesn't exist
File: /home/ndbisonc/public_html/forums/Sources/ArcadeAdmin.php
Line: 191
I am running SMF 1.0.5
THANKS
the wrong forum version to go with the arcade you are trying to use or...
try using arcade_sql.php againQuote from: Vi31 on July 17, 2005, 10:23:21 PMexactly the same as above
Can someone tell me how to find and get rid of all the files that belong to this mod. I uploaded this mod and completely FU...D up my forum. Now when I click on a topic I get this error.
Table 'msvi007_smf1.smf_games_champ' doesn't exist
File: /home/msvi007/public_html/timeout/Sources/Display.php
Line: 631
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Please Please Please help me get rid of it.Quote from: edi67 on July 18, 2005, 12:39:13 AMthe actual file name so from arcade.italian.php~ change it to arcade.italian.php with no ~Quote from: AlexHobbs on July 17, 2005, 06:19:33 AM
right ive added a eval (~) to the end of my arcade and the error your experiencing has come up, so i took of the ~ and it works, try doing that and tell me what happens.
sorry me where i add a eval (~) ? you can show me the line ?
Hope it helps you 3 :)
Quote from: rider on July 21, 2005, 03:15:54 AM
It should be something like this..../home/xxxxxxx/public_html/xxxxxx/Games.Let me know if this works.
Quote from: hel8itch on July 21, 2005, 10:43:48 AM
installed the arcade mod today everything looks ok in the admin panel but when i click games at the top of my forum i get this message
Fatal error: Call to undefined function: parse_bbc() in /home/***/public_html/Sources/Arcade2.php on line 280
can anyone help please
Quote from: oldmanwolf on July 22, 2005, 12:28:30 AM
Looks like SMF Arcade 1.2.1 only works for SMF 1.1... If you've got SMF 1.0.x, you'll have to use Arcade 1.1.3... It works wonderfully, though! Don't forget to run arcade_sql.php or you'll get errors! :P
Quote from: pmp6nl on July 22, 2005, 02:44:49 AM
No you can run 1.2.1 on SMF 1.0.5. I got it working, then I started to get the
Fatal error: Call to undefined function: parse_bbc() in /home/***/public_html/forums/Sources/Arcade2.php on line 280
Quote from: BSDBILL4 on July 21, 2005, 05:42:30 PM
Nevermind. I found something about 'hotlink' protection. However I am unable to access my server panel from 'outside', so I must wait until I get home to jack with it. I'll keep you posted tho.
Quote from: oldmanwolf on July 22, 2005, 03:54:55 AMQuote from: pmp6nl on July 22, 2005, 02:44:49 AM
No you can run 1.2.1 on SMF 1.0.5. I got it working, then I started to get the
Fatal error: Call to undefined function: parse_bbc() in /home/***/public_html/forums/Sources/Arcade2.php on line 280
Like [Unknown] said, the function parse_bbc() doesn't exist in 1.0.x... The function in 1.0.x is doUBBC()... Since that function doesn't exist, that's why you get the error. You may be able to fix it by changing parse_bbc to doUBBC, but 1.1.3 runs just fine, and doesn't give any errors when trying to record a high score (my installation ran perfectly until I tried to record a score, then I got the same error you did)...
Try changing that function, and let us know how it works... There's a few folks over on the smfgames forum that are having this issue as well, and if there's a simple fix, that would be ideal, you know?
Parse error: parse error, unexpected T_FUNCTION in /home/xxxxxx/public_html/xxxxxxxxxx/Sources/Arcade2.php on line 305
Quote from: BSDBILL4 on July 22, 2005, 01:03:19 PMIt could be that you hadn't fully uploaded the flash files, try re-uploading them.Quote from: BSDBILL4 on July 21, 2005, 05:42:30 PM
Nevermind. I found something about 'hotlink' protection. However I am unable to access my server panel from 'outside', so I must wait until I get home to jack with it. I'll keep you posted tho.
No joy. Hotlink protection was off anyway. Still only get a black box, when I right click it it says 'Movie not loaded'
Any clues? I've scrubbed the forum here, and the mod writers joint, nothing seems to work.
Thanks
BSDBill
Quote from: oldmanwolf on July 22, 2005, 03:54:55 AMQuote from: pmp6nl on July 22, 2005, 02:44:49 AM
No you can run 1.2.1 on SMF 1.0.5. I got it working, then I started to get the
Fatal error: Call to undefined function: parse_bbc() in /home/***/public_html/forums/Sources/Arcade2.php on line 280
Like [Unknown] said, the function parse_bbc() doesn't exist in 1.0.x... The function in 1.0.x is doUBBC()... Since that function doesn't exist, that's why you get the error. You may be able to fix it by changing parse_bbc to doUBBC, but 1.1.3 runs just fine, and doesn't give any errors when trying to record a high score (my installation ran perfectly until I tried to record a score, then I got the same error you did)...
Try changing that function, and let us know how it works... There's a few folks over on the smfgames forum that are having this issue as well, and if there's a simple fix, that would be ideal, you know?
Quote from: trenchteam on July 25, 2005, 05:00:27 AM
I dont want the champion stuff to appear under the avatar. How do i get rid of it?
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
Quotehttp://www.forumzone.net.ru/index.php?topic=49779.0
8: Undefined index: 98
File: /home/forumzonenetru/www/Themes/default/languages/Arcade.english.php (eval?)
Line: 482
taurus1971 Oggi alle 23:25:31
82.57.84.231 6b10bd507f385f56a1608d23f78739e3
http://www.forumzone.net.ru/index.php?topic=49778.0
8: Undefined index: nazione
File: /home/forumzonenetru/www/Themes/default/languages/Arcade.english.php (eval?)
Line: 308
Quote from: nokonium on July 25, 2005, 03:26:47 PMQuote from: trenchteam on July 25, 2005, 05:00:27 AM
I dont want the champion stuff to appear under the avatar. How do i get rid of it?
I haven't tried this myself, except to remove multiple champions icons ;)
This is the code in the Display.template that inserts the champion icon and text, so removing it should remove the icons and champion text.Code Selectif(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
echo '
<img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'<br />';
}
else
echo '
', $tmp['name'], ' ', $txt['arcade_136'],'<br />';
}
}
QuoteDatabase Error
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 '' at line 1
File: (censored for security)\Sources\Display.php
Line: 567
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Quote
Database Error
Table '(censored for security).smf_games_category' doesn't exist
File: (censored for security)\Sources\ArcadeAdmin.php
Line: 135
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Quote8: Undefined index: member
File: /home/u1/libo/html/Themes/default/languages/Arcade.english.php (eval?)
Line: 220
Quote8: Undefined index: member
File: /home/u1/libo/html/Sources/Arcade.php
Line: 434
Quote8: Undefined index: memberid
File: /home/u1/libo/html/Sources/Arcade2.php
Line: 454
Quote from: littleone on July 24, 2005, 09:16:48 AMQuote from: oldmanwolf on July 22, 2005, 03:54:55 AMQuote from: pmp6nl on July 22, 2005, 02:44:49 AM
No you can run 1.2.1 on SMF 1.0.5. I got it working, then I started to get the
Fatal error: Call to undefined function: parse_bbc() in /home/***/public_html/forums/Sources/Arcade2.php on line 280
Like [Unknown] said, the function parse_bbc() doesn't exist in 1.0.x... The function in 1.0.x is doUBBC()... Since that function doesn't exist, that's why you get the error. You may be able to fix it by changing parse_bbc to doUBBC, but 1.1.3 runs just fine, and doesn't give any errors when trying to record a high score (my installation ran perfectly until I tried to record a score, then I got the same error you did)...
Try changing that function, and let us know how it works... There's a few folks over on the smfgames forum that are having this issue as well, and if there's a simple fix, that would be ideal, you know?
I gave this a try. On line 280 and then 284 I changed the parse_bbc to doUBBC, but now I get this error:Code SelectParse error: parse error, unexpected T_FUNCTION in /home/xxxxxx/public_html/xxxxxxxxxx/Sources/Arcade2.php on line 305
Quote from: Libo on July 28, 2005, 12:12:30 PM
I get this error message when I visit the arcade home:Quote8: Undefined index: member
File: /home/u1/libo/html/Themes/default/languages/Arcade.english.php (eval?)
Line: 220
And this one when i submit scores:Quote8: Undefined index: member
File: /home/u1/libo/html/Sources/Arcade.php
Line: 434
and sometimes thisQuote8: Undefined index: memberid
File: /home/u1/libo/html/Sources/Arcade2.php
Line: 454
http://www.monopolysquad.co.uk/CED/index.php?topic=1843.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: game
File: /home/monopoly/public_html/CED/Sources/Display.php
Line: 675
-------------------------------------------------
http://www.monopolysquad.co.uk/CED/index.php?topic=1843.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: i
File: /home/monopoly/public_html/CED/Sources/Display.php
Line: 672
-------------------------------------------------
672 $context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default
673
674 foreach($ext as $ex){
675 if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
676 $context['arcade']['games'][$i]['thumbnail'] = $modSettings['arcade_games_url']."/".$game['game'].".".$ex;
677 break;
678 }
679 }
Quote from: Togster on July 30, 2005, 10:35:30 AM
Hi, I have the arcade working well on 1.1 Beta 3, it is excellent, I just get pages and pages of messages in the Error log when anyone visits and plays the arcade, it works, but creates an error log entry, they are as follows:-Code Selecthttp://www.monopolysquad.co.uk/CED/index.php?topic=1843.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: game
File: /home/monopoly/public_html/CED/Sources/Display.php
Line: 675
-------------------------------------------------
http://www.monopolysquad.co.uk/CED/index.php?topic=1843.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: i
File: /home/monopoly/public_html/CED/Sources/Display.php
Line: 672
-------------------------------------------------
672 $context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default
673
674 foreach($ext as $ex){
675 if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
676 $context['arcade']['games'][$i]['thumbnail'] = $modSettings['arcade_games_url']."/".$game['game'].".".$ex;
677 break;
678 }
679 }
any ideas?? help greatly appreciated :)
/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ, {$db_prefix}games
WHERE {$db_prefix}games_champ.game={$db_prefix}games.game",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))
{
if(!empty($rivi['game']) && !empty($rivi['member']))
$arcade_champ[$rivi['member']][$rivi['game']] = $rivi;
if(file_exists("./Games/{$rivi['game']}.gif")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.gif";
}
elseif(file_exists("./Games/{$rivi['game']}.GIF")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.GIF";
}
elseif(file_exists("./Games/{$rivi['game']}.png")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.png";
}
elseif(file_exists("./Games/{$rivi['game']}.PNG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.PNG";
}
elseif(file_exists("./Games/{$rivi['game']}.jpg")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.jpg";
}
elseif(file_exists("./Games/{$rivi['game']}.JPG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.JPG";
}
else{
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "";
}
}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;
Quote from: Libo on July 31, 2005, 09:40:02 AM
use this code instead of the normal code:Code Select/* Arcade thingy */
$arcade_champ = array();
$req = db_query("SELECT * FROM {$db_prefix}games_champ, {$db_prefix}games
WHERE {$db_prefix}games_champ.game={$db_prefix}games.game",__FILE__,__LINE__);
while ($rivi = mysql_fetch_assoc($req))
{
if(!empty($rivi['game']) && !empty($rivi['member']))
$arcade_champ[$rivi['member']][$rivi['game']] = $rivi;
if(file_exists("./Games/{$rivi['game']}.gif")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.gif";
}
elseif(file_exists("./Games/{$rivi['game']}.GIF")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.GIF";
}
elseif(file_exists("./Games/{$rivi['game']}.png")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.png";
}
elseif(file_exists("./Games/{$rivi['game']}.PNG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.PNG";
}
elseif(file_exists("./Games/{$rivi['game']}.jpg")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.jpg";
}
elseif(file_exists("./Games/{$rivi['game']}.JPG")){
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "Games/{$rivi['game']}.JPG";
}
else{
$arcade_champ[$rivi['member']][$rivi['game']]['thumbnail'] = "";
}
}
loadLanguage('Arcade'); // We need strings from Arcade language file
$context['arcade']['champions'] = $arcade_champ;
I got it from www.smfgame.com very useful.
Quote from: flowerweb on July 31, 2005, 12:54:58 PM
I don't want to appear champions arcade under the avatar, buta i would like to appear under the signature, like signature whit a line separator.
Moreover I wanted that if a user is champion in several games, that came shown without to go to head for every game.
What code i have to edit?
Quote from: littleone on July 24, 2005, 09:16:48 AMQuote from: oldmanwolf on July 22, 2005, 03:54:55 AMQuote from: pmp6nl on July 22, 2005, 02:44:49 AM
No you can run 1.2.1 on SMF 1.0.5. I got it working, then I started to get the
Fatal error: Call to undefined function: parse_bbc() in /home/***/public_html/forums/Sources/Arcade2.php on line 280
Like [Unknown] said, the function parse_bbc() doesn't exist in 1.0.x... The function in 1.0.x is doUBBC()... Since that function doesn't exist, that's why you get the error. You may be able to fix it by changing parse_bbc to doUBBC, but 1.1.3 runs just fine, and doesn't give any errors when trying to record a high score (my installation ran perfectly until I tried to record a score, then I got the same error you did)...
Try changing that function, and let us know how it works... There's a few folks over on the smfgames forum that are having this issue as well, and if there's a simple fix, that would be ideal, you know?
I gave this a try. On line 280 and then 284 I changed the parse_bbc to doUBBC, but now I get this error:Code SelectParse error: parse error, unexpected T_FUNCTION in /home/xxxxxx/public_html/xxxxxxxxxx/Sources/Arcade2.php on line 305
Quote from: Libo on July 31, 2005, 02:40:02 PMQuote from: flowerweb on July 31, 2005, 12:54:58 PM
I don't want to appear champions arcade under the avatar, buta i would like to appear under the signature, like signature whit a line separator.
Moreover I wanted that if a user is champion in several games, that came shown without to go to head for every game.
What code i have to edit?
Edit the display.template.php . Delete the original code...
edit is for display.template.php so that your champion icons show in a row under your forum signature.
replace:
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%; padding-bottom: 3px;" class="signature">', $message['member']['signature'], '</div>';
with the following:
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%; padding-bottom: 3px;" class="signature">', $message['member']['signature'], '</div><hr />';
if(@is_array($context['arcade']['champions'][ $message['member']['id'] ])){
$i = 0;
echo "SmfArcade Champion ";
foreach($context['arcade']['champions'][ $message['member']['id'] ] as $tmp){
//print_r($tmp);
if($tmp['thumbnail'] != ''){
// echo '
// <img src="', $tmp['thumbnail'], '" alt="" width="20">',$tmp['name'],' ', $txt['arcade_136'],'
';
echo '<a href="', $scripturl, '?action=arcade;do=play;game=',$tmp['id'],'" ><img border="0" src="', $tmp['thumbnail'], '" alt="', $tmp['name'] ,'" width="20" height="20"></a> ';
}
}
}
Got it from smfgames. I dont know what you mean by that came shown without to go to head for every game
$x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['memberid']}', game='{$arr['game']}', stime='{$top[0]['time']}'";
$x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['member']}', game='{$arr['game']}', stime='{$top[0]['time']}'";
echo "<td><a href=\"$scripturl?action=profile;u={$tmp['member']}\">{$user_profile[$tmp['member']]['realName']}</a></td><td width=\"100\"><img src=\"" . $settings['images_url'] . '/bar.gif" width="' . $tmp['precent'] . "\" height=\"15\" alt=\"".$tmp['precent']."%\" border=\"0\" /></td><td>{$tmp['cnt']}</td>";
echo "<td><a href=\"$scripturl?action=profile;u={$tmp['member']}\">{$user_profile[$tmp['member']]['realName']}</a></td><td width=\"100\"><img src=\"" . $settings['images_url'] . '/bar.gif" width="' . $tmp['precent'] . "\" height=\"15\" alt=\"".$tmp['precent']."%\" border=\"0\" /></td><td>{$tmp['cnt']}</td>";
if(isset($user_profile[$score['member']]))
{
$top10[$i]['member'] = $user_profile[$score['member']];
}
else
{
$top10[$i]['memberid'] = $score['member'];
}
$x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['memberid']}', game='{$arr['game']}', stime='{$top[0]['time']}'";
$x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['member']}', game='{$arr['game']}', stime='{$top[0]['time']}'";
$game_info .= "<b>{$txt['arcade_7']}</b>: {$context['arcade']['top10'][0]['member']}<br /><b>{$txt['arcade_1']}</b>: {$context['arcade']['top10'][0]['score']}<br />";
$game_info .= "<b>{$txt['arcade_7']}</b>: {$context['arcade']['top10'][0]['member']['realName']}<br /><b>{$txt['arcade_1']}</b>: {$context['arcade']['top10'][0]['score']}<br />";
Quote from: Orbit45244 on July 28, 2005, 09:47:58 AM
With SMF 1.0.5, when installing SMFArcade 1.2.1, I get this error when viewing posts:QuoteDatabase Error
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 '' at line 1
File: (censored for security)\Sources\Display.php
Line: 567
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
I also get an error when going into the "Games" section in the Admin CP. It says:Quote
Database Error
Table '(censored for security).smf_games_category' doesn't exist
File: (censored for security)\Sources\ArcadeAdmin.php
Line: 135
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Can anyone help me?
Quote from: Evolution-8 on August 03, 2005, 02:32:41 AMQuote from: Orbit45244 on July 28, 2005, 09:47:58 AM
With SMF 1.0.5, when installing SMFArcade 1.2.1, I get this error when viewing posts:QuoteDatabase Error
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 '' at line 1
File: (censored for security)\Sources\Display.php
Line: 567
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
I also get an error when going into the "Games" section in the Admin CP. It says:Quote
Database Error
Table '(censored for security).smf_games_category' doesn't exist
File: (censored for security)\Sources\ArcadeAdmin.php
Line: 135
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Can anyone help me?
So, how do you fix that? I need to know, my forum is down until that is fixed.
Quote from: scrawl on August 03, 2005, 02:51:02 AMQuote from: Evolution-8 on August 03, 2005, 02:32:41 AMQuote from: Orbit45244 on July 28, 2005, 09:47:58 AM
With SMF 1.0.5, when installing SMFArcade 1.2.1, I get this error when viewing posts:QuoteDatabase Error
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 '' at line 1
File: (censored for security)\Sources\Display.php
Line: 567
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
I also get an error when going into the "Games" section in the Admin CP. It says:Quote
Database Error
Table '(censored for security).smf_games_category' doesn't exist
File: (censored for security)\Sources\ArcadeAdmin.php
Line: 135
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Can anyone help me?
So, how do you fix that? I need to know, my forum is down until that is fixed.
i had this problem as well so i uninstalled the files that had been installed then installed 1.0.3 it works fine on SMF 1.5. but i couldn't get the latest version to work at all. but i don't know that much maybe someone can offer an explanation
Quote from: WhyMan on April 24, 2005, 05:20:23 PM
HI there,
Anyone seen this error b4?Code Select8: Undefined index: version
Looked at the Arcade.english.php and this is what i get at line 421?
File: /home/compfree/public_html/forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 421Code Select$txt['arcade_185'] = "Click here to join";
Now for some reason only admins can see & play the games.. Global mods & users getCode SelectAn Error Has Occurred!
heh i'm pretty sure i've got the permissions right, any input or resolve would be greatly appreciated ;)
You arent allowed to view arcade, sorry!
Cheers.. 8)
'arcade' => array( /* Lisätty */
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
)
Quote'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
),
/////////////////// Code added for SMF-Arcade Redirects ///////////////////////////
if($_GET['option'] != 'com_smf') {
parse_str(preg_replace('/&(\w+)(&|$)/', '&$1=$2', strtr($_SERVER['QUERY_STRING'], ';', '&')), $_GET);
if($_GET['action'] == 'arcade') {
$do_arcade = true;
}
}
if($do_arcade == true) {
define("SMF_ARCADE_PATH", "http://your_site_name/index.php?option=com_smf&Itemid=36&action=arcade");
if($_GET['search'] == 'Search') { // Search Function
header("Location: ".SMF_ARCADE_PATH."&name={$_GET['name']}&order={$_GET['order']}&search=Search");
}
?>
<html>
<head>
<script type="text/javascript">
function form_redirect() {
document.form1.submit(); //Code to pass POST variables to arcade
}
</script>
</head>
<body>
<form name="form1" action="<? echo SMF_ARCADE_PATH;
if($_GET['sa'] == 'challenge') { // Send challenge
echo ';sa=challenge;send';
}
if($_GET['sa'] == 'tournament' && isset($_GET['join'])) { //Join tournament
echo ";sa=tournament;id={$_GET['id']};join";
}
if($_GET['sa'] == 'tournament' && $_GET['new'] == 2) { // New tournament(2)
echo ';sa=tournament;new=2';
}
if($_GET['sa'] == 'tournament' && $_GET['new'] == 3) { // New tournament(3)
echo ';sa=tournament;new=3';
}
?>" method="POST">
<? if($_POST['do'] == 'comment') { ?> <!-- Post comment with score -->
<input type="hidden" name="do" value="<? echo $_POST['do']; ?>">
<input type="hidden" name="time" value="<? echo $_POST['time']; ?>">
<input type="hidden" name="game" value="<? echo $_POST['game']; ?>">
<input type="hidden" name="comment" value="<? echo $_POST['comment']; ?>">
<? } elseif($_GET['sa'] == 'challenge') { ?> <!-- Submit a challenge -->
<input type="hidden" name="to" value="<? echo $_POST['to']; ?>">
<input type="hidden" name="game" value="<? echo $_POST['game']; ?>">
<input type="hidden" name="message" value="<? echo $_POST['message']; ?>">
<? } elseif($_GET['sa'] == 'tournament' && isset($_GET['join'])) { ?> <!-- Join a tournament -->
<input type="hidden" name="pass" value="<? echo $_POST['pass']; ?>">
<? } elseif($_GET['sa'] == 'tournament' && $_GET['new'] == 2) { ?> <!-- New tournament(2) -->
<input type="hidden" name="name" value="<? echo $_POST['name']; ?>">
<input type="hidden" name="rounds" value="<? echo $_POST['rounds']; ?>">
<input type="hidden" name="round2" value="<? echo $_POST['round2']; ?>">
<input type="hidden" name="player" value="<? echo $_POST['player']; ?>">
<input type="hidden" name="player2" value="<? echo $_POST['player2']; ?>">
<input type="hidden" name="pass" value="<? echo $_POST['pass']; ?>">
<input type="hidden" name="type" value="<? echo $_POST['type']; ?>">
<input type="hidden" name="teams" value="<? echo $_POST['teams']; ?>">
<input type="hidden" name="teams2" value="<? echo $_POST['teams2']; ?>">
<? } elseif($_GET['sa'] == 'tournament' && $_GET['new'] == 3) { ?> <!-- New tournament(3) -->
<input type="hidden" name="data" value="<? echo htmlentities($_POST['data']); ?>">
<input type="hidden" name="game[]" value="<? echo $_POST['game[]']; ?>">
<input type="hidden" name="team[]" value="<? echo $_POST['team[]']; ?>">
<? } else { ?> <!-- Submit score -->
<input type="hidden" name="game" value="<? echo $_POST['game']; ?>">
<input type="hidden" name="score" value="<? echo $_POST['score']; ?>">
<? } ?>
</form>
<script type="text/javascript">
form_redirect();
</script>
</body>
</html>
<?
}
else {
Quote from: Phoenixoverlord on August 05, 2005, 07:12:30 AM
I'm having trouble with this mod in SMF 1.0.5. It's bridged with Orstio's 3.19 bridge to Mambo.
I've installed it manually as it didn't want to install anything at all. But I've read the readme and applied all modifications. I get the menu and can enable it for the normal users as well, but I can't install any games.
I've uploaded invaders.swf to the Games dir and it's in the drop down box, but when I press the install button, I get logged out of the forum and nothing happens. I also get a whole bunch of errors:
Undefined variable: latest
File: /home/flaming/public_html/smftest/Sources/Arcade2.php
Line: 400
Undefined index: admin_arcade
File: /home/flaming/public_html/smftest/Themes/default/languages/Arcade.english.php (eval?)
Line: 12
Undefined index: version
File: /home/flaming/public_html/smftest/Themes/default/languages/Arcade.english.php (eval?)
Line: 421
Undefined index: admin_games2
File: /home/flaming/public_html/smftest/Themes/default/languages/Arcade.english.php (eval?)
Line: 118
Also, I've tried downloading the games from smfgames.com but I've only been able to unzip spaceinvaders. All the others give errors. And uploading the zip doesn't work either.
EDIT: ok the game install isn't running smoothly yet, but I know what's going wrong. I've replaced all instances of ?action=arcade or =arcadeadmin with ?option=com_smf&Itemid=26&action=whatever. Just need to find this install line...
Quote from: Libo on August 02, 2005, 09:16:55 PM
Err... the game thumbnails for the champs don't display... I have Search engine friendly urls. When i turn that off, the thumbnails reappear. So, how do I make it able to display...
Quote from: Libo on August 05, 2005, 09:07:22 AM
did u run arcade_sql? This is how, www.yoursite.com/arcade_sql.php . Replace the yoursite.com with your sites adress...
QuoteTable 'xxxxxx_smf5.smf_games_category' doesn't exist
File: /home/xxxxxx/public_html/community/Sources/ArcadeAdmin.php
Line: 191
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
File: /home/xxxxxx/public_html/community/Sources/Display.php
Line: 546
Note: It appears that your database may require an upgrade. Your forum files are currently at version SMF 1.0.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Quote2: Division by zero
File: /home/xxxxxx/public_html/community/Sources/Subs.php
Line: 582
Quote from: Libo on August 04, 2005, 01:50:40 AM
Go to regular users and check the permissions. Also the admin arcade has the enable arcade thing. make sure its enabled.
Quote from: pmp6nl on August 05, 2005, 10:27:38 PMQuote from: Libo on August 04, 2005, 01:50:40 AM
Go to regular users and check the permissions. Also the admin arcade has the enable arcade thing. make sure its enabled.
Yea I tried to do that but, I got this error:
Parse error: parse error, unexpected ',', expecting ')' in /home/***/public_html/forums/Sources/ManagePermissions.php on line 1045
what do I need to modify on line 1045?
Is there some easy way to find line 1045?
thanks
Quote from: oldmanwolf on August 06, 2005, 01:01:40 AMQuote from: pmp6nl on August 05, 2005, 10:27:38 PMQuote from: Libo on August 04, 2005, 01:50:40 AM
Go to regular users and check the permissions. Also the admin arcade has the enable arcade thing. make sure its enabled.
Yea I tried to do that but, I got this error:
Parse error: parse error, unexpected ',', expecting ')' in /home/***/public_html/forums/Sources/ManagePermissions.php on line 1045
what do I need to modify on line 1045?
Is there some easy way to find line 1045?
thanks
The easiest way to find line 1045 is to open it up in Dreamweaver or some other code editing program. I think Dreamweaver may even have a trial version you can d/l and try for 30 days, too... Then just check that line and take out the extra code in it...
'arcade' => array(
'view_arcade' => true,
'play_arcade' => true,
'submit_score' => true,
'challenge_send' => true,
'challenge_view' => true,
'admin_arcade' => true,
),
'board' => array(
'general_board' => array(
'moderate_board' => false,
),
'topic' => array(
'post_new' => false,
'merge_any' => false,
'split_any' => false,
'send_topic' => false,
'make_sticky' => false,
'make_gsticky' => false,
'move' => true,
'lock' => true,
'delete' => true,
'post_reply' => true,
'modify_replies' => false,
'remove_replies' => false,
'announce_topic' => false,
),
Quote from: Libo on August 06, 2005, 02:05:31 AM
Code Select'arcade' => array(
'view_arcade' => true,
'play_arcade' => true,
'submit_score' => true,
'challenge_send' => true,
'challenge_view' => true,
'admin_arcade' => true,
),
'board' => array(
'general_board' => array(
'moderate_board' => false,
),
'topic' => array(
'post_new' => false,
'merge_any' => false,
'split_any' => false,
'send_topic' => false,
'make_sticky' => false,
'make_gsticky' => false,
'move' => true,
'lock' => true,
'delete' => true,
'post_reply' => true,
'modify_replies' => false,
'remove_replies' => false,
'announce_topic' => false,
),
THis is waht u need
Quote from: trenchteam on August 06, 2005, 03:21:12 AM
Im using 1.05 of SMF. Can I use the latest Arcade?
Quote from: pmp6nl on August 06, 2005, 02:30:32 AM
Thanks for fixing that now I get:
2: Invalid argument supplied for foreach()
File: /home/***/public_html/forums/Sources/ManagePermissions.php
Line: 1150
1148-1153
);
foreach ($permissionArray as $perm => $has_own_any)
{
if (isset($context['group']['id']) && $context['group']['id'] == -1 && in_array($perm, $non_guest_permissions))
continue;
Is my coding totally messed up or what?
'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_remote_avatar' => false,
),
'arcade' => array(
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
'admin_arcade' => false,
)
),
Quote from: nokonium on August 06, 2005, 07:36:38 AM
.. now all I have to do is get rid of the 8: Undefined index: version error
echo "<span class=\"smalltext\"><a href=\"http://www.pahajoki.info\">SMF Arcade {$context['arcade']['version']}</a> © Niko Pahajoki 2004-2005</span>";
echo "<span class=\"smalltext\"><a href=\"http://www.pahajoki.info\">SMF Arcade 1.1.3</a> © Niko Pahajoki 2004-2005</span>";
Quote3. Execute Modification Sources/Subs.php Test failedQuoteso I just stopped installation. I have tried suggestions from others, like looking for this line:Quoteif (allowedTo('manage_smileys'))and adding this after it:
$context['admin_areas']['config']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';Quoteif (allowedTo('admin_arcade'))It will show me the Arcade button. But when I run arcade_sql.php or just click on that Arcade link, it will give me a database error (don't have it written down - but I think error 87?).
$context['admin_areas']['config']['areas']['admin_arcade'] = '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>';
I tried to do a clean install (no MODS, started SMF from scratch) of Arcade 1.1.3 on SMF 1.1 but it still won't work. I tried the newest version but it's said that it's not stable on SMF 1.1.
I have high scores that I want to save and move over to this newer version.
Any help would be greatly appreciated.
Thanks.
Quote from: trenchteam on August 06, 2005, 03:21:12 AM
Im using 1.05 of SMF. Can I use the latest Arcade?