Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VBphgstats Integration: Game Server Query tool Details »»
VBphgstats Integration: Game Server Query tool
Version: 1.30, by JTyson JTyson is offline
Developer Last Online: Sep 2007 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 11-16-2005 Last Update: 11-18-2005 Installs: 83
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 11-18-2005, 12:46 PM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Once i upload this new version which should be in about 10-20 minutes i will look into what Q4 requires as far as talking to it.
Reply With Quote
  #43  
Old 11-18-2005, 12:48 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

k
Reply With Quote
  #44  
Old 11-18-2005, 01:15 PM
Rhoads Rhoads is offline
 
Join Date: Dec 2004
Location: Holland
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JTyson
I will get there eventually as my main aim with playing with phgstats was to get away from gsquery as i am using it myself for my 3 game servers

I have also got gsquery integrated into vba but it's more hacked up specifically to my site, The link below is an example of gsquery+vb
http://www.fuo-motorsports.com/Serve....61.122/32140/

It's look nice, I have no idea how I am possible to integrated in vbulletin.
Reply With Quote
  #45  
Old 11-18-2005, 01:37 PM
Mith Mith is offline
 
Join Date: Jul 2004
Location: Newcastle, UK
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

since your update,

Where do we now put the query port.

I have a couple of BF2 servers, for which I have to manually add the query port, but your new options don't allow this.

Help appreciated
Reply With Quote
  #46  
Old 11-18-2005, 01:43 PM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the admincp, you will find a new menu group

Quote:
Originally Posted by drl2005
It's look nice, I have no idea how I am possible to integrated in vbulletin.
My RaceServer
Sometime over the weekend i shall look into the gamesp class, otherwise i may package up my gsquery hack as a product
Reply With Quote
  #47  
Old 11-18-2005, 01:57 PM
Mith Mith is offline
 
Join Date: Jul 2004
Location: Newcastle, UK
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JTyson
In the admincp, you will find a new menu group
Yes I am aware of that.... ;-)

But where do you put the QUERY port ?

Example:



The Server doesn't show unless I put a query port of 29900.. nowhere to put it in this version.
I have another server which I need to use a different query port again, so where to put that?

Thanks
Reply With Quote
  #48  
Old 11-18-2005, 01:58 PM
Rhoads Rhoads is offline
 
Join Date: Dec 2004
Location: Holland
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JTyson
Sometime over the weekend i shall look into the gamesp class, otherwise i may package up my gsquery hack as a product
Thanks man, be you very grateful :up:
Reply With Quote
  #49  
Old 11-18-2005, 02:00 PM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where it says Enter Server Port
Reply With Quote
  #50  
Old 11-18-2005, 02:25 PM
Mith Mith is offline
 
Join Date: Jul 2004
Location: Newcastle, UK
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't work.

I'll give you the examples again.

In the previous config.inc.php

PHP Code:
// server settings  ( 'game:ip.ip.ip.ip:port:(queryport)'
// Read the INSTALL file for more Informations
$gameserver = array(
/* 2  */ 'bf2:213.208.119.247:16568:29900',
/* 1  */ 'bf2:85.236.101.49:16567:16665',
); 
As you can see to get my BF2 server working I would use, as it states:
Code:
 'game:ip.ip.ip.ip:port:(queryport)'
so the port:query port in this case above is:
16568:29900

In the new version, in the control panel, there is space to enter the port, but not the QUERY port.

a work-around of course is to use the old config.inc.php, but that defeats the point of upgrading this extension and isn't a fix.

Again, help appreciated
Reply With Quote
  #51  
Old 11-18-2005, 02:31 PM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahh my mistake, looks like i messed up for know you should be able to cheat by puting 16568:29900 in the server port field,

I completly overlooked the comments on that one, as the default config is
Code:
$gameserver = array(
/* 2  */ 'et:et.bad-penguins.de:27980',
/* 1  */ 'bf:212.227.65.120:14567'
);
I'll get the zip updated to include the optional queryport in the morning as its 12:30am here and i need some sleep

Sorry mate.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:51 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.04739 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete