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)

John 04-04-2004 08:18 PM

Quote:

Originally Posted by VinhVinh
Can anyone host the arcade install files soemwhere please for the ones who cant download it :(

Either tonight or tomorrow, I'll put a copy on v3arcade.com. (It's an updated version.)

corsacrazy 04-04-2004 08:29 PM

john what is the releases ..php script you have ? looks interesting ... from vb.org or made your self?

John 04-04-2004 09:10 PM

Quote:

Originally Posted by corsacrazy
john what is the releases ..php script you have ? looks interesting ... from vb.org or made your self?

Just a quick one I made.

Amzadi 04-05-2004 12:39 AM

RE: New Arcade version 1.0.2

What did you change to make it less cpu intensive? Just curious.

John 04-05-2004 12:42 AM

Just changed a certain query which was causing a lot of CPU load. (Fixing it reduced page load time from 2.3s to 0.4s.)

VinhVinh 04-05-2004 01:17 AM

Where do you put game files e.g like smacktherabbit.game.php ... As i cant find anywhere else these type of files are located

Erwin 04-05-2004 01:29 AM

Thanks for the update. :) Shall update tonight...

MajorGeek 04-05-2004 01:55 AM

Quote:

Originally Posted by VinhVinh
Where do you put game files e.g like smacktherabbit.game.php ... As i cant find anywhere else these type of files are located

Should be in a readme.txt in at least one of the games. All the files go into directories in your Vbulletin install:

The 2 images goes into images\arcade
The swf file into \games
The .game.php into \admincp

Then you type in your bulletin board path\admincp\whatever.game.php choose install then delete that .game.php file from \admincp

PAINTBALLM 04-05-2004 02:04 AM

the arcade only installed the templates to PBM BLUE, which is a sub-template off of the default. I have three templates and the arcade wont work on the others. Is there a fast way of fixing this? (just duplicating the templates to other styles maybe?)

SK 04-05-2004 07:23 AM

Anyone tell me why im getting this...

nemesis01 04-05-2004 07:48 AM

Quote:

Originally Posted by PAINTBALLM
the arcade only installed the templates to PBM BLUE, which is a sub-template off of the default. I have three templates and the arcade wont work on the others. Is there a fast way of fixing this? (just duplicating the templates to other styles maybe?)

Change the boards default style, or your personal style to the style you want to install the templates in and run the first part of the arcade install again, first part only, then repeat the process for the other styles you have.

jmfemedia 04-05-2004 08:57 AM

I am having problems trying to get the trophies to show in the post bit.

when I do the alterations that it says in the zip for functions.php

I get this:


Quote:

Parse error: parse error in /home/virtual/site155/fst/var/www/html/forums/includes/functions.php on line 1864

Fatal error: Call to undefined function: is_browser() in /home/virtual/site155/fst/var/www/html/forums/global.php on line 59
the alterations that you have to do for the functions.php are:

PHP Code:

Find:
 
// get CSS width for outerdivwidth from outertablewidth
 
 
Above thisadd:
 
    
// declares the arcade image directory
    
$stylevar['imgdir_arcade'] = "images/arcade"

while the modified functions.php is installed on the server my site is 100% dead and can not be used.

I am able to use the arcade with the standard functions.php but I dont get the arcade trophies in the postbit.

can someone please help me with this.

I have attached my functions.php (removed the liscence number) so that you can see exactly what I did.

[high]You cannot attach vBulletin PHP files. Removing the license number means nothing. You have just breached your vB license agreement. Read the site rules and your vB license properly.[/high]

Erwin 04-05-2004 10:35 AM

For version 1.02 - if you want to make the games show up in ALPHABETICAL order rather than install order, do this:

Open arcade.php,

Find:

PHP Code:

    // Selects all games from the database
    
$result_allgames $DB_site->query("
        SELECT * FROM " 
TABLE_PREFIX "games $searchclause ORDER BY gameid DESC
    "
); 

Replace with:

PHP Code:

    // Selects all games from the database
    
$result_allgames $DB_site->query("
        SELECT * FROM " 
TABLE_PREFIX "games $searchclause ORDER BY shortname ASC
    "
); 

That should make things a bit more logical, if you ask me. :)

The Realist 04-05-2004 11:21 AM

Installed first time :)
And well done Erwin, as usual comes to the rescue :nervous:

Now all I have to do is find out how to upload the new games.

Laters

Quote:

Originally Posted by Erwin
For version 1.02 - if you want to make the games show up in ALPHABETICAL order rather than install order, do this:

Open arcade.php,

Find:

PHP Code:

    // Selects all games from the database
    
$result_allgames $DB_site->query("
        SELECT * FROM " 
TABLE_PREFIX "games $searchclause ORDER BY gameid DESC
    "
); 

Replace with:

PHP Code:

    // Selects all games from the database
    
$result_allgames $DB_site->query("
        SELECT * FROM " 
TABLE_PREFIX "games $searchclause ORDER BY shortname ASC
    "
); 

That should make things a bit more logical, if you ask me. :)


mharmon 04-05-2004 01:39 PM

What if you want the games to show up all on one page and not be divided into separate pages?

ConqSoft 04-05-2004 01:40 PM

Change the variable for the number to show on each page REALLY high?

John 04-05-2004 01:40 PM

Then set $perpage to 1000, or some other big number.

weaver 04-05-2004 02:22 PM

I've just installed this without incident. The arcade seems to be working fine. However, when I click to view a member profile I get this error:

Quote:

Parse error: parse error, unexpected T_DEFAULT in /home3/shb4_003/mysite.com/public_html/forums/includes/functions_online.php on line 705
ETA: Fixed... For some reason I had another "default:" where there should not have been one.

jmfemedia 04-05-2004 06:30 PM

Folks I really need help with this.

Quote:

Originally Posted by jmfemedia
I am having problems trying to get the trophies to show in the post bit.

when I do the alterations that it says in the zip for functions.php

I get this:


the alterations that you have to do for the functions.php are:

PHP Code:

Find:
 
// get CSS width for outerdivwidth from outertablewidth
 
 
Above thisadd:
 
    
// declares the arcade image directory
    
$stylevar['imgdir_arcade'] = "images/arcade"

while the modified functions.php is installed on the server my site is 100% dead and can not be used.

I am able to use the arcade with the standard functions.php but I dont get the arcade trophies in the postbit.

can someone please help me with this.

I have attached my functions.php (removed the liscence number) so that you can see exactly what I did.

[high]You cannot attach vBulletin PHP files. Removing the license number means nothing. You have just breached your vB license agreement. Read the site rules and your vB license properly.[/high]


Boofo 04-05-2004 07:42 PM

Quote:

Originally Posted by Erwin
For version 1.02 - if you want to make the games show up in ALPHABETICAL order rather than install order, do this:

Open arcade.php,

Find:

PHP Code:

    // Selects all games from the database
    
$result_allgames $DB_site->query("
        SELECT * FROM " 
TABLE_PREFIX "games $searchclause ORDER BY gameid DESC
    "
); 

Replace with:

PHP Code:

    // Selects all games from the database
    
$result_allgames $DB_site->query("
        SELECT * FROM " 
TABLE_PREFIX "games $searchclause ORDER BY shortname ASC
    "
); 

That should make things a bit more logical, if you ask me. :)

John, is there a way to maybe add an option for this for those of us that want to sort the games alphabetically instead of how the games are added? ;)

John 04-05-2004 07:45 PM

Quote:

Originally Posted by Boofo
John, is there a way to maybe add an option for this for those of us that want to sort the games alphabetically instead of how the games are added? ;)

lol, I thought about it... but I was tired, and it's easy enough to change anyway.

BarBeQue 04-05-2004 07:52 PM

Lol...

Well if john is tired, lemme add another request :D

How about making the # of games per page an option in the admincp instead of having to edit the $perpage variable

John 04-05-2004 08:01 PM

Quote:

Originally Posted by BarBeQue
Lol...

Well if john is tired, lemme add another request :D

How about making the # of games per page an option in the admincp instead of having to edit the $perpage variable

Yeah, I know.... seriously, virtually every suggestion that has been made was already on the features list for the next version!

I didn't add any more admin options because I didn't want this upgrade to be too heavy in file edits.

Boofo 04-05-2004 08:25 PM

Quote:

Originally Posted by John
lol, I thought about it... but I was tired, and it's easy enough to change anyway.

I was thinking about maybe in the next version or something. I added the code above. ;)

Excellent hack by the way. I was going to wait until I upgraded to add this hack but the install was so easy and fast, it won't take any time at all to re-install it when I upgrade. Hell, I may let my 6-year-old upgrade it for me. It was that easy. ;)

Great job and excellent instructions! ;)

msimplay 04-05-2004 08:38 PM

i would recommend a memberlist like interface to the games
for example the a - z navbar at the top
ability to sort games ascending / descending / new / name etc
and since we now have a search why not include a way to search new games like the way we can do new posts

next version of course hehe :)

redd 04-05-2004 08:55 PM

We've installed and are having a lot of fun with it :)

However, I just realized that the drop menus in the navbar are not working. I've checked the arcade templates and it is calling the $headinclude which contains the javascript code, and everything appears as it should. Has anyone else had this problem, or do you know what could fix it?

thanks!

BarBeQue 04-05-2004 09:22 PM

dropdown menu's work fine for me, so no didn't have your prob redd..

nhochochack 04-06-2004 02:25 AM

how can show Total Time Spent Playing and Total Plays ?? when i use Vbulletin 3.0.0 Gold , this not show in arcade_main template ..

msimplay 04-06-2004 07:44 AM

Quote:

Originally Posted by nhochochack
how can show Total Time Spent Playing and Total Plays ?? when i use Vbulletin 3.0.0 Gold , this not show in arcade_main template ..

its in the extra's folder in the arcade hack you downloaded

moSSad 04-06-2004 08:16 AM

An user cheated at chopper challenge and got a highscore of 65535.
How can I delete from the database this score?

NameWolf 04-06-2004 08:17 AM

How can we change the name shown at the navigation bar FROM Arcade to something like Play Games ?

Thanks,

NW

SK 04-06-2004 08:39 AM

Can someone look at this please and tell me whats wrong?

https://vborg.vbsupport.ru/showpost....postcount=1934

nhochochack 04-06-2004 10:04 AM

Quote:

Originally Posted by msimplay
its in the extra's folder in the arcade hack you downloaded

thanks .. this worrk perfect

Blade-uk 04-06-2004 06:55 PM

hey guys, i dunno whats wrong with mine, but when i click on the arcase link in the nav bar, or going to the arcade.php? file directly, i just get a white page, that's it, nothing more, no errors come up, any ideas ?

thanx

Cyricx 04-06-2004 11:22 PM

Check your templates, when i did the install it only added the templates to one of my styles. So the other styles all got white pages.

I just had to copy the templates over to the parent style and it worked fine.

djmjwhit 04-07-2004 05:26 AM

If I play game my high scores do not register. How do I fix that?

Thanks in advance!

Blade-uk 04-07-2004 08:02 AM

Quote:

Originally Posted by Cyricx
Check your templates, when i did the install it only added the templates to one of my styles. So the other styles all got white pages.

I just had to copy the templates over to the parent style and it worked fine.

thanx, worked a treat :D

ahhh but i have made my own style, and deleted the other styles, and now i get the white screen again, any ideas :S ?

Pseudomizer 04-07-2004 01:10 PM

Hello,

now a tricky question :nervous: . If i have the proarcade hack installed and round about 30 games with running Hi-Scores and i have migrated to vb3.0.0 what do i have to do to get this version here running ? :confused:

What happens to the old Hi-Scores ? Is this version just an upgrade of the original proarcade for VB2 ? Are there database entries left from proarcade vb2 ? Or is this an install from scratch has nothing to do with proarcade for vb2 ? :nervous:

Any help would be appreciated to get the games running with this hack and i know that my old games will not run any more with this hack. :disappointed:

Cheers,

Pseudomizer

John 04-07-2004 01:13 PM

No, this has nothing to do with the "proarcade".

Blade-uk 04-07-2004 01:26 PM

hi john, any ideas on my lil predicament?


All times are GMT. The time now is 03:59 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.04522 seconds
  • Memory Usage 1,852KB
  • 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
  • (8)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