Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: niko on October 01, 2004, 02:45:55 PM

Title: SMF Arcade
Post by: niko on October 01, 2004, 02:45:55 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=36)

28.6: Updated 2.5 RC1 package for 2.0RC3

SMF_Arcade_2.0.18.zip for 1.1.x
SMF_Arcade_2.5_RC1_Public.zip for 2.0 RC2/2.0RC3


SMF Arcade 2.5 RC1


Introduction
SMF Arcade adds Arcade section to your forum where users can play games.

Features
Title: Re: SMF Arcade
Post by: niko on October 01, 2004, 03:06:14 PM
SMFArcade is down due to hacking of host.
Title: Re: SMF Arcade Beta 2
Post by: niko on October 02, 2004, 08:24:06 AM
Beta Information:

COMING SOON
Title: Re: SMF Arcade
Post by: roboter88 on October 02, 2004, 09:10:50 AM
Nice i gonna check it out!

Title: Re: SMF Arcade
Post by: 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... ???
Title: Re: SMF Arcade
Post by: diplomat. on October 02, 2004, 10:54:23 PM
anyone tested this on beta 5, just wanted to know before i install it on my forum

edit: the score wont save ... it doesnt say anything on the highscore box ...its just blank
http://www.titaniumwg.com/forums/index.php?action=arcade
Title: Re: SMF Arcade
Post by: b0$$ on October 03, 2004, 06:16:06 AM
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... ???

same thing happened to me.. the game doesnt load and was isntalled twice some how
Title: Re: SMF Arcade
Post by: AIMJournals on October 03, 2004, 08:22:06 AM
OK, glad to hear I'm not the only one who's having this problem.  Any fix for it?
Title: Re: SMF Arcade
Post by: diplomat. on October 03, 2004, 11:42:21 AM
the game works for me, but it doesnt save the high scores

and the game was installed twice for me also
Title: Re: SMF Arcade
Post by: niko on October 04, 2004, 08:13:06 AM
Ok. I'm gonna release fixed version as soon possible but, right now my monitor is broken so this delays update for some days.
Title: Re: SMF Arcade
Post by: niko on October 06, 2004, 09:24:32 AM
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... ???

This will be fixed on Beta 3. But on Beta 2 to fix

Open Sources\Arcade.php

remove Arcade();

i used it to debug
Title: SMF Arcade Beta 3
Post by: niko on October 07, 2004, 12:51:11 PM
Beta 3 is now avaible at: http://pahajoki.info/smfarcade/SMF_Arcade(Beta3).zip

Beta 4 or 5 maybe last beta then 1.00 and 1.10 maybe
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: niko on October 07, 2004, 01:12:07 PM
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

This code was on readme but


on (press){
set (score,high);
set (act,"submit");
set (game,"duckhunt");
set (url,"index.php?action=arcade");
getURL (url, "_self", "POST");
}


game must be unigue id (same must be also on database 'game' field)

i think postvars will work too
Title: Re: SMF Arcade
Post by: roboter88 on October 07, 2004, 01:16:27 PM
OK i will add it later but isnt this very easy to cheat eg. i just call the flash and sent those vars with a nice amount on numbs?

Title: Re: SMF Arcade
Post by: niko on October 07, 2004, 01:25:49 PM
I'm too lazy to code security system with flash and it woulldn't help.

but i'm gonna add reffer check next version.

edit:

if you have any ideas of better security tell me.

i thoght something like getting random hash from php upon submisson with loadvars and then crypt with it. of course when i add SUPPORT for security it wont be required (value on db)
Title: Re: SMF Arcade
Post by: roboter88 on October 07, 2004, 01:48:02 PM
I think 1 start would getting special VARS during the game would be a very good and easy sollution.

eg.
stage 1 gets var a=1;
stage 2  gets var a=2;
or var b=1;

On submit their should be a small function like

if(highscore greater then x && b!=0){
save new highscore
}else{
print(" you fooo tried HACKING us? huuu? hu? no its not ok! ur account just got BANNED entirly for life :)

}

?

:-)
edit:
Please make it actionscript 2.0 compatibel
Title: Re: SMF Arcade
Post by: roboter88 on October 07, 2004, 02:42:26 PM
Btw just some minutes ago they released a mambo game.

IF you intrested and for inspiring reasons visit :-)

http://www.roboter88.de/mambo/index.php?option=com_sweety_keeper39&Itemid=74


cheers
Title: Re: SMF Arcade
Post by: diplomat. on October 07, 2004, 06:15:34 PM
i am a n00b...am i supposed to put that code somewhere for the top scores to save? if so where? :(

on (press){
set (score,high);
set (act,"submit");
set (game,"duckhunt");
set (url,"index.php?action=arcade");
getURL (url, "_self", "POST");
}
Title: Re: SMF Arcade
Post by: niko on October 09, 2004, 09:09:42 AM
OMG! Beta 4 is avaible.

Use http://www.pahajoki.info/server/ as package server

or dl http://www.pahajoki.info/server/SMF_Arcade(Beta4).zip and upload or apply manually

Edit: you can see it in use at http://www.pahajoki.info/ it's still Beta 4 even there reads Beta 3+ :)
Title: Re: SMF Arcade
Post by: umiya on October 14, 2004, 05:41:29 PM
does anyone know how to add the score function to a game?
Title: Re: SMF Arcade
Post by: TheDel on October 14, 2004, 08:16:27 PM
How and where would we go to find/add new games?
Title: Re: SMF Arcade
Post by: umiya on October 14, 2004, 08:26:45 PM
http://www.ibproarcade.com  is where i would get mine from they all are free games....i would jsut change the score function
Title: Re: SMF Arcade
Post by: diplomat. on October 14, 2004, 11:27:27 PM
yeah i need to kno where to get other games also because i tryed on from miniclip.com and it didnt work right.
Title: Re: SMF Arcade
Post by: niko on October 15, 2004, 05:08:18 AM
Quote from: umiya on October 14, 2004, 05:41:29 PM
does anyone know how to add the score function to a game?

get fla file shomehow and then find game over frame add code to it... find out whats score var and set it to 'score' ex. if score was in high set(score,high) or var score = high; or like that i'm not very good in flash :P
Title: Re: SMF Arcade
Post by: Pause on October 15, 2004, 07:53:01 AM
Which EXACT file do I edit to put in the Arcade button? Also, when I go to the arcade, it doesn't have anything there... - http://www.intrepidentertainment.co.uk/smf/index.php?action=arcade
Title: Re: SMF Arcade
Post by: umiya on October 15, 2004, 09:15:03 AM
Quote from: Niko on October 15, 2004, 05:08:18 AM
Quote from: umiya on October 14, 2004, 05:41:29 PM
does anyone know how to add the score function to a game?

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

i knew this much but i need the funcion for it
Title: Re: SMF Arcade
Post by: Hoolio on October 15, 2004, 03:08:01 PM
uhhh i can't even get beta 4 to install... why?
Title: Re: SMF Arcade
Post by: diplomat. on October 17, 2004, 07:09:46 PM
is there a way that i could uninstall a single game?
Title: Re: SMF Arcade
Post by: niko on October 18, 2004, 08:11:13 AM
Not yet. But you can delete from db managment (phpmyadmin etc). This will be included in next version.
Title: Re: SMF Arcade
Post by: Pause on October 19, 2004, 06:23:34 AM
I've installed it, but when I try the test tool (submitting the score) it should go to domain.com/smf/index.php?act=arcade but instead goes to domain.com/index.php?act=arcade
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: niko on October 19, 2004, 10:20:45 AM
Quote from: Bloc on October 19, 2004, 06:43:05 AM
Have this been tested at all...? ;) Reading all the errors here it seems a bit premature to release it as a mod... I am not putting it down, but it must be exhausting to fix things that *should* work from the start?

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

If you have that test-tool included you should download new version
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on October 19, 2004, 05:34:21 PM
Everiting works in rc1, ( exept a smal bug when adding game 2) but where do i put. the icons for the game name ? and how do i add new games to the database ?? do i have to modify arcade.php everytime i add a new game ?
Title: Re: SMF Arcade
Post by: niko on October 20, 2004, 08:02:54 AM
Quote from: Hans_de_Echte on October 19, 2004, 05:34:21 PM
but where do i put. the icons for the game name ?

Games/ Folder

Quote from: Hans_de_Echte on October 19, 2004, 05:34:21 PM
and how do i add new games to the database ??

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

Beta 5 will mostly likely have automatic installer. You need only to create .php file with info.
Beta 5 or 6 is last before 1.00.
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on October 20, 2004, 09:05:25 AM
QuoteGames/ Folder
when i put the gif's in it nothing happens.

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

(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)
Title: Re: SMF Arcade
Post by: Nyx on October 24, 2004, 02:18:33 AM
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'eskiv', 'eskiv', 'Back
:(  :'(
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on October 24, 2004, 08:12:58 AM
Replace in arcade.php
Quotearray(
   'Eskiv',
   'INSERT INTO pahajoki_games VALUES (, \'eskiv\', \'Eskiv\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="200" height="150" id="eskivbw" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/eskivbw.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#ffffff" />\r\n<embed src="Games/eskivbw.swf" quality="high" bgcolor="#ffffff" width="640" height="480" name="eskivbw" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object>\', \'\', \'Collect blocks. But be aware of balls \');')
   );

with
Quotearray('Eskiv', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'eskiv\', \'Eskiv\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="200" height="150" id="eskivbw" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/eskivbw.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#ffffff" />\r\n<embed src="Games/eskivbw.swf" quality="high" bgcolor="#ffffff" width="640" height="480" name="eskivbw" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object>\', \'\', \'Collect blocks. But be aware of balls \');')
   );
Title: Re: SMF Arcade
Post by: DoW Kid Rock on October 25, 2004, 10:59:55 PM
says it installed fine, but can't get to my arcade at:

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

Title: Re: SMF Arcade
Post by: Bullcat Webhosting on October 26, 2004, 07:28:31 AM
Have you upload al the files ?? also the template file ??
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: niko on October 26, 2004, 04:23:08 PM
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

use index.php?action=arcade&do=admin to do sql queries

and remember Betas are never fully working howeover first 'full version' should be done soon

Ibproarcade games aren't supported howeover it would be cool if it would but i think ib uses diffrent style url's,  vbulltin arcade games support would be cool too, maybe sometime maybe not.

Of course you can edit games action script, but it's illegal without permisson, so ask gamemaker before you do that :)
Title: Re: SMF Arcade
Post by: Oldiesmann on October 27, 2004, 08:25:19 PM
Niko - talk to the folks at PNFlashGames (http://www.pnflashgames.com). They've got plenty of games you can use ;)
Title: Re: SMF Arcade
Post by: umiya on October 27, 2004, 10:39:53 PM
all games at ibpro aracde have full write permissions
Title: Re: SMF Arcade
Post by: crazystu on October 27, 2004, 11:04:13 PM
I didn't notice this mod, but I did now. I'll help by doing games for it

When I do games, they should be up here (http://smfgames.com), but at the moment the page doesn't exist as I haven't started yet.
Title: Re: SMF Arcade
Post by: crazystu 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)
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on October 29, 2004, 03:47:09 AM
I download breakout, no submit is done :(
Title: Re: SMF Arcade
Post by: niko on October 29, 2004, 08:40:29 AM
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/)

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:

if(isset($_POST['act'])) $_POST['do'] = $_POST['act'];

add after:

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

Title: Re: SMF Arcade
Post by: Bullcat Webhosting on October 29, 2004, 09:08:34 AM
YEs, thats works fine here, in breakout, now i download the other games, and take a look ! Thanks
Title: Re: SMF Arcade
Post by: umiya on October 29, 2004, 12:44:03 PM
trying to add the new games but have no clue how :-/
Title: Re: SMF Arcade
Post by: crazystu on October 29, 2004, 02:56:57 PM
Quote from: Niko on October 29, 2004, 08:40:29 AM
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:

if(isset($_POST['act'])) $_POST['do'] = $_POST['act'];

add after:

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


I 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.

ps. bug fixed in sagaofsai, redownload it here (http://smfgames.com) and also, check there soon as I have a bunch of games comming.
Title: Re: SMF Arcade
Post by: umiya on October 29, 2004, 04:24:10 PM
can someone inform me of how to add a game...i added the code to one of my own games and wish to add it but cant figure out how and there was no read me on how to install games :-|
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on October 29, 2004, 04:43:29 PM
The code below, add all the download games to arcade.php, just download all the games, en add this code to arcade.php !

// Games list
// $games = array('Display name in install','Sql query to excute on install');
$games = array(
array('Duck Hunt', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'duckhunt\', \'Duck Hunt\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="duckhunt.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/duckhunt.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/duckhunt.swf" quality="high" bgcolor="#000000" width="450" height="393" name="duckhunt.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Hunt ducks. Classic game\')'),
array('Pinguin', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pinguin\', \'Pinguin\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="pingviinikibpa.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/pingviinikibpa.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/pingviinikibpa.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pingviinikibpa.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Pinguin. Classic game\')'),
array('Pacman', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pacman\', \'Pacman\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="pacman.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/pacman.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/pacman.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pacman.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Pacman. Classic game\')'),
array('Breakout', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'breakout\', \'Breakout\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="breakout.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/breakout.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/breakout.swf" quality="high" bgcolor="#000000" width="450" height="393" name="breakout.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Breakout. Classic game\')'),
array('Spacehunter', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'spacehunter\', \'Spacehunter\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="spacehunter.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/spacehunter.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/spacehunter.swf" quality="high" bgcolor="#000000" width="450" height="393" name="spacehunter.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Spacehunter. Classic game\')'),
array('Snake', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'snake\', \'Snake\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="snake.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/snake.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/breakout.swf" quality="high" bgcolor="#000000" width="450" height="393" name="snake.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Snake. Classic game\')'),
array('Simpsons', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'simpsons\', \'Simpsons\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="simpsons.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/simpsons.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/simpsons.swf" quality="high" bgcolor="#000000" width="450" height="393" name="simpsons.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Simpsons. Classic game\')'),
array('Sagaofsai', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'sagaofsai\', \'Sagaofsai\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="sagaofsai.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/sagaofsai.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/sagaofsai.swf" quality="high" bgcolor="#000000" width="450" height="393" name="sagaofsai.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Sagaofsai. Classic game\')'),
array('Rshot3', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'rshot3\', \'Rshot3\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="rshot3.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/rshot3.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/rshot3.swf" quality="high" bgcolor="#000000" width="450" height="393" name="rshot3.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Rshot3. Classic game\')'),
array('Project_orion', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'project_orion\', \'Project_orion\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="project_orion.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/project_orion.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/project_orion.swf" quality="high" bgcolor="#000000" width="450" height="393" name="project_orion.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Project_orion. Classic game\')'),
array('Pingbrick', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'pingbrick\', \'Pingbrick\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="pingbrick.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/pingbrickbreakout.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/pingbrick.swf" quality="high" bgcolor="#000000" width="450" height="393" name="pingbrick.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Pingbrick. Classic game\')'),
array('Paul', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'paul\', \'Paul\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="paul.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/paul.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/paul.swf" quality="high" bgcolor="#000000" width="450" height="393" name="paul.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Paul. Classic game\')'),
array('Karts', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'karts\', \'Karts\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="karts.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/karts.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/karts.swf" quality="high" bgcolor="#000000" width="450" height="393" name="karts.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Karts. Classic game\')'),
array('Hexxagon', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'hexxagon\', \'Hexxagon\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="hexxagon.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/hexxagon.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/hexxagon.swf" quality="high" bgcolor="#000000" width="450" height="393" name="hexxagon.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Hexxagon. Classic game\')'),
array('Asteroids', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'asteroids\', \'Asteroids\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="asteroids.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/asteroids.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/asteroids.swf" quality="high" bgcolor="#000000" width="450" height="393" name="asteroids.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Asteroids. Classic game\')'),
array('Xmas-boarding', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'xmas-boarding\', \'Xmas-boarding\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="450" height="393" id="xmas-boarding.swf" align="middle">\r\n <param name="allowScriptAccess" value="sameDomain">\r\n <param name="movie" value="Games/xmas-boarding.swf">\r\n <param name="quality" value="high">\r\n <param name="bgcolor" value="#000000">\r\n <embed src="Games/xmas-boarding.swf" quality="high" bgcolor="#000000" width="450" height="393" name="xmas-boarding.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\r\n</object>\', \'\', \'Xmas-boarding. Classic game\')'),
array('Eskiv', 'INSERT INTO '.$db_prefix.'games VALUES (\'\',\'eskiv\', \'Eskiv\', \'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="200" height="150" id="eskivbw" align="middle">\r\n<param name="allowScriptAccess" value="sameDomain" />\r\n<param name="movie" value="Games/eskivbw.swf" />\r\n<param name="quality" value="high" />\r\n<param name="bgcolor" value="#ffffff" />\r\n<embed src="Games/eskivbw.swf" quality="high" bgcolor="#ffffff" width="640" height="480" name="eskivbw" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\r\n</object>\', \'\', \'Collect blocks. But be aware of balls \');')
);
Title: Re: SMF Arcade
Post by: umiya on October 29, 2004, 06:22:11 PM
so u have to edit arcade .php every tiem u want to add a game:|
Title: Re: SMF Arcade
Post by: diplomat. on October 29, 2004, 07:36:42 PM
yeah you just have to add it in the game list..like another line

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\')'),

and install it using the arcade admin section thingy .. fairly easy, and im a n00b ;)
Title: Re: SMF Arcade
Post by: crazystu 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://smfgames.com)
Also put up a example arcade and a board for support and stuff.
Title: Re: SMF Arcade
Post by: Elijah Bliss on October 29, 2004, 09:23:44 PM
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.

You rock! Would it be too much to ask to throw in a couple of card games like Poker and Black Jack if possible?
Title: Re: SMF Arcade
Post by: Elijah Bliss on October 29, 2004, 09:26:48 PM
Question about the Arcade mod

Will the arcade board's permission system function like the regular board permissions in SMF? For example if I only want particular post count/non post count groups accessing the board, and deny entry to lurkers, would that work?
Title: Re: SMF Arcade
Post by: crazystu on October 30, 2004, 01:26:21 AM
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.
Title: Re: SMF Arcade
Post by: smacktalk on October 30, 2004, 01:38:23 AM
Quote from: Elijah Bliss on October 29, 2004, 09:23:44 PM
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.

You rock! Would it be too much to ask to throw in a couple of card games like Poker and Black Jack if possible?

A couple of games where multiple members can play at the same time would be awsome!!
Title: Re: SMF Arcade
Post by: crazystu on October 30, 2004, 04:28:16 AM
I agree, but most of the time the author don't want them to be converted.
4 more games:
plasmanaut
plasmanautv2
slots
videopoker

Download/View (http://smfgames.com)

I won't be online tomorrow guys, so those games still arn't tested and added to the example arcade.
Title: Re: SMF Arcade
Post by: trenchteam on October 31, 2004, 01:24:08 AM
Does this work with RC2?
Title: Re: SMF Arcade
Post by: Ben_S on October 31, 2004, 11:40:03 AM
A few football (proper football not that stuff americans play) would be nice, Suppose I should say soccer.
Title: Re: SMF Arcade
Post by: niko on October 31, 2004, 02:17:53 PM
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)
Title: Re: SMF Arcade
Post by: Pause on November 04, 2004, 10:29:49 AM
Quote from: Niko on October 31, 2004, 02:17:53 PM
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)
I 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)
Title: Re: SMF Arcade
Post by: Elijah Bliss on November 05, 2004, 03:05:38 AM
Quote from: trenchteam on October 31, 2004, 01:24:08 AM
Does this work with RC2?

yep.
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: niko on November 05, 2004, 12:00:33 PM
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

Yes it is. I think very soon, admin & 'arcade panel' are still not completed


Try also http://www.titanix.net/~niko/server/  as i dont have currently any hosting acc.
Title: Re: SMF Arcade
Post by: crazystu 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://smfgames.com)
Title: Re: SMF Arcade
Post by: soapbath on November 06, 2004, 10:08:31 PM
What would be really cool was if that you did th arrys for the games, but im just being lazy I guess.
Title: Re: SMF Arcade
Post by: crazystu on November 07, 2004, 01:37:04 PM
i have done the arrays for all the current games, do you guys want them?

About sonic, I can't access there site. I have it done though so I'll think about releasing it. About the soccer games, I know a few so I may contact the author.
Title: Re: SMF Arcade
Post by: Elijah Bliss on November 07, 2004, 06:06:04 PM
Quote from: Hans_de_Echte on October 20, 2004, 09:05:25 AM
QuoteGames/ Folder
when i put the gif's in it nothing happens.

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

(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)

Has the thumbnail issue been resolved yet?
Title: Re: SMF Arcade
Post by: Elijah Bliss on November 08, 2004, 05:35:29 AM
Quote from: Hans_de_Echte on October 20, 2004, 09:05:25 AM
QuoteGames/ Folder
when i put the gif's in it nothing happens.

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

(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)

How to get the thumbnails to show:

Find
$context['arcade']['games'][$i]['thumbnail'] = "Games/{$game['thumb']}";

Replace with:
$context['arcade']['games'][$i]['thumbnail'] = "Games/".$game['game'].".gif";

or

$context['arcade']['games'][$i]['thumbnail'] = "Games/".$game['game'].".jpg";

or

$context['arcade']['games'][$i]['thumbnail'] = "Games/".$game['game'].".png";
Title: Re: SMF Arcade
Post by: Pause on November 08, 2004, 08:24:00 AM
Please, someone contact the author of the following game to ask if this can be added!

http://www.123games.dk/game/sport/kingpin/kingpin_eng.htm
Title: Re: SMF Arcade
Post by: soapbath on November 08, 2004, 11:14:44 AM
nesianstyles; Yes please. This would be a great help to me :)
Title: Re: SMF Arcade
Post by: soapbath on November 08, 2004, 11:21:29 AM
Ive contacted the auther of KingPin, lets hope he decides to do the right thing :)
Title: Re: SMF Arcade
Post by: crazystu on November 08, 2004, 11:23:43 PM
if your contacting 123games.dk then what ever they say, they are not the authors of that game, TGFG are.
Title: Re: SMF Arcade
Post by: Pause on November 09, 2004, 06:55:12 AM
I probably should have clarified that I meant TGFG (I just couldn't find contact info on TGFG's site to do it myself)
Title: Re: SMF Arcade
Post by: soapbath on November 09, 2004, 11:05:59 AM
I Did not contact 123games but TGFG :)
Title: Re: SMF Arcade
Post by: Elijah Bliss on November 09, 2004, 06:20:26 PM
I have one more request, the card game "Spades" if you find time.

Thank You.
Title: Re: SMF Arcade
Post by: soapbath on November 11, 2004, 08:33:08 PM
nesianstyles; Have you got them arrays?
Title: Re: SMF Arcade
Post by: Elijah Bliss on November 11, 2004, 08:50:22 PM
Quote from: soapbath on November 11, 2004, 08:33:08 PM
nesianstyles; Have you got them arrays?

Here are some from the games I installed, hopefully this helps:
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.\')')
Title: Re: SMF Arcade
Post by: Hoolio on November 12, 2004, 11:12:12 AM
eh to get your own flash games from sites... download getright the downloading program. then look @ the page source and see what the .swf is called on that page put the url of it into getright and BAM! u have it on your pc
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on November 12, 2004, 11:34:47 AM
Yes but not high scores !
Title: Re: SMF Arcade
Post by: Oldiesmann on November 12, 2004, 01:38:51 PM
What about PNFlashGames.com? Has anybody contacted them yet? They've got a ton of great games.
Title: Re: SMF Arcade
Post by: Kindred on November 12, 2004, 02:57:40 PM
Not to mention, Hoolio... doing it that way (without permission from the author) and then posting the game to your site is illegal.

There are a number of SWF and Flash-optimized games available for download, both free and registered. Why do something illegal?

(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!)
Title: Re: SMF Arcade
Post by: Trekkie101 on November 18, 2004, 08:43:46 AM
Right ive just downloaded the mod, installed it and well tried www.mydomain.com/place/index.php?=action=arcade but it doesnt work, any tips on howm to get to the actual page of the arcade, couldnt find anything here,

Also it was the bigger file beta 4 i downloaded is that wrong?
Title: Re: SMF Arcade
Post by: diplomat. on November 18, 2004, 12:04:02 PM
you got this
http://www.mydomain.com/place/index.php?=action=arcade

is should be this
http://www.mydomain.com/place/index.php?action=arcade
Title: Re: SMF Arcade
Post by: niko on November 18, 2004, 01:17:22 PM
Quote from: kindred on November 12, 2004, 02:57:40 PM
Not to mention, Hoolio... doing it that way (without permission from the author) and then posting the game to your site is illegal.
Yes it is.

Quote from: kindred on November 12, 2004, 02:57:40 PM
There are a number of SWF and Flash-optimized games available for download, both free and registered. Why do something illegal?
True. flashkit.com is good place to find. Google also

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!)

SMF Games to be ran on PNFlash, maybe i should reprisal and make smf acade support pnflash games... or then not i don't have time :P
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: niko on November 18, 2004, 01:40:24 PM
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.

So what's error that comes? If it's about sql queries read readme.
if board index shows up repair index.php's action array (add arcade there) line can be found at readme too
Title: Re: SMF Arcade
Post by: Oldiesmann on November 19, 2004, 09:13:19 PM
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.

Did find one bug though.

Sources/Arcade.php

Find
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 \');')
);


Replace
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 \');')
);


Otherwise Eskiv won't install.
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: Oldiesmann on November 19, 2004, 10:24:26 PM
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/)

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...)
Title: Re: SMF Arcade
Post by: niko on November 20, 2004, 08:06:17 AM
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.

Next version has Games Area on arcade admin, also next version will generate html code for flash on fly. This makes easier for do this. I think i make something like this (Install/Unistall/Edit) curerntly edit and remove is working.


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.

This will be too 'fixed' in next version
Title: Re: SMF Arcade
Post by: Oldiesmann on November 22, 2004, 10:40:34 AM
Cool. Can't wait. What about displaying the high scores on the main arcade page? Is that going to be taken care of in the next version?
Title: Re: SMF Arcade
Post by: crazystu on November 22, 2004, 01:31:51 PM
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...)

Have you done this?
Quote from: Nikoin Sources/Arcade.php
find:

if(isset($_POST['act'])) $_POST['do'] = $_POST['act'];

add after:

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

Title: Re: SMF Arcade
Post by: RGSMDNR on December 05, 2004, 05:04:33 PM
can someone explain how to add the button?

thanks
Title: Re: SMF Arcade
Post by: RGSMDNR on December 05, 2004, 07:09:19 PM
i can only get 2 games to submit scores... duck hunt and Eskiv,

is there something im missing for the other games?
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on December 05, 2004, 07:14:19 PM
Read this whole treath !! there a lots of games now !
Title: Re: SMF Arcade
Post by: RGSMDNR on December 05, 2004, 07:30:54 PM
found my problem.. i was adding just any ordinary flash game.. they have to be SMF games..

Title: Re: SMF Arcade
Post by: Bullcat Webhosting on December 06, 2004, 02:12:14 PM
Have you allready found the website with a lot of smf-arcade games ??
Title: Re: SMF Arcade
Post by: RGSMDNR on December 06, 2004, 08:18:44 PM
there was one i found on here...

is there more?
Title: Re: SMF Arcade
Post by: Bullcat Webhosting on December 07, 2004, 02:23:44 AM
Take a look at this site :D http://smfgames.freelinuxhost.com/download.php
Title: Re: SMF Arcade
Post by: RGSMDNR on December 07, 2004, 05:46:44 PM
been there... done that.

they have to be SMF ones so they can register the scores...

NEED MORE!!

:D
Title: Re: SMF Arcade
Post by: crazystu on December 11, 2004, 02:23:09 AM
I guess I better add more games soon, but there is 45 at the moment
Title: Re: SMF Arcade
Post by: Pause on December 13, 2004, 05:24:31 AM
Quote from: nesianstyles on December 11, 2004, 02:23:09 AM
I guess I better add more games soon, but there is 45 at the moment
Is 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...  :)

Niko: Not wanting to rush you or anything, but do you have any idea when you'll be releasing the next version?  :P
Title: Re: SMF Arcade
Post by: niko on December 13, 2004, 08:16:00 AM
This week, hopefully  :)
Title: Re: SMF Arcade
Post by: RGSMDNR on December 13, 2004, 11:10:50 AM
some of my users have been saying that duck hunt wont always record their scores? how can i check this?
Title: Re: SMF Arcade
Post by: niko on December 13, 2004, 12:27:58 PM
Beta 5 is out! Finally
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: Pause on December 15, 2004, 12:27:47 PM
Quote from: Niko on December 13, 2004, 12:27:58 PM
Beta 5 is out! Finally
Great - I'll install it as soon as I get my board back up  :D
Title: Re: SMF Arcade
Post by: niko on December 15, 2004, 01:30:07 PM
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.
I'll look into that

Quote from: DoW Kid Rock on December 15, 2004, 12:17:52 PM
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"
This is 'feature'

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.

Do not press Install Game from acarde... instead upload swf file's to Games/ folder then go to 'Games'  click swf file that you want to install then fill up info that are not filled automagically (Name, Description, Background color)
Title: Re: SMF Arcade
Post by: RGSMDNR on December 15, 2004, 03:01:26 PM
if i install the new version, will it erase the current scores?
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: niko on December 15, 2004, 04:14:27 PM
Quote from: RGSMDNR on December 15, 2004, 03:01:26 PM
if i install the new version, will it erase the current scores?

no they wont be erased just run update function

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?

It is standalone but unlike Beta 4 it does not have bundled games
Title: Re: SMF Arcade
Post by: niko on December 18, 2004, 07:35:40 AM
Now beta 5b is released to fix problems with beta5
Title: Re: SMF Arcade
Post by: Midgard on December 18, 2004, 07:41:24 AM
what is this, how to using?
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: niko on December 18, 2004, 04:14:26 PM
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

is your html code correct?

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

Both seems to be working but use first one :)
Title: Re: SMF Arcade
Post by: DoW Kid Rock on December 18, 2004, 07:15:00 PM
ok this is going to sound stupid, but what html code do I put in there?

I tried putting in this:

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");
}




which was suggested somewhere in this thread, but all it did what print the code on the screen

help!

thank you
Title: Re: SMF Arcade
Post by: 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:

<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
Title: Re: SMF Arcade
Post by: TodaysXt on December 18, 2004, 09:39:37 PM
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:

<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

Thanks so much , just what I needed.  Works great , thanks
Xt.
Title: Re: SMF Arcade
Post by: _complex on December 19, 2004, 01:37:25 AM
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

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 error
Fatal error: Cannot instantiate non-existent class: swfheader in /public_html/smf1/Sources/Arcade.php on line 322

what's the problem with this?
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: _complex on December 19, 2004, 02:18:41 AM
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?

yes i did install betab and i just ran the install.php function that came with the mod...
Title: Re: SMF Arcade
Post by: TodaysXt on December 19, 2004, 03:32:16 AM
Quote from: nviceversa on December 19, 2004, 01:37:25 AM
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

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 error
Fatal error: Cannot instantiate non-existent class: swfheader in /public_html/smf1/Sources/Arcade.php on line 322

what's the problem with this?

I don't know if my Arcade.php is the same as yours?  What do you have on line 322 of that file?

Anyway it might have to do with this .. .
include 'swfheader.php';
I think it goes in the root of your smf dir. CHMOD to 777.
Try that. 
Title: Re: SMF Arcade
Post by: _complex on December 19, 2004, 03:43:05 AM
Lol thanks^ forgot to upload that file  ;D
Title: Re: SMF Arcade
Post by: TodaysXt on December 19, 2004, 12:03:04 PM
Quote from: nviceversa on December 19, 2004, 03:43:05 AM
Lol thanks^ forgot to upload that file  ;D

No Problem, I hope that's all it was.
I'm trying to get this ready and give it to the board as a Christmas present.  Games for everyone.
Merry Christmas
Xt.
Title: Re: SMF Arcade
Post by: diplomat. on December 19, 2004, 09:30:13 PM
im having a few errors
i can get to the arcade section, but at the very top it has this error


Notice: Undefined index: install in /var/www/html/forums/Sources/Arcade.php on line 35


and between the Arcade panel and the games table, has these errors

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


:-\
Title: Re: SMF Arcade
Post by: amiga on December 19, 2004, 10:39:20 PM
Hello!

In the admin , when i clic on "arcade setting"  (index.php?action=arcade;do=admin;sub=settings)...all i have is the message: invalid action

what can i do?

:-*
Title: Re: SMF Arcade
Post by: diplomat. on December 19, 2004, 10:43:21 PM
yeah i have that and these also


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
Title: Re: SMF Arcade
Post by: niko on December 20, 2004, 09:28:44 AM
Settings are not yet changable but...

