vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VBphgstats Integration: Game Server Query tool (https://vborg.vbsupport.ru/showthread.php?t=101008)

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

Quote:

Originally Posted by JTyson
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/


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

Quote:

Originally Posted by drl2005
It's look nice, I have no idea how I am possible to integrated in vbulletin.
My RaceServer

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

Quote:

Originally Posted by JTyson
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

Quote:

Originally Posted by JTyson
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

PHP Code:

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

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

$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

Quote:

Originally Posted by JTyson
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

Quote:

Originally Posted by JTyson
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

Quote:

Originally Posted by JTyson
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

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.

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

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 ;)

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

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:

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

Quote:

Originally Posted by JTyson
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

Quote:

Originally Posted by JTyson
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

Quote:

Originally Posted by +buG
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


All times are GMT. The time now is 01:01 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
  • Page Generation 0.03033 seconds
  • Memory Usage 1,830KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete