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

Ok 2 seconds. (Maybe more lol)
Reply With Quote
  #63  
Old 11-19-2005, 11:27 AM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #64  
Old 11-19-2005, 11:52 AM
Rhoads Rhoads is offline
 
Join Date: Dec 2004
Location: Holland
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #65  
Old 11-19-2005, 12:43 PM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im just working on that now, Gamespy protocol outputs names differently than mohaa does , I think its playername / points / ping and not much else
Reply With Quote
  #66  
Old 11-19-2005, 01:40 PM
Rhoads Rhoads is offline
 
Join Date: Dec 2004
Location: Holland
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JTyson
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.
Reply With Quote
  #67  
Old 11-19-2005, 01:55 PM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #68  
Old 11-19-2005, 02:29 PM
Rhoads Rhoads is offline
 
Join Date: Dec 2004
Location: Holland
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JTyson
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
Reply With Quote
  #69  
Old 11-19-2005, 02:54 PM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it, Try this,

Just upload to the phgstats/classes folder
Reply With Quote
  #70  
Old 11-19-2005, 03:50 PM
Rhoads Rhoads is offline
 
Join Date: Dec 2004
Location: Holland
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JTyson
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:
Reply With Quote
  #71  
Old 11-19-2005, 10:56 PM
JTyson JTyson is offline
 
Join Date: Apr 2005
Location: This Thread
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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:33 AM.


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.05658 seconds
  • Memory Usage 2,306KB
  • 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_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