vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   v3 Arcade - Games Arcade & Challenge System [vB 3.0.3] (https://vborg.vbsupport.ru/showthread.php?t=60377)

Roody 01-19-2005 05:14 PM

Does anyone know if the patch for includes/functions_bbcodeparse.php in the new 3.0.6 will cause any problem for the arcade if I update this file?

Reverend 01-19-2005 05:21 PM

Quote:

Originally Posted by Roody
Does anyone know if the patch for includes/functions_bbcodeparse.php in the new 3.0.6 will cause any problem for the arcade if I update this file?

Hasn't caused any probs so far for us.

fly 01-19-2005 05:46 PM

Quote:

Originally Posted by Roody
Does anyone know if the patch for includes/functions_bbcodeparse.php in the new 3.0.6 will cause any problem for the arcade if I update this file?

Worked for me. Just try it. If it doesn't work, put the old file back and work through the hack again.

neocorteqz 01-19-2005 06:01 PM

Quote:

Originally Posted by Roody
Does anyone know if the patch for includes/functions_bbcodeparse.php in the new 3.0.6 will cause any problem for the arcade if I update this file?

From the zip

Files to Modify
===============
admincp/index.php
admincp/usergroup.php
includes/functions.php
includes/functions_showthread.php
includes/init.php
includes/functions_online.php
/global.php
/profile.php
/showthread.php


SO unless there is a mod other than the main arcade hack, then no, it will not effect the arcade, the Patched init.php that was released with vBull 3.0.5 did have to be rehacked, but not the released functions_bbcodeparse.php

dan325ci 01-19-2005 08:46 PM

Hi

I have several cheaters on the arcade.

When I delete their scores, the #2 high score user gets the championship...but the little trophy doesnt show up in his/her profile.

Does anyone know how to fix that?

Thanks
Dan

KanyeWest 01-19-2005 09:01 PM

ok im all done with everything except someone help me do this fix this or something where do i find tempalte modifications thanks

Template Modifications
======================

Make the following alterations to these existing templates, and save them.

==============
postbit
==============

Find:
__________________________________________________ ______________________________ ___________

<if condition="$show['pmlink']">

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

Above this, add:
__________________________________________________ ______________________________ ___________

<if condition="$post['arcadesettings'] & 4 AND $post[userid]!=$bbuserinfo[userid] AND $bbuserinfo[userid]!=0">
<tr><td class="vbmenu_option"><a href="arcade.php?$session[sessionurl]do=newchallenge&userid=$post[userid]" target="_self">Challenge $post[username] in the Arcade</a></td></tr>
</if>

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

Find:
__________________________________________________ ______________________________ ___________

<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

Below this, add:
__________________________________________________ ______________________________ ___________

$post[arcadeawards]

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

==============
navbar
==============

Find:
__________________________________________________ ______________________________ ___________

<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

Below this, add:
__________________________________________________ ______________________________ ___________

<td class="vbmenu_control"><a href="arcade.php?$session[sessionurl]">Arcade</a></td>

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

Find:
__________________________________________________ ______________________________ ___________

</table>
</div>
<!-- / header quick search form -->

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

Above this, add:
__________________________________________________ ______________________________ ___________

<tr>
<td class="thead">Arcade Game Search</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="arcade.php" method="post">
<input type="text" class="bginput" name="search" size="20" />$gobutton<br />
</form>
</td>
</tr>

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

__________________________________________________ ______________________________ ___________
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯
New Phrases
===========

Add the following phrases through the Admin Control Panel. (To do this, click on "Phrase
Manager" in the "Languages & Phrases" section, and click on "Add New Phrase".)

__________________________________________________ ______________________________ ___________

Phrase Type: GLOBAL

Varname: arcade_cp_game_active

Text: Is Game Active? <dfn>Allows you to enable or disable the game</dfn>

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

__________________________________________________ ______________________________ ___________

Phrase Type: GLOBAL

Varname: arcade_cp_game_challenabled

Text: Challenges Enabled? <dfn>Allows challenges to be created for this game</dfn>

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

__________________________________________________ ______________________________ ___________

Phrase Type: GLOBAL

Varname: arcade_cp_game_netplay

Text: netPlay Enabled: <dfn>Live multiplayer gaming</dfn>

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

__________________________________________________ ______________________________ ___________

Phrase Type: GLOBAL

Varname: arcade_cp_game_playpanel

Text: Show Play Panel? <dfn>Enables a small navigation panel during play</dfn>

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

__________________________________________________ ______________________________ ___________

Phrase Type: GLOBAL

Varname: arcade_cp_game_showaward

Text: Show Award? <dfn>(Enable the award for the highest scorer, tournaments excluded)</dfn>

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

__________________________________________________ ______________________________ ___________

Phrase Type: GLOBAL

Varname: arcade_main_latestscorebit

Text: <b>{1}</b> scored <b>{2}</b> playing "<b>{3}</b>". <a href="arcade.php?do=play&gameid={4}">[Click here to play {3}!]

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

__________________________________________________ ______________________________ ___________

Phrase Type: Front-End Error Messages

Varname: quickreg_prompt

Text: You need to register in order to play in the Arcade. Click <a href="$vboptions[bburl]/register.php">here</a> to register.

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

__________________________________________________ ______________________________ ___________

Phrase Type: Control Panel Stop Message

Varname: arcade_cp_settingssaved

Text: <i>Arcade</i> Settings Saved Successfully

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯

__________________________________________________ ______________________________ ___________
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯
File Uploads
============

All of the files in the "Files" directory need to be uploaded:

Files/arcade.php -> forumroot/arcade.php
Files/admincp/install_arcade.php -> forumroot/admincp/install_arcade.php
Files/admincp/arcadeadmin.php -> forumroot/admincp/arcadeadmin.php
Files/includes/functions_arcade.php -> forumroot/includes/functions_arcade.php
Files/includes/cron/arcadeupdate.php -> forumroot/includes/cron/arcadeupdate.php

The following directories (and their contents) also need to be uploaded:

Files/images/arcade/ -> forumroot/images/arcade/
Files/games/ -> forumroot/games/
Files/admincp/arcadejs/ -> forumroot/admincp/arcadejs/

Also, don't forget to upload the files which were modified earlier.

__________________________________________________ ______________________________ ___________
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯
Final Steps
===========

Run forumroot/admincp/install_arcade.php. Follow each of the steps - when complete,
delete the file from the admincp directory.

The last thing you need to do is create a new "Scheduled Task" for the Arcade:
1. Click on "Add New Scheduled Task", in "Scheduled Task" section.
2. For the title, enter "Arcade Tasks".
3. Select "23" from the minute dropdown list.
4. For the filename, enter: "./includes/cron/arcadeupdate.php". (Without the quotes)
5. Click on "Save".

All done!

plubius 01-19-2005 10:26 PM

I have the proarcade installed on my forum. Can both of these arcades be run from the same forum? If not, what will I need to do to add the v3aracade and drop the proarcade?

domeen 01-22-2005 10:23 PM

I still get the permission error, but only when I try to add comment after a game? What could be wrong? Thank You

MikaK 01-23-2005 08:26 AM

Quote:

Originally Posted by Dechevious
"games SET highscorerid=," this is your problem.

If your allowing guests to play, it cannot register a highscorerid because they have no id. You can either disallow visitors from playing, or, you can place an id check prior to the score write, to fix that.

If their not logged in, they shouldnt be able to play anyway. Thats your best bet.

I have the same problem. Here's the error message:
PHP Code:

Database error in vBulletin 3.0.3:
 
Invalid SQLUPDATE scllgames SET highscorerid=,highscore=82 WHERE 
shortname
='homerun'
mysql errorYou have an error in your SQL syntaxCheck the manual 
that corresponds to your MySQL server version 
for the right syntax to use 
near 'highscore=82 WHERE shortname='homerun'' at line 1
 
mysql error number
1064
 
Date
Sunday 23rd of January 2005 12:39:24 AM
Script
http://www.soundchilds.net/loud_lounge/cron.php?&rand=395242
Refererhttp://www.soundchilds.net/loud_lounge/statistic.php?do=spider
UsernameMikaK
IP Address
XXX 

When I tried to look into disabling guest play I couldn?t find which
option to change. General options are currently set as below:

Is the Arcade Active?
If not, only Administrators will be able to view the arcade Yes

Is netPlay Installed?
Enables multiplayer gaming if netPlay is installed No

Display Arcade Awards in Postbit?
If enabled, highest scorers will have awards displayed in their postbit templates. Yes

Allow Quick Registration?
Prompts to register if an unregistered user tries to play Yes

Enable Automatic Score Pruning?
Auto-prune options can be found in the "Score Settings" section No

User's Highest Scores Only?
Only the a user's highest score will be listed in the leaderboards (IN DEVELOPMENT) No

vBCode Enabled in Comments?
Allows users to use vBCode in their comments Yes

IMG Code Enabled in Comments?
Allows users to post images in their comments, not recommended No

Smilies Enabled in Comments?
Allows users to use smilies in their comments Yes

Allow Email Notification?
Allows users to enable email notification for arcade events Yes

Allow Challenge Results in High Scores?
Challenge scores will appear in the leaderboards. No

What code should I use for the id check prior to the score write?

Thanks for any hints.

-Mika

DRJ 01-23-2005 08:38 AM

Go to the user group manager in the admin cp. Then click on unregistered / not logged in

Scroll down to arcade options

Can View the Arcade?
Allows usergroup to view the arcade, including high scores and leaderboards

Can Play Games in the Arcade?
Allows usergroup to play arcade games


All times are GMT. The time now is 12:37 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05508 seconds
  • Memory Usage 1,799KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete