News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF Arcade

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

Previous topic - Next topic

hel8itch

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



hel8itch

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

TedNigma

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

scrawl

#1103
how do i customise games to work with the highscore stuff if i don't have the original file i lost?

littleone

#1104
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

trenchteam

I dont want the champion stuff to appear under the avatar. How do i get rid of it?

Pause

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.
"You and me, inside that box, now." - The Doctor

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

Fiery

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?

nokonium

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



edi67

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
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

trenchteam

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!

Scott013

Where can I get games for this? hxxp:www.smfgames.com [nonactive] seems quite broken (I don't receive a validation email). Is there another place to get them?

nokonium

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



Scott013

#1113
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.

the mighty gc

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?

Fiery

Did you open the arcade?

Orbit45244

#1116
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?

littleone

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?

Kindred

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. :)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

DemonicInfluence

#1119
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...

Advertisement: