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
  #32  
Old 11-18-2005, 10:48 AM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The bf2 map error is a bug in the original phgstats but can easily be fixed by overwriting the images phgstats\maps this is also where you put your own map images with the mapname.jpg naming structure.

I was actually thinking of the same thing with the ordering and enable/disable server, let me add that shortly.
Reply With Quote
  #33  
Old 11-18-2005, 10:52 AM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit my mistake the bf image is my fault i will fix it now.

/me slaps himself.
Reply With Quote
  #34  
Old 11-18-2005, 10:58 AM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To fix the image the issue you can either wait an hour or two for me to update this again or you can edit the phgstats_srv template as follows

Find:
Code:
<img alt="omaha charlie-sector-1944" src="./phgstats/maps/bf/default.jpg" border="0">
Replace:
Code:
<img alt="{$srv_rules['mapname']}" src="{$srv_rules['map']}" border="0">
Reply With Quote
  #35  
Old 11-18-2005, 11:08 AM
gator777's Avatar
gator777 gator777 is offline
 
Join Date: Feb 2005
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JTyson
To fix the image the issue you can either wait an hour or two for me to update this again or you can edit the phgstats_srv template as follows

Find:
Code:
<img alt="omaha charlie-sector-1944" src="./phgstats/maps/bf/default.jpg" border="0">
Replace:
Code:
<img alt="{$srv_rules['mapname']}" src="{$srv_rules['map']}" border="0">

That did the trick. I will be staying tuned for more updates as you make them. This installed nicely and works great. Thanks again for your hard work.
Reply With Quote
  #36  
Old 11-18-2005, 11:11 AM
Slave's Avatar
Slave Slave is offline
 
Join Date: Nov 2001
Posts: 439
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JTyson
To fix the image the issue you can either wait an hour or two for me to update this again or you can edit the phgstats_srv template as follows .....
That did the trick .. thanks
Reply With Quote
  #37  
Old 11-18-2005, 11:39 AM
Slave's Avatar
Slave Slave is offline
 
Join Date: Nov 2001
Posts: 439
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A couple of suggestions ..

Add a breadcrumb trail for the page ..
Add a back button to the "sh_srv=" page .. (not sure if that's needed if you have a breadcrumb trail )
Reply With Quote
  #38  
Old 11-18-2005, 11:45 AM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will do I kicked myself about that last night, then forgot to add it again, Ive also just converted the hl class for Counter-Strike: Source with it's own map folders and default image and what not.
Reply With Quote
  #39  
Old 11-18-2005, 12:06 PM
Rhoads Rhoads is offline
 
Join Date: Dec 2004
Location: Holland
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JTyson
Will do I kicked myself about that last night, then forgot to add it again, Ive also just converted the hl class for Counter-Strike: Source with it's own map folders and default image and what not.
Do you think that it is possible add F1 Challenge
https://vborg.vbsupport.ru/showpost....0&postcount=19
I have gsQuery-0.1.1 for you if you want ?
Reply With Quote
  #40  
Old 11-18-2005, 12:19 PM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/
Reply With Quote
  #41  
Old 11-18-2005, 12:43 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you gonna update for Q4 support?
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 01:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04725 seconds
  • Memory Usage 2,311KB
  • 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
  • (4)bbcode_code
  • (4)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