PDA

View Full Version : VBphgstats Integration: Game Server Query tool


JTyson
11-16-2005, 10:00 PM
This hack integrates the phgstats (http://www.woah-projekt.de/index.php?page=projects&project=phgstats&lang=en) 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?
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
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:

$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
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
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/Server/69.61.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. :-(

JTyson
11-17-2005, 11:04 PM
Did you import the product?

twitch
11-17-2005, 11:56 PM
cool hack, look forward to support for games like CoD2 and F.E.A.R

Slave
11-18-2005, 01:07 AM
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! .. :)

jugo
11-18-2005, 02:46 AM
hmmm...I think It's time to get playin....

Thanks...

Kru
11-18-2005, 04:10 AM
Really good. I could need an intergration for my counter strike server. You think you can add this to the list? :)

JTyson
11-18-2005, 06:49 AM
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! .. :)

Admincp is not far away at all,

vba module not yet planned but wouldnt be too hard

sensimilla
11-18-2005, 06:49 AM
great game arcade :) seems its working with vb 3.5.1 :)

JTyson
11-18-2005, 06:50 AM
Also dont forget to click install so you get the updates :)

Rhoads
11-18-2005, 08:25 AM
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

eXtremeTim
11-18-2005, 08:47 AM
Really good. I could need an intergration for my counter strike server. You think you can add this to the list? :)

Hahaha this hack might make me setup a counterstrike server. If we get support for it that is.

JTyson
11-18-2005, 08:55 AM
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

Is that just using the gamespy protocol? As im ging to be looking at modifying one of the existing classes for the gamespy protocol.

JTyson
11-18-2005, 08:58 AM
Hahaha this hack might make me setup a counterstrike server. If we get support for it that is.

Well seeing as phgstats 0.6 is only 10% complete i think we may have to do it ourselves ;) You also never know, one of the existing protocols may work.

Slave
11-18-2005, 09:04 AM
Not tried it I admit .. but shouldn't the hl2 one work for cs-s .. and hl work for cs ?

Rhoads
11-18-2005, 09:07 AM
Is that just using the gamespy protocol? As im ging to be looking at modifying one of the existing classes for the gamespy protocol.

Jups, it uses game server Query Protocol (Gamespy)

JTyson
11-18-2005, 09:07 AM
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.

gator777
11-18-2005, 10:04 AM
Very nice ...Installed. :)

JTyson
11-18-2005, 10:15 AM
Not tried it I admit .. but shouldn't the hl2 one work for cs-s .. and hl work for cs ?

Acording to the phg forums someone said that this does work, If ome can give me details on a server to test i'll create a new class for it.

gator777
11-18-2005, 10:27 AM
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. :)

Slave
11-18-2005, 10:45 AM
Small issue, but when I set up a BF2 server and click on the link, it displays a BF1942 pic.

I've seen that too with the ET server I'm using it for .. frontpage is fine with the small pic .. but when you click on the details page you get a big BF logo instead of the map pic ..

Slave
11-18-2005, 10:48 AM
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

JTyson
11-18-2005, 10:48 AM
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.

JTyson
11-18-2005, 10:52 AM
Edit my mistake the bf image is my fault i will fix it now.

/me slaps himself.

JTyson
11-18-2005, 10:58 AM
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:
<img alt="omaha charlie-sector-1944" src="./phgstats/maps/bf/default.jpg" border="0">

Replace:
<img alt="{$srv_rules['mapname']}" src="{$srv_rules['map']}" border="0">

gator777
11-18-2005, 11:08 AM
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:
<img alt="omaha charlie-sector-1944" src="./phgstats/maps/bf/default.jpg" border="0">

Replace:
<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. :)

Slave
11-18-2005, 11:11 AM
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 :)

Slave
11-18-2005, 11:39 AM
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 ;))

JTyson
11-18-2005, 11:45 AM
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.

Rhoads
11-18-2005, 12:06 PM
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.php?p=824320&postcount=19
I have gsQuery-0.1.1 for you if you want ?

JTyson
11-18-2005, 12:19 PM
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/Server/69.61.61.122/32140/

flup
11-18-2005, 12:43 PM
Are you gonna update for Q4 support?

JTyson
11-18-2005, 12:46 PM
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.

flup
11-18-2005, 12:48 PM
k :)

Rhoads
11-18-2005, 01:15 PM
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/Server/69.61.61.122/32140/


It's look nice, I have no idea how I am possible to integrated in vbulletin.

Mith
11-18-2005, 01:37 PM
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

JTyson
11-18-2005, 01:43 PM
In the admincp, you will find a new menu group :)

It's look nice, I have no idea how I am possible to integrated in vbulletin.
My RaceServer (http://www.dutchracingleague.nl/gameservers/examples/small_example.php)

Sometime over the weekend i shall look into the gamesp class, otherwise i may package up my gsquery hack as a product :)

Mith
11-18-2005, 01:57 PM
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:

http://www.uk1clan.com/images/query.JPG

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

Rhoads
11-18-2005, 01:58 PM
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:

JTyson
11-18-2005, 02:00 PM
Where it says Enter Server Port

Mith
11-18-2005, 02:25 PM
It doesn't work.

I'll give you the examples again.

In the previous config.inc.php


// 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:
'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

JTyson
11-18-2005, 02:31 PM
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
$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.

Mith
11-18-2005, 03:32 PM
LoL

Didn't realise you were in Australia, I can survive without it until the morning hehe.

Unfortunately, it doesn't let you cheat, because it only allows 10 chars (including the : )

so the last digit of the query port gets chopped off.

have a good sleep

JTyson
11-19-2005, 05:11 AM
Just updated the zip to include this fix. You will have to reimport the plugin as there are some db changes.

Let me know how it goes.

TF|Scorpion
11-19-2005, 08:15 AM
I LOVE IT ! AWESOME WORK!!! *clicks install* when will the final version be released? I will be waiting for it = )

Mith
11-19-2005, 09:06 AM
Excellent Stuff, JT works awesome... no probs here :-)


What would make this complete:

Server Launcher (click a button to join that server)
Whose on the server on forumhome
VBA CMPS Module to show server status on VBAdvanced Homepage.
:D

JTyson
11-19-2005, 10:24 AM
Server Launcher, Dont alot of games come with a URL protocol that means you can click a link to join?

Forum Home? Read below as it also applies.

VBA Module will come soon however im not uite sure of the implications of this as if you have a high traffic site it would be querying the server with every page load. which isnt good. I could look into caching server info to overcome this however this hack is getting further beyond just integration (it's already better than the original phgstats..lol).

It wouldnt be hard for me to rewrite this so it runs on a cron and updates the db once a minute but it woud still be someone elses program, unless someone can have a look at the license for it and see if i can rename it and remove credits. ;)

Rhoads
11-19-2005, 10:26 AM
Just updated the zip to include this fix. You will have to reimport the plugin as there are some db changes.

Let me know how it goes.
With the new update of today, I have tried to put F1 Challenge in my gameserver list because the extra queryport that i need for the F1 game. What me surprised was that I had now a connection to the server, only the names and screens were not correct, but I think that there with these extra Queryport (Optional) possibilities are, do you think that you can make on this basis a classes for F1 Challenge. I can make the screens of F1 Challenge circuits etc.....

JTyson
11-19-2005, 10:34 AM
So Noth bf2 and mohaa work with your server for basic info but not players? I know that mohaa actually uses a gamespy protocol from looking around.

Attach a 150x150 image and i'll have a look at it, and ateleast get a new class made so that we can modify it :)

Rhoads
11-19-2005, 10:38 AM
So Noth bf2 and mohaa work with your server for basic info but not players? I know that mohaa actually uses a gamespy protocol from looking around.

