vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   vbProArcade Beta 2 (https://vborg.vbsupport.ru/showthread.php?t=42880)

futureal 09-01-2002 08:06 AM

It looks like I am going to have to include the text file anyway -- vbHacker works for the templates but does not seem to want to do anything else -- it fails on the queries just about every time as far as I can tell, even though they work just fine from the command line.

futureal 09-01-2002 08:25 AM

Alright, the file is out there -- see the first post in this thread.

I installed the hack on my secondary test site (a clean v2.2.6 install) and it worked great, no problems. So far so good.

I'm going to bed now, and will be gone during the day tomorrow, but I'll be back tomorrow evening to troubleshoot and, if necessary, do damage control. :)

NuclioN 09-01-2002 11:11 AM

---edit--- i had a parse error but it was a bad paste in functions.php. Working now.

No errors so far........

NuclioN 09-01-2002 12:10 PM

Division by zero in /home/www.url/HTML/proarcade.php

--ok when a game is finished it goes straight to the proarcade.php
without score, comment etc. and "view topscore board" gives the error above. All games are doing this, so i think it's a typo or direction error somewhere in the templates.

--when i put in the: (Code for Query String
Enter the query string to be used for the game (if applicable)
after the game it displays a double url:

http://www.url.com/www.url.com/proarcade.php

chad777 09-01-2002 03:51 PM

I am getting the division error too.. So far everything else works great.

How can I add a different Icon by users name if they are the king of a certain game.

King icon for each game.

so say I am king of tetris and snake
I would have 2 icons by my name
1 for tetris and 1 for snake. ?

Thanks and great hack!

Craigr 09-01-2002 04:11 PM

Superb hack, works great for me too. :D

Only error i had was when viewing where people were online, but i just upped my old online.php

Thanks again
Craig

Apok2002 09-01-2002 04:43 PM

hmmm....all went well until the allgames.sql query was run. I ran it both by source, and then also by copy/pasting. Got the same errors. Tried to run the queries one at a time, still had issues:

Quote:

Error
SQL-query:

INSERT INTO arcadegames VALUES (
1,
\'tetris\',
\'Tetris\',
\'The classic game of Tetris that we all know and love...\',
\'tetris.swf\',
\'\', \'\', 0, 0, 0,
\'Tetris Champion\',
\'#FF0000\',
\'$tetrisscore\',
550, 380,
\'classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\"\',
\'username=$username&s=$session[sessionhash]&highscore=$highscore&bbtitle=$bbtitle&location=$v pa_bburl&gamename=$game\',
\'\\r\\n\',
\'pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"\'
);


MySQL said: You have an error in your SQL syntax near '$tetrisscore', 550, 380, 'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540' at line 9

When I try to run the Breakout query, it says:

Quote:

MySQL said: You have an error in your SQL syntax near '$breakoutscore',
400, 500,
'classid="clsid:D27CDB6E-AE6D-11cf-96B8-4445535' at line 9
None of the queries work for me. I've dropped and readded the arcade tables, no change.

NuclioN 09-01-2002 04:59 PM

After the game is played, it still displays a double link and no highscore..... I've looked it over and over but can't find why it is doing this.

Apok2002 09-01-2002 05:08 PM

I tried the manual install of the games since the allgames.sql isn't working for me. Just working with Tetris for now.

These are the errors I get:
Quote:

Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/ez-company.net/httpdocs/forums/admin/proarcadeadmin.php on line 53

Warning: fopen("/tmp/phpjKPiU4","r") - Operation not permitted in /home/httpd/vhosts/ez-company.net/httpdocs/forums/admin/proarcadeadmin.php on line 53

Warning: Supplied argument is not a valid File-Handle resource in /home/httpd/vhosts/ez-company.net/httpdocs/forums/admin/proarcadeadmin.php on line 54
Record for Tetris updated!
These are the results:

1) It installed the leaderboard, scoreboard fine (get the Division by '0' error that is mentioned above.

2) When I try to play Tetris, it merely hangs on me, the game doesn't pull up (the page does though).

3) The thumbnail won't upload.

NTLDR 09-01-2002 05:32 PM

Seems to be working great, the only problem I've had is with:

PHP Code:

$vpa_bburl reduceurl($bburl); 

in proarcade.php, but changing that to:

PHP Code:

//$vpa_bburl = reduceurl($bburl);
$vpa_bburl=""

Has done the trick otherwise the url is: http://forums.myhost/forums.myhost/


All times are GMT. The time now is 01:01 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.02878 seconds
  • Memory Usage 1,746KB
  • 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_php_printable
  • (3)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
  • (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