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)

SnowBot 05-25-2004 09:40 AM

Quote:

Originally Posted by Kairo
where can I find more arcade games that that standard 5 games in that zip file

I have just released 3 new games.

Pedestrian Killer

Lane Bowling

Fly Plane

Enjoy.

pgowder 05-25-2004 02:16 PM

I have a question about pruning. If I turn it on, does it remove the high scores for each game if they are x days old?

Bryan Ex 05-26-2004 05:12 AM

Quote:

Originally Posted by pgowder
I have a question about pruning. If I turn it on, does it remove the high scores for each game if they are x days old?

I believe it's supposed to but I've never been able to get it to work on my board. I have it set to 7 days yet the original scores from several months ago are still listed. The problem seems to be in the cron script because if I run it manually it does what it should but when the scheduled time comes up nothing happens. Unfortunately I do not know enough about it to diagnose the problem.

r6xual 05-26-2004 06:32 AM

Quote:

Originally Posted by r6xual
Will this hack work with other hacks installed? That is the only thing that I can think of that is causing me problems. Currently I have the following installed

Ushop & ucash
Timeslip database
welcome panel v1
Prevent Doubleposting

Is there a different way to be installing this than what i stated above?

Thanks again
Charlie

Does anyone have any ideas about his? I am not even able to login to the admin CP becuase i get the above error.

Sorry the error being

vBulletin Message
Unable to add cookies, header already sent.
File: /home/gpf/public_html/forums/global.php
Line: 638

JTMON 05-26-2004 06:41 AM

Quote:

Originally Posted by r6xual
Does anyone have any ideas about his? I am not even able to login to the admin CP becuase i get the above error.

Sorry the error being

vBulletin Message
Unable to add cookies, header already sent.
File: /home/gpf/public_html/forums/global.php
Line: 638


I have no idea if this is it but have you made sure there are no lines below the closing ?>

r6xual 05-26-2004 07:02 AM

Yeah, no lines. Just did exactly what the instructions said. Did it twice in fact. Its a good thing i backed up all the files that i edited. As soon as i put the backed up files back, good to go, just no arcade. That why i had wondered if this would work with other hacks installed. Thats the only thing that i can think of that would cause a problem. Everyone else seems to have no problem getting it to work.

waterfall 05-28-2004 08:48 AM

Does it work with 3.0.1 ?

Intex 05-28-2004 08:52 AM

Yes, I'm running it with 3.0.1 with no problems. In fact, if you look at the hack title it says it's for vB 3.0.1 ;).

Flow Fusion 05-28-2004 09:07 AM

Is their a way to change the url for the images cause they don't show from my images/arcade folder but they do show from my public_html folder but this is just a mess.

Intex 05-28-2004 09:20 AM

FlowFusion - I can't remember whether you specified the image path on installation, but if you take a look at the 'arcade_main_games_bit' templates in AdminCP, you'll see the following code:
Code:

<td align="center" valign="center" width="60" height="60"><a href="arcade.php?do=play&gameid=$game[gameid]"><img src="$stylevar[imgdir_arcade]/$game[stdimage]" border="1"></a></td>
You can see that it's using $stylevar[imgdir_arcade]/$game for the game icons for example. Changing that there would probably work but maybe somebod else knows exactly where the imgdir_arcade variable is defined?

Also another long shot - are you using mulple styles?

SK 05-28-2004 09:28 AM

Quote:

Originally Posted by waterfall
Does it work with 3.0.1 ?


You mean the thread title isnt a big enough giveaway?

thakikka 05-28-2004 12:38 PM

sorry for my bad english, i'll try to do my best :D

i'm still using vb3rc4 and installed the arcade months ago. it worked perfectly and now suddenly when a user (no matter which usergroup) played a game and the score should be saved, right after playing the game, there is now suddenly a no permissions error page - everytime.

i absolutely did no changes neither on the arcade (file hacks, games, ...) nor on the forum ... nothing. and suddenly apears this no permissions error page.

now the big question: why?

greets from germany,

thakikka

Flow Fusion 05-28-2004 05:36 PM

Quote:

Originally Posted by Intex
the guy I need to help me lol
You can see that it's using $stylevar[imgdir_arcade]/$game for the game icons for example. Changing that there would probably work but maybe somebod else knows exactly where the imgdir_arcade variable is defined?

Also another long shot - are you using mulple styles?

Multiple styles? You mean skins? If so yes

Intex 05-28-2004 05:37 PM

Maybe worth checking that you have the code I placed above in the right skin template.

Flow Fusion 05-28-2004 09:22 PM

I added like 80 games and only 7 are showing what do I need to do?

Jolten 05-28-2004 10:11 PM

I posted this over at v3arcade.com too but.. does anyone know how I could go about limiting the amount of games a user can play per day?

mgcmike19 05-29-2004 05:24 AM

Alrght... the install went fine.. however when I go to the arcade page I see this...

Warning: Invalid argument supplied for foreach() in /home/atlantaw/public_html/forums/includes/functions.php on line 2871

Warning: Invalid argument supplied for foreach() in /home/atlantaw/public_html/forums/includes/functions.php on line 2871

Warning: Invalid argument supplied for foreach() in /home/atlantaw/public_html/forums/includes/functions.php on line 2871

Warning: Invalid argument supplied for foreach() in /home/atlantaw/public_html/forums/includes/functions.php on line 2871

Warning: Invalid argument supplied for foreach() in /home/atlantaw/public_html/forums/includes/functions.php on line 2871

and it also says i dont have permission to access this part of the site... HOWEVER, when I go to usergroups to set the permissions, when I click submit to apply the changes to a usergroup I get a "Databse Error"

Can anyone help please?

neocorteqz 05-29-2004 05:34 AM

Is anyone's Cron script working?? I just ran the script and it's not removing all the scores. Not too mention the adminCP says it was ran, but nothing is happening.

Jolten 05-29-2004 05:30 PM

Quote:

Originally Posted by mgcmike19
Warning: Invalid argument supplied for foreach() in /home/atlantaw/public_html/forums/includes/functions.php on line 2871?

Did you check that line of code in the functions.php file?

Oldfart 05-29-2004 09:28 PM

Quote:

Originally Posted by mgcmike19
Alrght... the install went fine.. however when I go to the arcade page I see this...

Warning: Invalid argument supplied for foreach() in /home/atlantaw/public_html/forums/includes/functions.php on line 2871

Warning: Invalid argument supplied for foreach() in /home/atlantaw/public_html/forums/includes/functions.php on line 2871

Warning: Invalid argument supplied for foreach() in /home/atlantaw/public_html/forums/includes/functions.php on line 2871

Warning: Invalid argument supplied for foreach() in /home/atlantaw/public_html/forums/includes/functions.php on line 2871

Warning: Invalid argument supplied for foreach() in /home/atlantaw/public_html/forums/includes/functions.php on line 2871

and it also says i dont have permission to access this part of the site... HOWEVER, when I go to usergroups to set the permissions, when I click submit to apply the changes to a usergroup I get a "Databse Error"

Can anyone help please?


It might be a missing comma. I believe I had this same message when I installed this hack to. I went and checked the line of code and there was a missing , at the end.

Oldfart 05-29-2004 09:33 PM

Quote:

Originally Posted by Flow Fusion
I added like 80 games and only 7 are showing what do I need to do?

You need to install them.

copy each file to their proper folder and run the .game.php file in your admincp folder

images go to images/games
xxxx.game.php goes to your admincp folder (xxxx is the game name)
.swf goes to your game folder

then point your browser to the xxx.game.php file and follow the instructions.

Hope this helps

Bryan Ex 05-29-2004 11:31 PM

Quote:

Originally Posted by neocorteqz
Is anyone's Cron script working?? I just ran the script and it's not removing all the scores. Not too mention the adminCP says it was ran, but nothing is happening.

Only works for me if I run it manually.

mgcmike19 05-30-2004 03:08 AM

OK.. I have looked and looked at line 2871.. I see nothing wrong with it.. its not even a line I edited.. I have reloaded a new functions.php file and made the required changes in it and still nothing.

I added a coma to the end of line 2871 and got this:
Parse error: parse error in /home/atlantaw/public_html/forums/includes/functions.php on line 2871

Fatal error: Call to undefined function: is_browser() in /home/atlantaw/public_html/forums/global.php on line 59

Anyone help? I'd like to get this going.

mgcmike19 05-30-2004 03:11 AM

Now my private messaging features are gone from the forums as well? What the freak is wrong?

neocorteqz 05-30-2004 04:21 AM

Quote:

Originally Posted by Bryan Ex
Only works for me if I run it manually.

doesn't even work for me when i run it from the admin panel.

Silverstangs 05-30-2004 05:33 AM

