News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SMF Arcade

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

Previous topic - Next topic

dwd2000

Quote from: joshkol on December 21, 2008, 11:12:12 AM
Im using SMF 1.1.17 and SMF Arcade 2.0.16, I get the error when I try to install the game, even if the game is not compatible it should still be able to install so others can play right?

If it is not compatible it will not install or play. It is something like putting ram from an XT into a Pentium.
30 years ago I was young and foolish.
Now I'm just young.

DAMMIT JIM...I'M A TWEAKER...NOT A CODER!!!

Dave's Games

jeri

At the top of my forum (I uninstalled arcade during my last move) I have the following:

<?php
// Version: 1.1; Modifications
$txt['arcade'] = 'Arcade';
$txt['arcade_admin'] = 'Arcade Admin';
$txt['arcade_manage_games'] = 'Games';
$txt['arcade_manage_category'] = 'Categories';
$txt['arcade_settings'] = 'Settings';

// Permission names and help
$txt['permissiongroup_arcade'] = 'Arcade';
$txt['permissionname_arcade_view'] = 'View Arcade';
$txt['permissionhelp_arcade_view'] = 'May access Arcade and use basic features like search and view highscores';
$txt['permissionname_arcade_play'] = 'Play on Arcade';
$txt['permissionhelp_arcade_play'] = 'Allows member to play on arcade, in games which he/she has rights to';
$txt['permissionname_arcade_admin'] = 'Administrate arcade';
$txt['permissionhelp_arcade_admin'] = 'Arcade Administarator can Install/Edit/Delete game, Delete scores and edit settings for arcade';
$txt['permissionname_arcade_view'] = 'View Arcade';
$txt['permissionhelp_arcade_view'] = 'May access Arcade and use basic features like search and view highscores';
$txt['permissionname_arcade_favorite'] = 'Use Favorites feature';
$txt['permissionhelp_arcade_favorite'] = 'Allows member to favorite and unfavorite games';
$txt['permissionname_arcade_submit'] = 'Save scores';
$txt['permissionhelp_arcade_submit'] = 'Allows users to save their scores.';
$txt['permissionname_arcade_rate'] = 'Rate games';
$txt['permissionhelp_arcade_rate'] = 'Allows users to rate games.';
$txt['permissionname_arcade_comment'] = 'Allow to comment/edit comment';
$txt['permissionhelp_arcade_comment'] = 'Allows user to edit comments, own or any';
$txt['permissionname_arcade_comment_any'] = 'Any';
$txt['permissionname_arcade_comment_own'] = 'Own';

// Errors if they can't do something
$txt['cannot_arcade_play'] = 'You are not allowed to play games!';
$txt['cannot_arcade_view'] = 'You are not allowed to access arcade.';
$txt['cannot_arcade_favorite'] = 'You are not allowed to favorite games';
$txt['cannot_arcade_rate'] = 'You are not allowed to rate games';
$txt['cannot_arcade_comment_own'] = 'You are not allowed to comment';

// Who's online
$txt['who_arcade'] = 'Viewing Arcade index';
$txt['who_arcade_play'] = 'Playing <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';
$txt['who_arcade_highscore'] = 'Viewing highscores of <a href="' . $scripturl . '?action=arcade;sa=play;game=%d">%s</a> on Arcade';

// Help
$txt['arcade_max_scores_help'] = 'Maximum scores that will be stored per member. (0 means unlimited)';
$txt['arcade_membergroups_help'] = 'These groups will be allowed to play and view highscores. Others will not see this game, only used if permission mode will use game permissions.';
//The start of the language strings for the mod
$txt['members_without_posts_mod']='Enable the members with post count 0 mod';
$txt['members_without_posts_custom_message']='Enter here the message that you want to be displayed to members with post count 0.<div class="smalltext">Leave blank to show the default message. Html enabled</div>';
$txt['default_members_without_posts_message']='<img src="' . $settings['images_url'] . '/attention.gif" alt="" align="middle" /><br/>
Hi there<br /> Do you find this message annoying?<br /> Why not make a post and get rid of it?';

// --- Begin modification - Updated registration agreement ---
$txt['agreement_no_exist'] = 'The registration agreement was not found!';
$txt['agreement_off'] = 'Registration agreements are turned off!';
$txt['agreement_updated'] = 'Updated Registration Agreement';
$txt['agreement_updated_descr'] = 'We have recently updated our registration agreement. In order to use our forum, you must agree to its terms, so please read through it carefully:';
$txt['agree'] = 'I Agree';
$txt['reset_agreement'] = 'Reset the agreement status for everyone';
$txt['reset_agreement_descr'] = 'This will force all users to re-read the registration agreement, and agree to it in order to continue using the forum.';

// --- End modification
$txt['uot_users_online_today']='Users Logged In Today';
$txt['uot_yesterday']='Yesterday at ';
$txt['uot_total']='Total';
$txt['uot_visible']='Visible';
$txt['uot_hidden']='Hidden';
         

            $txt['twitter_title'] = 'Twitter';
            $txt['twitter_desc'] = 'Enter your USERNAME on Twitter (i.e. if your Twitter link is http://www.twitter.com/john_doe, enter john_doe here)';
            $txt['changeposterid'] = 'Change Poster/Starter';