Notices shows because i have missing some isset() checks but you can set to not display them...
i will fix these to next version...
Title: Re: SMF Arcade
Post by: diplomat. on December 20, 2004, 10:34:14 AM
how do i set to not display them because i turned off that display_errors thing in php.ini but that doesnt turn those Notices off.
Title: Re: SMF Arcade
Post by: niko on December 21, 2004, 06:34:36 AM
error_reporting(E_NONE); i think
Title: Re: SMF Arcade
Post by: 4dd1ct on December 21, 2004, 07:02:11 AM
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?
Title: Re: SMF Arcade
Post by: Pause on December 21, 2004, 08:03:20 AM
Quote from: 4dd1ct on December 21, 2004, 07:02:11 AM
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?
try going to index.php?action=arcade&do=admin and installing that way - that should do it.
Title: Re: SMF Arcade
Post by: 4dd1ct on December 21, 2004, 08:24:31 AM
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. :(
Title: Re: SMF Arcade
Post by: Pause on December 21, 2004, 10:00:07 AM
Quote from: 4dd1ct on December 21, 2004, 08:24:31 AM
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. :(
Which forum version are you using?
Title: Re: SMF Arcade
Post by: 4dd1ct on December 21, 2004, 10:09:26 AM
1.0 RC2.
Title: Re: SMF Arcade
Post by: Pause on December 21, 2004, 10:13:00 AM
Quote from: 4dd1ct on December 21, 2004, 10:09:26 AM
1.0 RC2.
Okay....are you also using the default template?
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: 4dd1ct on December 21, 2004, 10:17:15 AM
Do you mean the default SMF template/theme? I'm using the helios theme if that's what you meant.

4dd
Title: Re: SMF Arcade
Post by: Pause on December 21, 2004, 10:20:32 AM
Quote from: 4dd1ct on December 21, 2004, 10:17:15 AM
Do you mean the default SMF template/theme? I'm using the helios theme if that's what you meant.

4dd
Try switching to the default template and seeing if it works using that then (as most modifications only modify the default SMF theme).
Title: Re: SMF Arcade
Post by: 4dd1ct on December 21, 2004, 10:22:46 AM
Yeh, just tried that - I got a missing template error, so I uploaded arcade.template.php from my custom theme directory into the default category, switched themes and still have exactly the same problem.

Humph :(

Thanks for your help btw Mattitude  :)
Title: Re: SMF Arcade
Post by: DoW Kid Rock on December 21, 2004, 10:23:59 AM
did you upload the arcade.template.php to your template directory you are using?  sorry if it is a dumb question, but am a tech and we are trained to ask dumb questions ;D
Title: Re: SMF Arcade
Post by: 4dd1ct on December 21, 2004, 10:27:58 AM
Yeh I have the templates and everything done correctly I think. Unless it might be a permissions problem?

I hadn't actually played any games yet, however I let duckhunt run through to see if highscores were working. Now if I got to index.php?action=arcade&do=admin I get

Arcade

4dd1ct    4dd1ct1000Duck HuntToday at 03:26:39 PM (1)

Strange...
Title: Re: SMF Arcade
Post by: erzon on December 21, 2004, 10:36:33 AM
how can i install games in my forum? and how many games are availble?
Title: Re: SMF Arcade
Post by: DoW Kid Rock on December 21, 2004, 10:36:56 AM
if you let it run through it will submit your score as 0
Title: Re: SMF Arcade
Post by: DoW Kid Rock on December 21, 2004, 10:37:29 AM
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

here is the post I made a little while ago

Title: Re: SMF Arcade
Post by: 4dd1ct on December 21, 2004, 10:39:58 AM
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

I shot one duck just for luck ;)
Title: Re: SMF Arcade
Post by: DoW Kid Rock on December 21, 2004, 10:44:41 AM
that does sound weird then.  will have to leave that to the author of the game to answer that one then
Title: Re: SMF Arcade
Post by: diplomat. on December 21, 2004, 12:27:54 PM
i just now started to get an error when submitting a comment:


Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/www/html/forums/Sources/Arcade.php on line 101


it just started this morning, didnt happen last night :-\
Title: Re: SMF Arcade
Post by: Pause on December 22, 2004, 08:07:05 AM
Quote from: 4dd1ct on December 21, 2004, 10:22:46 AM
Thanks for your help btw Mattitude  :)
No Problem, that's what I'm here for  ;)

That was all I could think of right now as I don't have access to my own SMF installation to figure it out (reason in my sig), so hopefully somebody else should be able to help  ;)
Title: Re: SMF Arcade
Post by: crazystu 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.com)
Title: Re: SMF Arcade
Post by: Elijah Bliss on December 23, 2004, 11:37:38 PM
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)

Dude, you're the man for Donkey Kong!
Title: Re: SMF Arcade
Post by: SoaringUSAEagle on December 27, 2004, 03:04:44 PM
I got everything added and uploaded... but not able to play any of the games?  Maybe I did something wrong...

Where are we supposed to find these games once we are done installing?
Title: Re: SMF Arcade
Post by: SoaringUSAEagle on December 27, 2004, 03:44:27 PM
Ok, you are able to play the games... for example... http://www.cheatpogo.com/community/games/snake.swf

After the game is over, I get a page with errors...

Warning: mysql_connect(): Access denied for user: 'cheatpog@localhost' (Using password: YES) in /home/cheatpog/.panel/web/bulletin/bb/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/cheatpog/.panel/web/bulletin/bb/db/mysql4.php on line 330

Warning: 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

Could not connect to the database

How am I able to fix the errors, and make a nice little page with the list of games?

This is so confusing with no help file.
Title: Re: SMF Arcade
Post by: johnm on December 28, 2004, 08:25:06 AM
did you install the arcade mod properly?

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

were you using phpbb in the same folder or the same db before you installed smf?
Title: Re: SMF Arcade
Post by: profile on December 29, 2004, 07:14:20 PM
does this mod work with the mambo bridge?
Title: Re: SMF Arcade
Post by: profile on December 30, 2004, 03:53:27 PM
I used the package manager and then got this error:

2: smf_main(/homepages/1x/dxxxx/htdocs/pxxx/forum/Sources/Arcade.php): failed to open stream: No such file or directory

when going to index.php?action=arcade;install=1

Forum was newly installed with no other mods.

What didn't I do correctly?  TIA
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: profile on December 30, 2004, 06:54:50 PM
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

Now I'm getting:
2: Invalid argument supplied for foreach()

Maybe a little too anxious trying to get arcade and SMF to work.   :-[
Title: Re: SMF Arcade
Post by: niko on December 30, 2004, 07:43:27 PM
Quote from: profile on December 30, 2004, 06:54:50 PM
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

Now I'm getting:
2: Invalid argument supplied for foreach()

Maybe a little too anxious trying to get arcade and SMF to work.   :-[

2: Invalid argument supplied for foreach()
File: /users/pahajoki/Themes/default/Arcade.template.php (eval?)
Line: 23
if its that its fixed in Beta 6 (Checks for empty arrays are missing)

If its on Beta 6 CVS it fixed only on my local copy (line: 254)
Title: Re: SMF Arcade
Post by: johnm on December 31, 2004, 07:23:14 AM
Quote from: profile on December 30, 2004, 06:54:50 PM
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

Now I'm getting:
2: Invalid argument supplied for foreach()

Maybe a little too anxious trying to get arcade and SMF to work. :-[


maybee.........

edit

ive installed 5b on a fresh install (smf1.0Final) and it doesnt seem to work

get the same error as profile on the arcade panel


Title: Re: SMF Arcade
Post by: 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 :'(
Title: Re: SMF Arcade
Post by: profile on January 01, 2005, 03:18:41 PM
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 :'(

unfortunately that's what happens when using beta script and in my case, since i'm new to smf and php, i'll just pass on the arcade for now until it's a stable release.  a friend recommended phpbb, but even that looks greek to me.
Title: Re: SMF Arcade
Post by: KuraWeb on January 01, 2005, 07:34:23 PM
Hola, yo tengo muchos problemas, tengo instalada una version del mod, pero se me hace dificil con los juegos que tengo instalados y ademas no me manda los score y desconfiguracion del tamaño del flash, ojala alguien me pueda ayudar.

Titanium Forums have a excelent arcade.

Help.

traslate by a machine xD

Hi, I have many problems, have a version of the mod installed, but it, makes me to him difficult with the games that I have installed and you prop it does not send me the score and desconfiguracion of the size of the flash, ojala someone can help.
Title: Re: SMF Arcade
Post by: johnm on January 02, 2005, 05:25:13 AM
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 :'(

i upgraded to smf1.0 while the arcade(5B) was installed all i had to do was edit index.php, index.template.php and cause there is a "bug" comment out a line in arcade.php
see the posts on nikos site or check the site below
you can see at arcade.cf-uk.net (http://arcade.cf-uk.net)

mind you i havent tried to install it on a fresh copy of smf shouldnt make much differance i guess ???

as for adding new games you could add them via myphpadmin thats how i used to do it when i was using v4.

i havent tried to add any more games to arcade as ive got 50 ish.



Title: Re: SMF Arcade
Post by: niko on January 02, 2005, 05:35:41 AM
For Game install you need to find

                db_query($sql);
and replace it with
                db_query($sql,__FILE__,__LINE__);

There will be soon Beta 5.5 With many fixes after that Beta 6 will be hopefully last Beta version
5.5 is because it lot's of changes compared to Beta5b but it still hasnt all features that are planned for Beta 6
Title: Re: SMF Arcade
Post by: niko on January 02, 2005, 07:30:53 AM
Beta 5.5 Is now added. Please report all bugs
Title: Re: SMF Arcade
Post by: johnm on January 02, 2005, 08:51:10 AM
now im getting this error(arcade5.5b)
Warning: Invalid argument supplied for foreach() in /home/cfukjm/public_html/games/forum/Sources/Load.php(1036) : eval()'d code on line 50


http://games.cf-uk.net/forum/index.php?action=arcade;do=admin

theres more now......these are all displayed in the arcade panel


Notice: Undefined index: arcade_28 in /home/cfukjm/public_html/games/forum/Sources/Load.php(1036) : eval()'d code on line 15
 




Notice: Undefined index: arcade_76 in /home/cfukjm/public_html/games/forum/Sources/Load.php(1036) : eval()'d code on line 48
 

Warning: Invalid argument supplied for foreach() in /home/cfukjm/public_html/games/forum/Sources/Load.php(1036) : eval()'d code on line 50


An Error Has Occurred!
2: Invalid argument supplied for foreach() 
Title: Re: SMF Arcade
Post by: niko on January 02, 2005, 09:15:15 AM
make sure that files are updated at least language file is missing
Title: Re: SMF Arcade
Post by: johnm on January 02, 2005, 09:26:56 AM
now im getting just this error

Warning: Invalid argument supplied for foreach() in /home/cfukjm/public_html/games/forum/Sources/Load.php(1036) : eval()'d code on line 50


An Error Has Occurred!
2: Invalid argument supplied for foreach() 

all of the files from the arcade5.5 package have been uploaded and i have updated the language files
Title: Re: SMF Arcade
Post by: niko on January 02, 2005, 09:45:59 AM
Fixed package out in few minutes (getid3.php had one space after ?> causing erors)
Fixed also 2: Invalid argument supplied for foreach()  if games not installed

My hd broke caused this mess i had to recive a little older version from cvs
Title: Re: SMF Arcade
Post by: johnm on January 02, 2005, 09:54:17 AM
works a treat!!

Title: Re: SMF Arcade
Post by: diplomat. on January 02, 2005, 11:20:06 AM
cool version 5b works smooth fwith 1.0 for me now. think i will stick with it til it becomes final. i got one question tho. is it possible to have all of my games displayed on one page? if not thats cool
Title: Re: SMF Arcade
Post by: profile on January 02, 2005, 02:57:44 PM
error message using package manager


2: file(/homepages/12/dxxx/htdocs/pxxx/forum/Packages/temp/arcade.xml): failed to open stream: No such file or directory
File: /homepages/12/dxxx/htdocs/pxxx/forum/Sources/Packages.php
Line: 406
Title: Re: SMF Arcade
Post by: KuraWeb on January 02, 2005, 07:35:59 PM
Instale la Version 5.5 Todo bien me muestra los puntajes y todo, pero cuando hago click para jugar me carga la pagina pero no la tabla con el juego.

www.rinconotaku.com/index.php?action=arcade

I'm installs the Version 5.5 All good shows me the score and everything, but when I do click to play it loads the page but not the table with the game.

www.rinconotaku.com/index.php?action=arcade

Which is the problem?
Title: Re: SMF Arcade
Post by: johnm on January 03, 2005, 11:28:32 AM
im having the same problem as KuraWeb
but it will work in fire fox any ideas?

are you supposed to remove the html code from it now, as ive noticed that the height and width has changed on all of my games

thanks
Title: Re: SMF Arcade
Post by: Douglas on January 03, 2005, 02:29:53 PM
Trying to add a game in for the very first time.

2: arcade(swfheader.php): failed to open stream: No such file or directory
Title: Re: SMF Arcade
Post by: KuraWeb on January 03, 2005, 04:02:05 PM
Hola johnm , no entendi si pudiste ono arreglar el problema y de donde hay que sacar al codigo html.

Espero una Posible solusion (pienso que es el arcade.template)


Hi johnm, not understand if you could or not arrange the problem and where from it is necessary to extract  the code html.


I wait for a Possible solusion (I think that it is the arcade.template)
Title: Re: SMF Arcade
Post by: Juggler on January 03, 2005, 05:43:40 PM
OK, I've read through the entire thread and I have yet to spot a definitive guide on how to install the mod and then how to install the games.

There's lots of stuff about SQL queries and so on but to a complete Noob it may as well be written in Ancient Greek.

Is there a easily readable guide out there? Thanx
Title: Re: SMF Arcade
Post by: Douglas on January 03, 2005, 05:54:29 PM
The games themselves are easy as heck to install, once you get the mod working right.  Once I get the mod working right, I can type up clear instructions on what you need to do.  :)
Title: Re: SMF Arcade
Post by: Juggler on January 03, 2005, 06:55:44 PM
Fantastic.

Again the support from people on this board is fantastic and SO friendly. I only set my SMF one up following a major screw up with my phpbb one and I haven't looked back since.

I await your guide with baited breath.
Title: Re: SMF Arcade
Post by: JayBachatero on January 04, 2005, 01:28:02 AM
i upgraded to 5.5 but i cant get the games to load.  >:( >:(  any reason why this is happening?
Title: Re: SMF Arcade
Post by: johnm on January 04, 2005, 06:01:11 AM
what i found when installing this mod all it did was change index.php and index.template.php

you then have to upload the files to your sources directory and default theme directory
you also have to upload the getid3 folder to your forum directory.

the only thing that isnt clear to me is what you need to enter when installing games
as in version 5.5? im using the <object> html code at the moment and i know that niko was/is planning to get rid of this.

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.

is any one else having these problems?
Title: Re: SMF Arcade
Post by: finnhack on January 04, 2005, 06:30:55 AM
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.

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:
<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:
<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.
Title: Re: SMF Arcade
Post by: johnm on January 04, 2005, 06:48:54 AM
that could be it but it used to work in 5.0 as i had extra info in that html box (download link for said game) ill change it and see if it works.

is any one still having problems updating games? as i can no longer edit games from the arcade panel i get "2: Missing argument 2 for db_query() " -checked the error logs and its actualy causing an error in subs.php?
Title: Re: SMF Arcade
Post by: johnm on January 04, 2005, 07:58:22 AM
Quote from: finnhack on January 04, 2005, 06:30:55 AM
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.

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:
<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:
<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.



tried this and it doesnt make any differance!
Title: Re: SMF Arcade
Post by: johnm on January 04, 2005, 09:10:51 AM
thanks finnhack after looking through the arcade files i found this in arcade.php

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;
}


and i relaced with.....

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;
}


and it lives!!!

Title: Re: SMF Arcade
Post by: KuraWeb on January 04, 2005, 09:57:31 AM
Hola Remplaza El codigo pero sigue sin funcionar, en el Arcade.Template.

echo '<p align="center">';
echo $context['arcade']['game_html'];
echo "</p>";


echo '<p align="center">';
echo $context['arcade']['game']['html'];
echo "</p>";


En otras partes del template observe que asi ocupaban el codigo,  $context['arcade']['game']['html'];.

   


I replace The code but it continues without working.


In a parts of Arcade.template i see  they were occupying the code,

$context['arcade']['game']['html'];. but  in the Display Game.


echo '<p align="center">';
echo $context['arcade']['game_html'];
echo "</p>";


...

echo '<p align="center">';
echo $context['arcade']['game']['html'];
echo "</p>";


Title: Re: SMF Arcade
Post by: 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;
}

Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: Fanta on January 04, 2005, 10:13:58 AM
Hi,

I need help installing the SMF Arcade. Can anyone give me support?

My MSN is flashgonewild@hotmail.com if you want to help me that way. :)
Title: Re: SMF Arcade
Post by: johnm on January 04, 2005, 04:01:52 PM
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.

you dont need that code if your using the latest version of arcade wich i think is 5.5b(fixed)
Title: Re: SMF Arcade
Post by: KuraWeb on January 04, 2005, 07:41:20 PM
thanks, Works Ok.

all ok

n_n.

Title: Re: SMF Arcade
Post by: Douglas on January 04, 2005, 11:55:06 PM
Quote from: Douglas on January 03, 2005, 02:29:53 PMTrying to add a game in for the very first time.

2: arcade(swfheader.php): failed to open stream: No such file or directory
Still waiting for an answer on this one.  :)
Title: Re: SMF Arcade
Post by: finnhack on January 05, 2005, 02:54:39 AM
Quote from: Douglas on January 04, 2005, 11:55:06 PM
Quote from: Douglas on January 03, 2005, 02:29:53 PMTrying to add a game in for the very first time.

2: arcade(swfheader.php): failed to open stream: No such file or directory
Still waiting for an answer on this one.  :)

Is it possible that your swfheader.php file is missing or placed in wrong folder? I guess that the swfheader.php should be in the forum root folder.
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: niko on January 05, 2005, 01:16:13 PM
Quote from: Douglas on January 04, 2005, 11:55:06 PM
Quote from: Douglas on January 03, 2005, 02:29:53 PMTrying to add a game in for the very first time.

2: arcade(swfheader.php): failed to open stream: No such file or directory
Still waiting for an answer on this one.  :)

Just remove include 'swfheader.php'; :>

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.

Get latest version (Beta 5.5 Fixed)

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;
}



Maybe i should also test with ie, it worked with firefox :)
Title: Re: SMF Arcade
Post by: 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)
Title: Re: SMF Arcade
Post by: _complex on January 05, 2005, 03:05:02 PM
I have an problem also, with this.. I set up the arcade on a test forum of mine, but when i access Arcade (http://www.so-thuggish.net/smf2//index.php?action=arcade) it doesn't load anything but half a template, and when i downloaded the arcade from here.. the file didn't include a umm arcade.template.. well at least i didn't get it.. SOOoo i think i need the template.......
Title: Re: SMF Arcade
Post by: niko on January 05, 2005, 03:37:10 PM
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)

I did remove it but as my hd did crash i forgot reremove it

have you fixed fhtml-function?

nviceversa: Thats ood, try reinstalling i try get Beta 5.6 out tomorrow (GTM+2)

Maybe i should get another test sever :>

Title: Re: SMF Arcade
Post by: Douglas on January 05, 2005, 03:58:06 PM
Went in to edit the game settings, made my changes and saved it..

Missing argument 2 for db_query()

I have implemented the fhtml function you suggested.  Game plays, was trying to adjust the width.  Breakout
Title: Re: SMF Arcade
Post by: _complex on January 05, 2005, 04:05:01 PM
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 :>


I did, i tried about 3 times.. but if your going to release beta 6 or what not tomorrow, ill wait till tomorrow :D
Title: Re: SMF Arcade
Post by: flapper on January 05, 2005, 06:56:13 PM
In the txt file it says

Install instructions:

   1. Change prefix from arcade-x.sql (x is your version)
   2. Apply arcade-x.sql (x is your version) to your database

Sorry im being thick but how do i do this, my arcade was great before i upgraded to smf v1.0

i uploaded the sourse and games dir and now games page is completely clear
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: niko on January 06, 2005, 05:00:18 AM
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.

Package in Beta 5.6 should work i try to get Beta 6 out soon... :)
Title: Re: SMF Arcade
Post by: johnm on January 06, 2005, 09:37:51 AM
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;
}



Maybe i should also test with ie, it worked with firefox :)
Quote

yes it had taken a while to realise that you were using that new function, i spotted it and noticed that it was not the html that i had entered in to the html field. but if you use param id instead of param name then it wont work in ie.

Title: Re: SMF Arcade
Post by: Bullcat Webhosting on January 06, 2005, 10:53:50 AM
is there a solution for this ?? High score 1.503e+06  ???
Title: Re: SMF Arcade
Post by: Juggler on January 06, 2005, 06:05:21 PM
OK I think I've got most of this sorted on my test board but I'm a little shaky on how to install the games. It seems all the files have gone up OK and I even managed to run the SQL query to create the tables OK. I've edited the appropriate php files and now I'm stuck as no matter what I do I can't get the games button to show up and I know I've added the code to all the index.template files.

Where do I go from here??

Additional - OK found the Arcade page after typing it in manually. I click on admin and then games but get :-


An Error Has Occurred!
2: Invalid argument supplied for foreach()
Title: Re: SMF Arcade
Post by: Douglas on January 06, 2005, 10:54:08 PM
Click on the Games link and install a couple games.  Make sure your games are in the "Games" folder in your forum directory.
Title: Re: SMF Arcade
Post by: trenchteam on January 07, 2005, 02:51:26 AM
LInks to download these flash games everyone is using?
Title: Re: SMF Arcade
Post by: _complex on January 07, 2005, 04:10:14 AM
Quote from: trenchteam on January 07, 2005, 02:51:26 AM
LInks to download these flash games everyone is using?

Been here (http://smfgames.freelinuxhost.com/)?
Title: Re: SMF Arcade
Post by: trenchteam on January 07, 2005, 04:49:25 AM
bookmarked. thanks. Now Im just going to wait until all the kinks are out of this package. Seems alot of people are having trouble.
Title: Re: SMF Arcade
Post by: Juggler on January 07, 2005, 09:55:05 AM
Not anymore.

I hadn't put any games in the directory hence the error. (Discovered it about 15 minutes after I posted). All is well and working wonderfully, couldn't have wished for better.

Superb mod and it's going to enhance my message board no end.

Advice for anyone thinking about installing this mod, follow the instructions carefully as they do work and are spot on. Don't be worried about editing the index and index.template files as again the instructions are very straight forward.

I've never seen PHP code before but the readme file was very helpful and it's games heaven on my SMF board now.

Just one question. As long as I have the .swf file for the game should I be able to add it in?
Title: Re: SMF Arcade
Post by: johnm on January 07, 2005, 11:33:57 AM
game downloads

here (http://arcade.cf-uk.net/index.php?ind=downloads)
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: johnm on January 08, 2005, 11:55:11 AM
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?

well if you manage to get the permission from said companies/individuals to alter their games there are tools around to edit the swf files to get the score function working with the arcade mod see here (http://arcade.cf-uk.net/forum/index.php?board=6.0)

nesianstyles is the person to ask
Title: Re: SMF Arcade
Post by: danking on January 09, 2005, 07:14:43 AM
Hi

When will the release be for a version where you can just install with package manager and that will be it done as I have kept trying and keep getting errors also will the next one work with any template great work guys. ;)
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: Elijah Bliss on January 10, 2005, 01:39:00 AM
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.

Go to:
Themes/default/languages/Who.english.php

In Who.english.php
Find:
?>

Add above:
$txt['whoall_arcade'] = 'Playing games in the arcade.';
Title: Re: SMF Arcade
Post by: finnhack on January 10, 2005, 03:14:38 AM
Thanks - that was also the part that I figured out myself - now I wanted to go deeper and show exactly what game the user is playing, for example: 'Playing Frogger in the arcade.' (with link to that game), very much as the way it shows when a user is reading a topic on a board.
Title: Re: SMF Arcade
Post by: Aravot on January 10, 2005, 08:45:46 PM
Hello,

Just installed Arcade beta_5.6 through Package Manager but nothing is showing up, it didn't create or add anything not even game folder to add games. (see pic below)

Package Manager

(http://webpages.charter.net/osipof/smf/arcade.jpg)
Link to Full Size Pic (http://webpages.charter.net/osipof/smf/arcade.png)

FTP View

(http://webpages.charter.net/osipof/smf/ftp.jpg)
Link to Full Size Pic (http://webpages.charter.net/osipof/smf/ftp.png)

Any "How to help" is appreciated, thanks in advance.
Title: Re: SMF Arcade
Post by: Aravot on January 11, 2005, 01:18:34 AM
anyone?
Title: Re: SMF Arcade
Post by: trenchteam on January 11, 2005, 03:20:36 AM
I wondering the same thing. I uploaded the package. but all there is, is a zip in the ftp folder. Where do you add the games?  MY SQL and everything went smoothly. IM lost now???
Title: Re: SMF Arcade
Post by: trenchteam on January 11, 2005, 03:29:02 AM
Quote from: Aravot on January 11, 2005, 01:18:34 AM
anyone?

Im in the same boat as you my friend. i was excited and downloaded all these games, with no where to put them all! LOL
Title: Re: SMF Arcade
Post by: _complex on January 11, 2005, 03:53:19 AM
did you make a Games folder in the same root of your smf dir?.

then upload the games into that dir.

and everything should work.. or use php myadmin
Title: Re: SMF Arcade
Post by: trenchteam on January 11, 2005, 04:10:58 AM
what do we need phpmyadmin for?  I already added the MYSQL database.... I just tryin to figure out how I can view the games, where the admin center for the games, and where to put the games folder
Title: Re: SMF Arcade
Post by: _complex on January 11, 2005, 04:54:36 AM
The Games/ folder need to go in the root dir of the smf i think.

And for the games you downloaded, just upload the .swf to the Games/ folder. And since my arcade isen't working for me.. im trying to remember what i can when it was..

But you should see an "Admin" link once you access the arcade.. or maybe im not understanding?  :-\
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: Aravot on January 11, 2005, 02:17:00 PM
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

Since you got it working, can you help me
Title: Re: SMF Arcade
Post by: _complex on January 11, 2005, 03:43:59 PM
I think you have to add the game folder your self.
Title: Re: SMF Arcade
Post by: trenchteam on January 12, 2005, 12:00:27 AM
You need to add all those folders in the zip manually.  Into the root of your SMF.  then everything works great.

When your done test it using your url.

http://www.whatever.com/index?=arcade   

Then use that URL to link it from your forums....
Title: Re: SMF Arcade
Post by: 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 these


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.
Title: Re: SMF Arcade
Post by: _complex on January 14, 2005, 03:15:28 AM
you uploaded all the files arcade.php to the sources dir? and arcade.template.php to the themes/default dir?..

what's an link to your forum? so that i can see this if you haven't fixed it yet.
Title: Re: SMF Arcade
Post by: johnm on January 14, 2005, 05:50:37 AM
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 these


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
Title: Re: SMF Arcade
Post by: ディン1031 on January 14, 2005, 01:48:57 PM
Quote from: johnm on January 14, 2005, 05:50:37 AM
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 these


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

You must put the new information in all the modification.your language.php file do you have.
In the default theme folder.

-----
The other thing is i corrected all

$score['comment'] == null

to

empty($score['comment'])


necause in the first version a lot of errors are in the errorlog, with the empty version no errors coming into the log.
Title: Re: SMF Arcade
Post by: trenchteam on January 14, 2005, 10:27:01 PM
anyone know of a better version of pacman? this one is hard to control!   :P
Title: Re: SMF Arcade
Post by: crazystu 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
Title: Re: SMF Arcade
Post by: 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.....  :'(
Title: Re: SMF Arcade
Post by: _complex on January 15, 2005, 01:48:57 AM
You didn't run the arcade.sql file.
Title: Re: SMF Arcade
Post by: trenchteam on January 15, 2005, 03:04:49 AM
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

let me know if i can get a copy!
Title: Re: SMF Arcade
Post by: Elijah Bliss on January 15, 2005, 03:19:04 AM
Quote from: trenchteam on January 15, 2005, 03:04:49 AM
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

let me know if i can get a copy!

I second that. :D
Title: Re: SMF Arcade
Post by: ディン1031 on January 15, 2005, 04:15:34 AM
This is the german translation for the Arcarde Mod :).

You must add this at the end of the "Theme/default/Modification.german.php" and Before the "?>" ;)

(The Translator where MellowB a Admin of my Forum :D)

------
Dies ist die deutsche Übersetzung des Arcarde Mods.

Du must die Codepart an das Ende der Datei "Theme/default/Modification.german.php" ab vor den "?>" ;).

(Übersetzter war MellowB ein Admin von meinen Forum :D)


// 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";


I hope not that someone else post this ;).
Title: Re: SMF Arcade
Post by: johnm on January 15, 2005, 06:54:10 AM
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.....  :'(

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)

Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 10:39:18 AM
Johnm, I will installing it right now......... but, this work in other themes?
Title: Re: SMF Arcade
Post by: johnm on January 15, 2005, 11:09:09 AM
yep
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 11:15:44 AM
Quote from: CF-UK.NET on January 15, 2005, 06:54:10 AM
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.....  :'(

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)


When I try to enter to http://gamingalley.webplanethost.com/forum/index.php?action=arcade&do;install=1 I get again that message
"Table 'maufon_smf1.smf_games_high' doesn't exist
File: /home/maufon/public_html/forum/Sources/Arcade.php
Line: 458"

(I alredy made all installation modifications)
Title: Re: SMF Arcade
Post by: _complex on January 15, 2005, 12:50:31 PM
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)
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 01:10:06 PM
Quote from: nviceversa on January 15, 2005, 12:50:31 PM
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)
I know what phpmyadmin is, but I dont know what I have to put in the board
Title: Re: SMF Arcade
Post by: crazystu on January 15, 2005, 03:18:10 PM
Quote from: Elijah Bliss on January 15, 2005, 03:19:04 AM
Quote from: trenchteam on January 15, 2005, 03:04:49 AM
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

let me know if i can get a copy!

I second that. :D
You 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.
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 04:08:08 PM
Please..... I rely need help with this  :'(
Title: Re: SMF Arcade
Post by: _complex on January 15, 2005, 04:16:08 PM
Quote from: maufonseca on January 15, 2005, 04:08:08 PM
Please..... I rely need help with this :'(
I take it you need to run the upgrade command ..
From What i got from myqsql.txt You need to run this in phpadmin.

In the database your forum is on. And Also be sure to change pahajoki to your forum prefix. So if it's smf_ It would look like so CREATE TABLE `smf_games` (

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');
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 04:27:26 PM
THANK YOU YOU ARE WONDERFUL!!!!!!!

THNK YOU!!!!!!!!!!!!!!  :P :P
AND AGAIN,
THANK YOU!!!!!!!!!!!!!!!  :D :D :D
Title: Re: SMF Arcade
Post by: _complex on January 15, 2005, 04:28:01 PM
No Problem ;D
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 04:30:17 PM
Sorry for disturbing again, but when I go to admin/games in Arcade Panel, I get this error message:
Quote2: Invalid argument supplied for foreach()

(I hate those problems)
Title: Re: SMF Arcade
Post by: _complex on January 15, 2005, 04:43:24 PM
is that all you get?.. does the page load ?... is it blank just with the error displaying...

make sure you edited Themes/Default/Langauges/modifaction.english.php also. and uploaded the correct files.
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 05:11:37 PM
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 :(
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 05:25:28 PM
Also, I went to http://gamingalley.webplanethost.com/forum/index.php?action=arcade&do;install=1
and I got thios message:

QuoteQuery is invalid!
Title: Re: SMF Arcade
Post by: diplomat. on January 15, 2005, 06:08:41 PM
http://gamingalley.webplanethost.com/forum/index.php?action=arcade

looks like your arcade is already installed...you just need to install games
Title: Re: SMF Arcade
Post by: trenchteam on January 15, 2005, 06:11:00 PM
Quote from: maufonseca on January 15, 2005, 05:11:37 PM
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 :(
shouldn't matter what theme you use.  Add some games to the game folder.
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 06:16:37 PM
Quote from: trenchteam on January 15, 2005, 06:11:00 PM
Quote from: maufonseca on January 15, 2005, 05:11:37 PM
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 :(
shouldn't matter what theme you use.  Add some games to the game folder.
I 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:
Welcome to Admin!
Please select action from 'Arcade Panel'
I click on "Games" in the Arcade Panel and I get this error message:
An Error Has Occurred!
2: Invalid argument supplied for foreach() 
And in Arcade settings I get this one:
An Error Has Occurred!
This featrue is not done yet 


Title: Re: SMF Arcade
Post by: _complex on January 15, 2005, 06:34:58 PM
the folder should read Games not games

And make sure the ext. of the game is .SWF
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 06:46:29 PM
Quote from: nviceversa on January 15, 2005, 06:34:58 PM
the folder should read Games not games

And make sure the ext. of the game is .SWF

Yeah, 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
I upload the folder, but I still get the error
Title: Re: SMF Arcade
Post by: diplomat. on January 15, 2005, 06:54:21 PM
make sure the "G" is capitalized
Title: Re: SMF Arcade
Post by: maufonseca on January 15, 2005, 06:58:49 PM
I did it!!!!!! Thank You again!!!!! :D
Title: Re: SMF Arcade
Post by: Fanta on January 16, 2005, 08:49:20 AM
How can I make the arcade members only?
Title: Re: SMF Arcade
Post by: johnm on January 16, 2005, 10:17:52 AM
Quote from: Fanta on January 16, 2005, 08:49:20 AM
How can I make the arcade members only?

i dont think the arcade comes with permission settings so this is one way of doing it

in arcade.template.php find

function template_play(){
global $context,  $scripturl,  $txt,$user_info;
// global $settings, $options, $modSettings

echo '<p align="center">';
echo $context['arcade']['game_html'];
echo "</p>";
}


replace with some thing like
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>";
}
}
Title: Re: SMF Arcade
Post by: Fanta on January 16, 2005, 10:25:17 AM
That works! Cheers! ;)
Title: Re: SMF Arcade
Post by: danking on January 16, 2005, 11:09:14 AM
Hi

Im using the xtenchanced theme when will their be  a release when I can install it through mod installer and it will work with the tiniest bit of editing?

Thanks

Dan 8)
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: 1948Pal on January 16, 2005, 08:16:43 PM
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.
Try this
www.smfgames.freelinuxhost.com
Title: Re: SMF Arcade
Post by: Enigma on January 16, 2005, 08:19:29 PM
I get "page can not be displayed"
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: Enigma on January 16, 2005, 08:32:27 PM
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.

I checked my bulk folder already. I even had it resend the activation emai. Are there any other sites?
Title: Re: SMF Arcade
Post by: diplomat. on January 16, 2005, 09:14:11 PM
maybe you should talk to the admin of that site
http://www.simplemachines.org/community/index.php?action=profile;u=7366
Title: Re: SMF Arcade
Post by: johnm on January 17, 2005, 07:32:53 AM
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.

your account is now active

Quote from: Enigma on January 16, 2005, 08:32:27 PM
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.

I checked my bulk folder already. I even had it resend the activation emai. Are there any other sites?

ive created a test account and the registration worked
i had noticed that my server was down for about 2 hours on sunday prehaps you registered around this time. usually i receive an email every tim a member joins i did not receive an email for enigma

as advertised on the site if you get any problems  email webmaster@arcade.cf-uk.net
emails are routed to 2 people so there is a good change well get your email
Title: Re: SMF Arcade
Post by: 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.

:)
Title: Re: SMF Arcade
Post by: Enigma on January 17, 2005, 10:55:02 AM
CF-UK.NET thank you.
Title: Re: SMF Arcade
Post by: redone on January 17, 2005, 10:58:01 AM
Posted there so let's wait and see! Thank you.

:)
Title: Re: SMF Arcade
Post by: redone on January 17, 2005, 01:34:43 PM
Anyone can maybe tell me where I have gone wrong with my Arcade install?

url www.britportal.info

:(
Title: Re: SMF Arcade
Post by: trenchteam on January 17, 2005, 11:47:57 PM
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.

:)

PHPMYADMIN.

Click the SQL link then upload the SQL file in the Arcade zip.
Title: Re: SMF Arcade
Post by: johnm on January 18, 2005, 08:46:54 AM
Quote from: trenchteam on January 17, 2005, 11:47:57 PM
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.

:)

PHPMYADMIN.

Click the SQL link then upload the SQL file in the Arcade zip.


you have tried using this url? http://mydomain.com/forum/index.php?action=arcade&do;install=1