I have it installed, works well now. I had a issue with no permissions, so I tested it out on 7 other computers. Out of 7, it worked fine on 5 of them. When I took a closer look, those 5 test machines was running VB RC3. The two that failed was GOLD, and the forum is also gold. I also noticed that all the templates was created when I had installed them on rc3 for all style sets. It didnt do that with the gold version. Is there a extra step I am missing with the gold version?
I did manage to get it to work after I re-edited the Global.php in the root directory, and set the permissions in the ACP.


I don't know if the problem I had was with the arcade hack, or a conflict with a few other hacks I had. I just wanted to let you know.

I also wanted to say this hack kicks butt!!! :up:

Here is a link to the arcade at Stang Country
http://www.stangcountry.com/vb34sc/arcade.php?

Giveit2u43 05-30-2004 06:03 AM

Quote:

Originally Posted by mgcmike19
OK.. I have looked and looked at line 2871.. I see nothing wrong with it.. its not even a line I edited.. I have reloaded a new functions.php file and made the required changes in it and still nothing.

I added a coma to the end of line 2871 and got this:
Parse error: parse error in /home/atlantaw/public_html/forums/includes/functions.php on line 2871

Fatal error: Call to undefined function: is_browser() in /home/atlantaw/public_html/forums/global.php on line 59

Anyone help? I'd like to get this going.

this error is due to using dreamweaver to edit the phpfiles.. use notepad instead and things will be fine ;)

dssforum 05-30-2004 08:16 PM

I am having some problems, tetris and snake never loads it just says loading what is the problem?

Intex 05-30-2004 08:19 PM

Is it just those two games or all games? If it's all games, you should check your path to your actual games and of course make sure you have the .swf files in that directory.

dssforum 05-30-2004 08:20 PM

just those 2 games, I installed another one (pac man) works fine.

Intex 05-30-2004 08:22 PM

And the .swf files are in the same directory?

Also, if you look at the page html source, check to see what path it's using comparing a working game to a non-working game.

Bryan Ex 05-31-2004 03:48 AM

Quote:

Originally Posted by neocorteqz
doesn't even work for me when i run it from the admin panel.

I ran some diagnostics on my board tonight and curiously the cron for the arcade was the only file listed as not being the current version (RC2) and is the only component not functioning. Has the cron been updated since that time? I purchased VB after 3.0 was released.

mgcmike19 05-31-2004 04:25 AM

I didn't use dreamweaver.. I used notepad

Silverstangs 05-31-2004 05:51 AM

Well so much for no issues, now I am getting a error

includes/config.php does not exist. Cannot continue. so I put the full path and then I get a different error

Fatal error: Call to undefined function: log_admin_action() in /admin/index.php on line 33

my forum does work, but I just can't get into the admin sections.

Silverstangs 05-31-2004 05:59 AM

BTW I am using NOTEPAD to edit my files....

JTMON 05-31-2004 06:48 AM

Quote:

Originally Posted by Silverstangs
BTW I am using NOTEPAD to edit my files....


Don't...use wordpad..notepad can introduce line breaks causing all sorts of issues from what I understand...I think it's even posted about on vbulletin.com

second post here:
http://www.vbulletin.com/forum/showt...otepad+problem

You'll find more info over there doing a search

Mijae 05-31-2004 01:45 PM

Code:

Database error in vBulletin 3.0.0:

Invalid SQL: UPDATE games SET highscorerid=,highscore=39251 WHERE shortname='aliens'
mysql 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 'highscore=39251 WHERE shortname='aliens'' at line 1

mysql error number: 1064

I just started receiving those since the last 4 days! I've had it working fine since the day it was released, I havent installed anything, and now it gives me errors!

Silverstangs 05-31-2004 03:03 PM

Quote:

Originally Posted by JTMON
Don't...use wordpad..notepad can introduce line breaks causing all sorts of issues from what I understand...I think it's even posted about on vbulletin.com

second post here:
http://www.vbulletin.com/forum/showt...otepad+problem

You'll find more info over there doing a search


O.K> I'll redo the edit files in Editpad pro .....

mgcmike19 05-31-2004 03:56 PM

this is line 2871, where it claims the error is... whats wrong with it?

foreach ($_FIELDNAMES AS $field => $bitvalue)

mgcmike19 05-31-2004 03:59 PM

Parse error: parse error in /home/atlantaw/public_html/forums/global.php on line 60

Fatal error: Call to a member function on a non-object in /home/atlantaw/public_html/forums/arcade.php on line 167


All times are GMT. The time now is 05:46 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.04720 seconds
  • Memory Usage 1,837KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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