![]() |
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:
|
Ummm what is it? :)
|
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 |
cool hack, looking forward to future versions. How hard/is it possible to add support to it for other games?
|
Quote:
|
I'll keep my eye on this one. :D
Next on the list: make config.inc.php: Code:
$gameserver = array( - 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. |
Quote:
|
Quote:
|
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/
|
I get a blank page.
Any pointers, Uploaded all content, set IP addresses of servers.. and thats all i get. :-( |
Did you import the product?
|
cool hack, look forward to support for games like CoD2 and F.E.A.R
|
Very nice .. I've been waiting for something like this for ages :) Thank you.
A couple of things that are needed if you have time: AdminCP interface vBAdvanced module Apart from that .. it rocks! .. :) |
hmmm...I think It's time to get playin....
Thanks... |
Really good. I could need an intergration for my counter strike server. You think you can add this to the list? :)
|
Quote:
vba module not yet planned but wouldnt be too hard |
great game arcade :) seems its working with vb 3.5.1 :)
|
Also dont forget to click install so you get the updates :)
|
This is terrible extensions for vbulletin, I now use gsQuery for our raceserver (F1 Challenge), I hope that we can monitor soon also F1 Challenge with these extension
Thnx, CLICK INSTALL |
Quote:
|
Quote:
|
Quote:
|
Not tried it I admit .. but shouldn't the hl2 one work for cs-s .. and hl work for cs ?
|
Quote:
|
Quickly looking at the configuration hl and hl2 share the same class for the query.
Also i'm just about to update this with the admincp so servers are stored in the db, just have to write the install code for the tables. |
Very nice ...Installed. :)
|
Quote:
|
Small issue, but when I set up a BF2 server and click on the link, it displays a BF1942 pic. Also, is there a way I could add my own pics for the maps? :)
It would also be nice to save the display order, and also to set the server active/not active so as to omit if needed. :) Again ...very nice work. :) |
Quote:
|
If you could create a class for q4 that would be cool .. (I know, the developer is working on it, but anything you can do to speed the process up would be good) ..
If you need some q4 ips .. Savage - Q4 DM 213.230.209.100:28004 Savage - Q4 CTF 213.230.209.100:28005 Savage - Q4 Arena CTF 213.230.209.100:28006 |
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. |
Edit my mistake the bf image is my fault i will fix it now.
/me slaps himself. |
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"> Code:
<img alt="{$srv_rules['mapname']}" src="{$srv_rules['map']}" border="0"> |
Quote:
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. :) |
Quote:
|
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 ;)) |
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.
|
Quote:
https://vborg.vbsupport.ru/showpost....0&postcount=19 I have gsQuery-0.1.1 for you if you want ? |
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/ |
Are you gonna update for Q4 support?
|
All times are GMT. The time now is 06:16 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|