Attach a 150x150 image and i'll have a look at it, and ateleast get a new class made so that we can modify it :)
Yes mohaa used the gamespy protocol and F1 Challenge also. What means you with Attach a 150x150 image, where wants you that of have?

Edit : you mean for that circuit :nervous:

JTyson
11-19-2005, 10:41 AM
For each class there is a default image that is used by that class when the mapname.jpg isnt found.

So the default image would be a 150x150px image for the game not the circut, you can then keep adding circuitname.jpg to the maps folder :)

Rhoads
11-19-2005, 10:44 AM
For each class there is a default image that is used by that class when the mapname.jpg isnt found.

So the default image would be a 150x150px image for the game not the circut, you can then keep adding circuitname.jpg to the maps folder :)
Oke I have made just as fast 2 image.
Thnx man, I really appreciate it.

JTyson
11-19-2005, 11:04 AM
Ok 2 seconds. (Maybe more lol)

JTyson
11-19-2005, 11:27 AM
Ok just upload the contents of the upload folder of the file below allowing it to overwrite, you should now have a new game type in the admincp,

It shouldnt bee too hard for me to sort the players out but im just a litle tied up on another project at the moment but should be free to have a look at it soon.

Let me know if you have any issues.

Rhoads
11-19-2005, 11:52 AM
Thnx JTyson, it is working for me.
Only the image on the stats page is the same as the servers page, and perhaps I can look at if I can change the column Frags Deaths Score Team that we do not have necessary, also the ping is not enable i see. Such as you can see indicates the those names who's racing on the server correctly, i think this is great for or members for now when i update my forum next week.

Very very thnx

JTyson
11-19-2005, 12:43 PM
Im just working on that now, Gamespy protocol outputs names differently than mohaa does , I think its playername / points / ping and not much else

Rhoads
11-19-2005, 01:40 PM
Im just working on that now, Gamespy protocol outputs names differently than mohaa does , I think its playername / points / ping and not much else
Oke thnx, if you want, you can look in the gsQuery.php from gsQuery for the outputs names.

JTyson
11-19-2005, 01:55 PM
Still stumped about the ping as the names are correct in what the server returns, but ive managed to get the rest working for the gamespy class.

Would you mind telling me the queryport for your server so i can test this out?

Rhoads
11-19-2005, 02:29 PM
Still stumped about the ping as the names are correct in what the server returns, but ive managed to get the rest working for the gamespy class.

Would you mind telling me the queryport for your server so i can test this out?

Oke, I send you a PM with my details ;)

JTyson
11-19-2005, 02:54 PM
Got it, Try this,

Just upload to the phgstats/classes folder

Rhoads
11-19-2005, 03:50 PM
Got it, Try this,

Just upload to the phgstats/classes folder
Great man, very good.
Some what now not yet works are the ping, these continue stand on 0. But that does not determine me so much, be awful glad, thnx.
Thanks for the time which you have put in.
Results in my screens :up:

JTyson
11-19-2005, 10:56 PM
Does the Server Car have ping more than 0? i assummed it was a bot running on the server? I have the ping working on my servers.

Rhoads
11-19-2005, 11:10 PM
Does the Server Car have ping more than 0? i assummed it was a bot running on the server? I have the ping working on my servers.
The response van de server is 17ms, the servercar is not a bot, but a non playing player. With races, it's the safetycar. Whem i'm in game, the servercar is also give me a ping, but not on the website for now. I have make a screen tonight with 5 players, but nobody has a ping. It is not terrible, but it would be easy as the pings doing. Take the time, I have enough time all. It does not succeed, unfortunately then. But you has made me now already glad with these terrible vbulletin extension :)

In$ane
11-21-2005, 07:15 PM
Hi i would like to show the quake 4 server i got, any one no of a fix for this othxs ..