$txt['changeposteridno'] = 'Poster ID';
$txt['aeiou'] = 'AEIOU';
$txt['aeiou_title'] = 'Auto Email Inactive Ordinary Users';
$txt['aeiou_enable'] = 'Enable Automatic Emailing Of Inactive Users';
$txt['aeiou_email_desc1'] = 'Text-Only (No html, no bbcode)';
$txt['aeiou_email_desc2'] = 'Allowed Variables';
$txt['aeiou_email_desc3'] = '$username, $displayname, $forum, $link, $lostpassword';
$txt['aeiou_initial_subject'] = 'Initial Email Subject';
$txt['aeiou_initial_message'] = 'Initial Email Message';
$txt['aeiou_final_subject'] = 'Final Email Subject';
$txt['aeiou_final_message'] = 'Final Email Message';
$txt['aeiou_delete'] = 'Auto Delete Members (Except Admins)';
$txt['aeiou_delete_desc'] = 'After being sent an initial and final email AND has not returned within a further 21 days (Minimum 63 days total)';
$txt['aeiou_underposts'] = 'Delete Member Post Threshold';
$txt['aeiou_underposts_desc'] = 'With a postcount less than or equal to.';
$txt['aeiou_warning'] = 'It is NOT Recommended To Change Settings Below';
$txt['aeiou_warning2'] = 'Mail is sent in small chunks with hourly/daily limits to ensure your IMPORTANT mail all gets through.';
$txt['aeiou_warning3'] = '(such as Activation Emails, Notifications, Emails, Announcements, Newsletters)';
$txt['aeiou_warning4'] = 'Try reducing the amounts if your emails are not being received.';
$txt['aeiou_hour_max'] = 'Max Emails Per Hour';
$txt['aeiou_hour_max_desc'] = 'Based on a hosts limit of 100 per hour';
$txt['aeiou_day_max'] = 'Max Emails Per Day';
$txt['aeiou_day_max_desc'] = 'Based on a hosts limit of 1000 per day';
$txt['aeiou_chunksize'] = 'Send x emails at a time';
$txt['aeiou_chunksize_desc'] = 'With a min 5 minute interval';
$txt['aeiou_active'] = 'Active';
$txt['aeiou_reactivated'] = 'Re-Activated';
$txt['aeiou_reachedhourlylimit'] = 'Reached Hourly Limit';
$txt['aeiou_reacheddailylimit'] = 'Reached Daily Limit';
$txt['aeiou_nofurtheremails'] = 'No Further Emails To Send';
$txt['aeiou_stopped'] = 'Stopped';
$txt['aeiou_last_ran'] = 'Last Ran';
$txt['aeiou_starts_again'] = 'Will Start Again';
$txt['aeiou_sent_day'] = 'Emails Sent Today';
$txt['aeiou_sent_hour'] = 'Emails Sent This Hour';
$txt['aeiou_awaiting_total'] = 'Total Emails Awaiting To Be Sent';
$txt['aeiou_awaiting_initial_email'] = 'No. of Initial Emails';
$txt['aeiou_awaiting_final_email'] = 'No. of Final Emails';
$txt['aeiou_awaiting_deletion'] = 'Users Awaiting Deletion';
$txt['aeiou_disabled'] = '(Disabled)';
$txt['aeiou_none'] = 'None';
$txt['aeiou_never'] = 'Never';
$txt['aeiou_status'] = 'Status';
$txt['aeiou_max'] = 'Max';
$txt['aeiou_initial'] = 'Initial Email';
$txt['aeiou_final'] = 'Final Email';
$txt['aeiou_last10emailed'] = 'Last 10 Inactive Users Emailed';
$txt['aeiou_default_subject'] = 'Hey $displayname';
$txt['aeiou_default_message'] = 'Hey $displayname, we have missed you at $forum.
Since its been a while, we thought we would send you a personal invitation to return.

$link

Your login username is $username.
If you have forgotten your password you can request it at $lostpassword

Regards
$forum staff';
?>



Which is my entire Modifications.english.php

I can't see it but apparently everyone else can...how do I get it off?

afe

Where can we see a demo?

Thanks.

niko

Quote from: afe on December 22, 2008, 02:59:01 PM
Where can we see a demo?

Thanks.

http://www.smfarcade.info/forum/index.php?action=arcade

Quote from: jeri on December 22, 2008, 04:41:27 AM
Which is my entire Modifications.english.php

I can't see it but apparently everyone else can...how do I get it off?

Sounds like Modifications file is broken. But if that's really whole file it should be correct.
Do you have Modifications.english-utf8.php? Check that.
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

afe

Cool, where do I get the games that are with high scores?

Thanks. :)

niko

Quote from: afe on December 22, 2008, 04:56:42 PM
Cool, where do I get the games that are with high scores?

Thanks. :)

http://games.smfarcade.info/

