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.
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.
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
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.
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.
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.
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. :]
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. :]