Kingster
11-22-2005, 02:48 PM
VBA Module will come soon however im not uite sure of the implications of this as if you have a high traffic site it would be querying the server with every page load. which isnt good. I could look into caching server info to overcome this however this hack is getting further beyond just integration (it's already better than the original phgstats..lol).

It wouldnt be hard for me to rewrite this so it runs on a cron and updates the db once a minute but it woud still be someone elses program, unless someone can have a look at the license for it and see if i can rename it and remove credits. ;)
I think that I would just cache in a file, check the timestamp of the file on query, and if it is more than a minute old (or some configurable time is probably better), then grab the info from the server(s). I wouldn't stick it in the DB, as that's more work than it is worth.

Just a thought.

BTW, It worked well for me in test... I'm looking forward to the VBA module before I click the install, which is what I really need.

Cheers!

memoriess
12-05-2005, 04:46 AM
A question, does this stats support Counterstrike 1.6? If not, how can I do it?

AKAAirborne
12-12-2005, 01:22 PM
Okay have tried a couple different servers that I run, all of which are up I know and still get no connection to any of them. One of them is a TFC Server which should run from the HL settings and the other a BF2 Server.

Oap JTRipper
12-16-2005, 09:51 AM
its running as a custom vba module on one of our sites

www.belfastkillers.co.uk

click on public/hosted servers

dan35
12-16-2005, 05:03 PM
I use www.game-monitor.com instead :)

AuronTSR
12-17-2005, 03:20 AM
Greetings,

This is a very nice hack, and I have it installed my forums. Is the there any way to full integrate that page at the bottom of my forum, FORUMHOME. Im almost certain it could be done, but im no coder/developer, so I would kno where to start. Any help would be much appreciated. Thanx in advance.

+buG
01-02-2006, 12:58 AM
Great hack I'ts good to see people supporting the other half of the vBulletin users, gamers. If anybody extends its functionality to support BF2 and CSS I'll certainly install. :]

Oap JTRipper
01-02-2006, 09:32 AM
Great hack I'ts good to see people supporting the other half of the vBulletin users, gamers. If anybody extends its functionality to support BF2 and CSS I'll certainly install. :]

already supports both

Diggazz
01-02-2006, 10:41 AM
Warning: Failed opening 'aa.class.php' for inclusion (include_path='') in /phgstats/classes/phgstats.class.php on line 41

Fatal error: Cannot instantiate non-existent class: aa in /home/.sites/133/site134/web/Forums/phgstats/classes/phgstats.class.php on line 43

I get this 90% of the time when I try to view the webpage

The other 10% of the time it works fine

And yes even with just your test servers it does the same

One thing though the response times are really high like around 3000 ms what is this measuring because I ping the servers at 30 ms

This is a great mod if I could get it to display 100% of the time any help would be appreciated

This is my URL http://www.xtremegamingnetwork.com.au/Forums/VBGameServer.php

Hope you can help

Thanks in advance

lanc3lot
01-02-2006, 12:09 PM
I will keep an eye on this JTyson definately :)

rzpvile
01-02-2006, 06:17 PM
Can you make this support Counter Strike 1.6 also?

Rhoads
01-02-2006, 11:48 PM
Is there a update for your extention, there is a security fix.


We released this version, because all old phgstats scripts with website include support are a security risk. One very important variable was not initialized, so other people can use this bug to execute some code from their server on the phgstats machine.

Its very important to update to this Version.

BENSTER
01-05-2006, 02:27 AM
I tried overwriting this version with the 5.2 and it failed, even when restoring your config.inc.php and style.inc.php. Is there an easy way to upgrade your plug in as new versions of phgstats is released?

Hollanda
01-09-2006, 02:42 PM
Invalid SQL:
SELECT * FROM phgstats_servers ORDER BY `order` ASC;

MySQL Error : Table 'hollanda_Vbulletin.phgstats_servers' doesn't exist
Error Number : 1146
Date : Monday, January 9th 2006 @ 05:40:40 PM
Script : http://forum.onlydutch.nl/admincp/phgstats_admin.php?do=list
Referrer : http://forum.onlydutch.nl/admincp/index.php?do=nav
IP Address : 80.60.119.29
Username : Hollanda
Classname : vb_database