if you are getting errors when going to the arcade admin panel = have you uploaded any games -you need to upload games before you enter arcade admin
Title: Re: SMF Arcade
Post by: redone on January 18, 2005, 02:30:40 PM
Thanks! John was really helpful and I would like to thank him in public for helping me out.

Your site http://arcade.cf-uk.net/index.php is really helpful.

:D
Title: Re: SMF Arcade
Post by: Champi on January 18, 2005, 08:05:36 PM
i ve installed arcade with smf 1.0.1. look what i get :

http://smf.champi.nl/index.php?action=arcade

how to solve this... with 1.0 i did not get that... i also have put a game inside...
Title: Re: SMF Arcade
Post by: _complex on January 18, 2005, 08:10:32 PM
Did you add the text into Themes/default/languages/Modifications.english.php?
Title: Re: SMF Arcade
Post by: Champi 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..
Title: Re: SMF Arcade
Post by: johnm on January 18, 2005, 09:43:08 PM
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..

i will install a test board on my site in a few days to see what i come up with i know that a lot of people have had problems with installing this mod using package manager.

my advice would be to install semi-manually
all you have to do is edit 3 files and instert the mysql file in to my php manual its quite simple if you think about it first and be patient
Title: Re: SMF Arcade
Post by: danking on January 19, 2005, 05:20:57 AM
Hi I this is my site I really would like the arcade on here but am usless when it comes to mysql I am willing to give my hosting details out to someone if they could install it for me as I am willing to trust them please please please can someone do this for me as im quite desperate   :-[
Title: Re: SMF Arcade
Post by: johnm 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
Title: Re: SMF Arcade
Post by: _complex on January 19, 2005, 08:54:54 AM
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

Hey John, I solved this issue for Danking already.
Title: Re: SMF Arcade
Post by: danking on January 19, 2005, 10:17:38 AM
Complex was a great help to me and did it for me I would like to say thankyou  ;D
Title: Re: SMF Arcade
Post by: johnm on January 19, 2005, 11:24:00 AM
Quote from: .COMplex on January 19, 2005, 08:54:54 AM
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

Hey John, I solved this issue for Danking already.

nice one

Just a note to everyone dont be affriad to ask for some help im shure theres plenty of people in here that will help you out if you get any problems installing this mod wich can be a bit tricky on times
Title: Re: SMF Arcade
Post by: danking on January 19, 2005, 04:12:49 PM
www.peertopeerchat.tk this is what it looks like sign up and play some games hope this helps if any1 is unsure what it does
Title: Re: SMF Arcade
Post by: mytreo on January 19, 2005, 06:57:40 PM
John, Niko, everybody thanks for a great mod. Here's a couple of images as my contribution lol

(http://mytreo.net/forum/games/invaders.gif) (http://mytreo.net/forum/games/mahjong.gif) (http://mytreo.net/forum/games/simon.gif) (http://mytreo.net/forum/games/tetris.gif)

1 little problem I spotted - the position of the drop-down box for the game category doesn't save so you have to set it every time you make a change otherwise it reverts back to "No Caterogy" ;)

Best
Chris
Title: Re: SMF Arcade
Post by: profile on January 19, 2005, 11:40:13 PM
the problem is that most people don't see updated information regarding install and manual modification in the mods section, so they're not aware of it.  Well, I for one, wasn't aware of it.  Same goes with the instructions in the package.  What's great about vbulletin mods is that everything is updated in the forum so everyone can refer to it.  that's one thing lacking here with smf.
Title: Re: SMF Arcade
Post by: mytreo on January 20, 2005, 07:01:42 AM
Yes i agree, it can be really confusing around here (especially this thread which has some really out-of-date info in it). Please add your weight to my suggestion for a better process for beta testing mods (http://www.simplemachines.org/community/index.php?topic=24855.0).
Title: Re: SMF Arcade
Post by: Champi on January 20, 2005, 12:09:40 PM
a question... i like this mod, but i want to add more gamez to this mod...

with other gamez (ibproarcade.com by example) it is not possible to submit highscores... when the gamez ends... it goes back to the forum index page in stead of the arcade page...

what files do i have to modify manual to get that done... and which tables do i have to enter with phpmyadmin....? when i have the solution i will try to make also gamepackages for the smf arcade.... (doing what back for smf  :D)

i use 1.0.1. wit smf arcade 5.6..... i saw several solutions but they were for older versions of the arcade mod...   ???

thnx

Title: Re: SMF Arcade
Post by: mytreo on January 20, 2005, 12:20:32 PM
See reply #13 (http://www.simplemachines.org/community/index.php?topic=17447.msg145818#msg145818) and the few replies after that. But as with everything in this thread it may no longer be valid ;)
Title: Re: SMF Arcade
Post by: Champi on January 20, 2005, 01:47:20 PM
i ll give it a try.... thnx for the link....
(http://smf.champi.nl/Themes/black_theme%5B1%5D%5B1%5D/images/dutch/games.gif)

there are not much gamez buttons by the way....

you ll hear form me... if i have worked it out...

Title: Re: SMF Arcade
Post by: mytreo on January 20, 2005, 01:48:45 PM
Do you know is it just a case of editing an action in the swf file in Flash MX? I could do this too, maybe we can build a good library of games for SMF :)
Title: Re: SMF Arcade
Post by: Champi on January 20, 2005, 01:59:17 PM
i will check it now... and give it a try and then will contact you...  ;)
thats a good idea... i have my smf site at smf.champi.nl... perhaps we can put them there... more games are more fun for everyone...

do you mean reply 24 perhaps....
"get fla file somehow 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"
Title: Re: SMF Arcade
Post by: mytreo on January 20, 2005, 02:13:46 PM
No in post #13:

on (press){
set (score,high);
set (act,"submit");
set (game,"duckhunt");
set (url,"index.php?action=arcade");
getURL (url, "_self", "POST");
}


I presume that needs to be put as an action in the swf file.
Title: Re: SMF Arcade
Post by: Champi on January 20, 2005, 02:21:17 PM
ok.... i will work on it tonight... you will hear from me...  ;)
Title: Re: SMF Arcade
Post by: johnm on January 20, 2005, 07:49:05 PM
Just be aware guys that most of the games off ibproarcade are either illegal (been converted without permission) or they have permission to host the games on their site but most of those games wont register the score.

if 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.
you will also need permission to re-distribute the game if you are going to make the modified game available to the public.

if you do manage to convert some new games (with permission) then you could post your new games for the smf arcade community at http://arcade.cf-uk.net (in the download section)

it is worth noting that some companies offer games packages and for a fee they will modify the games to work at your site/forums. if some of you out there have a large member base then prehaps you could put a donate button on your forums and once you have a sufficent amount you could pay for some new games. some game companies will also throw in your logo to make it look like your game.

sorry for going on a bit......

John
Title: Re: SMF Arcade
Post by: mytreo on January 20, 2005, 08:01:40 PM
Quote from: John on January 20, 2005, 07:49:05 PM
sorry for going on a bit......

Not at all, great post I wasn't aware of any of that :)
Title: Re: SMF Arcade
Post by: Champi on January 20, 2005, 08:14:25 PM
You are right... but i thougt most games off ibproarcade were correct gamez...

do you have suggestions.. it could not be the only solution that you have to pay for some gamez... or is it?

most of the available 100 arcade games these days are standard... i ve looked everywhere.. but you always have the same games...

at reply 13 in this topic you mentioned trhe way how to put a game to this mod... is that the correct way??

I tried to edit some files ... but they were secured..  ::)
Title: Re: SMF Arcade
Post by: trenchteam on January 21, 2005, 12:41:19 AM
thanks for the new pacman! Much better! ;D
Title: Re: SMF Arcade
Post by: crazystu on January 21, 2005, 02:19:32 AM
Quotethanks for the new pacman! Much better! ;D
No 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
Title: Re: SMF Arcade
Post by: johnm on January 21, 2005, 04:57:29 AM
i tried to contact some companies to try to arrange some kind of deal

maybe some adveriting (at start/end of game) or something as if you add up most of the possible members/visits to the "collective forums that use the arcade mod" you'd come up with a nice figure

but you guessed it there not interested!

and at arcade.cf-uk.net we wont put up a game with out permission to be modified and redistributed
thats just asking for trouble.

if any one has found a game that can be legally modified post its link at http://arcade.cf-uk.net
and im sure nessianstyles will be happy to convert it to work with this mod, providing he can verify that he/we have permission to do so.

Just out of interest would you all mind posting your link to your forums/sites allong with the hits/visits you get, theres also a link section at our site that you are able to add your own site to.

Thanks and happy hunting
Title: Re: SMF Arcade
Post by: Aravot on January 21, 2005, 01:19:06 PM
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?
Title: Re: SMF Arcade
Post by: crazystu on January 21, 2005, 03:25:06 PM
Quote from: Aravot on January 21, 2005, 01:19:06 PM
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?

Have a look at Neave Pacman ;)
Title: Re: SMF Arcade
Post by: niko on January 21, 2005, 04:06:27 PM
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

Edit:

And mosly likely will have ability to challenge other users
Title: Re: SMF Arcade
Post by: Pause on January 21, 2005, 04:18:03 PM
Quote from: Niko on January 21, 2005, 04:06:27 PM
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
Good to hear- keep up the good work  :D
Title: Re: SMF Arcade
Post by: 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:

Invalid argument supplied for foreach()

so I checked the error log and it has the following:

2: Invalid argument supplied for foreach()
File: /home/patman/public_html/Themes/default/languages/Modifications.english.php (eval?)
Line: 28


any ideas?
Title: Re: SMF Arcade
Post by: _complex on January 22, 2005, 07:13:19 PM
Make sure you added the coding above the

?>

in languages/Modifications.english.php
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 22, 2005, 07:37:55 PM
yes it was automatically installed that way. just upgraded, so am going to take out the mods and install them again.
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 22, 2005, 08:33:41 PM
ok I re-did the upgrade as I thought it might be my skin that was screwing things up, but I was wrong on that one. 

so here is an update.  for some reason the admin team has no problems using the arcade, but everyone else gets the error that I specified above.

any ideas?
Title: Re: SMF Arcade
Post by: johnm on January 23, 2005, 07:28:53 AM
upgraded the forums? or the arcade mod?

if forums and you have no other mods installed upload modifications.english.php from the arcade package to your server see if that sorts it.

and if you have upgraded the forums double check to see if the language files are current, when i upgraded my ftp client didnt overwrite the language files and i think i had the same problem i ended up deleting the default language folder and uploaded the smf final one

hope this helps

John
Title: Re: SMF Arcade
Post by: midnight68 on January 23, 2005, 10:39:12 AM
Hope some one can shed some light on this for me.

I uploaded and got the mod working on a local server backed up me db then tried uploaded the file to my hosting server.

now all i get is this the following error
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 default '',
thumb varchar( 255 ) NOT NULL default '',
DESC text NOT NULL default '',
highscore int( 11 ) NOT NULL default0,
caterogy int( 11 ) NOT NULL default0,
width int( 11 ) NOT NULL default0,
height int( 11 ) NOT NULL default0,
TYPE int( 11 ) NOT NULL default0,
FILE varchar( 255 ) NOT NULL default '',
bgcolor varchar( 7 ) NOT NULL default '#FFFFFF',
PRIMARY KEY ( id )
) TYPE = MYISAM

MySQL said:

You have an error in your SQL syntax near 'DESC text NOT  NULL default  '',
highscore int( 11  )  NOT  NULL default0,
cater' at line 6
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 23, 2005, 10:42:00 AM
have upgraded the forums to 1.1 from RC2 and also upgraded to the latest arcade mod.

yes the language files are current.  can't understand why regular members get the errors, but the admin don't.  is there something in the permissions that would cause the error?
Title: Re: SMF Arcade
Post by: _complex on January 23, 2005, 10:43:01 AM
hmm... Try code

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;
Title: Re: SMF Arcade
Post by: midnight68 on January 23, 2005, 10:48:58 AM
ta very much that worked

strange thing is though its a back up of the forums made through the admin setcion.

you would have thought it would have uploaded ok

thanks again
Title: Re: SMF Arcade
Post by: danking on January 23, 2005, 03:32:56 PM
Hi Guys I was wondering why when I upload flash games they dont show up to be installed is their a way around it.

Thanks
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 23, 2005, 03:38:22 PM
when you go into arcade....click on admin and then click on games....there you can put the info in that is needed
Title: Re: SMF Arcade
Post by: danking on January 23, 2005, 05:41:20 PM
Sorry im confused can u explain in a bit more detail
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 23, 2005, 08:04:53 PM
the following quote is when a regular member clicks on the arcade button

being an admin it doesn't happen.  I just upgraded from RC2 and also upgraded from beta 5 arcade to the newest

any ideas?
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:

Invalid argument supplied for foreach()

so I checked the error log and it has the following:

2: Invalid argument supplied for foreach()
File: /home/patman/public_html/Themes/default/languages/Modifications.english.php (eval?)
Line: 28


any ideas?
Title: Re: SMF Arcade
Post by: 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 error

2: Invalid argument supplied for foreach()
File: /home/ragea/public_html/forums/Themes/amdblack01/Arcade.template.php (eval?)
Line: 164
Title: Re: SMF Arcade
Post by: sammy on January 24, 2005, 07:11:30 AM
i have installed and worked but have a question can anybody helping me with a code that i can see on my forum wich members are playing games.(Games/memebers list)
Title: Re: SMF Arcade
Post by: Seb87 on January 24, 2005, 02:45:16 PM
When the beta6 come from ??
Title: Re: SMF Arcade
Post by: Champi on January 24, 2005, 04:21:11 PM
yeah... beta 6... can we simply upgrade then...?

there are not much interresting games... normal games... and not packages with 100 games with 10 normal thiings in it..

wo wants to join me on a search to more interesting games... we must arrange something...

highscores are very important...

;)

Title: Re: SMF Arcade
Post by: niko on January 25, 2005, 12:58:17 PM
Quote from: champi.nl on January 24, 2005, 04:21:11 PM
yeah... beta 6... can we simply upgrade then...?

Yes.

Quote from: Seb87 on January 24, 2005, 02:45:16 PM
When the beta6 come from ??

Some time this month or early next month :)
if there wont be big problems...
Title: Re: SMF Arcade
Post by: Champi on January 25, 2005, 03:38:05 PM
How can we clean the highscore tables... Or is there a max. of first 100 or something and the rest disapppears...?

greetzz
Title: Re: SMF Arcade
Post by: Champi 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...?
Title: Re: SMF Arcade
Post by: niko on January 26, 2005, 11:05:04 AM
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...?

Current you must clean manually, exepct this to be on Beta 6.x

And Beta 6 is added, please test and report errors
Title: Re: SMF Arcade
Post by: Champi on January 26, 2005, 05:54:01 PM
simply smf_arcade_high??? i think trough phpmyadmin....

another question niko... how van we best upgrade... i have now running 5.6 version at my site...

i have to do evrything manually... cause my package manager does not work well...

can i just simply overwrite the .php files... cause i have already created the tables etc with 5.6...

greetzz
Title: Re: SMF Arcade
Post by: Champi 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
Title: Re: SMF Arcade
Post by: 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 error
QuoteFatal 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
Title: Re: SMF Arcade
Post by: Champi on January 26, 2005, 07:00:28 PM
try to put manually trough phpmyadmin the mysql tables from the mysql.txt... you are missing some tables...

my problems are diffent.. there is missing something else...
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 26, 2005, 09:35:31 PM
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 error

2: Invalid argument supplied for foreach()
File: /home/ragea/public_html/forums/Themes/amdblack01/Arcade.template.php (eval?)
Line: 164


anyone come up with some solutions for this problem?  I have the same one
Title: Re: SMF Arcade
Post by: Pause on January 27, 2005, 07:09:54 AM
I must say Niko, you supplying the mysql.txt just in case the php upgrade doesn't work is something I thank you for - else I probably wouldn't have been able to upgrade the Arcade  ;D
Title: Re: SMF Arcade
Post by: niko on January 27, 2005, 07:30:40 AM
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

Execute following code: (missing from packgage  :()

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;
Title: Re: SMF Arcade
Post by: niko on January 27, 2005, 07:52:08 AM
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 error
QuoteFatal 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
Title: Re: SMF Arcade
Post by: johnm on January 27, 2005, 08:53:00 AM
just installed manually at Smf Acrade games (http://arcade.cf-uk.netseemstobeworkingfine)
Title: Re: SMF Arcade
Post by: Champi on January 27, 2005, 09:33:49 AM
We must havee more gamezzz John... can you arrange more... or shall we look further together...
Higscore tables are imp[ortant otherwise dont like to play... they need a challenge but we havent enough games....
Title: Re: SMF Arcade
Post by: Champi 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...
Title: Re: SMF Arcade
Post by: niko on January 27, 2005, 09:51:16 AM
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...

They arent ready
---
Give him/her permissons from admin...
Title: Re: SMF Arcade
Post by: Champi on January 27, 2005, 09:56:28 AM
So i have to give al my members those permissions.... (isnt that dangerous to give them al admin rights.. ) or is there a possibilty to do that only for SMF Arcade....

Better wait for version 7 or so... the challenge possibility is nice...

i ve made a modification.dutch.php (version5.6)... i wanted to attach it... but it is not possible
link (http://www.champi.nl/smf/index.php?topic=41.0)
greetzz
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 27, 2005, 12:34:07 PM
Actually I misread it and I actually have this error:

2: 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
Title: Re: SMF Arcade
Post by: niko on January 27, 2005, 12:47:06 PM
Quote from: DoW Kid Rock on January 27, 2005, 12:34:07 PM
Actually I misread it and I actually have this error:

2: 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

whats around line 36?
Title: Re: SMF Arcade
Post by: Aravot on January 27, 2005, 01:27:06 PM
Quote from: Niko on January 27, 2005, 07:52:08 AM
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 error
QuoteFatal 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


Since I am upgrading from 5.6 when tried to run manually I got "#1050 - Table 'smf_games' already exists"
Title: Re: SMF Arcade
Post by: niko on January 27, 2005, 01:59:57 PM
oops... just apply new tables only

edit:
in this case challenge and sessions tables
Title: Re: SMF Arcade
Post by: Pause on January 27, 2005, 02:23:26 PM
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
/me suggests to Niko that in future he could use CREATE TABLE IF NOT EXISTS in the sql.txt
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: danoli on January 27, 2005, 05:43:07 PM
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

Spooky, I have exactly the same error as you and almost the same nickname as you?
Title: Re: SMF Arcade
Post by: danolie on January 27, 2005, 06:19:25 PM
Hey Danoli... Danolie here... well, hoepfully us having almost the same screenname and exactly the same problem bodes well for us both finding the solution!

Dan O
Title: Re: SMF Arcade
Post by: danoli on January 27, 2005, 06:23:14 PM
I fixed mine (sort of)
I downloaded the package and in the Documents directory, edited the my_sql.txt file.  I changed the prefix to that used by smf (smf_) and deleted the starting lines so it starts like:
CREATE TABLE `smf_games` (
  `id` int(11) NOT NULL auto_increment,
  `game` varchar(25) NOT NULL default '',

Then used PHPMyAdmin to import this into the database.

Hope this helps.
Title: Re: SMF Arcade
Post by: JayBachatero 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?
Title: Re: SMF Arcade
Post by: Aravot on January 27, 2005, 07:30:25 PM
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

Thanks that was it fixed.
Title: Re: SMF Arcade
Post by: 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)
Title: Re: SMF Arcade
Post by: JayBachatero on January 27, 2005, 08:09:53 PM
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?

ok i got that fixed i reuploaded the files but now im having the same problem as Aravot
Title: Re: SMF Arcade
Post by: johnm on January 27, 2005, 08:24:59 PM
Quote from: LiL_J on January 27, 2005, 08:09:53 PM
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?

ok i got that fixed i reuploaded the files but now im having the same problem as Aravot

use myphpadmin to insert tables manually

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.

champi.nl
i have been looking for ages and ive even sent out some emails/offers but to no avail, prehaps if i start spaming them with my servers they might reply just to get rid of me!!!!!!!!!!





Title: Re: SMF Arcade
Post by: niko on January 28, 2005, 12:40:36 AM
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)

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

Title: Re: SMF Arcade
Post by: pacolls on January 28, 2005, 04:28:20 AM
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

Where is the estructure of table sessions, in the file mysql.txt not exist this table.
Title: Re: SMF Arcade
Post by: niko on January 28, 2005, 05:22:59 AM
Quote from: pacolls on January 28, 2005, 04:28:20 AM
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

Where is the estructure of table sessions, in the file mysql.txt not exist this table.

there http://www.simplemachines.org/community/index.php?topic=17447.msg203309#msg203309
Title: Re: SMF Arcade
Post by: pacolls on January 28, 2005, 05:30:52 AM
Thank you, good job Niko
Title: Re: SMF Arcade
Post by: johnm on January 28, 2005, 08:45:27 AM
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

ok, heres the plan you can ask different if you wish....

im starting to setup www.smfgames.com (arcade.cf-uk.net will be moved to there) why? because the site its self is proving to be a fair success -used 1.4GB of bandwidth for jan -not bad

if you want we could have a subdomain at that site ie beta.smfgames.com or i all ready have smfarcade.info you could have this on a seperate account

up to you pm me to disscus it

John
Title: Re: SMF Arcade
Post by: 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???

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 ;
Title: Re: SMF Arcade
Post by: niko on January 28, 2005, 08:57:22 AM
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???


Alerdy answered many times: http://www.simplemachines.org/community/index.php?topic=17447.msg203309#msg203309
Title: Re: SMF Arcade
Post by: PrideDragon on January 28, 2005, 09:16:30 AM
Quote from: Niko on January 28, 2005, 12:40:36 AM
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)

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???
Title: Re: SMF Arcade
Post by: niko on January 28, 2005, 09:39:58 AM
Quote from: PrideDragon on January 28, 2005, 09:16:30 AM
Quote from: Niko on January 28, 2005, 12:40:36 AM
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)

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???
As i said Arcade Settings is NOT READY and it should NOT work
Title: Re: SMF Arcade
Post by: Aravot on January 28, 2005, 12:45:47 PM
Running SMF 1.0, after upgrading Acrade from b5.6 to b6 when I login as admin, I no more see 'User Info', 'News box' and 'Key stats', menus (or whatever they are called), but normal users don't have that problem, any suggestions.

(http://webpages.charter.net/osipof/smf/arcade/admin.jpg)

(http://webpages.charter.net/osipof/smf/arcade/nonadmin.jpg)
Title: Re: SMF Arcade
Post by: johnm 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
Title: Re: SMF Arcade
Post by: maufonseca on January 28, 2005, 02:48:37 PM
When I am trying to install the new version, I get this error:
2: copy(/home/maufon/public_html/forum/getid3/getid3.php): failed to open stream: Permission denied
File: /home/maufon/public_html/forum/Sources/Subs-Package.php
Line: 961
Title: Re: SMF Arcade
Post by: _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
Title: Re: SMF Arcade
Post by: maufonseca on January 28, 2005, 03:41:42 PM
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

Thanks, I installed, but now I get this message:
Table 'maufon_smf1.smf_games_challenge' doesn't exist
File: /home/maufon/public_html/forum/Sources/Arcade.php
Line: 76

I know I have to add the table manualy in PhpMyAdmin, but I dont know what to put inside the table
Title: Re: SMF Arcade
Post by: niko on January 28, 2005, 05:00:00 PM
Try first aracde_sql.php if it doesnt work then mysql.txt has tables schema
Title: Re: SMF Arcade
Post by: johnm on January 28, 2005, 06:03:58 PM
QuoteI had to CHOMD "Thumbs.db" in my Games Dir

thumbs.db is just left over from windows you dont need this at all so chmodding it shouldnt make a differance
Title: Re: SMF Arcade
Post by: maufonseca on January 28, 2005, 08:59:07 PM
Ok thanks, I get my Arcade runing again with the new vertion  ;)
Title: Re: SMF Arcade
Post by: Aravot on January 28, 2005, 10:48:15 PM
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


I don't have a backup of index.template.php my fault for not backing up, anyway don't know how to fix it, this happens only in admin mode.
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 01:10:27 AM
When installing i get this when trying to run arcade_sql


QuoteFatal error: [] operator not supported for strings in /hsphere/local/home/adminkhi/setuners.com/forum/arcade_sql.php on line 20
Title: Re: SMF Arcade
Post by: niko on January 29, 2005, 01:49:59 AM
Quote from: The Scion Dragon on January 29, 2005, 01:10:27 AM
When installing i get this when trying to run arcade_sql


QuoteFatal error: [] operator not supported for strings in /hsphere/local/home/adminkhi/setuners.com/forum/arcade_sql.php on line 20

then you must do manually queries eg. with phpmyadmin
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 01:55:46 AM
Ok ive entered all the tables from the mysql text and now i get this when i try to play a game



Database Error
Table 'adminkh_forum.smf_games_sessions' doesn't exist
File: /hsphere/local/home/adminkhi/setuners.com/forum/Sources/Arcade.php
Line: 206 
Title: Re: SMF Arcade
Post by: olli on January 29, 2005, 02:38:48 AM
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;


How do i use that code i looked every where but no where seems to help
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 02:55:50 AM
Thanks Olli that was justthe code i needed.. mine work now.. YAY


As Far as the Code I log into my control panel through my host
then log into my PHPmyadmin and pull up my database that smf uses

Click on Mysql and copy paste each table into it and let it find the tables and it adds them to the database..

thats pretty much it.. each set of those text files is just adding a table to the database to store infor / highscoores and such.. hope that helps
Title: Re: SMF Arcade
Post by: olli on January 29, 2005, 03:03:50 AM
copy and past wat tables   that is the only thing im cornfused im in PHPmyadmin i clicked sql and a box came up run sql query  and after that im dead in the water it could be b.c it is so late at my house and there is so much codes and wat not on every page i don't know wat is wat
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 03:16:31 AM
In that box copy the mysql.tct into that and hit go.. it will automatically populate the correct tables for you..
Title: Re: SMF Arcade
Post by: olli on January 29, 2005, 03:43:25 AM
thankz  i had a hard time finding the sql.txt file but it works now thankz
Title: Re: SMF Arcade
Post by: johnm on January 29, 2005, 11:11:33 AM
just to let you all know srcade.cf-uk.net has moved to http://smfgames.com
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 01:30:33 PM
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

Title: Re: SMF Arcade
Post by: Pause on January 29, 2005, 02:30:25 PM
Quote from: The Scion Dragon on January 29, 2005, 01:30:33 PM
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


Go to Administration Center ---> Edit Permissions

Then set the permissions to access and use the arcade.
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 02:38:10 PM
Ive looking the account options and the premissions and I dont see an option to allow the arcade..
Title: Re: SMF Arcade
Post by: johnm on January 29, 2005, 03:27:21 PM
did you apply the mod with package manager?

if you did, did you get any errors?

this version modifies the permissions

otherwise you could try to uninstall then re-install
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 03:31:25 PM
Yes i installed with the package manager but I had to load the tables and all manually.. it added the button and all for me at the top but my members cant get in.. Its not even in the drop down box to Add a permission in the Admin part
Title: Re: SMF Arcade
Post by: johnm on January 29, 2005, 03:40:45 PM
do you want me to take a look if so pm me with your forums url
Title: Re: SMF Arcade
Post by: The Scion Dragon on January 29, 2005, 06:57:02 PM
Thanks again for your help.. everything is working great now!
Title: Re: SMF Arcade
Post by: 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!!
Title: Re: SMF Arcade
Post by: niko on January 30, 2005, 08:43:09 AM
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!!

You dont need to add them just name them correctly eg. <internal_name>.gif/jpg/png
For example:
air_sk8ing.gif 
air_sk8ing.swf
games form smfgames.com use this format and it works with them

And Beta 6.1b is released (To update from 6.1 just upload Sources and Themes directories).
Title: Re: SMF Arcade
Post by: Juggler on January 30, 2005, 12:05:56 PM
OK and now I'm unable to add any games to the forum as well!!

All the files are chmod'ed correctly but I keep getting this error :-

An Error Has Occurred!
2: arcade(./getid3/getid3.php): failed to open stream: Permission denied
File: /home/bluebuz/public_html/smf/Sources/Arcade.php
Line: 375

It will not beat me, It will not beat me.......
Title: Re: SMF Arcade
Post by: johnm on January 30, 2005, 12:49:00 PM
i gather thats when your installing it

either chmod those files and dir again
or delete them (they should be re installed by the installer)

John
Title: Re: SMF Arcade
Post by: olli on January 30, 2005, 01:08:05 PM
ok im having the saem problem  no one can view the  games cause they don't have permission i looked everywhere for the permission but i can't seem to find it.
Title: Re: SMF Arcade
Post by: niko on January 30, 2005, 01:18:15 PM
http://www.kanetti.fi/~pahajoki/.smf/perm.JPG
Title: Re: SMF Arcade
Post by: olli on January 30, 2005, 01:21:42 PM
i re-installed it and it worked thankz
Title: Re: SMF Arcade
Post by: Douglas on January 30, 2005, 03:32:54 PM
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.

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.

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!
Title: Re: SMF Arcade
Post by: Juggler on January 30, 2005, 04:47:15 PM
Knew it wouldn't beat me.

All sorted after a bit of CH Moddind. Dang and blast. It really was THAT simple.
Title: Re: SMF Arcade
Post by: johnm on January 30, 2005, 04:49:37 PM
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.

have you got anywhere with this?
Title: Re: SMF Arcade
Post by: finnhack on January 31, 2005, 08:10:38 AM
Quote from: John on January 30, 2005, 04:49:37 PM
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.

have you got anywhere with this?

Haven't really had the time to look more closely into it, nor do I think that my skills are enough for making it work. So if anyone want's to give it a try it would be really nice. Guess the function could be somehow lent from how the 'someone is reading some topic' is done!?
Title: Re: SMF Arcade
Post by: redone on January 31, 2005, 12:22:25 PM
I would love to upgrade to the latest version. My members love the arcade but I tried to follow the upgrade readme and the package manager will not uninstall the arcade.

Anyone with ideas what I could do?  :(
Title: Re: SMF Arcade
Post by: DoW Kid Rock on January 31, 2005, 01:28:57 PM
ok I finally uninstalled it fully and used the newest version to install and it worked awesome!!!!

thanks for the newest version.  love the challenge feature
Title: Re: SMF Arcade
Post by: Minion on January 31, 2005, 11:47:27 PM
Quote from: Mattitude on January 29, 2005, 02:30:25 PM
Quote from: The Scion Dragon on January 29, 2005, 01:30:33 PM
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


Go to Administration Center ---> Edit Permissions

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!
Title: Re: SMF Arcade
Post by: johnm on February 01, 2005, 05:57:25 AM
Quote from: Minion on January 31, 2005, 11:47:27 PM
Quote from: Mattitude on January 29, 2005, 02:30:25 PM
Quote from: The Scion Dragon on January 29, 2005, 01:30:33 PM
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


Go to Administration Center ---> Edit Permissions

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!

Please read through this thread.
this version of arcade(6.1b) can install its self with out package manager try it first
as for the permissions you need to edit managepermissions.php again see the prev. posts on how to do this
Title: Re: SMF Arcade
Post by: Tony Reid 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
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



Title: Re: SMF Arcade
Post by: Aravot on February 01, 2005, 08:57:40 PM
Upgraded to 6.1b no 'thumbnail' option to add picture for games (see pic), has this option been removed or something wrong with my installation.

(http://webpages.charter.net/osipof/smf/arcade/nogif.gif)
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: Aravot on February 01, 2005, 09:16:16 PM
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

Thanks, it worked
Title: Re: SMF Arcade
Post by: DoW Kid Rock on February 01, 2005, 09:27:35 PM
luckily enough I uploaded a thumbnail that was the same name and it popped up.  others didn't at first until I realized it

you are welcome
Title: Re: SMF Arcade
Post by: niko on February 02, 2005, 08:35:56 AM
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

wait till the user you sent accpets challenge when (s)he has played you must 'accpet' it from challenges (press name of game)
Title: Re: SMF Arcade
Post by: DoW Kid Rock on February 02, 2005, 10:45:50 AM
ok will try that.

thanks for the quick response
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 12:45:53 PM
Okay I'm new here, so new to forum as well, so HI :D

I uploaded everything and ran arcade_sql.php, but it said:

smf_games not found
smf_games_challenge not found
smf_games_high not found
smf_games_caterogy not found
smf_games_sessions not found

what did I do wrong :S and yes I am new to this! but the readme.txt that came with it, is not really in good english or i'm not good at english:

Installing
------------------

1. Upload packgage .zip with packgage manager
2. Apply mod with it
3. Run arcade_sql.php
4. Delete arcade_sql.php with ftp
5. Add Games-button to others than default theme

what did i do wrong?
Title: Re: SMF Arcade
Post by: niko on February 02, 2005, 01:17:39 PM
In first step it checks if tables is alerdy in database and doesnt create if they are

at bottom there are step 2 link press that and it will run queries that are needed
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 01:22:00 PM
okay done that everything said succes and i deleted the file. now what?
Title: Re: SMF Arcade
Post by: niko on February 02, 2005, 02:11:23 PM
It will work after you install package and run arcade_sql.php
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 02:15:36 PM
what package?
Title: Re: SMF Arcade
Post by: niko on February 02, 2005, 02:27:40 PM
Package is teh mod file
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 02:29:16 PM
you mean upload package right? upload it to my hosting and then run the file, which I did, then I did step 2 aswell, but what to do now?
Title: Re: SMF Arcade
Post by: niko on February 02, 2005, 02:30:42 PM
You did apply package with package manager ?
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 02:32:58 PM
ehm no? how do i do that?
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 02:36:06 PM
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
Title: Re: SMF Arcade
Post by: maufonseca on February 02, 2005, 03:17:07 PM
Quote from: Klaas Koopman on February 02, 2005, 02:36:06 PM
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
Enter your FTP and CHMOD 777 this files:
public_html/dikkop /getid3/module.audio-video.swf.php
public_html/dikkop/getid3/getid3.php
public_html/dikkop /getid3/getid3.lib.php
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: johnm on February 02, 2005, 03:46:46 PM
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

CHMOD it to 777 or delete it. not needed anyway
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: Aravot on February 02, 2005, 03:51:39 PM
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?

Yes
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: Aravot on February 02, 2005, 03:53:51 PM
How and where to add more categories like shooting, racing and etc. to Arcade Panel.

Arcade 6.1b category is spelled in correctly, see pic.

(http://webpages.charter.net/osipof/smf/arcade/category.jpg)
Title: Re: SMF Arcade
Post by: Aravot on February 02, 2005, 03:56:52 PM
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?

If you don't have the file copy it to the Themes/default/ location using ftp program.
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: johnm on February 02, 2005, 04:01:46 PM
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?

you need to chmod your themes directory to 777
and change the default theme dir to the same

if you keep having trouble with it manually uplod the files the installer will detect them

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?

chmod it to 777 once the installation is finnished change back to 755

if index.php~ doesn not exist then make a copy of it so you have index.php and index.php~
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 02, 2005, 04:06:03 PM
is that the index in the themes?  i tried the index on the main, and in the themes and in the default, but still giving me that error :S
Title: Re: SMF Arcade
Post by: johnm on February 02, 2005, 04:54:51 PM
should be the forum root one
Title: Re: SMF Arcade
Post by: Tony Reid on February 02, 2005, 04:58:46 PM
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...


Hi Guys,

Just wondering if you are looking at fixing these in a hot fix - or waiting until the next beta?

Tony,


Title: Re: SMF Arcade
Post by: johnm on February 02, 2005, 05:17:29 PM
im not sure, but this may have been fixed allready ive checked the logs at smfgames.com and the only error were getting is a undefined index error in security.php

this will prob be sorted in the next version but remember this is still a beta version( current 6.1b beta)
Title: Re: SMF Arcade
Post by: Tony Reid on February 02, 2005, 05:36:32 PM
ok thanks... im running 6.1b and look forward to the next release :)
Title: Re: SMF Arcade
Post by: Aravot on February 02, 2005, 08:18:47 PM
I was browsing Arcade.php code when I noticed all [category] is spelled [caterogy]
Title: Re: SMF Arcade
Post by: Champi on February 03, 2005, 03:49:39 AM
i upgrade to 6.1b... evrything went fine... how is t possible that some thumbnails disappeared as also the possibilty to add one to a game trough admin settings...??

arcade settings??? what mean those four lines....??

thnx in forward.. ;)
Title: Re: SMF Arcade
Post by: DoW Kid Rock on February 03, 2005, 04:57:24 AM
with the new version all thumbnails must have the same name as the game file.  meaning you don't need to add the thumbnail picture when you install the new game.  so I suggest to take a look at the names of the thumbnails and change their names to the same name as the .swf file and it will work fine
Title: Re: SMF Arcade
Post by: johnm on February 03, 2005, 05:44:19 AM
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]

Doesnt matter how its spelt in arcade.php to correct the spelling you could easily change modifications.english.php
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 03, 2005, 11:22:08 AM
okay i chmodded aswell, but still getting that error, any can help me out? cause i'm desperate!
Title: Re: SMF Arcade
Post by: 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:

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
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 03, 2005, 12:21:51 PM
just read my posts about that ;) just chmod it to 777 ;)
Title: Re: SMF Arcade
Post by: Aravot on February 03, 2005, 06:27:05 PM
After upgrading from 5.6 (no log errors) to 6.1b my forum error log has pages and pages of the following error.

