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)

GamerJunk.net 03-27-2004 02:33 AM

Damn I love this arcade feature!

FFMania 03-27-2004 08:28 AM

So how many queries does it add?

Ogmuk 03-27-2004 10:02 AM

Quote:

Originally Posted by mini2
When the games finish, the redirect to submit scores has stopped working?

I had this problem too. Check my earlier posts in this thread. It's probably related to the phpinclude templates.

Ogmuk 03-27-2004 10:26 AM

Quote:

Originally Posted by mini2
I now know the problem (thanks), but the solution is another matter!

I use phpadsnew and when I include the phpads file, it wont submit the score, when I comment out the advert include code, it works fine!

Looks like the same problem to me. Any included PHP file will cease the arcade to work hence you should use an if condition like I mentioned earlier in this thread.
https://vborg.vbsupport.ru/showpost....postcount=1730

Ogmuk 03-27-2004 10:58 AM

Quote:

Originally Posted by mini2
Maybe one option would be to have a simple PHP script that produces the output I need (forum/adverts.php) as html, then use server side includes to stick it in place? Not used server side includes for years though!

:)

I'm using a custom made script for keywords which is included server side. You only have to disable it for the arcade and you'll be fine.

John 03-27-2004 11:15 AM

Three new games available in the releases forum on v3arcade.com.

Koopa 03-27-2004 11:18 AM

Has anyone upgraded from RC 4 to Gold and got the Arcade working? I get permission errors when I try to access it :(

I want the keep the scores etc., is this possible?

Thanks.

John 03-27-2004 11:29 AM

It's got nothing to do with the upgrade, you've screwed up the file modifications - just like everyone else who has had the permission problem.

Search the thread, and you'll find over 70 results on it. Same question, same answer.

Anub1s 03-27-2004 11:52 AM

help

i have a problem

when i edit game descriptions, y just can edit it one, then i cannot, its like it locked up, i cant edit anymore

flstreetscene 03-27-2004 01:30 PM

I get the following error now after installing as a completly fresh install and deleting the database tables from my database

Code:

Database error in vBulletin 3.0.0:

Invalid SQL:
                INSERT INTO datastore VALUES('arcadesettings', 845)
       
mysql error: Duplicate entry 'arcadesettings' for key 1

mysql error number: 1062

Date: Saturday 27th of March 2004 03:16:28 PM

Thanks.

VBDev 03-27-2004 01:36 PM

Could it be possible that you modify your hack John so that "hard phrases" were removed and replaced with $vbphrase[] so that we could translate it ?! :)

ConqSoft 03-27-2004 01:53 PM

Quote:

Originally Posted by flstreetscene
I get the following error now after installing as a completly fresh install and deleting the database tables from my database

Code:

Database error in vBulletin 3.0.0:

Invalid SQL:
                INSERT INTO datastore VALUES('arcadesettings', 845)
       
mysql error: Duplicate entry 'arcadesettings' for key 1

mysql error number: 1062

Date: Saturday 27th of March 2004 03:16:28 PM

Thanks.

Delete that entry from the datastore table.

AshAbed 03-27-2004 04:18 PM

one of the admins at a forum I work at said "I noticed the "arcade task" and thought to myself "hmm...this seems important to" and clicked it.....I believe that's where I went wrong" Now we get this error:
PHP Code:

<!--
Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL
        
SELECT gamesessions.*, user.usernameuser.useridgames.*, games.title AS title FROM gamesessions AS gamesessions
        LEFT JOIN user 
AS user ON user.userid gamesessions.userid
LEFT JOIN games 
AS games ON gamesessions.gamename games.shortname
        WHERE 
(gamename='aliens' AND score='35276') OR (gamename='asteroids' AND score='42420') OR (gamename='bloodypingu' AND score='1231') OR (gamename='breakout' AND score='29200') OR (gamename='chopper' AND score='3897') OR (gamename='copter' AND score='3762') OR (gamename='curveball' AND score='28010') OR (gamename='discoracer' AND score='9550') OR (gamename='flashpoker' AND score='515') OR (gamename='funkypong' AND score='101') OR (gamename='hexxagon' AND score='32') OR (gamename='joust' AND score='12300') OR (gamename='kickups' AND score='158') OR (gamename='killkenny' AND score='76300') OR (gamename='maeda' AND score='20870') OR (gamename='marsrover' AND score='1356') OR (gamename='mcsnake' AND score='212') OR (gamename='minigolf' AND score='51') OR (gamename='monkeylander' AND score='27795') OR (gamename='pacman' AND score='25720') OR (gamename='penguin' AND score='3235') OR (gamename='pinball' AND score='1620') OR (gamename='pinguslap' AND score='622') OR (gamename='simon' AND score='23') OR (gamename='snake' AND score='2659') OR (gamename='spaceinvaders' AND score='46250') OR (gamename='target' AND score='2000') OR (gamename='tetris' AND score='192836') OR (gamename='towerball' AND score='5530') AND sessiontype IN (1,2ORDER BY title ASC 
    
mysql error
Can't create/write to file '/tmp/#sql_e3f_0.MYI' (Errcode: 13)

mysql error number

Thanks alot for any help!

Buczilla 03-27-2004 11:01 PM

John, you are my hero......thank you! :D

CricketWeb 03-28-2004 03:34 AM

I got to this step here:

Quote:

Run forumroot/admincp/install_arcade.php.
but when I go to the page I get:

Quote:

Warning: Invalid argument supplied for foreach() in /home/virtual/site22/fst/var/www/html/vbulletintest/includes/functions.php on line 2878

Warning: Invalid argument supplied for foreach() in /home/virtual/site22/fst/var/www/html/vbulletintest/includes/functions.php on line 2878

Warning: Invalid argument supplied for foreach() in /home/virtual/site22/fst/var/www/html/vbulletintest/includes/functions.php on line 2878

and

Unable to add cookies, header already sent.
File: /home/virtual/site22/fst/var/www/html/vbulletintest/includes/functions.php
Line: 2878
Any ideas how I fix this? I'd really like to use this hack :(

CricketWeb 03-28-2004 03:37 AM

Quote:

Originally Posted by CricketWeb
I got to this step here:



but when I go to the page I get:



Any ideas how I fix this? I'd really like to use this hack :(

I get edit my post for some strange reason so I'll submit the rest here.

Here's the code:

Quote:

// ###################### Start bits2array #######################
// takes a bitfield and the array describing the resulting fields
function convert_bits_to_array(&$bitfield, $_FIELDNAMES)
{
$bitfield = intval($bitfield);
$arry = array();
foreach ($_FIELDNAMES AS $field => $bitvalue) - this is line 2878
{
if ($bitfield & $bitvalue)
{
$arry["$field"] = 1;
}
else

{
$arry["$field"] = 0;
}
}
return $arry;
}
and this was the only part I changed:

Quote:

// declares the arcade image directory
$stylevar['imgdir_arcade'] = "images/arcade";

// get CSS width for outerdivwidth from outertablewidth

CricketWeb 03-28-2004 06:06 AM

Even when I re-load an orginal non-modified functions.php I still get the same error :(

CricketWeb 03-28-2004 06:51 AM

I've managed to get rid of that message but now i get:

Quote:

Database error in vBulletin 3.0.0:

Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Administrators',
description = '',
usertitle = 'Administrator',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
canviewarcade = '1',
canplayarcade = '1',
canmakecomments = '1',
caneditscores = '0',
candelscores = '0',
attachlimit = '0',
avatarmaxwidth = '100',
avatarmaxheight = '100',
avatarmaxsize = '262144',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '100000',
pmquota = '500',
pmsendmax = '5',
forumpermissions = '393215',
pmpermissions = '3',
calendarpermissions = '31',
wolpermissions = '31',
adminpermissions = '3',
genericpermissions = '24511',
genericoptions = '23'
WHERE usergroupid=6
mysql error: Unknown column 'canviewarcade' in 'field list'

mysql error number: 1054
and yes I've run the install.php script.

Matthew-1985 03-28-2004 07:09 AM

Great hack. I've never installed a hack before and thought it would be really hard but I got it working first time. :D

Seratus 03-28-2004 07:38 AM

I have installed it. But thr Board dont start:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/www/htdocs/the-rpg-forum.de/includes/init.php on line 511
Parsing functions.php Time before: 1080439339.1372
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/www/htdocs/the-rpg-forum.de/includes/functions.php on line 1864
Time after: 1080439339.1457 Time taken: 0.008530855178833
--------------------------------------------------------------------------------

Fatal error: Call to undefined function: is_browser() in /home/www/htdocs/the-rpg-forum.de/global.php on line 72

:disappointed: :disappointed:

someguy2 03-28-2004 12:34 PM

Awesome hack, finished installing it. Works great. :) One thing that would be nice (just a suggestion) is comments to the comments. At least or especially for admins. There are a few people asking questions in the arcade that I'm unable to reply to, and PM is kind of off-topic. Just a suggestion.

ConqSoft 03-28-2004 12:38 PM

Quote:

Originally Posted by someguy2
Awesome hack, finished installing it. Works great. :) One thing that would be nice (just a suggestion) is comments to the comments. At least or especially for admins. There are a few people asking questions in the arcade that I'm unable to reply to, and PM is kind of off-topic. Just a suggestion.