Strange, I'm getting this error when I upload the mod and try to ad an server via adminCP/VB PhgStats

Edit: managed to get it working, but 2 questions:

(1) Is it possible to move the picture to the left side, just onder the game name?
(2) Is it possible to update the mod to the latest 0.6 beta version from phgstats?


Thanx for your help!
Dave

http://forum.onlydutch.nl/VBGameServer.php

Quade
01-10-2006, 10:15 AM
help me Please

https://vborg.vbsupport.ru/

Itzbenreel
01-13-2006, 04:36 AM
Click Install.

This seems to work well. I have about 22 pub servers and 6 customer servers so I'm interested in how it will perform when it needs to query almost 30 servers.

I'll keep you posted.

Also, an additional field that allows a popup for game spy status/stats pages would be nice... either that or link that the server's GeoRank @ Gamespy.

BENSTER
01-29-2006, 05:11 AM
Balgo has responded to your thread asking for you to contact him.

Tidy
01-31-2006, 10:10 AM
Any Chance That You Will Be Upgrading To phgstats 0.6?
Very Nice Modification Though

/me Clicks Install

Phosphorus
01-31-2006, 10:55 AM
hi

i have uplpoad all files and import the xml..
all ok..
work on VB 3.5.3

Thanks
:banana:

palerider
02-07-2006, 04:38 AM
Having the same problem. Do I need to have my webhost open a port? If so, which one?

help me Please

http://img226.imageshack.us/img226/1037/10xb.jpg

dainbramage
02-10-2006, 06:45 PM
Has anybody figured out how to update this to the newest version of phgstats?

BENSTER
02-14-2006, 03:42 PM
Having the same problem. Do I need to have my webhost open a port? If so, which one?

You need the UDP port opened, some web host do not do this by default. Open the querry ports for each game.

thedvs
03-24-2006, 07:43 PM
Has anybody figured out how to update this to the newest version of phgstats?

you could just try overwriting the files?

dainbramage
03-25-2006, 05:09 AM
you could just try overwriting the files?

Doesn't appear that works. :surprised:


https://vborg.vbsupport.ru/showpost.php?p=864789&postcount=85

thedvs
03-25-2006, 11:27 AM
yeah see that now, we cant use this until the coder updates as major security risk in this version hes using of phpgstats

JTyson please ugrade this

or someone??

thedvs
03-25-2006, 02:15 PM
great the coder hasnt even logged into vborg since dec 05! :(

nht`bender
03-30-2006, 12:20 PM
what about CoD2?

ticknerben
04-08-2006, 08:59 AM
Does anyone know why im getting this Error

Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO phgstats_servers (`type` , `host` , `port` , `queryport` , `country` , `order` , `active`) VALUES ('hl', '217.199.190.175', '27017', '', 'London (UK)', '0', '1');

MySQL Error : Table 'tickneb_Community.phgstats_servers' doesn't exist
Error Number : 1146
Date : Saturday, April 8th 2006 @ 10:57:44 AM
Script : http://www.bentickner.co.uk/admincp/phgstats_admin.php
Referrer : http://www.bentickner.co.uk/admincp/phgstats_admin.php?do=add
IP Address : 81.178.169.71
Username : Ben
Classname : vb_database

kenneth4200
04-08-2006, 10:40 AM
Greetings,

This is a very nice hack, and I have it installed my forums. Is the there any way to full integrate that page at the bottom of my forum, FORUMHOME. Im almost certain it could be done, but im no coder/developer, so I would kno where to start. Any help would be much appreciated. Thanx in advance.

^^ what he said ;)

twitch
05-23-2006, 03:22 PM
Would be awesome if someone could take over development of this or create something similar with the up to date version of phgstats. I would gladly donate if someone would do it. Send me a PM

jluerken
05-23-2006, 08:18 PM
Is there a way to add an extra field to the ADD SERVER page to enter a little description?

Heidrich
06-17-2006, 08:19 PM
Would be nice to have an update!!:laugh:

The_Rayman
07-03-2006, 12:21 PM
Cewl hack ! Clicks Install...

Can you help extend the functionality for F1C? I'd like to see laptimes instead of score's. Ping's would be nice, but not necessary.

Thanks!

Tyegurl
07-09-2006, 04:46 AM
i would love to see an update of this myself....have been waiting for months to see new games added but apparently the coder has run off lol....must be busy.....i will continue to wait...

Jonathan Young
08-11-2006, 05:28 PM
Same here, i also hope this is updated with 3.6, if any changes were made.

twitch
08-11-2006, 07:13 PM
seems to be ok for me installed 3.6

jluerken
08-12-2006, 12:57 PM
Installed on 3.6 with the latest release and some optic changes
http://www.clanforums.com/forum/phgstatsvb.php

Jonathan Young
08-12-2006, 04:33 PM
Works for me, doesn't this need an update though. Some new features would be great, such as adding a map inside the admin panel. What's up with the game type, i select css for counter-strike source and it shows the game, but not game type haha.

twitch
08-12-2006, 06:56 PM
Installed on 3.6 with the latest release and some optic changes
http://www.clanforums.com/forum/phgstatsvb.php

looks great. Could you share the changes?

+buG
09-14-2006, 05:38 AM
Will anybody kindly explain this to me?


Fatal error: Call to a member function on a non-object in /home/clubfish/public_html/phgstats/settings/config.inc.php on line 4

willisbryan
09-14-2006, 11:17 PM
Hey guys, I just installed this and everything is working great, but I cant seem to see any of the maps.

Everything is correct in the code, but for some reason it only displays the default bf2 map.

I have tried to put the images everywhere I can, I have changed the naming everyway I can..

ie: ghosttown.jpg, ghost_town.jpg etc...

I was assuming that this was written like that of brainpecker, which is why i have been trying to do the "normal" naming convention.

Does anyone have any ideas on this, as its driving me nuts!

Thanks!

dooch
09-18-2006, 05:02 AM
Map names should be exactly as they are so ghost_town.jpg should be converted to ghost town.jpg [with the space].

new2php
09-28-2006, 05:32 PM
Hi all! I've had this for a while now and it worked great but... I just recently moved my site to a new host and apparently they don't have the UDP port open so I can't see any stat for any server. I've contacted the hosting co. and they said that since I am on a shared server or public server they can't change the settings to open the port.

Is there any way around this?

thedvs
11-01-2006, 10:47 PM
dont use the phgstats version script included it has exploits

twitch
11-01-2006, 10:59 PM
is there anything else?

wIrEs
12-30-2006, 02:12 PM
this add-on has not been updated for over a year, at least the files included in the zip file, it says 2004-2005 in files, latest from phgstats says 2004-2006.
just make sure that you have Register_Globals turned off and you're safe for any exploits. I sure hope that this user can update the core files for vb 3.6.4 and phgstats 0.6.9b (latest) though.................................

edit:
safe version is 0.5.2+, version included on the zip file is 0.5 which makes anyone using this vulnerable.

IRC, quakenet irc
#woah-projekt
contact balgo.

wIrEs
01-02-2007, 01:28 AM
bump

progaming
04-13-2007, 12:00 AM
I would love to see this updated also.

Barteh
07-30-2007, 09:01 PM
Ditto.

Any alternatives for this? I've tried writing something simple in php, but fsockopen and udp don't quite seem to be a good way to determine server status.

thedvs
08-08-2007, 06:27 PM
anyone gonna take this on?

sinisterpain
08-08-2007, 11:28 PM
anyone gonna take this on?
I have it working on my site. I have sent a message to the author I hope on his site I will see if he responds.

GrendelKhan{TSU
10-04-2007, 11:45 AM
anyne have this this working on vb 3.6.8?

is it safe to use?

sinisterpain
10-04-2007, 08:02 PM
You have to use the latest Phgstats files and not the author's phgstats files as their is a known security issue in the old version.

thedvs
10-20-2007, 09:23 PM
someone has to take this over PLEASE

JaggedEdge
10-23-2007, 02:59 AM
The download is corrupt.

thedvs
11-15-2007, 09:12 AM
cmon

wpeloquin
11-16-2007, 05:51 PM
i have been playing around with this, trying to get it to work properly. i will post an update if i get it working, or if i quit trying ;) right now, i have it set up as just a page (http://rkccs.com/servers.php), but it is not tied into my forums (to include things like the navbar, etc).

If you'd like to know what i modified to get that working, just PM me.

Barteh
11-16-2007, 09:21 PM
Quite looking forward to the update mate :)

weedheaven
12-25-2007, 02:02 PM
I installed this since i started my board wich is almost 1 year. I simply edited the version number, of my board. So some wont think of going to hack it. It's working fine. And never have seen an attack :)

wpeloquin
02-03-2008, 02:45 PM
https://vborg.vbsupport.ru/showthread.php?t=118347

i downloaded the phgstatsvb.php file from this project. renamed it to server.php, and edited the "phgstats.inc.php" in the phgstats/main/ directory. what i edited in that directory was only the different table classes. [<table class="customclass">, etc.]. i then added my new custom css in the ACP for the changes i made:

table.phgrefresh{
color: #000000;
background: #acacac;
border: 1px solid #000000;
}
table.phg1{
font-weight: bold;
color: #000000;
border-spacing: 5px;
border-right: 1px solid #000000;
border-left: 1px solid #000000;
border-bottom: 1px solid #000000;
}
td.phg2{
border-spacing: 5px;
border-top: 1px solid #000000;
}
table.phg3{
color: #000000;
border-spacing: 5px;
}
table.phg4 th{
font-weight: bold;
color: #000000;
border-spacing: 5px;
border-bottom: 1px solid #000000;
}
a.phgstats:link, a.phgstats:visited, a.phgstats:active {
text-decoration: underline;
color: #222200;
}
a.phgstats:hover {
text-decoration: none;
color: #535353;
}
a.phgstats2:link, a.phgstats2:visited, a.phgstats2:active {
font-size: 8px;
text-decoration: none;
color: #222200;
}
a.phgstats2:hover {
font-size: 8px;
text-decoration: underline;
color: #535353;
}
.phgstats2 td.auth {
color: #222200;
font-size: 8px;
}i uploaded a copy of the phgstats.inc.php file with the code edited for the custom CSS that i setup.

NOTE: i did not use his ACP xml file because i went with the custom CSS. choice is yours. i also did not edit anything else in that file other than the CSS class that some of the tables point to.

See it working here: http://forums.rkccs.com/servers.php

koke
03-22-2008, 03:32 AM
this work for Counter Strike 1.6?

Sgt Pepper
03-29-2008, 12:44 AM
looking forward to using this

dark dragun
05-30-2008, 02:43 AM
Could we get support for Frontlines Fuel of War PC?

some how this site is doing it already, but not for vb.

http://www.gametracker.com/server_info/75.126.33.12:5476/

Standard
PORT:5476
Queryport:5478

Also found LGSL

Its a stand alone php, mysql based game server tracker.
http://www.greycube.com/site/download.php?list.10

It has Frontline and a bunch other games in it. JTyson could you please make a addon for this or take a look at it and add more game to yours? please.

Heres a example of LGSL
http://darkdragun.servegame.org/forums/servers.php

wpeloquin
01-06-2009, 06:55 PM
Dark Dragun, how did you get LGSL to integrate with vBulletin properly? i've been playing around with it, can probably figure it out, but it'll be a time thing :(

SuperTaz
01-24-2009, 05:42 AM
Can someone make this compatible for 3.8.0?

starli
01-31-2009, 01:12 PM
It work with 3.8.0

Heldenverband
02-04-2009, 05:21 AM
Have anybody map pictures of ETQW, CoD5 ?