8: Use of undefined constant highscore - assumed 'highscore'
File: /home/mywebsite.com/public_html/smf/Sources/Arcade.php
Line: 200


Line 200 of Arcade.php


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'];


any suggestion how to fix it.
Title: Re: SMF Arcade
Post by: Tony Reid on February 03, 2005, 07:43:07 PM
Ive just noticed that the cideo poker is reporting the highest score to be 6.17509e+06 :)
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: Aravot on February 04, 2005, 12:26:30 AM
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?

If I am not mistaken, version 6.1b adds the button automatically if not this is the code.


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'];

Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: Aravot on February 04, 2005, 01:49:29 AM
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

You need to give them permission, see link below.

Quote from: Niko on January 30, 2005, 01:18:15 PM
http://www.kanetti.fi/~pahajoki/.smf/perm.JPG
Title: Re: SMF Arcade
Post by: AGMR_Rhino on February 04, 2005, 03:24:46 AM
it adds the button to the default  but not to my theme and i dont no were to put the codes or how im just lernin smf could some one walk me through it please the can message me with msn messenger  cjschlicht@msn.com
Title: Re: SMF Arcade
Post by: Tony Reid on February 04, 2005, 03:44:14 AM
There is a readme.txt inside the mod that explains how to add the button to your other themes :)
Title: Re: SMF Arcade
Post by: AGMR_Rhino on February 04, 2005, 03:46:08 AM
ok ill try that
Title: Re: SMF Arcade
Post by: johnm on February 04, 2005, 09:15:16 AM
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:

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


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.
Title: Re: SMF Arcade
Post by: Klaas Koopman on February 04, 2005, 09:16:40 AM
TONY, the install still doesn't work :( anyone out there whou could do it for me maybe, or tell me what to do next, cause i'm stuck!
Title: Re: SMF Arcade
Post by: Waste on February 04, 2005, 09:27:46 AM
Ok, tried a manual install and go this in the arcade_sql.php file:

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 AM
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:

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


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.

Yes, I already tried that.
Which is why I am now trying to do it manually.
I did everything the manual install intructions say and still get a 404 error when going to ?action=arcade

Title: Re: SMF Arcade
Post by: redone on February 04, 2005, 09:35:29 AM
Not sure how to help you I'm afraid. Post in the www.smfgames.com forum and I am sure someone there can help you out.

:)
Title: Re: SMF Arcade
Post by: johnm on February 04, 2005, 03:12:09 PM
has all of the source files been copied to were they need to go?
if no copy/upload them manually
has the database tables been added? again if no add them manually


Title: Re: SMF Arcade
Post by: Dem0n on February 04, 2005, 03:20:52 PM
does this work for the current version? Sorry if this has already been answred.
Title: Re: SMF Arcade
Post by: niko on February 04, 2005, 03:38:53 PM
Quote from: Douglas on January 30, 2005, 03:32:54 PM
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.
Fixed those

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.

Will fix this to next version

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!

Like this (http://www.kanetti.fi/~pahajoki/.smf/post.JPG) with icons added to left?
Title: Re: SMF Arcade
Post by: DoW Kid Rock on February 04, 2005, 04:21:03 PM
Quote from: Niko on February 04, 2005, 03:38:53 PM

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!

Like this (http://www.kanetti.fi/~pahajoki/.smf/post.JPG) with icons added to left?

yeah that would be awesome!
Title: Re: SMF Arcade
Post by: Douglas on February 04, 2005, 04:27:25 PM
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.
Title: Re: SMF Arcade
Post by: Aravot on February 04, 2005, 04:28:07 PM
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?

Is that for the next version?
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: Aravot on February 04, 2005, 05:52:39 PM
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

Douglas, tried your file, I still get following errors.


8: Undefined index: game
File: /mywebsite.com/public_html/smf/Sources/Arcade.php
Line: 554


In your file single quote was missing from line 546 for 'arcade_highscores_per_page', but can't figure whats wrong in line 554, please help if you can.
Title: Re: SMF Arcade
Post by: Douglas on February 04, 2005, 07:38:49 PM
I just fixed the ones that were causing problems on mine.  As I said earlier, there's a bunch of them that need to be fixed.  The errors you are seeing might be because you don't have any games installed.  It happens.  Install some games and then let'er rip.  :)
Title: Re: SMF Arcade
Post by: johnm on February 04, 2005, 08:23:25 PM
We have added 58 new games to smfgames.com
These games are from Miniclip
Score function does not work for these games
to see a full list of these games see
HERE (http://smfgames.com/forum/index.php?action=arcade;caterogy=14)
You can also download these games here! (http://smfgames.com/index.php?ind=downloads&op=section_view&idev=17)
Please read our site policy first (http://smfgames.com/index.php?pid=6)
Title: Re: SMF Arcade
Post by: Tony Reid on February 04, 2005, 08:42:51 PM
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

Thanks Douglas - Ive been using your file for a couple of days ;)

Im still getting these errors...

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

Before I was using your fix I was getting about 13000 errors a day - now only 500 errors a day, so its much better ;D

I guess those lines will be fixed in the next beta :)


Title: Re: SMF Arcade
Post by: Aravot on February 04, 2005, 09:06:22 PM
To get rid of error 546 open file arcade.php find line 546 and add single quote to this

$per_sivu = $modSettings[arcade_highscores_per_page];

should be

$per_sivu = $modSettings['arcade_highscores_per_page'];
Title: Re: SMF Arcade
Post by: Tony Reid on February 04, 2005, 09:19:51 PM
Thank you Aravot :)

Ive just made the change :)
Title: Re: SMF Arcade
Post by: Tony Reid on February 04, 2005, 09:46:44 PM
Hmmm... similar bug here.....

For those with errors in line 503 of Arcade.template.php

search
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>";

replace
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>";
Title: Re: SMF Arcade
Post by: Aravot on February 04, 2005, 10:10:42 PM
Thanks Tony for the bug fix I kept looking in Arcade.php for line 503 didn't realize it was Arcade.template.php.
Title: Re: SMF Arcade
Post by: sammy on February 05, 2005, 12:06:05 PM
I have two errors one on line 154  and one on line 200 please help this are the errors:

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

Title: Re: SMF Arcade
Post by: Douglas on February 05, 2005, 01:55:36 PM
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:

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
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.  :)
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: _complex on February 06, 2005, 04:02:47 PM
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.

Make sure you uploaded, games into your "Games" Folder. There Should be an readme file in the package. And you can get games from SMFgames.com , I think it was.
Title: Re: SMF Arcade
Post by: sammy on February 07, 2005, 04:45:13 AM
I have this error many times with games please help me.

8: Undefined index: game
Bestand: /home/projects/mijndomein/default/....../www/....../Sources/Arcade.php
Regel: 598
Title: Re: SMF Arcade
Post by: greyknight17 on February 07, 2005, 09:16:12 AM
Hi there, I'm trying to install this mod.  Will it work for SMF 1.0.1?  I tried installing this as a test using my computer (localhost) and don't know what to do.

I installed/downloaded it via the Package Manager.  Then I saw all these instructions there.  Not sure what to do there, so I just hit the Proceed button at the bottom to complete the installation.  Is that done correctly?  I now have games button in the top of my forum but I don't know how to upload the games there.  Are they suppose to be in separate folders?  I didn't do anything (move, copy, etc.) - just clicked on Proceed to install it.

I'm very new to adding mods to SMF, so any details will be greatly appreciated.

Thanks.
Title: Re: SMF Arcade
Post by: 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)
Title: Re: SMF Arcade
Post by: Tony Reid 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.

Title: Re: SMF Arcade
Post by: Tony Reid on February 07, 2005, 06:25:20 PM
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)

Was it the one I found? line 245 of Arcade.php or another?
Title: Re: SMF Arcade
Post by: niko on February 08, 2005, 01:31:36 AM
Quote from: Tony on February 07, 2005, 06:25:20 PM
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)

Was it the one I found? line 245 of Arcade.php or another?

Missing 2 x > on arcade.xml
and i think line '245 ' is fixed

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.



Yeah that needs to optimized somehow

Page created in 0.593 seconds with 257 queries. with 50 games on page
and with little optimized that i did
Page created in 0.403 seconds with 152 queries. :)
Title: Re: SMF Arcade
Post by: Jerry on February 08, 2005, 04:43:23 AM
I ran the SQL installer but I get this after install:
Table '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:
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

I ran this with phpmyadmin, will it be ok?
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');
Title: Re: SMF Arcade
Post by: 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/
Title: Re: SMF Arcade
Post by: Dragon Gamer on February 08, 2005, 07:15:00 AM
Ok now that is done what else.

I did that and followed all the instructions but the list of games says none installed.
Title: Re: SMF Arcade
Post by: johnm on February 08, 2005, 07:53:53 AM
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/

you need to edit Display.php and Display.template.php read through arcade.xml to see were the edits need to go
Title: Re: SMF Arcade
Post by: niko on February 08, 2005, 10:05:51 AM
Quote from: Jerry on February 08, 2005, 04:43:23 AM
I ran the SQL installer but I get this after install:
Table '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:
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

I ran this with phpmyadmin, will it be ok?
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');

yes
Title: Re: SMF Arcade
Post by: Elessar on February 08, 2005, 11:29:23 AM
1.0 version upgraded from 6.1b.
When i go to results of a game i found that the page list enlarges to more than 200/500 pages of empty results. All is installed ok, and the modifications are ok too. Any Idea?
Title: Re: SMF Arcade
Post by: Champi 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...
Title: Re: SMF Arcade
Post by: Elessar on February 08, 2005, 11:40:19 AM
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...

Open index.phpFind
'admin' => array('Admin.php', 'Admin'),
Add after
'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('Arcade.php', 'ArcadeAdmin'),

It's possible that you forgot the last line.
Title: Re: SMF Arcade
Post by: Champi on February 08, 2005, 01:17:56 PM
you re right.... i missed 'arcadeadmin' => array('Arcade.php', 'ArcadeAdmin'),   :D
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: _complex on February 08, 2005, 01:48:53 PM
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?

mind giving the error its giving you..
Title: Re: SMF Arcade
Post by: sammy on February 08, 2005, 03:10:28 PM
i have many times this errors on my forum:
Undefined index: game
Undefined variable: time
unserialize(): Argument is not a string
Undefined index: game_html

Have more people this and how can i this fix i have installed SMF Arcade 1.0 and SMF 1.0.1

Please help me !
Title: Re: SMF Arcade
Post by: niko on February 08, 2005, 03:52:09 PM
lines please
Title: Re: SMF Arcade
Post by: 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 !
Title: Re: SMF Arcade
Post by: johnm on February 08, 2005, 08:26:26 PM
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 !

Yes i think were all getting these

Niko theres quite a lot of these errors coming up on smfgames.com when you get a chance it might be worth checking them, im not botherd about them at this time (its not the end of the world! lol )
Just think it may be easier for you to check it there instead of sifting through posts

John
Title: Re: SMF Arcade
Post by: JayBachatero 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.
Title: Re: SMF Arcade
Post by: Sig on February 09, 2005, 05:02:56 AM
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?

yes, I get an error in permissions as well. error on line 998
Title: Re: SMF Arcade
Post by: _complex on February 09, 2005, 03:06:47 PM
Quote from: Sig on February 09, 2005, 05:02:56 AM
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?

yes, I get an error in permissions as well. error on line 998

What does the error line read??.. and what file.. managepermissions.php?
Title: Re: SMF Arcade
Post by: johnm on February 09, 2005, 04:59:11 PM
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.

you wont be able to use ssi but you may be able to include Arcade.template.php
and then call one of its functions.

I'll have a go at this later and ill post back here to let you know
Title: Re: SMF Arcade
Post by: JayBachatero on February 09, 2005, 05:12:03 PM
iight thanks john.
Title: Re: SMF Arcade
Post by: 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.


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.
Title: Re: SMF Arcade
Post by: trenchteam on February 10, 2005, 06:43:02 AM
Quote from: John on February 08, 2005, 07:53:53 AM
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/

you need to edit Display.php and Display.template.php read through arcade.xml to see were the edits need to go

thanks man.  Everyone who is having problems.  Try uploading it manually.  I got the same errors you did. Then I had to give all the files permissions again.  Wala!  I used the sql and it worked for me. 
Title: Re: SMF Arcade
Post by: johnm on February 10, 2005, 08:25:13 AM
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.


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.

try adding thos tables manually one at a time by copying and pasting from the arcade's mysql file to the phpmyadmin sql window
Title: Re: SMF Arcade
Post by: 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)
Title: Re: SMF Arcade
Post by: Midgard on February 12, 2005, 11:23:42 AM
Can't see nothing
Title: Re: SMF Arcade
Post by: maufonseca on February 12, 2005, 11:32:31 AM
Look at the boxes where you can find the high-scores and your high-scores
Also the box that says the categories and the sections (Admin,...)
Title: another error?
Post by: devinshade on February 12, 2005, 12:38:20 PM
Anyone having this error when click on the Arcade [Games] in Admin panel?

2: Invalid argument supplied for foreach()
File: ...\Themes\default\languages\Arcade.english.php (eval?)
Line: 133

Please share the knowledge.  Thanks.
Title: Re: SMF Arcade
Post by: zulfy26 on February 12, 2005, 01:11:33 PM
maufonseca, check the files that were put into the theme folder.  For each theme you need to modify a bunch of files.
Title: Re: SMF Arcade
Post by: niko on February 12, 2005, 01:27:20 PM
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)

That looks like misssing langauge file
Title: Re: SMF Arcade
Post by: maufonseca on February 12, 2005, 01:31:47 PM
Do you have an idea of wich one should it be?
Title: Re: SMF Arcade
Post by: xenovanis on February 12, 2005, 01:52:43 PM
Look in de mod file for the changes made in your english language file and adjust this manually in the language file which you use for your Planetfall theme.
Title: Re: SMF Arcade
Post by: maufonseca on February 12, 2005, 01:55:57 PM
I was missing Modifications.english.php

Thanks :D
Title: Re: SMF Arcade
Post by: Xtasy on February 12, 2005, 08:47:48 PM
Hey guys I have the arcade up and running on the latest version of SMF but Ive run into 1 problem. When I Click admin then arcade settings I recieve the following error: "Query is invalid!" Making it impossible to edit the settings and categories. Anyone got any suggestions?
Title: Re: SMF Arcade
Post by: niko on February 13, 2005, 02:57:08 AM
update to lastest
Title: Re: SMF Arcade
Post by: 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 phpmyadmin

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 it


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 table

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.
Title: Re: SMF Arcade
Post by: Elijah Bliss on February 13, 2005, 10:50:04 PM
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 phpmyadmin

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 it


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 table

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.

same problem here.
Title: Re: SMF Arcade
Post by: Tony Reid on February 14, 2005, 03:45:57 AM
That query is for the previous version of Arcade not the latest release.

The field 'desc' has since been replaced with 'dsc'  and I guess some other things would have changed.

You both need to upgrade to the current version.

Title: Re: SMF Arcade
Post by: johnm on February 14, 2005, 04:58:41 AM
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 phpmyadmin

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 it


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 table

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.


would i be correct to assume that your db prefix is smf2_ ???
you need to reflect that when adding any code in to the sql window cause if your forums is looking for a table starting with smf2_ and not actualy smf_

Title: Re: SMF Arcade
Post by: sh-demon on February 14, 2005, 08:13:26 AM
I am using the current version because i just downloaded it again yesterday. I have also tried it with smf_ and smf2_ so i do not know what is wrong.
Title: Re: SMF Arcade
Post by: Tony Reid on February 14, 2005, 08:20:31 AM
Then I dont know why your sql script has the 'desc' field - that was removed.

As an example here is my games table..... which you could try(might have to add the prefix) - however, Im not so sure it would work...


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 ;
       

Title: Re: SMF Arcade
Post by: Jazhawk on February 14, 2005, 01:26:46 PM
Table 'jazhawk_forum.smf_games_caterogy' doesn't exist
File: /home/jazhawk/public_html/forum/Sources/Arcade.php
Line: 722

What does this mean.  (other than the obvious)  How do I fix this?

-Jazhawk
Title: Re: SMF Arcade
Post by: Elijah Bliss on February 14, 2005, 03:26:57 PM
This mod doesn't work when doing a clean install, it's only good as an update.
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: Elijah Bliss on February 14, 2005, 04:16:05 PM
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

Cool!

Excellent work BTW!
Title: Re: SMF Arcade
Post by: JayBachatero on February 14, 2005, 06:22:38 PM
I was thinking that there should be an option to add categories directly from the admin panel instead of going to the databses and modifying it there.
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: _complex on February 15, 2005, 12:04:15 AM
Get this iN Error log??

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
Title: Re: SMF Arcade
Post by: johnm on February 15, 2005, 09:04:59 AM
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.

use this check your db prefix!!!!!!!!!


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;
Title: Re: SMF Arcade
Post by: niko on February 15, 2005, 12:20:59 PM
Fixed installer (http://svnhosting.org:8000/websvn/filedetails.php?repname=pahajoki&path=%2Ftrunk%2Farcade_sql.php&rev=0&sc=0) is now available
Title: Re: SMF Arcade
Post by: _complex on February 15, 2005, 01:35:46 PM

Im getting this in my forum Error log.. Way to fix this.?? :-\

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

Title: Re: SMF Arcade
Post by: niko on February 15, 2005, 01:39:08 PM
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'


those must be inserted
Title: Re: SMF Arcade
Post by: _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
Title: Re: SMF Arcade
Post by: FaSan on February 15, 2005, 02:34:26 PM
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


You Need, at the end ';


Title: Re: SMF Arcade
Post by: _complex on February 15, 2005, 02:55:21 PM
Hmm I did like this
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'';


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
Title: Re: SMF Arcade
Post by: sportman3333333 on February 15, 2005, 02:59:28 PM
this is a great mod, i love it and my members love it :)
Title: Re: SMF Arcade
Post by: Elijah Bliss on February 15, 2005, 05:37:06 PM
I found this:
legenddriverc scored 3.11e+06 on Video Poker at Today at 12:50:44 PM (11)

Is there anyway to convert that in to a whole number?
Title: Re: SMF Arcade
Post by: sportman3333333 on February 15, 2005, 08:52:30 PM
Ok one more question, if i wanted to uninstall my arcade which i am not. It doesnt show SMFArcade in the package manager? Why?
Title: Re: SMF Arcade
Post by: sh-demon on February 15, 2005, 09:31:05 PM
once again I still keep getting the failed to create error for smf_games this is the only query that is not working. Can someone please help me here before i go nuts. I really want to try out this mod.
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: Elijah Bliss on February 15, 2005, 10:48:21 PM
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.

http://smfgames.com/forum/index.php
Title: Re: SMF Arcade
Post by: 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 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 ' 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?
Title: Re: SMF Arcade
Post by: Little Wolf on February 16, 2005, 11:58:46 AM
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 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 ' 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?

You just put the games in your Games folder, install the games through the Arcade Admin section and that should be fine.
Title: Re: SMF Arcade
Post by: sh-demon on February 16, 2005, 08:54:20 PM
Ok here is what i do i click on admin then click on arcade then click on games and it brings up a page that lets you click one of the games and then click on install. After choosing a game say airfox i then click on install it then brings up another page which shows some fields that let you enter some information about them like game name , width, height, background, help text box and a description box. Now i have no idea what i have to enter in these areas to make the game install cuz just clicking on install will bring up an error about width and height. I really could use some help on this.


EDIT: actually nvm i tried again just entering 400 width and 400 height and it works now. Im stumped as to why it didn't work  before. anyone know what the best widht and height would be for these games?
Title: Re: SMF Arcade
Post by: JayBachatero on February 16, 2005, 09:28:15 PM
i saw on the smfgames.com website that john has a random game block for his mkportal.  how can this be implemented to work with regular smf sites???
Title: Re: SMF Arcade
Post by: _complex on February 16, 2005, 11:14:25 PM
How can i solve this? when i input that.. i get the error below... thanks

Quote from: _complex on February 15, 2005, 02:55:21 PM
Hmm I did like this
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'';


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

Title: Re: SMF Arcade
Post by: trenchteam on February 17, 2005, 06:50:05 AM
in what file and line can I find this?

Search the files for obExit(); 

for the arcade.

Thanks!
Title: Re: SMF Arcade
Post by: niko on February 17, 2005, 08:00:57 AM
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... thanks

Quote from: _complex on February 15, 2005, 02:55:21 PM
Hmm I did like this
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'';


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 ;

like
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'';

Title: Re: SMF Arcade
Post by: JayBachatero on February 17, 2005, 02:27:27 PM
how can i implement this on my website.  im not running mkportal.

<?php

//by Johnm@smfgames.com

$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);

?>
Title: Re: SMF Arcade
Post by: Pause on February 18, 2005, 07:25:13 AM
Well, latest version installed via package manager, and I get the following error - and I've checked through the sql in documents and it's not in there...

QuoteTable 'smf_games_champ' doesn't exist
File: /home/httpd/vhosts/---/httpdocs/community/Sources/Display.php
Line: 546
[EDIT - Nevermind, forgot you had to use the php installation file too]
Title: Re: SMF Arcade
Post by: Oldiesmann on February 18, 2005, 02:21:40 PM
Quote from: Niko on February 17, 2005, 08:00:57 AM
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... thanks

Quote from: _complex on February 15, 2005, 02:55:21 PM
Hmm I did like this
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'';


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 ;

like
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'';



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'));
Title: Re: SMF Arcade
Post by: Jazhawk on February 18, 2005, 03:07:14 PM
Where is the installer for this mod?  I thought I had it installed when I used the package server but Niko says I need to install it.  And he must be right because I get the same error on two seperate servers about a missing table so it must not be installed yet.

QuoteTable 'jazhawk_astroboy.smf_games' doesn't exist
File: /home/jazhawk/public_html/forum/Sources/Arcade.php
Line: 875

-Jazhawk
Title: Re: SMF Arcade
Post by: niko on February 18, 2005, 03:10:30 PM
arcade_sql.php
Title: Re: SMF Arcade
Post by: Jazhawk on February 18, 2005, 03:14:05 PM
Thanx Niko.  How do I install that?  Sorry, I'm still a noob.

Never mind Niko. I think I got it.

-Jazhawk
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: johnm on February 19, 2005, 10:03:02 AM
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

could you try this

create Games dir in /portal dir upload just one game say tetris.swf and tetris.gif

or you can edit arcade.php

look for the html code function and edit the /Games path to the full path
like /home/user/public_html/forums/Games
Title: Re: SMF Arcade
Post by: trenchteam on February 19, 2005, 06:31:24 PM
I'll give it a go. thanks! ;D

EDIT: Adding the Games to the portal worked. ;D
Title: Re: SMF Arcade
Post by: 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!
Title: Re: SMF Arcade
Post by: johnm on February 20, 2005, 02:43:22 PM
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!

turn off search engine freindly urls under features and options in admin
Title: Re: SMF Arcade
Post by: Jazhawk on February 20, 2005, 03:29:34 PM
How do I add buttons / link to the arcade on a theme that is not the default SMF theme?

-Jazhawk
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: Jazhawk on February 20, 2005, 03:31:49 PM
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.

That makes sense. Thanx Dem0n

-Jazhawk
Title: Re: SMF Arcade
Post by: Dem0n on February 20, 2005, 03:33:53 PM
No problem.

this is the code you can look for theres the other buttons there...


// 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'];


It pretty much explains itself from there.
Title: Re: SMF Arcade
Post by: Jazhawk on February 20, 2005, 03:35:01 PM
Yes it does.  Thanx again!

-Jazhawk
Title: Re: SMF Arcade
Post by: Dem0n on February 20, 2005, 03:39:22 PM
not a problem like i said.
Title: Re: SMF Arcade
Post by: Enigma on February 20, 2005, 03:45:17 PM
when clicking the challenge link, i get this...

Unable to load the 'challenge' template.

what did i miss during my upgrade?
Title: Re: SMF Arcade
Post by: Enigma on February 20, 2005, 04:21:44 PM
nevermind. i am not using the default theme and i missed a file when copying to the current theme.
Title: Re: SMF Arcade
Post by: bigamers.com on February 20, 2005, 10:33:12 PM
Quote from: John on February 20, 2005, 02:43:22 PM
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!

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?
Title: Re: SMF Arcade
Post by: johnm on February 21, 2005, 07:05:36 AM
Quote from: bigamers.com on February 20, 2005, 10:33:12 PM
Quote from: John on February 20, 2005, 02:43:22 PM
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!

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?

look for in display.php

/* 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__);


replace with

/* 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__);


change LIMIT 10 to what ever you want i.e LIMIT 12
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: maufonseca on February 22, 2005, 05:21:44 PM
I upgraded to 1.0.2, but now I cant enter the Arcade Admin; It redirects me to my forum's index
Title: Re: SMF Arcade
Post by: crank0r on February 22, 2005, 06:45:29 PM
im sure this has been asked before but searched through thread and didnt figure out the solution so maybe someone will helpe a n00b...

i installed works fine, just have 2 games buttons, how to delete 1, here is site btw. www.crank0r.com

also i realized that under username in posts its displaying the top score for say a game for 1 person twice, so maybe i have it installed twice, but in manager its only there once, any ideas ?
Title: Re: SMF Arcade
Post by: Aravot on February 22, 2005, 09:26:30 PM
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


You'll have two of the following code delete one from index.template.php, located in templates>default folder
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'];
Title: Re: SMF Arcade
Post by: 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 ?
Title: Re: SMF Arcade
Post by: Aravot on February 23, 2005, 05:10:32 PM
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 ?

Sorry can't help you there, cause I am on version 6.1 which doesn't have that feature.
Title: Re: SMF Arcade
Post by: johnm on February 23, 2005, 06:31:34 PM
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.

we'll be there for years doing that, but its the same with prob. 90% of the mods here you cant expect mod authors to explain everything, theres many sites out there that explain the basic uses of php and mysql. if you plan on running any forums you should be prepared to at least look in to these basic things you can only better your self in the process
Title: Re: SMF Arcade
Post by: johnm on February 24, 2005, 08:12:38 AM
Quote from: Aravot on February 23, 2005, 05:10:32 PM
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 ?

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.
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: Trekkie101 on February 24, 2005, 05:06:57 PM
I dunno for sure but im getting

QuoteUnknown column 'dsc' in 'field list'
File: /home/trekkie1/public_html/place/Sources/Arcade.php
Line: 934

When trying to install a game.
Title: Re: SMF Arcade
Post by: johnm on February 24, 2005, 08:26:31 PM
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?

Yes

Quote from: Trekkie101 on February 24, 2005, 05:06:57 PM
I dunno for sure but im getting

QuoteUnknown column 'dsc' in 'field list'
File: /home/trekkie1/public_html/place/Sources/Arcade.php
Line: 934

When trying to install a game.

have you run arcade_sql.php? after install with package manager?
if so run again and post any errors here
Title: Re: SMF Arcade
Post by: maufonseca on February 24, 2005, 10:18:50 PM
Quote from: maufonseca on February 22, 2005, 05:21:44 PM
I upgraded to 1.0.2, but now I cant enter the Arcade Admin; It redirects me to my forum's index
Anyone saw my post?
Title: Re: SMF Arcade
Post by: johnm on February 24, 2005, 10:52:59 PM
Quote from: maufonseca on February 24, 2005, 10:18:50 PM
Quote from: maufonseca on February 22, 2005, 05:21:44 PM
I upgraded to 1.0.2, but now I cant enter the Arcade Admin; It redirects me to my forum's index
Anyone saw my post?


did you install via package manager? and then run arcade_sql.php
Title: Re: SMF Arcade
Post by: johnm on February 24, 2005, 10:53:58 PM
Hi, everyone can you please read your arcade news in your arcadeadmin panel
Title: Re: SMF Arcade
Post by: Elijah Bliss on February 24, 2005, 11:59:56 PM
I get this all of a sudden with the game "eskiv"
Cheating detected

All the high scores are not showing up even though they are still in the database.

How does one fix this?
Title: Re: SMF Arcade
Post by: Aravot on February 25, 2005, 02:15:50 AM
Quote 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
Title: Re: SMF Arcade
Post by: niko on February 25, 2005, 05:44:40 AM
Quote from: maufonseca on February 24, 2005, 10:18:50 PM
Quote from: maufonseca on February 22, 2005, 05:21:44 PM
I upgraded to 1.0.2, but now I cant enter the Arcade Admin; It redirects me to my forum's index
Anyone saw my post?


check that you have following on index.php

'arcade' => array('Arcade.php','Arcade'),
'arcadeadmin' => array('Arcade.php', 'ArcadeAdmin'),
Title: Re: SMF Arcade
Post by: johnm on February 25, 2005, 06:13:22 AM
Quote from: Aravot on February 25, 2005, 02:15:50 AM
Quote 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


feed checked it seems fine to me
Title: Re: SMF Arcade
Post by: niko on February 25, 2005, 06:47:16 AM
Quote from: Aravot on February 25, 2005, 02:15:50 AM
Quote 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?
Title: Re: SMF Arcade
Post by: greyknight17 on February 25, 2005, 12:19:26 PM
I set everything up for SMF Arcade on my machine (localhost using WAMP).  Everything looks good.  I just need the games now.  Where can I get them?  I tried some of the sites here (at least ones I remember) and they are either down or won't allow me to download.  For SMFGames.com, do I need to make a certain amount of postings before I can download there?

The installation was easy to follow through (even with my limited PHP knowledge), but I have one question.  Where the README says to edit the index.php, I'm assuming this is the file in the main root for the zip file right?  The instructionis just said to edit index.php without indicating the folder name, so I edited the one in root.

For all those folders (sources and themes), I should copy and paste those files over right and not overwrite the whole sources and themes folder?  I assume the rest like the getid3 folder (I think) and others could go into the main SMF root folder?

I'm sure everything is ok now, ran Step 2 and all Success.  Only problem is that I can't test it out to see if the games work since I don't know where I can get them now.

Thanks.
Title: Re: SMF Arcade
Post by: Aravot on February 25, 2005, 12:43:22 PM
Quote from: Niko on February 25, 2005, 06:47:16 AM
Quote from: Aravot on February 25, 2005, 02:15:50 AM
Quote 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?

Yes I have, today I get the following message.

Latest news from smfgames.com
Security hole - Please Patch immediately @ February 24, 2005, 09:43:07 PM
SECURITY RISK: Please download Arcade.php (zipped)
click here to download
upload this file to your sources dir (backup old one first)
you do not need to login or register to get this download.
this is meant for version 1.0.2 if you have a version lower than that i suggest you update first!!!!!

--------------------------------------------------------------------------------

Update:
1.0.3 Have now released wich has this hole fixed.
Download from SimpleMachines
By: john
Read
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: greyknight17 on February 25, 2005, 07:33:55 PM
I tried doing this both manually and using Package Manager.  This is the error I got:
QuoteSMF Arcade Install & Update tool
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
When I click on Step 2, I got:
QuoteSMF Arcade Install & Update tool
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
I 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.

Please help.  Thanks.
Title: Re: SMF Arcade
Post by: crank0r on February 25, 2005, 08:31:59 PM
Quote from: John on February 24, 2005, 08:12:38 AM
Quote from: Aravot on February 23, 2005, 05:10:32 PM
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 ?

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.


found it thanks
Title: Re: SMF Arcade
Post by: niko on February 26, 2005, 05:19:24 AM
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.

Seems like your arcade_sql.php is old version upload it with ftp
Title: Re: SMF Arcade
Post by: trenchteam on February 26, 2005, 08:10:31 PM
HOw do i add the champion name under the avatar in Custom themes?
Title: Re: SMF Arcade
Post by: johnm on February 27, 2005, 06:28:06 AM
Quote from: trenchteam on February 26, 2005, 08:10:31 PM
HOw do i add the champion name under the avatar in Custom themes?

read arcade.xml and perform steps for display.template.php manually to custom theme display.template.php
Title: Re: SMF Arcade
Post by: flapper on February 27, 2005, 07:06:31 AM
Quote from: Niko on February 26, 2005, 05:19:24 AM
Seems like your arcade_sql.php is old version upload it with ftp

But arcade_sql.php was surely in the zip file upgrade, sorry im confused now
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: johnm on February 27, 2005, 09:46:16 PM
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

yes but you still need to run arcade_aql.php after manuall install
Title: Re: SMF Arcade
Post by: Snort on February 27, 2005, 11:30:09 PM
Question. Is there an easy way to install the arcade into the Helios theme? I'm running SMF 1.0.2. :P
Title: Re: SMF Arcade
Post by: trenchteam on February 28, 2005, 03:29:59 AM
It doesnt matter what theme you use. It works. I've used about 6 themes and they work fine. I just cant get the champion icons to show on other themes yet.
Title: Re: SMF Arcade
Post by: 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?

Title: Re: SMF Arcade
Post by: ViV on February 28, 2005, 06:32:56 AM
yeah I read about running it twice at smfgames... it resolved the issue ...  8)
Title: Re: SMF Arcade
Post by: Aravot on February 28, 2005, 11:13:41 AM
Upgraded from b6.1b to 1.0.3 everything went smooth, no problem whatsoever.
Title: Re: SMF Arcade
Post by: readme.txt on February 28, 2005, 08:07:11 PM
Hi, I have a problem, when someone is champion in a game and to the moment to see his messages in a topic, the thumbail does not go out for me but q this link goes out: "http://www.zonarave.com/forum/index.php/Games/funkypong.gif", this where the problem? In "display.template.php"??

example:
http://www.zonarave.com/forum/index.php/topic,5785.msg81067.html
"Campeón de  " arrives of the avatar
Title: Re: SMF Arcade
Post by: redone on February 28, 2005, 08:16:36 PM
Looks like your .gif files are not uploaded. Check that the .gif's are there and that they are spelt correct including capitals where needed.

:)
Title: Re: SMF Arcade
Post by: flapper on February 28, 2005, 08:32:07 PM
ok could not upgrade using package manager so uploaded all file using ftp and then changed files as it said in the html file and then ran arcade_sql, everything seemed fine, when into arcade and all games were there and extras that were included on SMF_Arcade_1[1].0.3 only problem is my members cannot play the games, it says :

An Error Has Occurred!
You arent allowed to view arcade, sorry! 

this happens with all my members, when i go to admin cp and click on edit permissions i get this error on the page:

Notice: Undefined index: mainsite in /home/fhlinux198/a/africansouth.co.uk/user/htdocs/forum/Sources/Load.php(1040) : eval()'d code on line 429

Notice: Undefined index: gallery in /home/fhlinux198/a/africansouth.co.uk/user/htdocs/forum/Sources/Load.php(1040) : eval()'d code on line 479

repeated lines 501, 504 and 516

Can someone please help me

thank you in advance
Title: Re: SMF Arcade
Post by: greyknight17 on February 28, 2005, 10:54:38 PM
OK, I reran everything and installed via Package Manager.  Is it safe for me to assume that installing it through the Package Manager will do the edits for me?  I edited the files manually last time and it looks like if I installed via the Package Manager it did it automatically for me.

I installed and clicked on Proceed.  Then I got some error messages (it looks like).  I click Step 2 and it says success but has a warning:

Warning: Invalid argument supplied for foreach() in c:\wamp\www\1\arcade_sql.php on line 686
Table 'smf.smf_games' doesn't exist

When I click on Arcades button in my forum, this shows up:

Table 'smf.smf_games_high' doesn't exist
File: c:\wamp\www\1\Sources\Arcade.php
Line: 1206

If the error messages in Step 1 is important, I posted them earlier (page 41).

Any help on this will be greatly appreciated.

Thanks.
Title: Re: SMF Arcade
Post by: flapper on March 02, 2005, 03:45:57 AM
Can someone pleeeeeeeease help me with reply 617, i really need to fix this, is it possible to replace forum files with those from a previous backup, i don't want to make matter worse by messing around with something i don't know about.
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: flapper on March 02, 2005, 10:39:28 AM
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.

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(
Title: Re: SMF Arcade
Post by: 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?


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 />';

    }

    }
Title: Re: SMF Arcade
Post by: flapper on March 02, 2005, 01:28:06 PM
Quote from: flapper on March 02, 2005, 10:39:28 AM
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.

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(


Thanks for everyones help, problem sorted now, it was a ), short

eg. 'challenge_send' => false,
            'challenge_view' => false,
            'admin_arcade' => false,
         ),       
),
Title: Re: SMF Arcade
Post by: trenchteam on March 03, 2005, 12:21:06 AM
how about a hack to show their latest conquest. Then a link such as a pop up etc for the full list.....

ex.

PACMAN
Champion
[more..]
Title: Arcade 1.03 Mod error
Post by: nokonium on March 03, 2005, 12:42:26 PM
When I try to install the Arcade mod I get the following error

QuoteTable 'db119726169.sidigames_caterogy' doesn't exist
File: /[munged]/Sources/Arcade.php
Line: 861

Note the 'typo' "caterogy"

Do we have a little gremlin?
Title: Re: Arcade 1.03 Mod error
Post by: [Unknown] on March 04, 2005, 03:46:08 AM
I suggest you ask the mod author; it's likely there's been an update.

-[Unknown]
Title: Re: Arcade 1.03 Mod error
Post by: nokonium on March 04, 2005, 12:45:24 PM
I think I found the problem

/* 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';


Should say

$tables[][0] = $db_prefix.'games_category';

I've PM'd him
Title: Re: Arcade 1.03 Mod error
Post by: nokonium on March 04, 2005, 01:18:33 PM
HRMPH!

I've been through and corrected but still have the error, at least this time it is spelt correctly  ;D
Title: Re: SMF Arcade
Post by: Nietha on March 06, 2005, 02:43:31 AM
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?

open Sources/Arcade.php and change all "dsc" to "desc" there's about 4-5 of them.
Title: Re: SMF Arcade
Post by: nokonium on March 06, 2005, 03:50:21 AM
With a bit of pushing and shoving I have Arcade running. A spikey M8 found the answer for us. Even if you install with Package Manager, you have to manually run arcade_sql.php at least twice, second time after loading the games for me. You may need to hit the game install button a few times as well.
Title: Re: SMF Arcade
Post by: johnm on March 07, 2005, 09:50:49 AM
Quote from: Nietha on March 06, 2005, 02:43:31 AM
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?

open Sources/Arcade.php and change all "dsc" to "desc" there's about 4-5 of them.


dont do that just run the installer again

dsc is a field name from the games table
Title: Re: SMF Arcade
Post by: nokonium on March 08, 2005, 02:43:01 PM
Original problem sorted, but how do you assign games to different 'caterogies' (  ;D ) ?

I do not seem to get an option to allocate them and they all appear as 'no caterogy'
Title: Re: SMF Arcade
Post by: SeaOfSin on March 11, 2005, 06:42:52 PM
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?


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 />';

    }

    }



How about this for a compromise.....

goto the Display.template and find the code above and replace with

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


What this does is put just the icons on the post and when you move the mouse over them it gives the information to the game.

you can also move the same code to below


// Now print the second column where the members avatar/text is shown.
echo '



which moves it underneath the icons below the avatar.

Hope this is of some help for now!

Sea Of Sin
Title: Re: SMF Arcade
Post by: boogiedown on March 14, 2005, 06:23:41 PM
I installed the arcade, running 1.0.2 ran the sql.php file all success
When i go into admin and intall a game i get the following error:
Parse error: parse error, unexpected T_STRING in /client/milossa/public_html/board/Games/parasites.swf on line 369

Ive tried other games and it does the same.
Title: Re: SMF Arcade
Post by: niko on March 15, 2005, 06:37:20 AM
it's bug in 1.1 and will be fixed in 1.1.1 one missing thing and ... :(
Title: Re: SMF Arcade
Post by: jerm on March 15, 2005, 06:47:46 PM
i installed this, then got parse errors when viewing threads, said i had to upgrade the database. Also in my sources folder it created another folder called sources and put the files in there? and a bunch of other links where invalid as well
Title: Re: SMF Arcade
Post by: Christian A. Herrnboeck on March 15, 2005, 10:39:52 PM
The package is mis-packaged. You need to move everything in Sources/sources/ to just Sources/ (copy files up one dir).

Also, I keep getting this:  Parse error: parse error, unexpected '}' in /home/lounge/public_html/forum/Games/diamond_chaser.swf on line 91
I haven't had time to check the code... but from the looks of it, you're trying to parse a binary swf file with php??
Title: Re: SMF Arcade
Post by: niko on March 16, 2005, 07:24:38 AM
fm-2: 1.1.1 is availbe from http://smfgames.com/forum/index.php?topic=410.0...

mis-paging i check it...
Title: Re: SMF Arcade
Post by: Aravot on March 16, 2005, 02:04:39 PM
Upgraded from 1.0.3 to 1.1.1 (default theme)
The copyright info bottom of the page still read SMF Arcade 1.0.3.

Admin>>Highscores settings, following error
QuoteInvalid argument supplied for foreach()

Admin>>Arcade settings
Games Directory (Path):
Games Directory (URL):
type the path for Games folder click submit, nothing shows in the text box blank

Package Manager reads SMF Arcade 1.1 instead of 1.1.1
Title: Re: SMF Arcade
Post by: nokonium on March 16, 2005, 05:16:44 PM
I'm getting the following

On running arcade_sql.php -
ALTER TABLE sidigames CHANGE `desc` `dsc` text NOT NULL
Failed Duplicate column name 'dsc'

On trying to allocate a category to an installed game -
2: mysql_free_result(): supplied argument is not a valid MySQL result resource
File: /[games directory path]/Sources/ArcadeAdmin.php
Line: 338
Title: Re: SMF Arcade
Post by: Kindred on March 17, 2005, 03:02:40 PM
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:

$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???

Ok...   I reinstalled v.1.1.1 and the problem seems to have gone away

strange.   (just note: I did look through the thread here and didn't see any reports similar... )
Yes, I downloaded the 1.1 version from the smf package server, originally...

thanks Niko.

Oh.. and BTW: Although I am registered now on your board, I can't get to the downloads section....  it tells me I need to be registered.
Title: Re: SMF Arcade
Post by: niko on March 17, 2005, 03:15:06 PM
its alerdy fixed, read from earlier this page for link to latest since mods site doesnt work
Title: Re: SMF Arcade
Post by: 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 
Title: Re: SMF Arcade
Post by: niko on March 17, 2005, 03:26:20 PM
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 


1.1.2 is now avaible here... this bug is fixed in it
Title: Re: SMF Arcade
Post by: Kindred on March 17, 2005, 03:32:14 PM
quick question...  does 1.1.2 require me to uninstall 1.1.1 or can I just install as an upgrade?
Title: Re: SMF Arcade
Post by: Aravot on March 17, 2005, 03:53:27 PM
Uninstalled previous version 1.1.1, installed 1.1.2, now when I click on Games button get the following error message.

Quote2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
Title: Re: SMF Arcade
Post by: 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 files

QuoteArcade.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
Title: Re: SMF Arcade
Post by: niko on March 17, 2005, 04:23:30 PM
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 files

QuoteArcade.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
Title: Re: SMF Arcade
Post by: Aravot on March 17, 2005, 04:51:13 PM
Quote from: Niko on March 17, 2005, 04:23:30 PM
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 files

QuoteArcade.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

Now the files are in correct location but still get the following error.

Quote2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
Title: Re: SMF Arcade
Post by: Champi 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
Title: Re: SMF Arcade
Post by: Aravot on March 17, 2005, 05:14:34 PM
Me too, same error as above post
Title: Re: SMF Arcade
Post by: Champi on March 17, 2005, 05:26:19 PM
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

this problem now apearrs when you try to get to the admin area..

i ve replaced it with the old file... around 338 those few linbes you added

greetz
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: Aravot on March 17, 2005, 06:57:45 PM
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

You can remove the extra button by deleting a duplicate code from index.template.php

search for this code and remove one.

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'];
Title: Re: SMF Arcade
Post by: SeaOfSin on March 18, 2005, 01:38:14 AM
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

I have this error but every time I try and go to arcade it takes me to arcade admin.

any ideas?


Sea Of Sin
Title: Re: SMF Arcade
Post by: nokonium on March 18, 2005, 02:05:25 AM
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


Thanks Aravot, that is one problem solved.
Title: Re: SMF Arcade
Post by: Champi on March 18, 2005, 05:48:42 AM
QuoteI 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..

???
Title: Re: SMF Arcade
Post by: Chris de Boden on March 18, 2005, 12:45:15 PM
Here (http://www.simplemachines.org/community/index.php?topic=30749.new;topicseen#new) is the Dutch translation :)
Title: Re: SMF Arcade
Post by: nokonium on March 18, 2005, 12:57:08 PM
Quote from: nokonium on March 17, 2005, 05:50:24 PM
all the champions have double sets of awards. :-X

We have found that one as well now in Display.template.php

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 />';
}
}
Title: Re: SMF Arcade
Post by: Champi on March 18, 2005, 05:13:49 PM
dutch translation also available smfgames.com (http://smfgames.com)
Title: Re: SMF Arcade
Post by: SeaOfSin on March 19, 2005, 11:06:44 AM
Quote from: champi.nl on March 18, 2005, 05:48:42 AM
QuoteI 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..

???

I can't....The admin panel wants me to fill out the path of the games, etc, but it won't let me.  I think it wants me to run arcade_sql. but that doesn't work either

Sea Of Sin
Title: Re: SMF Arcade
Post by: Aravot on March 19, 2005, 11:57:53 AM
You are not alone, I have the same problem Arcade 1.1.2
Title: Re: SMF Arcade
Post by: Champi on March 19, 2005, 01:19:06 PM
i know that the arcade_sql.php isnt working correctly... ask your questions also at smfgames.com...
i think they re working on it... have now 1.1.1 installed... (backup..)..

;)
Title: Re: SMF Arcade
Post by: Kindred on March 19, 2005, 03:49:21 PM
OK... I had this problem, until I realized that the installation did a couple of things wrong.

Make certain your arcade files are int he smf/Sources directory, and not the smf/Sources/Sources directory
Make certain smf/Games is writeable...
Title: Re: SMF Arcade
Post by: Champi on March 20, 2005, 09:17:59 AM
i did everything manually trough ftp... not with the package manager... so evything is in the right place... games also

i have problems with the arcade_sql.php file... i ve downloaded aginb the mod... perheps now a modified version? perhaps that i downloaded to earlier and have a wrong package..
Title: Re: SMF Arcade
Post by: SeaOfSin on March 20, 2005, 11:03:54 AM
There will be a new version out Monday according to the smfgames.com website!
Title: Re: SMF Arcade
Post by: niko on March 20, 2005, 12:53:38 PM
1.1.3 released! go grab it
Title: Re: SMF Arcade
Post by: nokonium on March 20, 2005, 02:12:55 PM
I grabbed it!
and I installed it!
and arcade_sql.php works!

BUT If I click on the Arcade/Games button all I get is the Admin panel .........
Title: Re: SMF Arcade
Post by: niko on March 20, 2005, 02:47:40 PM
Set status to Enabled from Arcade Settings
Title: Re: SMF Arcade
Post by: nokonium on March 20, 2005, 03:12:41 PM
(http://www.nokonium.plus.com/black-cat/greetings/rara1.gif)

Thanks
Title: Re: SMF Arcade
Post by: Champi on March 20, 2005, 04:28:50 PM
thnx
Title: Re: SMF Arcade
Post by: Tony Reid on March 20, 2005, 06:01:26 PM
Quote from: Niko on March 20, 2005, 12:53:38 PM
1.1.3 released! go grab it

I grabbed it installed it via package manager - ran the php sql script and now when I go to the arcade I get this error :(

2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /home/fertilit/public_html/forum/index.php
Line: 119


Any ideas?
Title: Re: SMF Arcade
Post by: redone on March 20, 2005, 06:11:34 PM
I am assuming you un-installed the previous version then downloaded the latest version and installed? I just did this at my test site and everything went just fine.

Post back with what you did and we should be able to figure it out.

:)
Title: Re: SMF Arcade
Post by: Tony Reid on March 20, 2005, 06:16:57 PM
Yeah thats exactly what I did :(

I guess Im going to have to go through it step by step and check everything manually :(

Title: Re: SMF Arcade
Post by: Tony Reid on March 20, 2005, 06:28:06 PM
Solved it - I had a stray , in my index.php

Dont know how it got there - think it must of got corrupted when package manager had hold of it.

Thanks for being nice anyway ;)

Tony
Title: Re: SMF Arcade
Post by: nokonium on March 21, 2005, 05:43:47 PM
OK, I've been hammering 1.1.3 on my Arcade test site and I'm getting two errors.

If I click on the (category) by the game name I get:
2: Invalid argument supplied for foreach()
File: /[file path]/Sources/Arcade.php
Line: 172

and the error log is full of:

8: Undefined index: version
File: /[file path]/Themes/default/languages/Arcade.english.php (eval?)
Line: 421
Title: Re: SMF Arcade
Post by: Aravot on March 21, 2005, 07:26:23 PM
SMF Arcade 1.1.3, clicking on the game button gets me the following error message

Quote2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /mysite.com/smf/index.php
Line: 121

here is the code from line 121 of smf/index.php
// What function shall we execute? (done like this for memory's sake.)
call_user_func(smf_main());
Title: Re: SMF Arcade
Post by: [Unknown] on March 21, 2005, 10:47:36 PM
That means said function hasn't been defined, which may mean that the file wasn't found or included.

-[Unknown]
Title: Re: SMF Arcade
Post by: Aravot on March 22, 2005, 02:04:05 AM
So how to fix it
Title: Re: SMF Arcade
Post by: niko on March 22, 2005, 09:14:19 AM
check that index.php has ArcadeAdim => 'ArcadeAdmin.php' not Arcade.php
Title: Re: SMF Arcade
Post by: Aravot on March 22, 2005, 12:03:57 PM
Quote from: Niko on March 22, 2005, 09:14:19 AM
check that index.php has ArcadeAdim => 'ArcadeAdmin.php' not Arcade.php

Thanks Niko (http://www.simplemachines.org/community/index.php?action=profile;u=189) that was it had two line of the following code, deleted the wrong one, (thats the second line)


'arcadeadmin' => array('ArcadeAdmin.php', 'ArcadeAdmin'),
'arcadeadmin' => array('Arcade.php', 'ArcadeAdmin'),
Title: Re: SMF Arcade
Post by: nokonium on March 22, 2005, 12:58:58 PM
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

I think I've fixed this one, I over wrote the themes/default/images/english version with the one I found in default/images/english

When you are trying to sort it which is the latest version it would help if they were not all 1.1  ;)
Title: Re: SMF Arcade
Post by: nokonium on March 22, 2005, 01:21:01 PM
arcade.php

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";

}
}


A couple of typo's still in there?
Title: Re: SMF Arcade
Post by: niko on March 22, 2005, 01:30:41 PM
its caterogy in database
Title: Re: SMF Arcade
Post by: nokonium on March 22, 2005, 01:53:52 PM
Line 172 is:
   foreach($_GET['category'] as $id){

And that is where the error appears to be, so should line 172 read:

   foreach($_GET['caterogy'] as $id){

?
Title: Re: SMF Arcade
Post by: johnm on March 24, 2005, 07:59:25 PM
it doesnt matter how its spelt there

Title: Re: SMF Arcade
Post by: nokonium on March 25, 2005, 02:35:46 AM
We have now found a workaround, set all games to 'uncategorized'

It is a pity to have little niggles because it is such a popular addition to our board.
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: niko on March 26, 2005, 11:05:58 AM
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.

make sure your per page number is more than 0 and installer is run
Title: Re: SMF Arcade
Post by: goodwinner on March 27, 2005, 02:57:07 AM
i get this error dudes

Table 'goodwinn_smf1.smf_games_caterogy' doesn't exist
File: /home/goodwinn/public_html/forum/Sources/ArcadeAdmin.php
Line: 169

Title: Re: SMF Arcade
Post by: Anubis on March 27, 2005, 06:06:20 AM
I can't seem to get the newest version to work. I removed my older version and installed 1.1.3 and for me it worked just fine but no members could access it. I logged into my test account which only has member permissions and I got a "Your not allowed to access this" error. I tried to access the permissions in admin CP and was no longer able to access it. It just loaded a white screen and the browser said the page was done loading. I removed the mod and was able to access the permissions in admin CP without issue again. I tried this on my test install of SMF with the same results. Any ideas? I hate to have to drop this MOD.

Oh, and to the previous question, you need to run the "arcade_sql.php" located in the home directory of your website. So you would type "www.yoursitehere.com/arcade_sql.php" in your address bar.
Title: Re: SMF Arcade
Post by: SeaOfSin on March 28, 2005, 02:15:09 AM
I have a slight problem. The upgrade went fine but I have a guest....who was banned who has lots of icons next to their name but they never even played the arcade. Any way I can stop that?

Title: Re: SMF Arcade
Post by: boogiedown on March 28, 2005, 02:22:08 PM
For those who have high score, i want to add a title for them under thier user names. i saw this done with other forums but not here. has anyone done this or can tell me how:

stevebor1
smf newbie
duck hunt high scorer
Title: Re: SMF Arcade
Post by: verylost on March 31, 2005, 05:45:07 PM
Hi,

I've installed this mod through the package manager and it won't work - if I click on any links or topics I get this error:

Database Error
Table 'lostinfr_smf1.smf_games_champ' doesn't exist
File: /backup/home/lostinfr/public_html/testforum/Sources/Display.php
Line: 546

Help :(

PS I tried also running  in  arcade_sql.php but no luck.
Title: Re: SMF Arcade
Post by: Wizard2005 on April 01, 2005, 04:25:28 AM
I have run the arcade_sql.php which reports success at every step.............. but am still geting loads of errors in the Forum Error Log



http://xx.xx.xx.xx/xxx/index.php?action=arcade

8: Undefined index: caterogy
File: /xxxx/xxxxxxxx/xxxxxxxx/xxx/Themes/default/languages/Arcade.english.php (eval?)
Line: 236

With a few of

8: Undefined index: version............ Line: 421

8: Undefined variable: true .............Line: 330

Any clues please ?
Title: Re: SMF Arcade
Post by: chupacabra on April 02, 2005, 03:55:03 AM
 Table 'db_name1.smf_games_champ' doesn't exist
File: /drones2/alcoves/chupacabra/public_html/forum/Sources/Display.php
Line: 558
i get this error
i use smf 1.0.3
Title: Re: SMF Arcade
Post by: Dragon Gamer on April 02, 2005, 02:04:49 PM
well i have an error in which it says my Games path is incorrect... i tried to modify it but it always tells me it is incorrect what should i do...
Title: Re: SMF Arcade
Post by: edg on April 02, 2005, 02:37:21 PM
I don't think it will work with 1.0.3....... it says on it's page it's compatible with 1.0.2 or something but no mention of latest version......
In arcadeadmin it says the database may need an upgrade as is v 1.0.2, I think that's because the arcade is using the old db...
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: niko on April 03, 2005, 07:47:17 AM
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

Fix your index.php arcade admin has now own file and its no longer in Arcade.php
Title: Re: SMF Arcade
Post by: trenchteam on April 04, 2005, 12:34:21 AM
Do i just delete what I had added in the index before?
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: niko on April 04, 2005, 12:18:54 PM
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

it works,  you just havent installed probelty.
Title: Re: SMF Arcade
Post by: trenchteam on April 05, 2005, 06:40:35 AM
Got it to work. just used the arcade xml file and did everything manually.   8)
Title: Re: SMF Arcade
Post by: eFishie on April 05, 2005, 08:43:19 AM
OMG, manually? Oh dear, here I go...
Title: Re: SMF Arcade
Post by: nokonium on April 05, 2005, 02:04:04 PM
I've just had a permissions problem, I thought it was only on my test install, but tonight I tried to check some permissions on the main board and I got a parse error. The last install/update was Arcade and re-installing ManagePermissions.php~ over the top of the Arcade altered one seems to have solved the problem.

Sorry Nico but I think that 1.1.3 has a bug.
Title: Re: SMF Arcade
Post by: boogiedown on April 05, 2005, 03:44:59 PM
Any news on adding user high score info when the post topics or replies next to the user name?
Title: Re: SMF Arcade
Post by: eFishie on April 05, 2005, 04:42:18 PM
I'd like to see a version that is working for 1.0.3.
Title: Re: SMF Arcade
Post by: nokonium on April 05, 2005, 04:43:51 PM
I have just run a test on my test setup. I reloaded ManagePermissions.php from the SMF 1.0.3 upgrade zip file. Checked Permissions OK can get there.

Run Arcade 1.1.3 mod and arcade_sql.php

Checked Permissions:

Parse error: parse error, unexpected ',', expecting ')' in /[url]/Sources/ManagePermissions.php on line 1044

uploaded the upgrade copy of ManagePermissions.php and the Permissions are accessable again.

QED ?
Title: Re: SMF Arcade
Post by: Kindred on April 05, 2005, 04:59:01 PM
I found it, myself...

In Manage permissions, it adds an additional (an extraneous) , after the ),
this causes errors.  to fix it, just remove the single comma...
Title: Re: SMF Arcade
Post by: nokonium on April 06, 2005, 02:20:38 AM
Great, that fixed it. I also had a duplicated arcade array which I removed as well.
Title: Re: SMF Arcade
Post by: Kindred on April 06, 2005, 03:28:06 PM
hmmm....   I'm having some errors pop up when people access the "arcade search" page.

specifically,

8: Undefined index: caterogy
File: /XXX/forums/Sources/Arcade.php
Line: 228

and
8: Undefined index:
File: /XXX/forums/Themes/default/shout.template.php (eval?)
Line: 195

I believe they are both related, since the shout mod only causes the error when the arcade search is called.
(also, there is no line 195 in the shout template)

and I saw someone else post a message about the caterogy...   but no one answered it...
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: niko on April 07, 2005, 01:35:35 PM
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?

It works. It sometimes borkes permissons file there are some extra character whic you must remove

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

Add permissions.
Title: Re: SMF Arcade
Post by: neil_mcd on April 07, 2005, 07:10:13 PM
Everything up and running fine!

3 Questions,

Is there some way to edit game data (ie modify descriptions, change categories for each game?)

How do challenges work??

Most exellent mod, have issued my first challenge!

Cheers, NEil.
Title: Re: SMF Arcade
Post by: boogiedown on April 08, 2005, 03:11:41 AM
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
you have to add the permission for their user groups
Title: Re: SMF Arcade
Post by: ashvin on April 08, 2005, 07:01:08 AM
where do i add these permissions? in managepermissions.php?

how do i go about this?
Title: Re: SMF Arcade
Post by: kaioshade on April 09, 2005, 04:04:26 PM
I am getting the subs.php error as well. I have checked line 582 and am having a bit of trouble with the number per page thing. what am i checking for?

            $tmpStart = $start - $num_per_page * $nCont;
Title: Re: SMF Arcade
Post by: Raves on April 09, 2005, 04:50:48 PM
Hi!

I am slowly giving up on this...

I instaled this mod and installed the games.. everything works fine.. but.. when you press play games never load.. if I go to file on server it works..

Please help!

Bye, Raves
Title: Re: SMF Arcade
Post by: profile on April 09, 2005, 05:14:59 PM
everything works fine in standalone forum, but not with cowboy mambo integration
Title: Re: SMF Arcade
Post by: 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...
Title: Re: SMF Arcade
Post by: Neol on April 09, 2005, 07:30:23 PM
Ok, I have installed SMF Arcade!  How to install games?
Title: Re: SMF Arcade
Post by: profile on April 09, 2005, 07:47:00 PM
Quote 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 >
Title: Re: SMF Arcade
Post by: profile on April 09, 2005, 07:52:41 PM
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...

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.
Title: Re: SMF Arcade
Post by: Neol on April 09, 2005, 08:16:21 PM
Quote from: profile on April 09, 2005, 07:47:00 PM
Quote 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 >

Where do I find games for SMF Arcade to download and then upload to my server?
Title: Re: SMF Arcade
Post by: boogiedown on April 09, 2005, 09:05:54 PM
http://smfgames.com
Title: Re: SMF Arcade
Post by: DoW Kid Rock on April 10, 2005, 01:02:26 PM
I just upgraded from beta 6 to version 1.1.3 (thought I would see what happened if I just added it as new instead of trying to just update some files) and it worked perfectly.  I like the changes and think it was great putting the admin in with the admin panel.  keep up the good work.  now I just have to find out how to hold tournaments


also not sure if this has been mentioned, but would like to be able to create a category that has a password attached to it.  the reason is that I run a gamer messageboard that has younger gamers and I want to put the violent games in a category, where they don't have access.

thanks again for the great update
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: profile on April 12, 2005, 06:59:30 AM
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

use the forum admin, then click on arcade, then categorys
Title: Re: SMF Arcade
Post by: ashvin on April 12, 2005, 09:35:12 AM
Does any1 have any solutions for the problems that this Arcade mod, creates in managepermissions.php, i've had parse errors in there
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/rapcage/public_html/forum/Sources/ManagePermissions.php on line 1011

wen i fix errors more crop up, i saw another thread on the forum about these errors however the thread was shut as the user was told 2 come to this post though i haven't seen him post here
Title: Re: SMF Arcade
Post by: ashvin on April 12, 2005, 06:38:19 PM
^ i fixed this problem, but and i changed permissions in admin but it still doesnt seem 2 have any affect as members cant access arcade
Title: Re: SMF Arcade
Post by: profile on April 12, 2005, 06:43:20 PM
logs are showing the following:

8: Undefined index: new
File: /forum/Sources/ArcadeAdmin.php
Line: 137

8: Undefined variable: true
File: /forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 329

8: Undefined variable: true
File: /forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 330

8: Undefined index: version
File: /forum/Themes/default/languages/Arcade.english.php (eval?)
Line: 421

Title: Re: SMF Arcade
Post by: rmb on April 13, 2005, 04:12:35 AM
Quote 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


menu looks like this:

Arcade panel
Game listing
Admin
Challenges

No Actions
Category:
Show all games
No Caterogy



I really do not know how to add categories..
Title: Re: SMF Arcade
Post by: chupacabra on April 14, 2005, 09:05:19 AM
is this mod compatible with 1.0.3 now?
Title: Re: SMF Arcade
Post by: SeaOfSin on April 14, 2005, 12:39:02 PM
Quote from: chupacabra on April 14, 2005, 09:05:19 AM
is this mod compatible with 1.0.3 now?

I always thought it was!


I had no problems with it!
Title: Re: SMF Arcade
Post by: profile on April 14, 2005, 12:46:53 PM
Quote from: rmb on April 13, 2005, 04:12:35 AM
Quote 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



The arcade section should look like this:

Arcade
Start | Games | Arcade settings | Categorys | Highscores
Title: Re: SMF Arcade
Post by: profile on April 14, 2005, 12:47:32 PM
Quote from: chupacabra on April 14, 2005, 09:05:19 AM
is this mod compatible with 1.0.3 now?

I'm testing it on 1.03 as well
Title: Re: SMF Arcade
Post by: profile on April 14, 2005, 05:02:52 PM
anyone getting "An Error Has Occurred!" when using the challenge feature?
Title: Re: SMF Arcade
Post by: rmb on April 15, 2005, 12:57:05 AM
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

No, I heave just this:

Arcade
Start | Games | Arcade settings | Highscores


So, how to solve this problem? Wich file must I open and what must I add to heave categories?

Thank you for your answer and help!
Title: Re: SMF Arcade
Post by: Aaron Nelsen on April 15, 2005, 01:23:13 AM
For some reason I can't get the challenges to work. Whenever one is sent and the person accepts it, it takes them to the screen to play the game but the game never loads.

What do I do to fix this?

EDIT: These are the errors I found in my error log...

8: Undefined index: pm_successfully_sent
File: /home/yotn/public_html/community/Sources/Subs-Post.php
Line: 497

8: Undefined index: game
File: /home/yotn/public_html/community/Sources/Arcade.php
Line: 419

8: Undefined index: sub_template
File: /home/yotn/public_html/community/Themes/default/languages/Arcade.english.php (eval?)
Line: 101
Title: Re: SMF Arcade
Post by: mediman on April 19, 2005, 07:11:54 PM
this:


8: Undefined index: game
File: /home/yotn/public_html/community/Sources/Arcade.php
Line: 419

seems to be the reason ...

mediman
Title: Re: SMF Arcade
Post by: niko on April 20, 2005, 11:08:38 AM
The Challenges have been fixed in next version...
Title: Re: SMF Arcade
Post by: mediman on April 20, 2005, 11:32:38 AM
any idea when it comes out?

btw: great work 8)

mediman
Title: Re: SMF Arcade
Post by: 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 reasons
File: /data/members/free/tripod/uk/s/p/a/sparks/htdocs/SMF/getid3/getid3.php
Line: 60
can somone help me?
Title: Re: SMF Arcade
Post by: nokonium on April 20, 2005, 02:41:23 PM
Please don't take criticism as an insult, the mod is very popular and is used by some unexpected members, just please fix the problems that the admins have to put up with.
Title: Re: SMF Arcade
Post by: mediman on April 20, 2005, 02:42:05 PM
your provider has disabled any important things in php for security reasons ...

mediman
Title: Re: SMF Arcade
Post by: niko on April 20, 2005, 05:25:33 PM
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 reasons
File: /data/members/free/tripod/uk/s/p/a/sparks/htdocs/SMF/getid3/getid3.php
Line: 60
can somone help me?

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;
Title: Re: SMF Arcade
Post by: dragon52225 on April 20, 2005, 06:23:06 PM
Quote from: Niko on April 20, 2005, 05:25:33 PM
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 reasons
File: /data/members/free/tripod/uk/s/p/a/sparks/htdocs/SMF/getid3/getid3.php
Line: 60
can somone help me?

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;

I no, I don't like it either, right now, my real host (hiya-host) got hacked and they are recovering
Title: Re: SMF Arcade
Post by: revgreed on April 21, 2005, 12:06:56 AM
Hello,

I really need some help and I appreciate everyone who provides this help.  I downloaded SMF_Arcade v1.1.3.  I went to the Package Manager where it was displayed and clicked on "Apply Mod".  It created the following output:

***********************
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 Tree ./Sources 
12. Extract File ./Themes/default/Arcade.template.php 
13. Extract File ./Themes/default/ArcadeAdmin.template.php 
14. Extract File ./Themes/default/images/english/games.gif 
15. Extract File ./Themes/default/languages/Arcade.english.php 
16. Extract File ./Themes/default/languages/Arcade.finnish.php

Some of the files this package needs to modify are not writable. This needs to be changed by logging into FTP and chmoding the files.
**********************

Next, I ran the file "arcade_sql.php" and received this output:

**********************

SMF Arcade Install & Update tool
Install
Checking database differences
Connected and Selected Database
Finding tables... 48 tables in database
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_games_per_page'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_challenge_per_page'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_results_per_page'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_highscores_per_page'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_enabled'
Success
Running query:
UPDATE yabbse_settings SET value='0' WHERE variable='arcade_enabled'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_message'
Success
Running query:
UPDATE yabbse_settings SET value='Arcade Have Been Disabled Automatically before performing update' WHERE variable='arcade_message'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_games_dir'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_games_url'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_version'
Success
Running query:
UPDATE yabbse_settings SET value='1.1.3' WHERE variable='arcade_version'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_tournament_per_page'
Success
Running query:
SELECT * FROM yabbse_settings WHERE variable='arcade_tournaments'
Success
Running query:
ALTER TABLE yabbse_games_tournament_players CHANGE `member` `member` int(11) NOT NULL
Success
Updating yabbse_games_champ
Running query DELETE FROM yabbse_games_champ... Success
NOW DELETE THIS FILE! (if sucess else retry)
********************

My questions are to put it plainly....what do I do now?  Where is the Arcade located...meaning is there something I need to do in order for it to show up ON the forum?  I can't find it anywhere on the forum or Admin portion.  I've located the appropriate arcade files via FTP and they're there.  But I just don't understand what I need to do now.

Thank you very much.

Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: revgreed on April 21, 2005, 02:01:10 AM
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.


Hi there,

I am using the default theme.
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: revgreed on April 23, 2005, 07:06:10 AM
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.

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!
Title: Re: SMF Arcade
Post by: thelastbaron on April 23, 2005, 09:01:37 PM
Hi. Is there a version of this for 1.0.3 coming out anytime soon?

Thanks.
Title: Re: SMF Arcade
Post by: niko on April 24, 2005, 04:01:33 AM
1.1.x works in 1.0.3. 1.2 is coming in few weeks
Title: Re: SMF Arcade
Post by: Kindred on April 24, 2005, 10:34:59 AM
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!

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)
Title: Re: SMF Arcade
Post by: niko on April 24, 2005, 10:56:54 AM
Quote from: kindred on April 24, 2005, 10:34:59 AM
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!

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)


No. Package does only modify default theme not classic so it must manually edit it
Title: Re: SMF Arcade
Post by: Kindred on April 24, 2005, 01:21:34 PM
niko...  that's what I was telling him...

but the package manager, list files, view file will tell him WHAT files in the Classice theme directory he must modify and how...
Title: Re: SMF Arcade
Post by: Chab on April 24, 2005, 02:20:02 PM
Quote from: profile on April 09, 2005, 07:52:41 PM
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...

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.

I agree with this, please to the author take a advertissement ;)
I have download the mod, take all modification an is not working
and then y see this post   ::) too late  :(
Title: Re: SMF Arcade
Post by: WhyMan on April 24, 2005, 05:20:23 PM
HI there,

Anyone seen this error b4? 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 ;)

Cheers..  8)
Title: Re: SMF Arcade
Post by: Kindred on April 24, 2005, 06:46:22 PM
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
Title: Re: SMF Arcade
Post by: Bradkaz96 on April 25, 2005, 11:38:45 PM
Everything went as planned with this mod until I had to install games,  I got this error message.

Unknown column 'dsc' in 'field list'
File: /home/xxxxxx/xxxxx/forum/Sources/Arcade.php
Line: 936

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.

I didn't upgrade to a higher version, I started with SMF 1.0.3 someone please help me!! :-X

EDIT: I aslo noticed this? I am using Blocs Black22 there and I get this in the admin panel (The first number represents my version on my current template, and the second represents the most current version in SMF). 

Current Templates 1.0  1.0.3
BoardIndex.template.php 1.0.1 1.0.1
Calendar.template.php 1.0 1.0
Display.template.php 1.0 1.0.3
InstantMessage.template.php 1.0 1.0
MessageIndex.template.php 1.0 1.0
Recent.template.php 1.0.1 1.0.1
Settings.template.php 1.0 1.0
index.template.php 1.0 1.0

Any guidance is appreciated.  8)

Title: Re: SMF Arcade
Post by: niko on April 26, 2005, 12:08:51 PM
you havent ran arcade_sql.php some version need it to run two times (not most recent ones)
Title: Re: SMF Arcade
Post by: Bradkaz96 on April 26, 2005, 01:44:56 PM
Thanks Niko, Installed sucessfully
Title: Re: SMF Arcade
Post by: revgreed on April 27, 2005, 05:30:13 AM
Hello,

I just recently got the installation to work.  I switched over to the default theme so it would be easier.  I just have a question though.  In my forum error log I'm noticing the following errors in relation to the Arcade.  These errors are occuring constantly.

8: Undefined index: admin_arcade
File: /home/forum/Sources/Subs.php
Line: 1373

8: Undefined index: admin_arcade
File: /home/forum/Sources/Subs.php
Line: 1365

Any help would be appreciated on what this is and how to fix it.  Thank you so much.

Title: Re: SMF Arcade
Post by: hobo jim on April 27, 2005, 10:23:18 AM
You should have games installed for the arcade as a mod.
Title: Re: SMF Arcade
Post by: WhyMan on April 27, 2005, 12:29:18 PM
Hi there,
Thanks kindred
Quote from: kindred on April 24, 2005, 06:46:22 PM
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
but i'd enabled the arcade well ahead of discovering the error ;)
Still having issues.. the boards/arcade is here (http://www.complete-free-host.com/forum/index.php), any input or resolution would be great.. thanks
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: dragon52225 on April 27, 2005, 10:48:17 PM
HELP!  when I go to games i get this error
2: Division by zero
File: C:\Program Files\Apache Group\Apache2\htdocs\SMF\Sources\Subs.php
Line: 582
Title: Re: SMF Arcade
Post by: carmelkevlar32 on April 30, 2005, 12:36:13 AM
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?

Me too!
Title: Re: SMF Arcade
Post by: [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]
Title: Re: SMF Arcade
Post by: WhyMan on May 01, 2005, 10:57:34 AM
Hey there [Unknown],
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.
-[Unknown]
Appreciate the input, thanks
Title: Re: SMF Arcade
Post by: dragon52225 on May 07, 2005, 12:31:51 PM
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]



Unknown, I think your post it to the ppl with 1.02 DB error, so what is wrong with my thing
Title: Re: SMF Arcade
Post by: niko on May 07, 2005, 12:40:25 PM
Its "problem" with ConstructPageIndex installing game from admin will remove this its probably that i havent remembered to put check before CPI usage.
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 09:03:40 PM
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


Once the mod is uploaded via the Package Manager, you then need to click on the link that says [ Apply Mod ].

-Dan The Man
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 09:44:42 PM
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


Go into your FTP and make sure that all files' permissions are set to 777 by looking at their properties.

-Dan The Man
Title: Re: SMF Arcade
Post by: 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 ???
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 10:09:43 PM
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 ???

Change your theme to the SMF Default theme and then click on the button in the navigation bar that says "Arcade".  Once you do that, it runs what needs to be run.  Upon doing that, delete the arcade.sql file from the root directory of your forums.  Now when you click on the Arcade link, it should take you to the main Arcade page.

-Dan The Man
Title: Re: SMF Arcade
Post by: Bigguy on May 08, 2005, 10:18:48 PM
here is a screen shot of the package manager.... does this help. this is were I`m stuck. I chmod the files and press the proceed button and it brings me back to here.

(http://img16.echo.cx/img16/2/arcade4fz.jpg)
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 10:33:55 PM
Please create an Administrator account for me and PM me the username and password and I'll see what I can do.

-Dan The Man
Title: Re: SMF Arcade
Post by: 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 ...
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 10:43:19 PM
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 ...

That's fine.  I completely understand.  Your choice.

-Dan The Man
Title: Re: SMF Arcade
Post by: 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 ??
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 10:53:45 PM
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 ??

No, seriously, It's fine :).  I'm sorry but I am completely stumped :-\.  Niko, however, may have a fix for the problem you're having though.

-Dan The Man
Title: Re: SMF Arcade
Post by: Bigguy on May 08, 2005, 10:56:25 PM
Thats nuts ...my first time in here and that happens ....wow man  :'(
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 10:58:34 PM
Quote from: Bigguy on May 08, 2005, 10:56:25 PM
Thats nuts ...my first time in here and that happens ....wow man  :'(

It's OK.  I've only seen this happen one other time.

-Dan The Man
Title: Re: SMF Arcade
Post by: Aravot on May 08, 2005, 11:01:01 PM
Just ignore G-RIDER must be a looser.

Bigguy, there is nothing to worry about you can always change the password.
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 11:04:52 PM
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

That's really wierd.  I don't suppose that you're installing an older version of the arcade, are you?

-Dan The Man
Title: Re: SMF Arcade
Post by: Bigguy on May 08, 2005, 11:09:25 PM
well guys ...no offence but I`ll be back when this guy is gone ....someone can pm me here when this matter is taken care of ...thanks
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: dtm.exe on May 08, 2005, 11:15:48 PM
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.

Thank God...a Moderator is finally here.  Thank you.

-Dan The Man
Title: Re: SMF Arcade
Post by: Douglas on May 08, 2005, 11:17:32 PM
Slapped him down, for now.
Title: Re: SMF Arcade
Post by: Bigguy on May 09, 2005, 12:12:46 AM
ok is there any help for this problem now that he`s gone
Title: Re: SMF Arcade
Post by: Bigguy on May 09, 2005, 12:22:07 AM
ok ...Hey guys I got it installed .....but I get this error .....now what do I do

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.
Title: Re: SMF Arcade
Post by: niko on May 09, 2005, 12:24:51 AM
you need to run arcade_sql.php
Title: Re: SMF Arcade
Post by: Bigguy on May 09, 2005, 12:29:52 AM
do I have to go into my cpanel to do that  ??? ???
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: dtm.exe on May 09, 2005, 12:38:23 AM
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

No.  It's not done from Cpanel.  It's done from http://www.yourwebsite.com/arcadesql.php .

-Dan The Man
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: dtm.exe on May 09, 2005, 12:43:34 AM
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

You can download game packages from the link below.  They have hundreds of games to choose from and offer great support.

www.smfgames.com

-Dan The Man
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: dtm.exe on May 09, 2005, 01:02:52 AM
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

You add the games to the root/Games directory, I believe.  Then open the Arcade Admin and install them by selecting them in the drop-down list :).

-Dan The Man
Title: Re: SMF Arcade
Post by: Yann on May 09, 2005, 01:34:17 AM
Hello,

when i launch arcade_php i have a internal server error  :(

Can i have a complete sql file for the version that we can download here at this time ?

I don't xant to create all table one by one  ;D

Thanks
Title: Re: SMF Arcade
Post by: Bigguy on May 09, 2005, 01:50:21 AM
ok I got some installed so I think I`m on my way ...I gotta thank you guys for your quick response earlier to that nasty situation, and for all your help and quick replies ...I`ll be back .. thanks
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: Yann on May 09, 2005, 05:25:26 PM
ok it's not possible to have a simply sql file ............
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: Aravot on May 12, 2005, 04:39:25 PM
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.

Thank you
Title: Re: SMF Arcade
Post by: dragon52225 on May 13, 2005, 09:53:36 AM
Quote from: Yann on May 09, 2005, 05:25:26 PM
ok it's not possible to have a simply sql file ............
Open the arcade_sql.php and find the code creating the table and run the raw sql in phpmyadmin or something
Title: Re: SMF Arcade
Post by: 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"?
Title: Re: SMF Arcade
Post by: Aravot on May 14, 2005, 01:58:14 AM
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"?

Run arcade_sql.php
Title: Re: SMF Arcade
Post by: Skhilled on May 14, 2005, 10:30:55 AM
Thanks but figured it out before I read your post.  :)
Title: Re: SMF Arcade
Post by: Hooje on May 15, 2005, 03:24:15 PM
Hey guys. I've installed a fresh SMF link = http://www.LoveTheWeekend.com/smf  and i've installed SMF Arcade. Here's the steps I took.

1) Admin control panel -> packages -> download and install SMF Arcade -> proceed (everything looked good)
2) I went to install the sql tables (arcade_sql.php) using this link http://lovetheweekend.com/smf/arcade_sql.php

Here's the error

QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@lovetheweekend.com 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.

If anyone can help, i'd really appreciated it. Here's my contact details if you want to be extra helpful!

AIM: Hooje
MSN: Hooje [at] LoveTheWeekend.com

Thanks for any help - and i can make you admin if you need to try your own things no problem.
Title: Re: SMF Arcade
Post by: niko on May 15, 2005, 03:35:21 PM
your host seems to runnign php as cgi and your chmod for arcade_sql.php is wrong
Title: Re: SMF Arcade
Post by: Hooje on May 15, 2005, 03:40:01 PM
Yep, that fixed it. Thanks! :).

For any other users - Make SURE arcade_sql.php is set to CHMOD 755. CHECK AND CHECK AGAIN!  :D
Title: Re: SMF Arcade
Post by: niko on May 15, 2005, 03:53:51 PM
its only reguired if its runned under cgi i think... or if php is runned under other user than 'nobody'. So if you get Internal Server error or Permission Deined on line 0 you need to chmod 755.
Title: Re: SMF Arcade
Post by: Tony Reid on May 15, 2005, 06:30:38 PM
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?

I took arcade off my board because of the excess queries - my sites way to busy to take a punch from the arcades queries.

Its a shame because its a really cool mod :(

Lets hope Niko can find time to optimise the sql.
Title: Re: SMF Arcade
Post by: b0b on May 16, 2005, 04:56:07 AM
Hey anyone know where I can download some games for this?
Title: Re: SMF Arcade
Post by: niko on May 16, 2005, 07:43:49 AM
smfgames.com
Title: Re: SMF Arcade
Post by: Nitro on May 17, 2005, 12:22:35 AM
where do i get this arcadesql.php?
thank you man!

Quote from: OIDanTheManIO on May 09, 2005, 12:38:23 AM
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

No.  It's not done from Cpanel.  It's done from http://www.yourwebsite.com/arcadesql.php .

-Dan The Man
Title: Re: SMF Arcade---game directory invaild
Post by: Nitro on May 17, 2005, 02:14:46 AM
question:
i have ran twice the arcadesql.php twice and still it gives me the same error below. i checked for chmod and it is correct to 777 (as i read on previous posts in here)

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)

so in the game settings page it keeps showing "games Directory is invalid"

can someone please help me on this one , PLEASE?:

THANK YOU SO MUCH!!!
-richard
Title: Re: SMF Arcade
Post by: niko on May 17, 2005, 08:44:12 AM
Create the directory...

Edit: you have wrong place so swap them
Title: Re: SMF Arcade
Post by: Aravot on May 17, 2005, 05:38:12 PM
Niko's SMF Arcade 1.1.3 updated for SMF 1.1 Beta 1 & 2

Notice: My updated version ONLY works with SMF 1.1 beta 1 & 2, DO NOT install it on SMF 1.0.x it will not work.

I updated the Arcade for my personal website and thought to share it with the community, I give No Support, use it at your own risk, Backup, Backup, Backup.

Link to SMF 1.1 Beta 2 with Arcade 1.1.3 (http://www.armeniancollegeofcalcutta.com/smf/index.php)
test/test

To stop any confusion with the original version of Arcade I name the archive 'SMF_Arcade_1.1.3-fixed'
Title: Re: SMF Arcade
Post by: hel8itch on May 18, 2005, 04:41:22 AM
i had the arcade installed on one forum with no problems atall.now iv tried to install it on another board i get
newscore.php was not found on this server.
Title: Re: SMF Arcade
Post by: xcel on May 18, 2005, 08:20:50 AM
Hi hell,
you might find the problem isnt with the arcade but with the actual game thats causing the error.

games modded for IBP Arcade mod and this Mod send the score to index.php?newscore (or somethin like that) but games modded for the phpBB arcade use the system of sending it to newscore.php. So im guessing the game(s) you are having probs with were modded for phpbb.

any game available for phpbb mod is ALMOST always gonna have also been modded for IBP arcade and therefore SMF also, so have a hunt around and replace the games in question.
------------------

Hopefully im right with that, its my first post here as I was just checking out SMF and happened to see your question.
Title: Re: SMF Arcade
Post by: hel8itch on May 19, 2005, 02:53:12 PM
they are games from AMOD..which are swf for phpbb..

where can i get games that will work...
Title: Re: SMF Arcade
Post by: 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  :-[
Title: Re: SMF Arcade
Post by: LFC4EVA on May 21, 2005, 09:17:21 AM
is this mod gonna be compatible for SMF 1.0.3
Title: Re: SMF Arcade
Post by: forsakenlad on May 21, 2005, 01:16:00 PM
It already is :)
Title: Re: SMF Arcade
Post by: LFC4EVA on May 21, 2005, 01:46:17 PM
i cant read any posts i keep getting

Table 'live_forum.smf_games_champ' doesn't exist
File: /home/live/public_html/forum/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.3, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.

can someone help me
Title: Re: SMF Arcade
Post by: caNcer_b0y on May 21, 2005, 02:28:01 PM
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  :-[

You can find games for this mod at smfgames.com  You need to register and post 2 times.
Title: Re: SMF Arcade
Post by: forsakenlad on May 21, 2005, 04:38:47 PM
You must run the upgrade.php that you can obtain from the Downloads page...
Title: Re: SMF Arcade
Post by: eddie43302 on May 21, 2005, 09:55:45 PM
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!
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: 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 :(
Title: Re: SMF Arcade
Post by: LFC4EVA on May 22, 2005, 07:13:27 AM
Quote from: eddie43302 on May 21, 2005, 09:55:45 PM
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!
exacully what happend to me m8, i really wanted it  :(
Title: Re: SMF Arcade
Post by: LFC4EVA on May 22, 2005, 09:33:59 AM
How do i install a game?
Title: Re: SMF Arcade
Post by: LFC4EVA on May 22, 2005, 10:08:18 AM
my members cant view the games it says there not allowed. can someone help
Title: Re: SMF Arcade
Post by: Nitro on May 22, 2005, 04:43:20 PM
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

in display.php look for this

/* 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))


change to something like this:

/* 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))


change where it says LIMIT 5 to something you want, i have  only 2 and that works for me.
that should do it.
Title: Re: SMF Arcade
Post by: Nitro on May 22, 2005, 04:46:46 PM
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

gotto give them permissions
Title: Re: SMF Arcade
Post by: Nitro on May 22, 2005, 04:47:20 PM
Quote from: LFC4EVA on May 22, 2005, 09:33:59 AM
How do i install a game?


package manager, or you mean how do you add more games? for more games, FTP games to your game folder.
Title: Re: SMF Arcade
Post by: Nitro on May 22, 2005, 04:48:54 PM
Quote from: LFC4EVA on May 22, 2005, 07:13:27 AM
Quote from: eddie43302 on May 21, 2005, 09:55:45 PM
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!
exacully what happend to me m8, i really wanted it  :(

were you getting  errors on the permissions.php? or perhaps give some permissions would do it.
Title: Re: SMF Arcade
Post by: Nitro on May 22, 2005, 04:51:12 PM
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 :(

http://www.smfgames.com/index.php
Title: Re: SMF Arcade
Post by: eddie43302 on May 22, 2005, 05:25:04 PM
Quote from: NitroRich on May 22, 2005, 04:48:54 PM
Quote from: LFC4EVA on May 22, 2005, 07:13:27 AM
Quote from: eddie43302 on May 21, 2005, 09:55:45 PM
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!
exacully what happend to me m8, i really wanted it  :(

were you getting  errors on the permissions.php? or perhaps give some permissions would do it.
here is the exact error i got after i hit apply mod in the package manager i didnt do anything else.
Table 'user_14351.smf_games_champ' doesn't exist
File: /home/content/e/d/d/eddie43302/html/smf/Sources/Display.php
Line: 577

thats the error i got when i tried to read one of my topics when the mod was applied,everyone else got the error to!
Title: Re: SMF Arcade
Post by: Champi on May 22, 2005, 06:59:13 PM
QuoteTable 'user_14351.smf_games_champ' doesn't exist

check if table smf_games_champ exists... run arcade_sql.php or do it manually trough phpmyadmin
Title: Re: SMF Arcade
Post by: Nitro on May 22, 2005, 08:44:00 PM
are you installing the arcade in default theme? yeah, to run the arcade sql might help as well.
Title: Re: SMF Arcade
Post by: Bitwiz44 on May 23, 2005, 09:40:08 AM
I  installed this. it put the extra characters in, causing a crash. I did edit the file, The mod mostly works, Im concerned about the "errors' in the forum table.

my members went crazy, they really like this mod.  :D

I would like to see this Mod cleaned up as I believe this could be a very popular mod for SMF.
Title: Re: SMF Arcade
Post by: niko on May 23, 2005, 01:13:36 PM
Smf Arcade 1.2 released!


SMF 1.1 is not supported...
Title: Re: SMF Arcade
Post by: dtamer on May 23, 2005, 02:37:01 PM
Hi, i just installed the SMF Arcade the new one i think its 1.2.0 or something so i installed it and everything, but when i wat to add a game, i fill our everything but it says

Please fill form completely

can u help me??????
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: niko on May 23, 2005, 03:43:20 PM
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

just edit your template
Title: Re: SMF Arcade
Post by: ArkServer on May 23, 2005, 03:46:06 PM
Quote from: Niko on May 23, 2005, 03:43:20 PM
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

just edit your template

how?


//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
Title: Re: SMF Arcade
Post by: Nitro 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
Title: Re: SMF Arcade
Post by: ArkServer on May 23, 2005, 04:13:34 PM
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

button prob is fixed, thnx :)

but now i cant install any games and i already looked at the support forum over there
Title: Re: SMF Arcade
Post by: niko on May 23, 2005, 04:15:29 PM
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

You must extract files...
Title: Re: SMF Arcade
Post by: Nitro 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'
Title: Re: SMF Arcade
Post by: ArkServer on May 23, 2005, 04:38:49 PM
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'


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
Title: Re: SMF Arcade
Post by: Nitro 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..
Title: Re: SMF Arcade
Post by: ArkServer on May 23, 2005, 05:03:05 PM
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..

still got same error, i guess im too dumb to install this :/
Title: Re: SMF Arcade
Post by: Nitro on May 23, 2005, 06:41:28 PM
you mean... lots of buttons?
why don't you go to www.smfarcade.com for support. they know all the tweaks about that MOD
Title: Re: SMF Arcade
Post by: niko on May 24, 2005, 08:20:47 AM
Quote from: ArkServer on May 23, 2005, 04:38:49 PM
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'


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

Background color i think it must be in hex... and it should auto-detected...
Title: Re: SMF Arcade
Post by: Harro on May 24, 2005, 10:17:22 AM
I saw here and on smfgames.com that the "chamion of..." images don't work when using search engine friendly url's.
But didn't find a way to fix that.
Is it impossible to have those images when using sef url's?
Title: Re: SMF Arcade
Post by: niko on May 24, 2005, 01:53:19 PM
it is alerdy fixed or so i remember
Title: Re: SMF Arcade
Post by: Champi on May 24, 2005, 03:28:07 PM
did you miss the rating stars in arcade.template.php  ???
Title: Re: SMF Arcade
Post by: Harro on May 25, 2005, 06:18:52 AM
Quote from: Niko on May 24, 2005, 01:53:19 PM
it is alerdy fixed or so i remember
Did they fix that in arcade 1.2.0 then?
Cuz it isn't fixed in 1.1.3...
I'll take a look at it :)
Title: Re: SMF Arcade
Post by: niko on May 25, 2005, 09:03:59 AM
Smf arcade 1.2 seems to have few bugs... Repack will be released in few days... till it i recormed staying in 1.1.3
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: ShadowStriker on May 25, 2005, 08:17:13 PM
WOW i finnally got mine to work: http://wwp.x10hosting.com/general/index.php?action=arcade
Title: Re: SMF Arcade
Post by: caNcer_b0y on May 26, 2005, 02:30:38 PM
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.

Only place you can get legal games for this mode is at http://smfgames.com

At Smfgames.com we get permission from the authors to use their games with the mod.  So if you obtain games anywhere else you are responsible for any legal action an author takes.

But feel free to pop over register, Post 2 times, and download games :)
Title: Re: SMF Arcade
Post by: wwepassion.com on May 26, 2005, 03:43:15 PM
I have finished every other file, and I get to managepermissions.php .
I do as it asks:
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,
),

I add the last piece of code, and go to try the permissions but cannot enter the page because of an error.
I get this error:
2: Invalid argument supplied for foreach()
File: /home/hwwepa08/public_html/board/Sources/ManagePermissions.php
Line: 1083

Now I have checked that line, and it's to do with 'profile'=>array...A few lines near where I changed...AFTER I edited the file, the code looks like this:

),
'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,
),


Please help? BTW, Admins ARE able to play. but not any other member.



Title: Re: SMF Arcade
Post by: rider on May 27, 2005, 02:35:23 AM
I can, if you goto smfgames you can get a copy of the managepermissions.php.Its in the faq forum there.Just apply it and you should be good togo. :D
Title: Re: SMF Arcade
Post by: mrselnombre on May 29, 2005, 02:55:21 AM
having a problem installing with the package manager
i'm getting this error

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


this part of where it says the problem is
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'))


and here

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'])
);


I am upgrading from the previous arcade version. The arcade appears to be working fine, except there are no options in the game installer page.
My directories are where they are supposed to be too.
Title: Re: SMF Arcade
Post by: flapper on May 29, 2005, 08:13:43 AM
Hi, installed SMF Arcade 1.2 RP , had to do a manual install, kept getting errors using package manager.  All works fine except the Statistics page

get error:

An Error Has Occurred!
2: Division by zero 

screen shot included

Thanks in advance, u guys doing a brilliant job.
Title: Re: SMF Arcade
Post by: flapper on May 29, 2005, 09:42:11 AM
Sorry sorted problem out, clicked on Force update champions in Quick Actions in the arcade admin and errors disappeared.
Title: Re: SMF Arcade
Post by: AlexHobbs on May 30, 2005, 09:42:56 AM
Hey, firstly great arcade - old version works but i tried to install version 1.1.3 and once it was installed and everything i click on the arcade button on index.php and it comes up with
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 
Title: Re: SMF Arcade
Post by: NOS ChromeNut on May 30, 2005, 12:29:31 PM
I tried to load the arcade on my new forums, onto a freshly loaded version 1.0.3 of SMF.  It blew away my index.php file and came up as version 1.0.2 after the mod. 

Anyone know is this supposed to be compatible with 1.0.3 and going forward, will it be compatible with 1.1??  ???
Title: Re: SMF Arcade
Post by: Harro on May 30, 2005, 03:18:05 PM
What does the "Force update champions" do exactly?
Title: Re: SMF Arcade
Post by: nokonium on May 30, 2005, 03:27:34 PM
Quote 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)
Title: Re: SMF Arcade
Post by: johnm on May 30, 2005, 06:27:57 PM
Quote from: nokonium on May 30, 2005, 03:27:34 PM
Quote 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)

you were banned because you violated our site policy by being abusive to one of the staff there
wether this would have been towards a member of staff or a member you would have still been banned.

for the record you post is still where it was so the other members can see.
its not that we dont want bugs reported its simply easier for niko.

i also gave you the option to appolagise for your behaviour and your ban would be lifted after a cooling off period of 3 days.

just to be clear you was not banned for voicing your opinion you were banned for being offensive/abusive.

the balls in your court...
Title: Re: SMF Arcade
Post by: redone on May 30, 2005, 08:02:30 PM
If you break forum rules then you get what you asked for. Bugs are posted at SMFgames all the time. Bottomline is simply no one has anything to hide.

;)
Title: Re: SMF Arcade
Post by: caNcer_b0y on May 30, 2005, 11:00:36 PM
Harumph! :P  I know for a fact that bugs get submitted, and solved. as has already been stated.
Title: Re: SMF Arcade
Post by: crazystu on May 30, 2005, 11:29:58 PM
If it wasn't for bug reports, then we would have a pretty bad arcade ;)
Title: Re: SMF Arcade
Post by: nokonium on May 31, 2005, 02:14:22 AM
Quote from: johnm on May 30, 2005, 06:27:57 PM
the balls in your court...

No it is in yours, my e-mail got bounced, which is why I posted in here. And I am not prepared to use a supposedly secure site with an a invalid certificate.





Title: Re: SMF Arcade
Post by: nokonium on May 31, 2005, 02:26:52 AM
1.2RP Bug report

6 pages of arcade errors in the error log when installed, another 6 when 'installed' again, It does not show up as installed in the Package manager. You cannot add new games.
Title: Re: SMF Arcade
Post by: nokonium on May 31, 2005, 02:33:14 AM
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 ;)

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.
Title: Re: SMF Arcade
Post by: rider on May 31, 2005, 12:36:58 PM
Quote from: nokonium on May 31, 2005, 02:33:14 AM
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 ;)

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.

Everything would be better without the bugs.LOL.Until the bugs are worked  just use 1.1.3.As for the invalid cert.As far as I know it is valid.You don't have any sercurity issues to be worried about at smfgames anyways.
Title: Re: SMF Arcade
Post by: nokonium on May 31, 2005, 01:08:21 PM
Quote 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  ::)

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.
Title: Re: SMF Arcade
Post by: rider on May 31, 2005, 02:37:40 PM
Quote from: nokonium on May 31, 2005, 01:08:21 PM
Quote 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.

Believe what you want.With or without the cert.There are no security issue with the site.
Title: Re: SMF Arcade
Post by: niko on May 31, 2005, 03:45:15 PM
You can also post to smfgames forum...
Title: Re: SMF Arcade
Post by: johnm on May 31, 2005, 04:09:11 PM
rider dont bother hes just trying to cause trouble



Title: Re: SMF Arcade
Post by: redone on May 31, 2005, 10:52:31 PM
My arcade works just fine thanks!  ;D
Title: Re: SMF Arcade
Post by: nokonium on June 01, 2005, 08:33:25 AM
Quote 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)
Title: Re: SMF Arcade
Post by: AlexHobbs on June 01, 2005, 09:14:49 AM
Hey, firstly great arcade - old version works but i tried to install version 1.1.3 and once it was installed and everything i click on the arcade button on index.php and it comes up with
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


If anyone could help with this i would be extremely grateful.
If it dosent work is their a way to add catagorys on the old version?
Title: Re: SMF Arcade
Post by: niko on June 01, 2005, 09:21:25 AM
make sure you have upload ArcadeAdmin.php and others
Title: Re: SMF Arcade
Post by: AlexHobbs on June 01, 2005, 09:28:05 AM
Quote from: Niko on June 01, 2005, 09:21:25 AM
make sure you have upload ArcadeAdmin.php and others
Does that mean i also have to upload arcade.xml and the other .xml?
Title: Re: SMF Arcade
Post by: AlexHobbs on June 01, 2005, 09:43:01 AM
Quote from: AlexHobbs on June 01, 2005, 09:28:05 AM
Quote from: Niko on June 01, 2005, 09:21:25 AM
make sure you have upload ArcadeAdmin.php and others
Does that mean i also have to upload arcade.xml and the other .xml?
Right ive uploaded every single file in the zip and it still comes up with the same error?
I've run arcade_sql.php to install it and it still dosent work
Title: Re: SMF Arcade
Post by: niko on June 01, 2005, 11:41:36 AM
no xmls needed
Title: Re: SMF Arcade
Post by: johnm on June 01, 2005, 04:29:06 PM
Quote from: nokonium on June 01, 2005, 08:33:25 AM
Quote 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)

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.
if you use fire fox or ie and double click on the padlock (better in FF) it will confirm that it is indeed valid.

i personaly purchaed this cert for smfgames and i did it at rapidssl.com through my reseller if you still have doubts you can contact them at support@rapidssl.com and they will actually check it for you.

all i am tying to do is help our members achive greater privacy by having the option to register/login via ssl and obvously for other reasons like maybe a shop. ssl helps prevent the data being read between the server and the client.

now if you want you can email me (its in my profile) to discuss this otherwise you remain banned for the reasons wich were meantioned before
John
Title: Re: SMF Arcade
Post by: caNcer_b0y on June 01, 2005, 11:56:05 PM
Quote from: AlexHobbs on June 01, 2005, 09:43:01 AM
Quote from: AlexHobbs on June 01, 2005, 09:28:05 AM
Quote from: Niko on June 01, 2005, 09:21:25 AM
make sure you have upload ArcadeAdmin.php and others
Does that mean i also have to upload arcade.xml and the other .xml?
Right ive uploaded every single file in the zip and it still comes up with the same error?
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. :)
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: AlexHobbs on June 02, 2005, 08:20:57 AM
Quote from: caNcer_b0y on June 01, 2005, 11:56:05 PM
Quote from: AlexHobbs on June 01, 2005, 09:43:01 AM
Quote from: AlexHobbs on June 01, 2005, 09:28:05 AM
Quote from: Niko on June 01, 2005, 09:21:25 AM
make sure you have upload ArcadeAdmin.php and others
Does that mean i also have to upload arcade.xml and the other .xml?
Right ive uploaded every single file in the zip and it still comes up with the same error?
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. :)

Ive run arcade_sql.php more then once and before i uploaded every new file i deleted allthe old ones to do with arcade. Im doing this manually and it comes up with
2: call_user_func(ArcadeAdmin): First argument is expected to be a valid callback
File: /home2/wide/public_html/forum/index.php
Line: 119
Should i try and use package manager?
Title: Re: SMF Arcade
Post by: AlexHobbs on June 02, 2005, 08:24:34 AM
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?
Yea im experiencing that - only the players who played it can view the results is there any way to make them public?
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: dtm.exe on June 02, 2005, 11:45:28 AM
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?

Post the errors that you're getting when you install the SMF Arcade mod.

-Dan The Man
Title: Re: SMF Arcade
Post by: vintagepc on June 02, 2005, 11:55:10 AM
Install
Checking database differences
Connected and Selected Database
Finding tables... 133 tables in database

Notice: Undefined index: theme_dir in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 839

Notice: Undefined index: default_theme_dir in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 841

Notice: Undefined index: default_theme_dir in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 848

Notice: Undefined index: theme_dir in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 897

Notice: Undefined index: theme_url in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 897

Notice: Undefined index: theme_dir in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 898

Notice: Undefined index: theme_url in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 898

Notice: Undefined index: default_theme_url in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 899

Notice: Undefined index: default_theme_url in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 900

The default theme's directory is wrong, please correct it by clicking this text.

Notice: Undefined index: theme_dir in /home/virus/public_html/vintagepc/forum/Sources/Load.php on line 839

An Error Has Occurred!
2: mysql_affected_rows(): supplied argument is not a valid MySQL-Link resource
File: /home/virus/public_html/vintagepc/forum/Packages/temp/arcade_sql.php
Line: 916 
Title: Re: SMF Arcade
Post by: vintagepc on June 02, 2005, 12:02:55 PM
also, when I try to view topics I'm told that my databases are SMF 1.0.2, but  my install is .0.3.
odd... and that champ and when viewing posts I get :

Table 'virus_vintage2.smf_games_champ' doesn't exist
File: /home/virus/public_html/vintagepc/forum/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.3, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
Title: Re: SMF Arcade
Post by: vintagepc on June 02, 2005, 12:04:32 PM
odd, just re-ran arcade_sql, no errors this time, and it seems to be fixed...
Title: Re: SMF Arcade
Post by: niko on June 02, 2005, 12:47:29 PM
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?

thats for next version
Title: Re: SMF Arcade
Post by: nokonium on June 02, 2005, 01:30:11 PM
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


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.
Title: Re: SMF Arcade
Post by: Harro on June 02, 2005, 05:19:17 PM
Quote from: Niko on June 02, 2005, 12:47:29 PM
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?

thats for next version

Great ;)
Looking forward to it :)
Title: Re: SMF Arcade
Post by: superstorm on June 02, 2005, 07:33:58 PM
im having so many problems installing this lol . If someone would be kind enough to drop me a pm or something to help me out id really really appreciate it
Title: Re: SMF Arcade
Post by: johnm on June 03, 2005, 12:15:28 PM
Quote from: nokonium on June 02, 2005, 01:30:11 PM
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


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.

i give up! lol
Title: Re: SMF Arcade
Post by: redone on June 04, 2005, 09:19:25 AM
If your doing the install manually follow the readme.html and upload all files.
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: johnm on June 06, 2005, 08:30:38 AM
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

you going to need to post a little more info than that
Title: Re: SMF Arcade
Post by: grymlin72 on June 06, 2005, 10:23:23 AM
ok upload went fine, but in the arcade admin panel i have errors.  Same as stated by someone else. 

I'll post them:

Under Games:
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.

Categorys
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.

Title: Re: SMF Arcade
Post by: grymlin72 on June 06, 2005, 10:25:53 AM
Oh also...I uninstalled arcade, but my forum is still giving me errors...  how do i fix??
Title: Re: SMF Arcade
Post by: niko on June 06, 2005, 10:30:13 AM
you didnt run aracde_sql.php some servers require it to ran twice
Title: Re: SMF Arcade
Post by: grymlin72 on June 06, 2005, 10:31:47 AM
Quote from: Niko on June 06, 2005, 10:30:13 AM
you didnt run aracde_sql.php some servers require it to ran twice

so what should i do now?  I uninstalled it.  should i reinstall? and run arcade_sql.php?
Title: Re: SMF Arcade
Post by: johnm on June 06, 2005, 07:09:41 PM
you could try that

it depends on what errors your getting if they are about missing arcade tables you can try to run arcade_sql.php even if you are not reinstalling the arcade

but once it is uninstalled you shouldnt get errors
Title: Re: SMF Arcade
Post by: MichiganMinis on June 06, 2005, 08:59:34 PM
I just uninstalled this and I get this error
QuoteTable 'michiga1_smf1.smf_games_champ' doesn't exist
File: /home/michiga1/public_html/forum/Sources/Display.php
Line: 639

How do I get rid of this?
Title: Re: SMF Arcade
Post by: Julie on June 07, 2005, 11:01:50 PM
Where can I get the arcade_custom.php file needed for adding custom php games? Or how can I fix the error:

2: arcadeadmin_games(***/forums/Sources/arcade_custom.php): failed to open stream: No such file or directory
File: ***/forums/Sources/ArcadeAdmin.php
Line: 273