I created an Arcade Forum on my site to handle that type of stuff...

Aleksey 03-28-2004 02:30 PM

Any new games coming up soon?

John 03-28-2004 02:39 PM

Quote:

Originally Posted by Hibernated
Any new games coming up soon?

Surprised to hear you say that, I thought the rate of release was coming along rather nicely.

corsacrazy 03-28-2004 02:46 PM

Quote:

Originally Posted by John
Surprised to hear you say that, I thought the rate of release was coming along rather nicely.

seal bounce :)

JagFan 03-28-2004 03:53 PM

Thank you for a great hack and all the great games!! My members love them! :)

John 03-28-2004 04:01 PM

Quote:

Originally Posted by corsacrazy
seal bounce :)

Yeah... it looks good. I just wonder if Chris Hilgert minds us using his games...

krohnathlonman 03-28-2004 04:35 PM

is there an easy way to alphabatize the games?

Currently it's reverse alph

97cobracpe 03-28-2004 06:41 PM

Installed without a hitch! Awesome hack! Time for me to start installing some games now :)

John 03-28-2004 08:57 PM

Updated the list, the releases are coming a lot more quickly now. :)

wolfstream 03-28-2004 10:02 PM

Installed with minor problems (global.php), but it works perfectly
Excellent addon, look forward to more games:)

ChurchMedia 03-28-2004 10:54 PM

Fantastic hack! My members are going to eat this up. Great job!!! :D

Game Request: Galaga
I was addicted to Galaga when I was a kid. I've found a good Java version, but haven't run across a Flash version. I already have people wanting to challenge me to Galaga :).

Some helpful info:

If you have problems with permissions or with your general settings being saved after installing, I discovered I had missed a small piece of code. It may be something that's easy to miss in the instructions for some weird psychological reason. Make sure you don't miss this:

PHP Code:

=================
includes/init.php
=================

Find:
___________________________________________________________________________________________

            
'stylecache'
        
), $specialtemplates);

???????????????????????????????????????????????????????????????????????????????????????????

Replace this with:
___________________________________________________________________________________________

            
'stylecache',
            
'arcadesettings'
        
), $specialtemplates);

??????????????????????????????????????????????????????????????????????????????????????????? 

Thanks again for the cool hack! I'll be looking for Galaga :)

John 03-28-2004 11:00 PM

lol, I know. It's crazy, but so many people missed the same piece of code - even though there's nothing wrong with the instructions.

Funny how people's minds work... :)

RapCheck 03-29-2004 12:22 AM

Just installed flawlessly (or so it seems so far!) on 3.0.0 gold

excellent!

Erwin 03-29-2004 01:23 AM

Quote:

Originally Posted by krohnathlonman
is there an easy way to alphabatize the games?

Currently it's reverse alph

There's a post in this thread on how to do this. Seach for it.

gwhooooey 03-29-2004 01:41 AM

Only game that doesn't seem to want to be in the right order...is Helicopter. I'm guessing it's coded or whatever as Copter?

deathemperor 03-29-2004 02:06 AM

how many games as fas as now ppl ?
it's too many that I care I miss some games >_<

gwhooooey 03-29-2004 02:47 AM

I've got 45 games installed...think that's all of them

Dream 03-29-2004 03:54 AM

Something to help you: script to add v3 Arcade templates to all styles.

CricketWeb 03-29-2004 04:28 AM

Any chance of some help with my problem in page 122?


All times are GMT. The time now is 11:45 AM.

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.04604 seconds
  • Memory Usage 1,861KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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