Games for some other arcades will work too, for example some games for ibProArcade, available from:

http://www.ibparcade.com/index.php?autocom=downloads (login required)
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

Burke ♞ Knight

Niko,

I'm helping someone upgrade their forum from 1.1.7 to 2.0 Beta 4.
If run the upgrade, how do I make sure they do not lose the arcade data?
They have large list of games, etc.
I know SMF likes to disable all mods, when upgrades, yet, I do not know if the database data for the arcade will still be there when reinstall the mod.

Just want to double check, before run upgrade.

(Yes, I plan on 2 database backups, as well as 2 full backups of the whole forum directory. :) )

niko

Quote from: BurkeKnight on December 23, 2008, 06:39:42 AM
Niko,

I'm helping someone upgrade their forum from 1.1.7 to 2.0 Beta 4.
If run the upgrade, how do I make sure they do not lose the arcade data?
They have large list of games, etc.
I know SMF likes to disable all mods, when upgrades, yet, I do not know if the database data for the arcade will still be there when reinstall the mod.

Just want to double check, before run upgrade.

(Yes, I plan on 2 database backups, as well as 2 full backups of the whole forum directory. :) )

Data will be still there. And Arcade 2.5 installer should upgrade it without problems.
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

Burke ♞ Knight

Perfect. :)

You know, I really have to give Arcade a try finally.
Just need to find how to get the games....LOL

Thanks, Niko. :)

Burke ♞ Knight

Just to let you know.
Upgraded and did like you said, got errors up the wazoo on a client's site, due to duplicate type errors trying to get the games to install.

Also, tried to extract a game pack, just to get a subs error that crashed the admin section of the Arcade.

Any ideas, before I resort to uninstalling the arcade and wiping it out of the database?

aED

Hi,

i know ive read it before but since i cant find it anymore can someone tell me how i can modify smf arcade so that when someone is playing in the arcade it will show in the whos online list that he is playing in the arcade and what game he is playing.

thanks!

Burke ♞ Knight

Quote from: aED on December 25, 2008, 07:58:17 AM
Hi,

i know ive read it before but since i cant find it anymore can someone tell me how i can modify smf arcade so that when someone is playing in the arcade it will show in the whos online list that he is playing in the arcade and what game he is playing.

thanks!

As far as I know, it already does that. :)
At lest, on my 1.1.7 site with Arcade, it does.

aED

I am not using the latest version maybe thats the reason if i upgrade it to the latest version will it preserved my installed games and scores? Btw i am also using smf 1.1.7

sardax

#3593
Hi 2 all.
Please, I need help.

I've installed SMF Arcade, everything is great, except 1 thing.

When I'm on my forum index, there is no Arcade button/link, but if I go via Address bar, It's normaly shown.

Here, look:

http://www.ptspclan.com/forum/index.php [nofollow]

http://www.ptspclan.com/forum/index.php?action=arcade [nofollow]

What Can I do???
I can normally install games, modify them, ... but, I can't see them from forum?!
THNX.

And also, this Smack The Penguin game, there is no SCORE update when playing? Why?

fwitt

sardax: as your forum is not using the smf default theme you need to do the theme edits for the arcade to the theme you are using, this is one of the most commonly asked questions about installing mods and the answer is everywhere, I think I can safely it appears several times in this thread in fact.

sardax

fwitt, thnx for answer. I've tried to find it, but I'm definatelly blind :)
When I've installed SMF Arcade, there was:

/index.php TEST FAILED

But no1 here had that problem. Probabbly, that was it.
Never mind, I'll try to find it arround here again.

Also, if You can write it, or find it before, I'll really appricieate.

thnx.

sardax

#3596
sorry 4 DP.

Also, I've edited index.php with what I had to, but, no changes :( :(
If I put it to DEFAULT, it looks great, and there is ARCADE tab... But, I like this one =(

fwitt

the file the link is in is index.template.php when the arcade is installed it gets added to the default themes version of this file. Your theme will have a version of this file. You need to add similar code to that which gets added to the default theme but so that it matches the other links in your theme. It depends how similar your themes template is in code to the default theme as to how much you need to change the code in your theme.

I tend to back up the themes index.template.php (so I have something to go back to if it goes wrong. Then do open a copy of the index.template.php and the do a find on the word "search" then every time "search" appears in a list add "arcade" to the list if search appears a lot in a block of code then copy the entire block of code replacing every occurrence of search with arcade in the copy, if you place the copy b4 the original the arcade link appears to the left of the search link and after means to the right. (you also need to change any occurances of $txt['182'] to $txt['arcade'] ). once you have done this replace the original file in your theme with this new one and check for errors.

SuperZambezi

I have a question :

Would it be possible to creat your own games so that they work with SMF arcade?

fwitt

Yes and there is more than one way to do it. Smfarcade supports more than one type of submission code. Writing flash is one of the things on my to do list that i havent got round to yet so I dont know how it works just that its possible (and apparently easy for a game author to add).

I seem to remember reading a post on smfarcade.info about what variables to submit.

Advertisement: