vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VBphgstats Integration: Game Server Query tool (https://vborg.vbsupport.ru/showthread.php?t=101008)

JTyson 11-16-2005 10:00 PM

VBphgstats Integration: Game Server Query tool
 
This hack integrates the phgstats script into VB.

It's so far only been tested on 3.5.1 but should work on 3.5.x It is still in beta

To install just upload the contents of the upload folder to your forum root and import the product via the admincp, then link to VBGameServer.php however you like. It's already configured with two demo servers so check to ensure they are working before configuring this script.

To Upgrade overwrite all files reimport the product with allow overwrite checked. (You will still lose your servers and have to re add them as there are a couple of extra values needed now.

Demo http://www.fuo-motorsports.com/forum/VBGameServer.php

UPDATE v1.3 - Small Update, Only needed if your are adding servers that require a different queryport than the standard game port..

UPDATE v1.2 - Sorting of servers added, Servers can also be enabled or disabled, Breadcrumb added to the navbar, refresh link added on the server page, Counter-Strike: Source added, Fixed bug in map image only showing the BF2 image.

UPDATE v1.1 - Admincp added. Adds one new table to store the server info instead of having to manually configure the php file.

What is phgstats?
Quote:

phgstats is an realtime gameserver status script, written in php, to display data from one or more gameservers on webpages.

The following gametypes are support:

- American's Army
- Battlefield 1942
- Battlefield Vietnam
- Battlefield 2
- Call of Duty
- Enemy Territory
- Half-Life / Half-Life2
- Medal of Honor
- Return to Castle Wolfenstein
- Rune
- Unreal Tournament
- Unreal Tournament 2003
- Unreal Tournament 2004
- Quake 3

dieselpowered 11-17-2005 03:52 PM

Ummm what is it? :)

nexialys 11-17-2005 04:18 PM

Phgstats - php gameserver status script
is an realtime gameserver status script, written in php, to display data from one or more gameservers on webpages.

Actual Release: phgstats_0.5.tar.gz phgstats_0.5.zip
In Work: phgstats_0.6
10% phgstats_0.6

phgstats Logo The following gametypes are support:

- American's Army
- Battlefield 1942
- Battlefield Vietnam
- Battlefield 2
- Call of Duty
- Enemy Territory
- Half-Life / Half-Life2
- Medal of Honor
- Return to Castle Wolfenstein
- Rune
- Unreal Tournament
- Unreal Tournament 2003
- Unreal Tournament 2004
- Quake 3

EasyTarget 11-17-2005 04:25 PM

cool hack, looking forward to future versions. How hard/is it possible to add support to it for other games?

nexialys 11-17-2005 04:41 PM

Quote:

Originally Posted by EasyTarget
How hard/is it possible to add support to it for other games?

this question is irrelevent to this hack, you would be better go directly to the official website and browse it for FAQ and the forum,... our friend here is just releasing an minimal integration, he is not linked to the development of the software itself...

Zachariah 11-17-2005 05:23 PM

I'll keep my eye on this one. :D

Next on the list:


make config.inc.php:

Code:

$gameserver = array(
/* 2  */ 'et:et.bad-penguins.de:27980',
/* 1  */ 'bf:212.227.65.120:14567'
);

// server country
$country = array(
/* 2  */ 'Germany',
/* 1  */ 'Germany',

- American's Army aa
- Battlefield 1942 bf
- Battlefield Vietnam bfv
- Battlefield 2 bf2
- Call of Duty cod
- Enemy Territory et
- Half-Life / Half-Life2 hl
- Medal of Honor mohaa
- Return to Castle Wolfenstein rtcw
- Rune rune
- Unreal Tournament ut
- Unreal Torunament 2003 ut2003
- Unreal Tournament 2004 ut2004
- Quake 3 q3a


Goto database, options in AdminCP for adding/editing servers so that there is no need to edit config.inc.php to add servers.

JTyson 11-17-2005 09:39 PM

Quote:

Originally Posted by Zachariah
I'll keep my eye on this one. :D

Next on the list:


make config.inc.php:

That was my plan with but i had to move over to another project for the time being so just released what i had. ;)

Zachariah 11-17-2005 10:54 PM

Quote:

Originally Posted by JTyson
That was my plan with but i had to move over to another project for the time being so just released what i had. ;)

I hear ya, just shooten some ideas sir. :)

JTyson 11-17-2005 10:58 PM

Yup keep them coming, First thing i have planned for this is to add a generic class to query gamespy servers as im currently using gsQuery as my servers run the gamespy protocol. http://www.fuo-motorsports.com/Serve....61.122/32140/

Mith 11-17-2005 11:02 PM

I get a blank page.

Any pointers,

Uploaded all content, set IP addresses of servers.. and thats all i get. :-(


All times are GMT. The time now is 11:43 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.04121 seconds
  • Memory Usage 1,742KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)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