The file arcade_custom is not in any of the zip downloads I have found available.

Thanks!
Julie
Title: Re: SMF Arcade
Post by: DoW Kid Rock on June 10, 2005, 11:53:05 AM
couldn't seem to find if someone has this same problem, but here are the errors when I try to upgrade:

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


the thing is that it has installed....not sure what the errors are for
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: 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

(http://peta-sucks.com/gd.JPG)
Title: Re: SMF Arcade
Post by: [Unknown] on June 11, 2005, 04:59:52 PM
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

Path should be:

/home/peta/public_html/boards/Games

Or similar.  The URL should be:

http://peta-sucks.com/boards/Games

-[Unknown]
Title: Re: SMF Arcade
Post by: bloc on June 11, 2005, 07:00:37 PM
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

You have replaced the default theme with Helios theme..and the mod was then actually changing the wrong theme - since default and Helios are not the same.

I suggest you re-upload the default theme, install Helios again as a extra theme and then try to run the mod on the right default theme. You will have to modify Helios with the changes manually or... I am currently working on a Helios version that support among others arcade mod out-of-the-box, so if you could wait for that, it will be perhaps be easier.
Title: Re: SMF Arcade
Post by: peta-sucks.com on June 11, 2005, 07:39:26 PM
ok i got it working. but how do i turn off the option that shows what game u are champ at under your avatar?
Title: Re: SMF Arcade
Post by: Weston on June 13, 2005, 02:17:02 AM
facing a BIG problem. I try to install this game mode.but face error 2 times.. downloading 1.2 version
I think i did not remove properly.. now how am i going to remove the 2 GAMES TAB I've on my forum...

www.c3k.25s.com/forum

Complete newbie in php
Please advise the necessary steps to manually remove etc...

Thanks
Title: Re: SMF Arcade
Post by: nokonium on June 13, 2005, 02:21:33 AM
It is in your default theme index.template, near the end of the file. Look for this

<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'];

and delete one or both, depending how many buttons you want to remove.

You may have to edit some other files as well, you may find you have 'champions' with doubled champion icons, duplication in, IIRC, display.template, and also check your permissions in your admin console. You may get a parse error, IIRC line 994, don't worry, it is easy to fix. You may find a duplicated array and an errant '
Title: Re: SMF Arcade
Post by: Weston on June 13, 2005, 02:40:51 AM
didn't do anything, but now face

Table 'sbc3k_smf.smf_games_champ' doesn't exist
File: /home/sbc3k/public_html/forum/Sources/Display.php
Line: 597

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.

How can i do that ?..
Title: Re: SMF Arcade
Post by: Weston on June 13, 2005, 02:57:49 AM
i can't find any upgrade.php anywhere..
Title: Re: SMF Arcade
Post by: Weston on June 13, 2005, 03:36:17 AM
Table 'sbc3k_smf.smf_games_champ' doesn't exist
File: /home/sbc3k/public_html/forum/Sources/Display.php
Line: 597

basically i regret doing that arcade now upgrading i facing this error
Title: Re: SMF Arcade
Post by: [Unknown] on June 13, 2005, 04:32:56 AM
Upload all the files from the upgrade zip file - this will uninstall all your mods, including the arcade.

After that, if you still want the arcade installed, you can see if your solution was posted elsewhere in this topic, and try again.

-[Unknown]
Title: Re: SMF Arcade
Post by: niko on June 13, 2005, 04:57:54 PM
you need to run arcade_sql.php
Title: Re: SMF Arcade
Post by: Kindred on June 13, 2005, 05:07:49 PM
I'm having a really odd occurance....


the thumbnail url is being saved as Games/NAME.gif
no $boardurl...

So, in display.template.php, the pic appears as a blank box (red X) and the url is http://site.org/index.php/Games/NAME.gif

I have temporaily fixed it, by changing the line in Display.template.php to read:
         echo '
                        <img src="', $boardurl, '/',  $tmp['thumbnail'], '" alt="', $tmp['name'], ' ', $txt['arcade_136'],'" width="20">';


I don't know if this is an interaction with some other mod or what....  but the thumbnails disappeared a few weeks ago
Title: Re: SMF Arcade
Post by: Harro on June 13, 2005, 05:52:13 PM
You've got SEF url's enabled?
Title: Re: SMF Arcade
Post by: Kindred on June 13, 2005, 06:32:55 PM
nope...  not SEF.
Title: Re: SMF Arcade
Post by: 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!
Title: Re: SMF Arcade
Post by: nokonium on June 14, 2005, 03:18:39 PM
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.

Neither can anyone else who has installed 1.2rp, in the tradition of M$, it is a feature  ;)
Title: Re: SMF Arcade
Post by: johnm on June 14, 2005, 03:48:10 PM
were releasing game pack 7 with an sql file so members can install games for the latest game pack

if you need any other ones im happy to provide them just let me know
Title: Re: SMF Arcade
Post by: mrselnombre on June 16, 2005, 05:32:02 AM
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!

there is a fix for this,

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.
Title: Re: SMF Arcade
Post by: Jako on June 16, 2005, 08:25:01 PM
The whole 60something pages is a little intimidating, so excuse me if this question was already answered, but when will this be compatible with v1.0.4?
Title: Re: SMF Arcade
Post by: Harro on June 16, 2005, 08:27:20 PM
I just upgraded to 1.0.4 and arcade still seems to work...
So my guess is that you can safely install it on 1.0.4 ;)
Title: Re: SMF Arcade
Post by: tylerd213 on June 16, 2005, 11:26:36 PM
Quote from: mrselnombre on June 16, 2005, 05:32:02 AM
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!

there is a fix for this,

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.

I did that but it is still giving me that same error saying no catagory
Title: Re: SMF Arcade
Post by: mrselnombre on June 17, 2005, 02:44:22 AM
make sure you are editting the right line. It worked for me.
Title: Installed a MOD... Arcade ...Database Errors!!!
Post by: badshah on June 17, 2005, 10:15:57 AM
everything going fine till the point where i try to installs games...
this is the error i get:

Unknown column 'dsc' in 'field list'
File: /home/******/public_html/smf/Sources/Arcade.php
Line: 936

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.

but i downloaded SMF like 2 days ago so i have the latest version..duno what seems to be the problems though..any help would be much appreciated!!
Title: Re: Installed a MOD... Arcade ...Database Errors!!!
Post by: [Unknown] on June 17, 2005, 10:18:05 AM
I suggest you post in the Arcade mod's topic.  It's not made by us - it's a third party thing.

-[Unknown]
Title: Re: Installed a MOD... Arcade ...Database Errors!!!
Post by: Harro on June 17, 2005, 10:21:01 AM
Have you tried to run the sql file again?
Title: Re: Installed a MOD... Arcade ...Database Errors!!!
Post by: badshah on June 17, 2005, 10:21:53 AM
Quote from: Harro on June 17, 2005, 10:21:01 AM
Have you tried to run the sql file again?
i did that and everything is fine..just when m tryin to install the game itgive that error....
Title: Re: Installed a MOD... Arcade ...Database Errors!!!
Post by: Harro on June 17, 2005, 10:26:27 AM
Can you post those lines where the error is?
Title: Re: Installed a MOD... Arcade ...Database Errors!!!
Post by: badshah on June 17, 2005, 10:44:35 AM
ah i've found the solution..needed the latest smf arcade..cheers anyway
Title: Re: SMF Arcade
Post by: dtm.exe on June 17, 2005, 01:14:33 PM
Above six posts merged with the appropriate topic.

-Dan The Man
Title: Re: SMF Arcade
Post by: tylerd213 on June 17, 2005, 01:17:59 PM
Quote from: mrselnombre on June 17, 2005, 02:44:22 AM
make sure you are editting the right line. It worked for me.

I edited it correctly and it still is not working, here is a link to my arcadeadmin.php file (in .txt format) http://www.hpr.x10hosting.com/arcadeadmin.txt
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: floating on June 17, 2005, 04:38:29 PM
I want to unisntall smf arcade, how can i do it. because when i try from pacage manager to uninstall it t says: parse error, And an oter thing, i installed by mistake 3 times the same packet, and now i have 3 icons on my board, how can i do that only one shws up?
Title: Re: SMF Arcade
Post by: niko on June 17, 2005, 05:39:25 PM
Find extra links in index.template.php under template_menu function (after calendar part)
Title: Re: SMF Arcade
Post by: johnm on June 17, 2005, 06:24:18 PM
if it wont fully uninstall:-

upload the files for smf in the upgrade package
(source and default template)
and if you really want all traces of it gone use myphpadmin to drop the dbprefix_games tables

Good tip

what i do is make a full copy of my default theme when i go to apply mods this way if the mod breaks the theme files all i need to do is just restore that file, you can then edit that file manually to make  sure you dont get any parse erros etc.
Title: Re: SMF Arcade
Post by: tylerd213 on June 17, 2005, 07:10:02 PM
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.

Thanks so much man, It worked!!!! You were an awesome help, Good thing there are people like you in this world :)
Title: Re: SMF Arcade
Post by: 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
Title: Re: Few Things Requested On My Forums
Post by: 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. 
Title: Re: SMF Arcade
Post by: dtm.exe on June 18, 2005, 02:17:44 AM
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. 


Post merged with the appropriate topic.

-Dan The Man
Title: Re: SMF Arcade
Post by: floating on June 18, 2005, 05:15:59 AM
Thnx Niko for your tip, it worked.
@ Johnm : how u do a copy of your of template so i can do it myself. I think is a good way to be away from porb.
Title: Re: SMF Arcade
Post by: floating on June 18, 2005, 05:27:58 AM
New prob in my forum. When i try to post e new message it comes out

Table 'albanian_smf.smf_games_champ' doesn't exist
File: /home/albanian/public_html/smf/Sources/Display.php
Line: 634


What can i do do repar it?
Title: Re: SMF Arcade
Post by: johnm on June 18, 2005, 06:32:59 AM
either run_arcade_sql.php again

or edit display.php and search for arcade thingy and remove the lines related to the arcade
Title: Re: SMF Arcade
Post by: the mighty gc on June 18, 2005, 11:47:17 AM
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

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?
Title: Re: SMF Arcade
Post by: rider on June 18, 2005, 12:37:31 PM
Quote from: the mighty gc on June 18, 2005, 11:47:17 AM
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

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?

rerun the arcade_sql.php a couple of times that usaully fixes that problem.
Title: Re: SMF Arcade
Post by: HindSights2020 on June 18, 2005, 12:40:22 PM
Quote from: OIDanTheManIO on June 18, 2005, 02:17:44 AM
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. 


Post merged with the appropriate topic.

-Dan The Man

Could someone please answere this one?
Title: Arcade Issue
Post by: 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.
Title: Re: SMF Arcade
Post by: dtm.exe on June 19, 2005, 03:37:13 PM
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.

Post merged with the appropriate topic.

-Dan The Man
Title: Re: SMF Arcade
Post by: redone on June 19, 2005, 05:05:08 PM
If you supply me with the ftp info I will take a look for you.

:)
Title: Re: SMF Arcade
Post by: drummerkid418 on June 19, 2005, 09:32:06 PM
I installed SMF Arcade 1.1.3 through the package manager.  Clicked "list files", viewed "arcade_sql.php" and it said at the bottom of a very long code "echo "NOW DELETE THIS FILE! (if sucess else retry)";".   So I logged into my FTP folder and deleted "arcade_sql.php". 

Now, before I deleted this, and even after, when I click on the "games" button or "arcade" on the left in the admin menu, I get this following error message.

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


I have installed and uninstalled this arcade multiple times in hopes of getting it to work.  Sometimes, I had to edit the "index.template" code manually to remove the games button.  The "Arcade" option always remainded on the admin menu and I would always get an error message, understandably. 

I need to know how to get rid of this code and if I went about deleting arcade_sql.php correctly.  Also, is the root directory the smf folder in my ftp program?  Thanks very much.
Title: Re: SMF Arcade
Post by: niko on June 20, 2005, 05:50:13 AM
you dont have all files uploaded
Title: Re: SMF Arcade
Post by: HindSights2020 on June 20, 2005, 11:40:25 AM
Quote from: HindSights2020 on June 18, 2005, 12:40:22 PM
Quote from: OIDanTheManIO on June 18, 2005, 02:17:44 AM
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. 


Post merged with the appropriate topic.

-Dan The Man

Could someone please answere this one?
hello?
Title: Re: SMF Arcade
Post by: 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} :'(
Title: Re: SMF Arcade
Post by: drummerkid418 on June 20, 2005, 04:31:00 PM
Quote 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?
Title: Re: SMF Arcade
Post by: johnm on June 20, 2005, 05:46:15 PM
Quote from: drummerkid418 on June 20, 2005, 04:31:00 PM
Quote 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?

check the read me file see the manual install instructions

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

the mod doesnt replace the index.php file it just edits it

it should work on 1.0.4 if you have doubts read the maunal install insructions and follow them

Quote from: HindSights2020 on June 20, 2005, 11:40:25 AM
Quote from: HindSights2020 on June 18, 2005, 12:40:22 PM
Quote from: OIDanTheManIO on June 18, 2005, 02:17:44 AM
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. 


Post merged with the appropriate topic.

-Dan The Man

Could someone please answere this one?
hello?

run arcade_sql.php again if no luck replace display.php with the one from the smf upgrade package
Title: Re: SMF Arcade
Post by: johnm on June 24, 2005, 07:24:11 AM
No need to post twice at smfgames.com to get the games just need to be a member
Title: Re: SMF Arcade
Post by: 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!!!!
Title: Re: SMF Arcade
Post by: johnm on June 25, 2005, 05:14:44 AM
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!!!!

for your refrence it wouldnt hurt to check up on things before you open your mouth,
they (we) cant charge you for the games as one term for us having permission for them is that we dont charge for them.
however if you want to ask me stupid questions like how do i add a button, whats php or parse errors you will have to pay me, ive wasted to much time on crap like that.

yes we may charge for some stuff but never games
Title: Re: SMF Arcade
Post by: badshah on June 25, 2005, 04:19:27 PM
right..everything done and dusted but how do i add games???..i download a game, .swf file, uploaded it, the tried tio install it via the Acrade option in Admin Panel in forum, i get some error :
Unknown column 'dsc' in 'field list'
File: /home/badshah/public_html/smf1/Sources/Arcade.php
Line: 936

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.

now i knw m doin everything right, the file is .swf its a flash game:

any help on putin games in will be much much much much much appreciated!!!
Title: Re: SMF Arcade
Post by: badshah on June 25, 2005, 04:25:41 PM
actually its all sorted.....ran the intall file and n boom..all worked...yeehaaaa
Title: Re: SMF Arcade
Post by: johnm on June 26, 2005, 08:15:59 AM
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

glad to hear it, several problems can be solved by runing the install script twice, you can run the install script as many times as you wish.
Title: Re: SMF Arcade
Post by: 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 only
'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 caterogy

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'


There are only 3 instances of category, all the others are caterogy.

Is the inconsistancy, not the spelling, part of the Arcade problems?
Title: Re: SMF Arcade
Post by: johnm on June 26, 2005, 05:30:15 PM
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 only
'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 caterogy

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'


There are only 3 instances of category, all the others are caterogy.

Is the inconsistancy, not the spelling, part of the Arcade problems?

really this shouldnt be anything to worry about, but the way its done here could just make it difficult for niko to find bugs, i think as this mod is progressing niko is spelling category correctly wich will cause some confusion for some people especialy if they are trying to get 1.2 to work!!

whilst i think the arcade mod has progressed quite nicley niko needs to iorn out the bugs before any newer features are added
Title: Re: SMF Arcade
Post by: nokonium on June 27, 2005, 12:45:52 AM
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

I think a lot of peeps would agree with that.
Title: Re: SMF Arcade
Post by: ROGUE-Master on June 27, 2005, 08:58:03 PM
Is this compatible with 1.0.4?
Title: Re: SMF Arcade
Post by: johnm on June 27, 2005, 09:13:59 PM
Quote from: ROGUE-Master on June 27, 2005, 08:58:03 PM
Is this compatible with 1.0.4?

should be compatible with 1.0.5 (including 1.0.4)
Title: Re: SMF Arcade
Post by: caNcer_b0y on June 27, 2005, 10:51:53 PM
Works fine with 1.0.4, and 1.0.5. :)  as i ran it on both upgrades :)
Title: Re: SMF Arcade
Post by: azyabb on June 28, 2005, 01:19:20 PM
I am sure this has been asked before but, I can't seems to find the answer. I installed SMF 1.05 and arcade 1.03. I have the arcade button on the main menu bar but, when I click on it, the page just reloads. Also I do not see anywhere in the admin where I can admin the arcade to add games etc. What am I missing or what did I do wrong?
AzYabb  ???
Title: Re: SMF Arcade
Post by: johnm on June 28, 2005, 04:26:38 PM
ok if the page just reloads when you click the arcade button you need to open up the index file (index.php) for your forum and add the arcade bit to the array - see the readme.

as for a missing link in the admin pages it could be that it didnt modify your themes admin template
but you should be able to access the arcades admin panel once you have completed the edits to index.php by going to www.yoursite.com/forumdir/index.php?action=arcadeadmin

check the readme for instructions on how to edit the admin template
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: johnm on July 01, 2005, 04:53:53 AM
manually insert the details into myphpadmin
Title: Re: SMF Arcade
Post by: Itch™ on July 01, 2005, 05:48:18 AM
I'll wait for 1.1 Beta 3 support......

YM
Title: Re: SMF Arcade
Post by: flapper on July 01, 2005, 08:28:57 AM
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



im getting same error:

QuoteAn Error Has Occurred!
Missing field: Category 

When i go to phpMyAdmin i find that the table smf_games_caterogy   is spelt wrong and should be spelt category is this the reason for error, if so how do i change the table heading.
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: niko on July 03, 2005, 12:57:35 PM
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.


And rememper replace all (theres two edit and install)
Title: Re: SMF Arcade
Post by: ivo2296 on July 03, 2005, 09:39:50 PM
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.  <

Waitt i don't get something - the socond string has typo not the first
Title: Re: SMF Arcade
Post by: Douglas on July 04, 2005, 12:58:47 AM
Do this the easy way.  Run this in phpMyAdmin, changing dlh to your SMF's table prefixes...

DROP TABLE IF EXISTS dlh_games_caterogy;
CREATE TABLE dlh_games_category (
  id int(11) NOT NULL auto_increment,
  name varchar(255) NOT NULL default '',
  PRIMARY KEY  (id)
);
Title: Re: SMF Arcade
Post by: Douglas on July 04, 2005, 01:07:29 AM
Additional information:

in your dlh_games table, CHANGE "caterogy" to "category".

In $Sourcedir/ArcadeAdmin.php, do a search and replace on "caterogy" with "category". (24 changes)
Do the same in $Sourcedir/Arcade.php  (7 changes)
Do the same in $Sourcedir/Arcade2.php  (4 changes)
Do the same in $Themedir/ArcadeAdmin.template.php  (9 changes)
Do the same in $Sourcedir/Arcade.template.php  (6 changes)

This will fix this issues on a NEW installation.
Title: Re: SMF Arcade
Post by: nokonium on July 04, 2005, 01:32:59 AM
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

The sad truth is that 'caterogy' although mis-spelt was the spelling coded in, so if category is used when caterogy is required, category is a coding typo.
Title: Re: SMF Arcade
Post by: we8 on July 04, 2005, 08:09:54 AM
I can't seem to register at SMFGames - just never get sent the validation email
Title: Re: SMF Arcade
Post by: 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!
Title: Re: SMF Arcade
Post by: SeaOfSin on July 04, 2005, 12:49:05 PM
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!


The permissions problem is easy to fix!

Open
ManagePermissions.php

Find

'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.


Title: Re: SMF Arcade
Post by: ivo2296 on July 04, 2005, 08:39:21 PM
Quote from: SeaOfSin on July 04, 2005, 12:49:05 PM
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!


The permissions problem is easy to fix!

Open
ManagePermissions.php

Find

'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.



I did it but nothing - the same situation and how can manualy uninstall this mod?

My php editor found one more error in ManagePermissions.php:

PHP Parse error:  syntax error, unexpected ';', expecting ')'
on line 1037
so line 1037 has this:   );


PHP Parse error:  syntax error, unexpected T_VARIABLE,
on line 1040
line 1040 has:  $non_guest_permissions = array(
Title: Re: SMF Arcade
Post by: ivo2296 on July 04, 2005, 09:18:45 PM
So i fixed the problem with permissions, if  someone has the same problem i can give him my fixed ManagePermissions.php


Title: Re: SMF Arcade
Post by: Isaac on July 04, 2005, 11:58:05 PM
Hmm, I'm wondering where I can download games.  I went to www.smfgames.com or whatever the website is, but it says I cannot access the downloads.  I attempted to register on the forums, and am not getting my activation e-mail...
Title: Re: SMF Arcade
Post by: nokonium on July 05, 2005, 01:44:36 AM
The arcade array problem can sometimes just be a ' or you can also get a duplicated array as well. The line 1037 error    );  needs to be ));

Sorry I can't answer the third one, I haven't had that error yet
Title: Re: SMF Arcade
Post by: robertwatcher on July 06, 2005, 10:32:06 PM
I first posted this this morning on SMF forum:

-------

I am getting this message when trying to access High Scores for games (only place I notice it so far) - just upgraded to SMF 1.0.5 last week through the package manager - have uninstalled and reinstalled all mods:

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. 

Not sure just what this implies - and if I will loose data or mess up settings by using "upgrade.php" - or for that matter why the upgrade didn't take place with the upgrade through Package Manager - everything else seems to be working flawlessly.


--------------------

Then after finding out there was a newer version of the Archade Mod - I uninstalled the mod and downloaded the new version and tried installing it through package manager - noew I have tons of problems - The games button is installed twice and I can't seem to get rid of the one installation of it - - - also the High scores still do not show up but instead show the database message above.

Any help please - the Mod is installed at http://www.prophotoforum.com  (http://www.prophotoforum.com) .

My Pakage Manager does not show any Archade mod in the list so I can't even uninstall it while I try and figure things out. How do I get rid of the extra game installations that have been installed?
Title: Re: SMF Arcade
Post by: robertwatcher on July 06, 2005, 10:45:19 PM
OK - I figured out the duplication of Game link buttons part (I hope anyway) by deleting the extra entries in index_template.php.

What about the database main issue where High Scores cannot be viewed
Title: Re: SMF Arcade
Post by: johnm on July 07, 2005, 07:54:35 AM
im not sure if this is right

but you can try to edit arcade.php on line 444 and add to the query SET OPTION SQL_BIG_SELECTS=1

that might allow the query to be executed
Title: Re: SMF Arcade
Post by: robertwatcher on July 07, 2005, 09:14:02 AM
Quotebut you can try to edit arcade.php on line 444 and add to the query SET OPTION SQL_BIG_SELECTS=1

How do I add it - into what ever is there:

444 $context['arcade']['panel']['panels'][] = $game_info2;


or on its own line somewhere with a semi colon at the end

Not sure what you mean.
Title: Re: SMF Arcade
Post by: SeaOfSin on July 07, 2005, 11:26:21 PM
Just for fun I installed 1.2 rp on my test site 1.1 Beta 3 Public and it had only one failure in subs.php

all you have to do is find

if (allowedTo('manage_smileys'))
$context['admin_areas']['layout']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';

add below

if (allowedTo('admin_arcade'))
$context['admin_areas']['layout']['areas']['admin_arcade'] = '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>';


and then goto ManagePermissions.php and find the extra comma after the arcade options.

But I checked everything and it all works fine. You may have to run the sql file twice but all seems well after that!
Title: Re: SMF Arcade
Post by: Charge on July 08, 2005, 04:27:57 AM
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 ?
Title: Re: SMF Arcade
Post by: Pause on July 08, 2005, 04:49:20 AM
Quote from: Charge on July 08, 2005, 04:27:57 AM
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 ?
run arcade_sql.php
Title: Re: SMF Arcade
Post by: Charge on July 08, 2005, 05:12:25 AM
i try that, but it can't works too and somemore my whole display theme is mess up after i install it.
Title: Re: SMF Arcade
Post by: Pause on July 08, 2005, 05:38:07 AM
Quote from: Charge on July 08, 2005, 05:12:25 AM
i try that, but it can't works too and somemore my whole display theme is mess up after i install it.
Are you using the default theme or another?
Title: Re: SMF Arcade
Post by: Charge on July 08, 2005, 06:57:56 AM
i'm using the SMF Default to install it.. but it can't seem to work, so i change the theme to Helios.. wonder can it works ?
Title: Re: SMF Arcade
Post by: ivo2296 on July 08, 2005, 10:48:41 AM
Sorry i 'll ask one more time:

How can unistall this mode manualy on 1.0.5 cause i have installed but in package manager shows Aplay mode but Unistall mode?
Title: Re: SMF Arcade
Post by: 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)
Title: Re: SMF Arcade
Post by: ivo2296 on July 08, 2005, 11:03:36 AM
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)

That is in the XML:

<?xml version="1.0"?>
<!DOCTYPE package-info SYSTEM "http://www.simplemachines.org/xml/package-info">

<package-info xmlns="http://www.simplemachines.org/xml/package-info" xmlns:smf="http://www.simplemachines.org/">
   <id>Niko:Arcade</id>
   <name>SMF Arcade</name>
   <version>1.2</version>

   <type>modification</type>

   <install>
      <readme>Documents/readme.txt</readme>
      <modification type="file">arcade.xml</modification>
      <require-dir name="getid3" destination="$boarddir" />
      <require-dir name="Games" destination="$boarddir" />
      <require-file name="arcade_sql.php" destination="$boarddir" />
      <require-dir name="Sources" destination="$boarddir" />
      <require-file name="Themes/default/Arcade.template.php" destination="$themedir" />
      <require-file name="Themes/default/ArcadeAdmin.template.php" destination="$themedir" />
      <require-file name="Themes/default/images/english/games.gif" destination="$themedir/images/english" />
      <require-file name="Themes/default/languages/Arcade.english.php" destination="$themedir/languages" />
      <require-file name="Themes/default/languages/Arcade.finnish.php" destination="$themedir/languages" />
      <code>arcade_sql.php</code>
</install>

   <uninstall>
      <modification type="file" reverse="true">arcade.xml</modification>
   </uninstall>
</package-info>


What should i change?
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: robertwatcher on July 08, 2005, 04:19:09 PM
Can anyone tell me how to go about doing this - I have no idea:


Quotejust run query "SET OPTION SQL_BIG_SELECTS=1" (or maybe you have to add it to highscores query).

The above was the response I got back from an SMF Arcade administrator concerning the problem I am having on my ProPhotoForum.com when trying to display Arcade Game High Scores - this is the error message I am getting:

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. 

I need help - display of the high scores has been working perfectly on the forum - but has recently changed.
Title: Re: SMF Arcade
Post by: Charge on July 09, 2005, 12:10:43 AM
hmm, no matter how i install it. the database cannot create ?
Title: Re: SMF Arcade
Post by: johnm on July 09, 2005, 10:08:13 AM
if you cannot create the tables then arcade_sql.php must be returning an error

please post any error messages for us to help you
Title: Re: SMF Arcade
Post by: Itch™ on July 09, 2005, 12:43:54 PM
I'll just wait for a total 1.1 Public upgrade....

YM
Title: Re: SMF Arcade
Post by: rider on July 09, 2005, 01:16:55 PM
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

go into your users permissions and see if the arcade permissions are there and if so click allow to access the arcade.If the permissions are not there then you need to change your managepermisions.php.Also what version of the arcade and smf are you running?
Title: Re: SMF Arcade
Post by: Skhilled on July 10, 2005, 04:44:55 AM
Hi I've had a problem with arcade not loading properly after installing smf 1.0.5 but corrected it by uninstalling arcade. I've also encountered 3 games buttons due to my reinstalling and unstalling and have removed the extras. But now I have 3 sets of champion text/info over my users names.

For example, it will list your championship scores over your name 3 times. How can I remove the extras?
Title: Re: SMF Arcade
Post by: nokonium on July 10, 2005, 04:56:29 AM
IIRC that is in DisplayTemplate.php

Title: Re: SMF Arcade
Post by: nokonium on July 10, 2005, 10:12:24 AM
I've just found another bit of code that Arcade creates multiple entries of.

I had over 200 pages, of "8: Undefined index:" errors in the log. OK so I don't go in there very often  ;)

When I looked at index.php and scrolled down to line 205 I found this

// 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'),


Three sets of 'arcade' and 'arcadeadmin'.

On Line 205 was the second occurence of
'arcade' => array('Arcade.php','Arcade'),
Title: Re: SMF Arcade
Post by: niko on July 11, 2005, 09:48:45 AM
1.2.1 is now available   :)
Title: Re: SMF Arcade
Post by: robertwatcher on July 11, 2005, 11:33:33 AM
2 questions

1 ) when I try to download the new Archade 1.2.1 from the Package Manager - I get the message that the file I am trying to download is corrupt or not compatable with my version of SMF (which is 1.0.5) - so I can't download the new version from there.

2 ) How do I uninstall Arcade when I don't have an uninstaller available - even though I am running archade on my forum (www.prophotoforum.com)

Thanks for any help.
Title: Re: SMF Arcade
Post by: Itch™ 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?
Title: Re: SMF Arcade
Post by: Togster on July 11, 2005, 05:22:04 PM
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?

I get the same.... cool that this is gonna work with 1.1 now though :)
Title: Re: SMF Arcade
Post by: DemonicInfluence on July 11, 2005, 07:42:24 PM
install is good, but the source files are buggy........ it won't let anyone to access the arcade. I mean the arcade.php and the arcade2.php .
Title: Re: SMF Arcade
Post by: 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
4. Execute Modification Sources/ManagePermissions.php Test failed

same as for 1.2

im running 1.1 Beta 3.
Title: Re: SMF Arcade
Post by: Charge on July 12, 2005, 06:12:15 AM
 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 Failure
7. Execute Modification Sources/Display.php Success

i got this problem...  help ??
Title: Re: SMF Arcade
Post by: Graeme1978 on July 12, 2005, 06:44:48 AM
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

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
Title: Re: SMF Arcade
Post by: nokonium on July 12, 2005, 12:40:46 PM
And now for something completely different ....

We have had a request/suggestion from a member with circa 12 Champions icons (all different  ;) ) and has asked if there is a way to set the maximum height and then force a scrollbar to see the full set.

Is that possible?

Currently running on SMF 1.0.5 (but have 1.1b3p test site) and Arcade 1.2)
Title: Re: SMF Arcade
Post by: DoW Kid Rock on July 12, 2005, 02:57:36 PM
I get the same kind of message as others

Connected and Selected Database
Finding tables... 114 tables in database
Table 'disciple_smf.smf_games_category' doesn't exist
Title: Re: SMF Arcade
Post by: DemonicInfluence on July 12, 2005, 06:20:55 PM
just go to phpmyadmin and change the table from smf_games_caterogy to smf_games_category
Title: Re: SMF Arcade
Post by: Charge on July 12, 2005, 09:01:37 PM
what about mine ? the display templetes
Title: Re: SMF Arcade
Post by: DemonicInfluence on July 13, 2005, 12:14:46 AM
manually do it then.
Title: Re: SMF Arcade
Post by: Charge on July 13, 2005, 05:06:43 AM
but there is no Display.template.php ?? how i do it manually ?
Title: Re: SMF Arcade
Post by: littleone on July 13, 2005, 06:30:29 AM
I am getting this when I try to upload the mod:

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 Failure
7. Execute Modification Sources/Display.php Success

Any Help is appreciated!
Title: Re: SMF Arcade
Post by: Jounouchi on July 13, 2005, 07:24:43 AM
HELP@
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?
Title: Re: SMF Arcade
Post by: littleone on July 13, 2005, 08:40:36 AM
I had the same thing and it took me nearly 3 hours to get my forum back to being able to read the posts.  I had to go into my file manager and myPHPadmin (or whatever thats called) and remove everything under the MySQL tab that was related to the arcade stuff.  I really, really want this, but something is going on with it.  I am getting that failure also on the /display.php and have no clue why.
Title: Re: SMF Arcade
Post by: Jounouchi on July 13, 2005, 08:51:42 AM
Hmm......
Hope someone can help us. 8)
Title: Re: SMF Arcade
Post by: AlexHobbs on July 13, 2005, 10:43:20 AM
Quote from: Jounouchi on July 13, 2005, 07:24:43 AM
HELP@
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?

This has something to do with the arcade you are trying to install, and it clashes with your overall forum version, to get your database up to version 1.0.5 download the 1.0.5 upgrade zip file from the download section on this site and upload it and run it  ;)

Hope it helps.
Title: Re: SMF Arcade
Post by: johnm on July 13, 2005, 06:35:59 PM
it will return this error even if your database is up to date it has been posted many times about this error and i cant belive it hasnt been resolved yet
Title: Re: SMF Arcade
Post by: Charge on July 13, 2005, 09:47:18 PM
oh man, the Display.template.php still not beeen slove ?  :(
Title: Re: SMF Arcade
Post by: Jounouchi on July 14, 2005, 06:16:56 AM
I am using SMF 1.0.5 now.
How come it is SMF 1.0.2?
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: Charge on July 15, 2005, 12:38:49 AM
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?

you manually install ? how ? inside the zip file didn't have the display.templates ??
Title: Re: SMF Arcade
Post by: Graeme1978 on July 15, 2005, 04:20:37 AM
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

Anyone found a fix for this yet??
Title: Re: SMF Arcade
Post by: AlexHobbs on July 15, 2005, 11:07:19 AM
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?
If 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'
yes = everyone can do it
no= only admins can

Hope it helps :)
Title: Re: SMF Arcade
Post by: Charge on July 15, 2005, 09:44:31 PM
thank ! i'll try my best to do it !
Title: Re: SMF Arcade
Post by: ShadowStriker on July 15, 2005, 10:07:13 PM
when i try to install the arcade mod i get this: 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
Title: Re: SMF Arcade
Post by: TedNigma on July 15, 2005, 10:25:04 PM
This was listed as 1.1 Beta 3 ready...  Why the errors?  I am getting the same BTW.
Title: Re: SMF Arcade: errors
Post by: 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?
Title: Re: SMF Arcade
Post by: AlexHobbs on July 16, 2005, 10:22:35 AM
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?

That seems to be the case for many mods - it installs fine and everything works but it floods your error log with errors that dont occur.

But with arcade.italian.php i checked and the line number is out of range it only goes up to line: 294,

Sorry but thats the only information i have, but i might be able to help you more if you could tell me what line 515 says in the arcade file, if you could i ill reply as soon as possible
Title: Re: SMF Arcade
Post by: edi67 on July 16, 2005, 10:39:20 AM
Arcade.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]";


tell me if you need something else thanx for you rhelp

Title: Re: SMF Arcade
Post by: AlexHobbs on July 16, 2005, 11:05:00 AM
Sorry if i wasnt clear i meant arcade.italian.php not the main arcade.php

Sorry  :P
Title: Re: SMF Arcade
Post by: AlexHobbs on July 16, 2005, 12:01:51 PM
Arcade.italian.php  :-\ confusing in my experience with all versions of the arcade none require a italian language file, is the language file your own or downloaded from somewhere?
Title: Re: SMF Arcade
Post by: edi67 on July 16, 2005, 12:06:48 PM
i made with my self for my italian forum i translated all comand from original Arcade_english.php
Title: Re: SMF Arcade
Post by: AlexHobbs on July 16, 2005, 12:10:10 PM
Ok could you link me so i can see error for myself?
Title: Re: SMF Arcade
Post by: edi67 on July 16, 2005, 01:05:09 PM
which link you want? for file arcade.italian.php ? or forum ?
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: Vi31 on July 17, 2005, 10:23:21 PM
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.
Title: Re: SMF Arcade
Post by: edi67 on July 18, 2005, 12:39:13 AM
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 ?
Title: Re: SMF Arcade
Post by: Fiery on July 18, 2005, 04:34:22 AM
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
Title: Re: SMF Arcade
Post by: AlexHobbs on July 18, 2005, 10:00:05 AM
Quote from: pmp6nl on July 18, 2005, 04:34:22 AM
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
You are using either:
the wrong forum version to go with the arcade you are trying to use or...
try using arcade_sql.php again
Quote from: Vi31 on July 17, 2005, 10:23:21 PM
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.
exactly the same as above

Quote from: edi67 on July 18, 2005, 12:39:13 AM
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 ?
the actual file name so from arcade.italian.php~ change it to arcade.italian.php with no ~

Hope it helps you 3 :)
Title: Re: SMF Arcade
Post by: edi67 on July 18, 2005, 10:03:34 AM
Quotethe actual file name so from arcade.italian.php~ change it to arcade.italian.php with no ~

i have not so called the file is only arcade.italian.php without ~

some other solution please
Title: Re: SMF Arcade
Post by: 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?

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.
Title: Re: SMF Arcade
Post by: AlexHobbs on July 18, 2005, 10:40:56 AM
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]";


Hmm sorry i will add more when i find out but the coding is exactly the right code. i will try and tell you asap
Title: Re: SMF Arcade
Post by: AlexHobbs on July 18, 2005, 10:42:07 AM
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?

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.


Run the arcade_sql.php again and try running the latest upgrade.php
Title: Re: SMF Arcade
Post by: rider on July 18, 2005, 10:47:18 AM
try to run the arcade_sql.php a couple of times and see if that clears up a couple of issues.Also you can checkout smfgames.com.Read the faq section.You should find alot of the answers there.
Title: Re: SMF Arcade
Post by: oldmanwolf on July 18, 2005, 02:59:00 PM
Okay, first off:  Running SMF 1.0.5 several mods installed but no issues with any of them at this point, Arcade 1.2.1, installed w/ package manager, manually ran arcade_sql.php... 

I'm getting the same error...  I finish playing a game, and instead of being redirected somewhere, I get this mess:
Fatal error: Call to undefined function: parse_bbc() in /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php on line 280

line 280:$top10[$i]['comment'] = parse_bbc("[i]{$txt['arcade_25']}[/i]");

When I refresh that page, I get a page that tells me  Possible cheating detected!

At the same time, I'm getting this error in the Admin log...
8: Undefined variable: latest
File: /home/www/xxxxxxxx.org/forum/Sources/Arcade2.php
Line: 495


line 495: return $latest;

I get the line 495 error a couple times before, probably when starting the game in the first place...  These two could be related somehow...

Any ideas?   :-\
Title: Re: SMF Arcade
Post by: niko on July 19, 2005, 08:22:01 AM
parse_bbc is smf function so you probably have something missing :/
i'll check when i have time... i have been lately so bysy
Title: Re: SMF Arcade
Post by: littleone on July 20, 2005, 07:29:02 AM
I get the same error about Arcade 2!  Also, it is awarding 16 credits per response instead of 1, like I have selected.  Any ideas?
Title: Re: SMF Arcade
Post by: Graeme1978 on July 20, 2005, 11:40:36 AM
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

Still no ideas from anyone?  :-\
Title: Re: SMF Arcade
Post by: AlexHobbs on July 20, 2005, 11:45:29 AM
Unfortunately you will have to do this manually, go to the arcade zip folder and open up install.xml it will tell you what modification should go in Subs.php
Title: Re: SMF Arcade
Post by: Fiery on July 21, 2005, 02:29:46 AM
It fixed it.  You are awesome.... Should I delete arcade_sql.php?

THANKS

Quote from: AlexHobbs on July 18, 2005, 10:00:05 AM
Quote from: pmp6nl on July 18, 2005, 04:34:22 AM
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
You are using either:
the wrong forum version to go with the arcade you are trying to use or...
try using arcade_sql.php again
Quote from: Vi31 on July 17, 2005, 10:23:21 PM
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.
exactly the same as above

Quote from: edi67 on July 18, 2005, 12:39:13 AM
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 ?
the actual file name so from arcade.italian.php~ change it to arcade.italian.php with no ~

Hope it helps you 3 :)
Title: Re: SMF Arcade
Post by: rider on July 21, 2005, 02:45:46 AM
If everything is working then yes go ahead and delete it
Title: Re: SMF Arcade
Post by: Fiery on July 21, 2005, 03:05:19 AM
What is the games directory path suppose to be (by default)?

thanks
Title: Re: SMF Arcade
Post by: 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.
Title: Re: SMF Arcade
Post by: Fiery on July 21, 2005, 03:19:20 AM
Yes, that fixed it.

Thanks

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.
Title: Re: SMF Arcade
Post by: AlexHobbs on July 21, 2005, 03:29:49 AM
Glad everything is fixed  ;)
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: TedNigma on July 21, 2005, 05:03:05 PM
I looked around for this boggle and found one post about it, where the poster never responded to the advice.  Anyhoo.  I got it all setup, installed Asteroids aok.  it did give a 'sub error' however since this is my 'tester' board and not the live one I just told it to goahead.  Something I should DO there?  or is it aok if it seems to function fine?  I did have to rerun 'arcadesql.php' or whatever though, but it fixed my DB boggles.

however when i 'play' it the 'flash box' is just black..  I tried it in Mozilla 1.7, and IE 6.  Running Beta 3 btw.

Thanks for the help, I am sure it's something stupid I am overlooking.
BSDBill
Title: Re: SMF Arcade
Post by: TedNigma 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.
Title: Re: SMF Arcade
Post by: [Unknown] on July 21, 2005, 06:32:11 PM
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

That function only exists in 1.1.  I would guess you are using the 1.1 version in SMF 1.0, or that there is something wrong with the mod.

-[Unknown]
Title: Re: SMF Arcade
Post by: 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
Title: Re: SMF Arcade
Post by: Fiery 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

errors.

Editing the hotlink properties didnt fix it... any other ideas?

thanks

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
Title: Re: SMF Arcade
Post by: oldmanwolf on July 22, 2005, 03:54:55 AM
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

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?
Title: Re: SMF Arcade
Post by: hel8itch on July 22, 2005, 04:25:22 AM
iv tried to install the 1.13 version but get loads of errors..
i run the sql file first and got


Warning: main(/home/***/public_html/Sources/Arcade.php): failed to open stream: No such file or directory in /home/***/public_html/arcade_sql.php on line 7

Warning: main(/home/***public_html/Sources/Arcade.php): failed to open stream: No such file or directory in /home/***/public_html/arcade_sql.php on line 7

Warning: main(): Failed opening '/home/***/public_html/Sources/Arcade.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/***/public_html/arcade_sql.php on line 7
Installer version is: 1.1.3 while Arcade.php version is . This is internal version and may diffrent from 'real' version


Title: Re: SMF Arcade
Post by: hel8itch on July 22, 2005, 04:28:19 AM
oh..take that back..
i installed it via package manager..i was trying to install the 1.13 fixed version..just done the norm 1.13 and its installed run the arcade-sql file and so far so good.

but why is it when i install stuff package manager gives an error when adding a mod to this


Themes/default/Display.template.php
Title: Re: SMF Arcade
Post by: TedNigma on July 22, 2005, 01:03:19 PM
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
Title: Re: SMF Arcade
Post by: scrawl on July 23, 2005, 07:19:12 AM
how do i customise games to work with the highscore stuff if i don't have the original file i lost?
Title: Re: SMF Arcade
Post by: littleone on July 24, 2005, 09:16:48 AM
Quote from: oldmanwolf on July 22, 2005, 03:54:55 AM
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

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:

Parse error: parse error, unexpected T_FUNCTION in /home/xxxxxx/public_html/xxxxxxxxxx/Sources/Arcade2.php on line 305
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: Pause on July 25, 2005, 05:08:37 AM
Quote from: BSDBILL4 on July 22, 2005, 01:03:19 PM
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
It could be that you hadn't fully uploaded the flash files, try re-uploading them.
Title: Re: SMF Arcade
Post by: Fiery on July 25, 2005, 02:43:24 PM
I just went with the older version... I couldnt find the file that you were talking about...

Does the older version have any missing features? Do all the games work with it?

Thanks

Quote from: oldmanwolf on July 22, 2005, 03:54:55 AM
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

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?
Title: Re: SMF Arcade
Post by: nokonium on July 25, 2005, 03:26:47 PM
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?

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.

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 />';
                        }
                        }
Title: Re: SMF Arcade
Post by: edi67 on July 25, 2005, 05:28:31 PM
how solve these erros:

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
Title: Re: SMF Arcade
Post by: trenchteam on July 25, 2005, 08:03:00 PM
Quote from: nokonium on July 25, 2005, 03:26:47 PM
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?

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.

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 />';
                        }
                        }


Thanks. That solved my problem!
Title: Re: SMF Arcade
Post by: Scott013 on July 26, 2005, 11:43:37 PM
Where can I get games for this? www.smfgames.com seems quite broken (I don't receive a validation email). Is there another place to get them?
Title: Re: SMF Arcade
Post by: nokonium on July 27, 2005, 01:39:15 AM
Basically that is it. They develop the modify the games to work with SMF. If you have a problem contact them. They "currently have 99 Converted Games and an extra 25 Games in Conversion".
Title: Re: SMF Arcade
Post by: Scott013 on July 27, 2005, 03:03:48 PM
Am I the only one that can't get the site to work?
[Edit] NEvermind, they had to manually validate me, some things weren't working.
Title: Re: SMF Arcade
Post by: the mighty gc on July 28, 2005, 01:00:53 AM
i manually installed the arcade on 1.1 beta 3.  i altered all the permissions to true....yet still only admins can access the arcade room, what did i miss?
Title: Re: SMF Arcade
Post by: Fiery on July 28, 2005, 01:29:34 AM
Did you open the arcade?
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: littleone on July 28, 2005, 11:27:05 AM
Is there a way to make an additional mod that will put (say a trophy or title) in the actual forum for the member that has the most highest scores?
Title: Re: SMF Arcade
Post by: Kindred on July 28, 2005, 11:33:07 AM
of course there IS a way...   however, it would be moderately complicated to do this (and would probably require a chron job to do, since you'd want to check for most-high scores only every week (or other time period))

but, it could be done...  feel free to do it. :)
Title: Re: SMF Arcade
Post by: DemonicInfluence 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 this

Quote8: Undefined index: memberid
File: /home/u1/libo/html/Sources/Arcade2.php
Line: 454

I fixed it. I dunno how...
Title: Re: SMF Arcade
Post by: Fiery on July 29, 2005, 01:18:34 AM
Humm, I did the same thing and it works... Copy the coding for the whole page and ill take a look



Quote from: littleone on July 24, 2005, 09:16:48 AM
Quote from: oldmanwolf on July 22, 2005, 03:54:55 AM
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

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:

Parse error: parse error, unexpected T_FUNCTION in /home/xxxxxx/public_html/xxxxxxxxxx/Sources/Arcade2.php on line 305

Title: Re: SMF Arcade
Post by: Fiery on July 29, 2005, 01:19:48 AM
uninstall, reinstall run update... then what does it say?

If it doesnt work, go with older version

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 this

Quote8: Undefined index: memberid
File: /home/u1/libo/html/Sources/Arcade2.php
Line: 454
Title: Re: SMF Arcade
Post by: Fiery on July 30, 2005, 02:34:58 AM
Is there a way to set it up where 1 post = 5 credits to play games?????
Title: Re: SMF Arcade
Post by: trenchteam on July 30, 2005, 07:40:22 AM
^ that would actually be cool as hell!
Title: Re: SMF Arcade
Post by: 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:-

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   }


any ideas?? help greatly appreciated :)
Title: Re: SMF Arcade
Post by: Fiery on July 31, 2005, 02:40:33 AM
I have that problem also.. I have 75 pages of errors.. in 1.5 days



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

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   }


any ideas?? help greatly appreciated :)
Title: Re: SMF Arcade
Post by: DemonicInfluence on July 31, 2005, 09:40:02 AM
use this code instead of the normal code:

/* 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.
Title: Re: SMF Arcade
Post by: Togster on July 31, 2005, 12:41:04 PM
Quote from: Libo on July 31, 2005, 09:40:02 AM
use this code instead of the normal code:

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


Works!! thanks :)
Title: Re: SMF Arcade
Post by: 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?
Title: Re: SMF Arcade
Post by: DemonicInfluence on July 31, 2005, 02:40:02 PM
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?

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&nbsp;";
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>&nbsp;';

}
}
}

Got it from smfgames. I dont know what you mean by that came shown without to go to head for every game
Title: Re: SMF Arcade
Post by: snork13 on August 01, 2005, 01:40:02 AM
Quote from: littleone on July 24, 2005, 09:16:48 AM
Quote from: oldmanwolf on July 22, 2005, 03:54:55 AM
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

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:

Parse error: parse error, unexpected T_FUNCTION in /home/xxxxxx/public_html/xxxxxxxxxx/Sources/Arcade2.php on line 305


it work for me ..change those to lines with version 1.05

thanks
Title: Re: SMF Arcade
Post by: flowerweb on August 01, 2005, 07:59:54 AM
Quote from: Libo on July 31, 2005, 02:40:02 PM
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?

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&nbsp;";
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>&nbsp;';

}
}
}

Got it from smfgames. I dont know what you mean by that came shown without to go to head for every game

Ok thanks very very much Libo.
I mean to show games in which the user is champion in a row and not in much row.
Title: Re: SMF Arcade
Post by: azuregenesis on August 01, 2005, 08:49:47 AM
got it working on 1.0.5 :) thanks!

now to redo this to fit my other themes...

xD
Title: Re: SMF Arcade
Post by: qbproger on August 01, 2005, 03:41:25 PM
i keep getting this error in my error log:

8: Undefined index: memberid
File: /home/qbproger/public_html/forums/Sources/Arcade2.php
Line: 454
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 01, 2005, 06:40:21 PM
define memberid in arcade2.php

On line 454 for a unmodified Arcade2.php

change this:

$x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['memberid']}', game='{$arr['game']}', stime='{$top[0]['time']}'";

Into this:

  $x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['member']}', game='{$arr['game']}', stime='{$top[0]['time']}'";
Title: Re: SMF Arcade
Post by: qbproger on August 01, 2005, 08:36:28 PM
why does my arcade panel look like this:

Arcade panel
Game listing
Admin
Challenges
Tournaments
Statistics
No Actions
Flatout
Champion: Array
Score: 376


The part that has me confused is:
Champion: Array
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 01, 2005, 09:09:02 PM
I had that too. Do this to fix:

In Arcade.template.php in Themes/default

Find:
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>";

Replace with this:
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>";
Title: Re: SMF Arcade
Post by: qbproger on August 01, 2005, 09:27:01 PM
when i changed that top line, now i get 2 new errors:

8: Undefined offset: 0
File: /home/qbproger/public_html/forums/Sources/Arcade2.php
Line: 454

and this one:

8: Undefined variable: GET_
File: /home/qbproger/public_html/forums/Sources/ArcadeAdmin.php
Line: 572
Title: Re: SMF Arcade
Post by: qbproger on August 01, 2005, 09:58:56 PM
ok... i don't think the line you said is where the problem lies... as it started 2 more errors.  i think it's somewhere in here

if(isset($user_profile[$score['member']]))
{
$top10[$i]['member'] = $user_profile[$score['member']];
}
else
{
$top10[$i]['memberid'] = $score['member'];
}
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 02, 2005, 12:17:27 AM
It isn't sorry... Try this:

Arcade2.php

Find:
          $x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['memberid']}', game='{$arr['game']}', stime='{$top[0]['time']}'";

Replace:
$x = "INSERT INTO {$db_prefix}games_champ SET member='{$top[0]['member']}', game='{$arr['game']}', stime='{$top[0]['time']}'";

This SHould work now.
Title: Re: SMF Arcade
Post by: qbproger on August 02, 2005, 12:24:52 AM
that's the same edit as above that caused different errors
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 02, 2005, 12:34:37 AM
One is in Arcade template. Other is in Arcade2....
Title: Re: SMF Arcade
Post by: qbproger on August 02, 2005, 01:03:56 AM
the edit you told me for arcade2 is the same one as before... the one that causes different errors.
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 02, 2005, 02:18:16 AM
I dunno then. Sorry, I had the error too on my board and I fixed it. I frogot how  :(
Title: Re: SMF Arcade
Post by: qbproger on August 02, 2005, 02:29:07 AM
I figured it out... with some php knowledge  :D

This is the address of where I show how to fix the error.
http://smfgames.com/forum/index.php?topic=1322.0 (http://smfgames.com/forum/index.php?topic=1322.0)

There is only one more problem now... and i'm looking at the source code, i don't see what could be causing this one...
On every game page is says:
Champion: Array...

I think it has something to do with this line in Arcade.php:
$game_info .= "<b>{$txt['arcade_7']}</b>: {$context['arcade']['top10'][0]['member']}<br /><b>{$txt['arcade_1']}</b>: {$context['arcade']['top10'][0]['score']}<br />";

I'm going to add some debugging code, and see if i can figure it out... we'll see i guess...
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 02, 2005, 06:42:51 PM
$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 />";

That's the edit I had. :)
Title: Re: SMF Arcade
Post by: DemonicInfluence 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...
Title: Re: SMF Arcade
Post by: Evolution-8 on August 03, 2005, 02:32:41 AM
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?

So, how do you fix that?  I need to know, my forum is down until that is fixed.
Title: Re: SMF Arcade
Post by: scrawl on August 03, 2005, 02:48:23 AM
could someone explain a little more about where and what code to put into my games so they work with the high score system?

cheers.
Title: Re: SMF Arcade
Post by: scrawl on August 03, 2005, 02:51:02 AM
Quote from: Evolution-8 on August 03, 2005, 02:32:41 AM
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?

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
Title: Re: SMF Arcade
Post by: tentronik on August 03, 2005, 02:53:00 AM
Try changing the version number inside the xml before you install.
You have to unpack/repack therefor.
Title: Re: SMF Arcade
Post by: Evolution-8 on August 03, 2005, 02:54:06 AM
Quote from: scrawl on August 03, 2005, 02:51:02 AM
Quote from: Evolution-8 on August 03, 2005, 02:32:41 AM
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?

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

I am not going to reinstall everthing and use 1.0.3
Title: Re: SMF Arcade
Post by: scrawl on August 03, 2005, 08:34:19 AM
that's cool bro settle down i was just offering some advice i didn't say you had to take it.
Title: Re: SMF Arcade
Post by: trenchteam on August 04, 2005, 01:32:13 AM
Quote from: WhyMan on April 24, 2005, 05:20:23 PM
HI there,

Anyone seen this error b4? 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 ;)

Cheers..  8)


Im getting this now too.  Im not sure why only admins have acess and users do not. :-[
Title: Re: SMF Arcade
Post by: DemonicInfluence 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.
Title: Re: SMF Arcade
Post by: trenchteam on August 04, 2005, 03:00:30 AM
for some odd reason the managepermissions.php file was not modded..  So I manually added

This
'arcade' => array( /* Lisätty */
'view_arcade' => false,
'play_arcade' => false,
'submit_score' => false,
'challenge_send' => false,
'challenge_view' => false,
)


after this:

Quote'profile' => array(
            'profile_view' => true,
            'profile_identity' => true,
            'profile_extra' => true,
            'profile_title' => true,
            'profile_remove' => true,
            'profile_remote_avatar' => false,
         ),

I was able to grant permission again.  What is strange was I was running the arcade for the longest time without ever having permission options. Then just today, it required it. At least its working now.  thanks for the suggestion though.
Title: Re: SMF Arcade
Post by: 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...
Title: Re: SMF Arcade
Post by: probinson77 on August 05, 2005, 08:40:03 AM
When you install games, you should go directly to your forum, not through the bridge.  So for example, you would go to sitename.com/smf_install_dir/index.php and then login to the admin from there to install games.

As for the other problem, I posted a solution to making the Arcade work with the Mambo bridge on the smfgames website a while back, but I figured it would nice to have it here too.  Basically, you need to modify only one file, your MAMBO index.php file, and put this code at the top of the file right after the opening <? before anything else:

/////////////////// 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 {


...and then at the bottom of your mambo index.php right before the ?> You must put a closing }.  That should do it.  I've been using this hack for about 2 months now and it works like a charm.
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 05, 2005, 09:07:22 AM
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...

did u run arcade_sql? This is how, www.yoursite.com/arcade_sql.php . Replace the yoursite.com with your sites adress...
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 05, 2005, 09:29:28 AM
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...

So, can anyone fix this problem? to make the thumbnails appear?
Title: Re: SMF Arcade
Post by: Phoenixoverlord on August 05, 2005, 11:21:06 AM
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...

Aye aye, I ran it and no problem there. But I only get this when I install the games. Everything else works fine. I think it's because I forgot one instance of ?action somewhere...
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 05, 2005, 12:31:21 PM
what version are u using? maybe reupload sources?
Title: Re: SMF Arcade
Post by: Phoenixoverlord on August 05, 2005, 02:03:34 PM
I'm using 1.1.3. as the 1.2.something is for SMF 1.1 (I'm using SMF 1.0.5.)
Title: Re: SMF Arcade
Post by: niko on August 05, 2005, 03:15:56 PM
I'll try to get a really working version this week or first part of next week... when i get time to setup it to my testing server... (smf 1.0.5 and smf 1.1 beta 3)
Title: Re: SMF Arcade
Post by: Col on August 05, 2005, 06:38:57 PM
Hi,

Installed on an unmodded forum, but get the following when I click on games:

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.

And similar messages in Games Installer, and Categories.

I also get the follwing when trying to view posts:

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.

Help greatly appreciated. :-[
Title: Re: SMF Arcade
Post by: redone on August 05, 2005, 07:17:21 PM
You need to upgrade your forum to SMF 1.05 and install the mod again. Basically your forum and its database versions don't match.

Upgrading and reinstalling the mod should fix that for you.

Title: Re: SMF Arcade
Post by: Col on August 05, 2005, 07:22:56 PM
Hi,

Sorry, no. The forum is a fresh install, version 1.0.5, using fantistico. The forum was workimg fine untill the arcade install.
Title: Re: SMF Arcade
Post by: Col on August 05, 2005, 07:52:53 PM
OK, I've sorted out the problems above, but now I have new ones. :-[

First, why is there no explanation the you must run http://www.YOUR SITE.COM/FORUM NAME/arcade_sql.php? I've looked through the first two pages of this thread, and no mention. It should be in first post! - Is it in a read me file? When you install using the package manager you would see that anyway. :-[

Anyway, the new problem. I now get:

Quote2: Division by zero
File: /home/xxxxxx/public_html/community/Sources/Subs.php
Line: 582

....when I try to use the arcade. :-\

Anyone? - Thanks.
Title: Re: SMF Arcade
Post by: Col on August 05, 2005, 08:09:49 PM
I had to enter some values in the Arcade Settings, it appears to be working now.

This is a fantastic mod, and huge effort has been made to provide some great games, and I am hugely appreciative, but why isn't there a guide at the beginning of this thread. I've managed to work this out, just, and by the skin of my teeth. For the want of a little documentation, this mod package is seriously let down. I do mean this constructively, even if it doesn't come across that way.

Anyway, huge thanks, despite the difficulties.
Title: Re: SMF Arcade
Post by: Col on August 05, 2005, 09:17:39 PM
...Also had to change some code in in Arcade2.php as per http://www.simplemachines.org/community/index.php?topic=29619.msg310977#msg310977
Title: Re: SMF Arcade
Post by: Fiery on August 05, 2005, 10:27:38 PM
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.

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
Title: Re: SMF Arcade
Post by: oldmanwolf on August 06, 2005, 01:01:40 AM
Quote from: pmp6nl on August 05, 2005, 10:27:38 PM
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.

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...
Title: Re: SMF Arcade
Post by: Fiery on August 06, 2005, 01:38:40 AM
Quote from: oldmanwolf on August 06, 2005, 01:01:40 AM
Quote from: pmp6nl on August 05, 2005, 10:27:38 PM
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.

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

That fixed that now I got:


Parse error: parse error, unexpected ',' in /home/***/public_html/forums/Sources/ManagePermissions.php on line 1061
From 1049-1080
   

),
         '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,
         ),

The error causer is in red.  What do I need to fix now?

Thanks
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 06, 2005, 02:05:31 AM
         '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
Title: Re: SMF Arcade
Post by: Fiery on August 06, 2005, 02:30:32 AM
Quote from: Libo on August 06, 2005, 02:05:31 AM
         '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

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?
Title: Re: SMF Arcade
Post by: trenchteam on August 06, 2005, 03:21:12 AM
Im using 1.05 of SMF.  Can I use the latest Arcade?
Title: Re: SMF Arcade
Post by: Fiery on August 06, 2005, 03:40:20 AM
Quote from: trenchteam on August 06, 2005, 03:21:12 AM
Im using 1.05 of SMF.  Can I use the latest Arcade?

Dont bother with it... too many errors.  Im going back to older version
Title: Re: SMF Arcade
Post by: nokonium on August 06, 2005, 07:36:38 AM
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?


[edited 7 Aug]
I've been trying to sort Arcade out on my test site and I have done it with a manual install of 1.1.3 (following a manual uninstall of 1.2rp. The arcade install creates the problem.

I may be out of my tree here as I cannot code php, but this isn't a WAG.  8)  I took the permissionlist array apart and came to the conclusion that the problem is caused by the 'arcade' array not being part of the 'membergroup' array. Before you install Arcade the 'membergroup' array and the last child array in it, are closed by the  )  ), following the 'profile' array. I have moved the ) from the 'profile' array to follow the 'arcade' array. Thus 'profile' ends ), and 'arcade' ends ) ),   

I can now set all permissions including arcade and arcade permissions can be set for each membergroup.

This is my modified code.

                      '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,
                        )
                    ),


Now all I have to do is get rid of the 8: Undefined index: version error
Title: Re: SMF Arcade
Post by: nokonium on August 06, 2005, 08:17:00 AM
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

I may have a handle on this now, I found the answer on SMF Games.

Line 421 in ArcadeAdmin.Template.php is the offender

        echo "<span class=\"smalltext\"><a href=\"http://www.pahajoki.info\">SMF Arcade {$context['arcade']['version']}</a> &copy; Niko Pahajoki 2004-2005</span>";

Replace it with

        echo "<span class=\"smalltext\"><a href=\"http://www.pahajoki.info\">SMF Arcade 1.1.3</a> &copy; Niko Pahajoki 2004-2005</span>";     
Title: Re: SMF Arcade
Post by: AlexHobbs on August 07, 2005, 09:13:07 AM
Hey guys, im back from my holiday
Anyone need help with the arcade?
Tell me and ill try to help  ;)
Title: Re: SMF Arcade
Post by: oldmanwolf on August 07, 2005, 02:08:09 PM
Well, a couple things...  I keep getting errors in my log when guests try to go to the arcade..

8: Undefined index: cannot_play_arcade
File: /home/www/animalrescuecooperation.org/forum/Sources/Security.php
Line: 683

There's other errors, but I can't find them - I had to empty my log since the SMF-Mambo bridge is filling it up with errors too...

Plus my set member permissions page is a little messed up - I have the settings but not the words for the challenges part, and the lines under that are no longer lined up right... 

The challenges thing doesn't seem to work right, so I've got it disabled right now...

Using SMF 1.0.5 and Arcade 1.1.3
Title: Re: SMF Arcade
Post by: greyknight17 on August 07, 2005, 02:18:26 PM
Yay, someone's here to help  ;D

I'm having problems installing the MOD on SMF 1.1 beta 3.  It gives me this failure:
Quote3.     Execute Modification     Sources/Subs.php     Test failed
Quoteso I just stopped installation.  I have tried suggestions from others, like looking for this line:
Quoteif (allowedTo('manage_smileys'))
  $context['admin_areas']['config']['areas']['manage_smileys'] = '<a href="' . $scripturl . '?action=smileys">' . $txt['smileys_manage'] . '</a>';
and adding this after it:
Quoteif (allowedTo('admin_arcade'))
  $context['admin_areas']['config']['areas']['admin_arcade'] = '<a href="' . $scripturl . '?action=arcadeadmin">' . $txt['admin_arcade'] . '</a>';
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?).

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.
Title: Re: SMF Arcade
Post by: Col on August 07, 2005, 05:07:41 PM
Quote from: trenchteam on August 06, 2005, 03:21:12 AM
Im using 1.05 of SMF.  Can I use the latest Arcade?

I'm using the latest on smf 1.0.5, but not without some problems. Read my posts on the previous page. - I did get it working.
Title: Re: SMF Arcade
Post by: the mighty gc on August 09, 2005, 12:17:01 AM
im still having trouble letting anyone whos not an admin use this.  ive done everything everyone has said so far, but only admins can play it.  the arcade just doesnt show up in permissions for me to get the baord to allow non admins to play, and i changed everything to true in teh code.  still no luck.  what have i missed?
Title: Re: SMF Arcade
Post by: demon1975 on August 09, 2005, 12:46:18 PM
Database Error
Table 'smf.smf_games_category' doesn't exist
File: /Forum/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. 


Thats funny seeing as everything I have is a fresh new install and NO my database is NOT 1. 0.2, so ...what gives? I also noticed that it says my games directory is invalid, no it's not it's right where I told it it was lol aghhhh help  >:(


It's not writing tables why? how do I fix it?

Database Error
Table 'smf.smf_games_category' doesn't exist
File: /Forum/Sources/ArcadeAdmin.php
Line: 299

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. 

Title: Re: SMF Arcade
Post by: DemonicInfluence on August 09, 2005, 01:00:51 PM
dl the 1.05 upgrade.php. Run it.
Title: Re: SMF Arcade
Post by: demon1975 on August 09, 2005, 02:16:46 PM
already have


also got this error Table 'smf.smf_games_caterogy' doesn't exist
File: /Forum/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.5, whereas your database is at version SMF 1.0.2. It is recommended that you execute the latest version of upgrade.php.
and um its category lol not caterogy
Title: Re: SMF Arcade
Post by: DemonicInfluence on August 09, 2005, 02:59:46 PM
phpmyadmin your catergory database to caterogy..
Title: Re: SMF Arcade
Post by: tentronik on August 09, 2005, 03:32:06 PM
Is there a version for 1.1 beta 3p SMF?
I found out the arcade1.1.3 version is compatible but didnt find all files to install.
Anyone has managed to install 1.1. beta 3p yet?
Also there (http://mods.simplemachines.org/index.php?mod=36) is a file called 1.2.1 which is beside uisng same version numbers as SMF a little confusing.

Code Select