News:

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

Main Menu

SMF Arcade

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

Previous topic - Next topic

Sword Master

I have a problem with installing games. Everytime I select a game to install it just redirects me to the index. The game was never installed. :'(

Bigguy

#1961
Is this error from the arcade ?

8: Undefined variable: i
File: /home/bigguy/public_html/smf/Sources/Display.php
Line: 551

And this, I looked at these lines and it does come from the arcade.

Undefined variable: game
File: /home/bigguy/public_html/smf/Sources/Display.php
Line: 554

I have fixed these errors and now my error log is totally clear. Now I have the same problem as "Sword Master" and I cant play any of the games that were installed previous to the upgrade.

EDIT: I did find an error actually in the error log not that I have checked and I stll cant install or play games. Here is the error.

8: Undefined index: member
File: /home/bigguy/public_html/smf/Sources/Arcade.php
Line: 485

RomanyX

I'm running SMF 1.1 RC2. I used the package manager to install version 1.2.4b and got two errors. One was for Subs.php, which I fixed. The other error involved the changes for index.template.php (I'm using the new default theme)...

arcade.xml says
<search position="replace"><![CDATA[ echo '
<a href="', $scripturl, '?action=calendar">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/calendar.gif" alt="' . $txt['calendar24'] . '" style="margin: 2px 0;" border="0" />' : $txt['calendar24']), '</a>', $context['menu_w'];]]>
</search>


But instead, what we have in RC2 is
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



So given this new setup, what do I put next, instead of 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'];]]>


?

I know almost nothing about coding... :-[

Aravot

#1963
Use the following for SMF 1.1 RC2


// Show the [Arcade] button.
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=arcade">Arcade</a>
</td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

redone

Don't forget to check out www.smfarcade.com too for faq's etc and current development of the mod.

;)

Bigguy

#1965
Now I have the same problem as "Sword Master" and I cant play any of the games that were installed previous to the upgrade.

EDIT: I did find an error actually in the error log not that I have checked and I stll cant install or play games. Here is the error.

8: Undefined index: member
File: /home/bigguy/public_html/smf/Sources/Arcade.php
Line: 485

EDIT 2: All the other errors I reported earlier are back to

8: Undefined variable: i
File: /home/bigguy/public_html/smf/Sources/Display.php
Line: 551

Undefined variable: game
File: /home/bigguy/public_html/smf/Sources/Display.php
Line: 554

I am using the cirrent version of the arcade.

pcigre

Will there be working package version for 1.1 RC2, coz I'm not much into coding and such things...

niko

Yes. Hopefully this month. I want to make it nearly bugless hopefully totally without bugs  :P. Testing & Fixing takes time...
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

McNeo2

Quote from: Niko on January 05, 2006, 10:46:45 AMYes. Hopefully this month. I want to make it nearly bugless hopefully totally without bugs  :P. Testing & Fixing takes time...

Thnx. It's worth to wait.

RomanyX

Thanx, Aravot!

Point taken, redone.

Xarcell

Quote from: dreamcloud on December 28, 2005, 06:41:43 PM
Im having some problems, i got the SMF arcade 1.2.4b from pakage manager in smf board. Then installed with no errors. Now whenever i go to the arcade i get this error:

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: /home/zeldare/public_html/forum/Sources/Arcade.php
Line: 252

Im using SMF 1.1 RC1

Please help  :(

I have teh same issue.It only comes up when I click on games.

Douglas

Hopefully you'll release a version compatible for BOTH RC1 and RC2, as I need them for both sites.
Doug Hazard
* Full Stack (Web) Developer for The Catholic Diocese of Richmond
(20+ Diocesan sites, 130+ Church sites & 24 School sites)
* Sports Photographer and Media Personality
* CFB Historian
* Tech Admin for one 1M+ post, one 2M+ post and one 10M+ post sites (last two are powered by multiple servers)
* WordPress Developer (Junkie / Guru / Maven / whatever)

Prasad007

will a SMF 1.1 RC 2 version of SMF Arcade be releasing anytime soon?

eeek

QuoteHopefully you'll release a version compatible for BOTH RC1 and RC2, as I need them for both sites.

Quotewill a SMF 1.1 RC 2 version of SMF Arcade be releasing anytime soon?


Depends what compatible means?? If it means installs with the easy peasy package manager then youll have to wait.

If it means does it work..then yes 1.2.4b works in rc1 and rc2 but youll have to manually edit the files but its nothing complicated if you know what copy and paste is :)

Instructions at www.smfarcade.com [nofollow] in the FAQ


Douglas

eeek, 1.2.4b does NOT work correctly.  And you have to keep in mind that RC2's structure is a bit different than RC1's is, which is why I was requesting both.
Doug Hazard
* Full Stack (Web) Developer for The Catholic Diocese of Richmond
(20+ Diocesan sites, 130+ Church sites & 24 School sites)
* Sports Photographer and Media Personality
* CFB Historian
* Tech Admin for one 1M+ post, one 2M+ post and one 10M+ post sites (last two are powered by multiple servers)
* WordPress Developer (Junkie / Guru / Maven / whatever)

FaSan

Quote from: Douglas on January 08, 2006, 03:20:36 PM
eeek, 1.2.4b does NOT work correctly.  And you have to keep in mind that RC2's structure is a bit different than RC1's is, which is why I was requesting both.


Work fine for me. SMF RC2 and Arcade v. 1.2.4b. i've install all manually (Modifications and DB)



FaSan

eeek

Works fine for me aswell, on a new install of rc2 and an upgrade

(or should I say -- works the same as on RC1 -- as its not perfect :) )

What doesnt work? It wont install with the package manager, thats the only difference I see.

But it might install with the package manager now :)

Who's feeling brave??

http://www.smfarcade.com/index.php?topic=400.0 [nofollow]


McNeo2

Quote from: eeek on January 09, 2006, 07:28:55 AMWho's feeling brave??

It works with RC2 fresh install and new theme. thnx. There was a little panic.. almost burned my computer.. but it ended fine.

J. S.

Is there any way to host the games on other server then SMF?

Douglas

Guess I should clarify.  The code itself is fine, the installer does not work.  Plus, several of my users on my 1.1 RC1 forum are complaining that high scores are not saved all the time.
Doug Hazard
* Full Stack (Web) Developer for The Catholic Diocese of Richmond
(20+ Diocesan sites, 130+ Church sites & 24 School sites)
* Sports Photographer and Media Personality
* CFB Historian
* Tech Admin for one 1M+ post, one 2M+ post and one 10M+ post sites (last two are powered by multiple servers)
* WordPress Developer (Junkie / Guru / Maven / whatever)

Advertisement: