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)

NTLDR 09-01-2002 07:58 PM

Thanks futureal, this is an exelent hack and if this is only Beta 1 then the final version is going to be very spectacular. Thanks for all the hard work you put into this, its a great addon for my board :D

Apok2002 09-01-2002 08:00 PM

Fixed.

Here is what I did for those (if any) have the same issue that I did above (which will probably be very few lol).

I manually installed the games via admin cp. Did NOT reference ANY icons whatsoever because of the safemode issue. I did not get any install errors.

I also changed the default dir from /games/ to /forums/games/ in the General Options for ProArcade. I believe this was addressed above already.

That fixed it all. Works like a charm, no errors thus far. I'm testing now...

Apok2002 09-01-2002 08:52 PM

Breakout: The song is good, but there is too much of a space (silence) between the end and start during the loop. Anyway to fix that?

Also, the paddle is way too dark for the black background.

Also, which template is it, that allows me to type in the comments for a score? I need to edit the coloring on one of my themes, it's just way too dark, we can't see what we are typing, WHILE we are typing. It shows up just fine after we enter it, and we view the scoreboard.

*edit*

For the Who's Online...

Is there a way to show WHICH game the members are playing? Right now, they show the link w/ an ungodly length. It'd be nice to just say:

Playing Tetris
Viewing Tetris Scoreboard
Playing Breakout

etc...

futureal 09-02-2002 12:51 AM

Quote:

Originally posted by Apok2002
Breakout: The song is good, but there is too much of a space (silence) between the end and start during the loop. Anyway to fix that?

Also, the paddle is way too dark for the black background.

I am going to compile a new version of Breakout with some changes. I'd like to make the game harder -- right now it seems pretty boring to me.

Quote:

Also, which template is it, that allows me to type in the comments for a score? I need to edit the coloring on one of my themes, it's just way too dark, we can't see what we are typing, WHILE we are typing. It shows up just fine after we enter it, and we view the scoreboard.
You want vbproarcade_gameover_comment. The colors are hardcoded into the template right now, left over from the original vbTetris hack. I need to incorporate those into the Admin Panel.

Quote:

For the Who's Online...

Is there a way to show WHICH game the members are playing? Right now, they show the link w/ an ungodly length. It'd be nice to just say:

Playing Tetris
Viewing Tetris Scoreboard
Playing Breakout

This is exactly how it should work, and is how it works on mine. If you could take a screenshot of what problem you are having, that would be helpful. Thanks.

Ian 09-02-2002 01:09 AM

The hack seems to be working great but I have one problem. When I upload images for the games it adds /forum/ to the image name when there should be nothing. This is in the admin panel only, the images work fine elsewhere. Causing the images to be broken.

chad777 09-02-2002 01:35 AM

Ok found something else.

As Admin I can play all games etc..

As user or Mod you get a "you do not have permission to access this page"
You are trying to access admin features etc...

How do you set permissions on games ?

Admins are fine

everyone else is permission denied

Ian 09-02-2002 01:49 AM

If someone is palying a game in the arcade and I go in the in who's online page I get this error:
Quote:

Fatal error: Call to a member function on a non-object in /home/hsphere/local/home/zforcene/forums.zforcenetwork.com/online.php on line 642
Line 642 in the online.php file reads:
PHP Code:

    $game_q $DB_site->query_first("SELECT title FROM arcadegames WHERE name='$userinfo[gamename]'"); 

I also have one other problem. I have turned the champion thing on so if your #1 in a game it'll put red text under your name. This seems to be working for three games, despite me having the crown in all the games. Breakout, Space Invaders, and Snake all seem to work but the other don't. The URL of my board is http://forums.zforcenetwork.com/ BTW.

futureal 09-02-2002 02:30 AM

Quote:

Originally posted by Ian
If someone is palying a game in the arcade and I go in the in who's online page I get this error:Line 642 in the online.php file reads:
Ah, thanks for pointing that out for me. I missed a line in the hack. Right before that line, add:

PHP Code:

global $DB_site

That will fix that error.

Quote:

I also have one other problem. I have turned the champion thing on so if your #1 in a game it'll put red text under your name. This seems to be working for three games, despite me having the crown in all the games. Breakout, Space Invaders, and Snake all seem to work but the other don't. The URL of my board is http://forums.zforcenetwork.com/ BTW.
I will have to take a closer look at your forum and get back to you on that. Thanks for the link.

edit: I just looked at your site and it looks like the Champions System is working fine. I see Champion titles on users for all five games. I think your users stole two of your crowns from you without you realizing it. :)

Apok2002 09-02-2002 02:39 AM

How many scores will be recorded? The hack has been installed for only about 4 hours or so, and in the Snake scoreboard, I have 190 rankings (scores recorded).

If there is a limit, what is it? And how do we edit that to suit our own boards needs? And if there is no limit, won't that cause the db to get pretty large?

We really don't need anything more than the top 100 scores on the scoreboard.

futureal 09-02-2002 02:51 AM

Quote:

Originally posted by chad777
As Admin I can play all games etc..

As user or Mod you get a "you do not have permission to access this page"
You are trying to access admin features etc...

How do you set permissions on games ?

It sounds like you are not using the default vBulletin usergroupid system, which is what vbProArcade is set up to handle in this Beta. The defaults are:

usergroup 2 -- Registered
usergroup 5 -- Super Moderator
usergroup 6 -- Admin
usergroup 7 -- Moderator

If you need to change the groups, open up proarcade.php and look at the first switch(...) statement. It is pretty easy to figure out what to change.

Also, make sure you have the games set to "Active" in the admin panel! Inactive games will only work for administrators (usergroup 6).

A complete access-control system will appear in Beta 2 of this hack.


All times are GMT. The time now is 06:11 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.01786 seconds
  • Memory Usage 1,756KB
  • 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
  • (7)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
  • (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