News:

Join the Facebook Fan Page.

Main Menu

SMF Arcade

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

Previous topic - Next topic

Aravot

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

flapper



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.

greyknight17

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.

crank0r

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

niko

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

WIP Mods: Bittorrent Tracker || SMF Wiki

trenchteam

HOw do i add the champion name under the avatar in Custom themes?

johnm

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

flapper

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

flapper

If i do a manual install, do i upload all the files in the zip file

johnm

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

Snort

Question. Is there an easy way to install the arcade into the Helios theme? I'm running SMF 1.0.2. :P

trenchteam

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.

ViV

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?


ViV

yeah I read about running it twice at smfgames... it resolved the issue ...  8)

Aravot

Upgraded from b6.1b to 1.0.3 everything went smooth, no problem whatsoever.

readme.txt

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
Hagamos el mundo al reves.

redone

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.

:)

flapper

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

greyknight17

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.

flapper

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.

Advertisement: