PDA

View Full Version : RealTime Server Query (RTSQ) for OFP,released to public



LordNam
Oct 23 2001, 18:12
2001 - [WKK] RealTime Server Query (RTSQ) for OFP, released to public. See:
<a href="http://www.wkk.dk/article.php?sid=30

" target="_blank">http://www.wkk.dk/article.php?sid=30

</a>
23/10-2001: LordNam (lordnam@wkk.dk)
------------------------------------
The source for the [WKK] REALTIME Server Qurier, has now been released at last :-)

Requirements for RTSQ: PHP 4.x on Windows OR Linux (Best run @ Linux), but runs smooth on Windows as well.

The RTSQ, lets you display ACTUAL/REALTIME - server stats / info - from a given server in play @ a WEBPAGE !

This is the MOST comprehensive / complete REALTIME SERVERSTATS / SERVERINFO for OFP to DATE !

With the builtin features, you can LAUNCH an OFP game FROM a webpage (requires * ASE),
display the SERVERLOAD - both textwise, and graphical - look at the included examples.

You can also display messages, depending on how many players are on your server, e.g.

Furthermore a debugger is in the archive as well, - for easy-implementation of new queries / data-entries.

BEST OF ALL ITS OPEN SOURCE !!! YEEHAA - GO CODE, and get those serverstats UP'n running.



The RTSQ, can query OFP servers, and display - the following data:

- Hostname (OFP-server-address, portnumber AND name of the server)
- Servertype (OFP-public / private - password needed for entering server)
- Serverversion (OFP-version of running server)
- Requiredversion (OFP-min. required version to join server)
- Missionstatus (OFP-is mission loaded ?)
- Missionname (OFP-current mission loaded running / in play)
- # players (OFP-# of current players at server)
- Maxplayers (OFP-maximum players at server - NOTE, this is the CORRECT value, not like * ASE)

MiVo
Aug 5 2002, 09:16
Hi all,

I changed PHP code of RTSQ to make it compatible with Resistance Dedicated servers, is anybody interested in it ?

If you are, let me know and i will publish it.

You can test it on this address : http://dedikac.wz.cz/ofpquery.php (now in english)

padman
Aug 6 2002, 08:18
This looks interesting
But the link to it seems broken?
Anyone know where I can grab it from?

Cheers

Padman
VS-UK London

Suchey
Aug 6 2002, 13:05
link works ok from here...I am very interested in the revised code making the query compatable with OFP:R...please post&#33;

bn880
Aug 6 2002, 14:18
Yes please get us a download link.

Suchey
Aug 6 2002, 20:45
Sorry padman...I was looking at the wrong link...the link mentioned by Lordnam does not work while the link mentioned by MiVo does. My mistake.

nicebag
Aug 7 2002, 07:23
Here you can find more tuned ServerStatus on our web page http://www.gamenet.hr or direct link at http://www.gamenet.hr/servreport.aspx

As you can see, this was developed in Microsoft ASP.NET technology, inspired by the SourceForge open project AXPlug.

Feature list:
- map & island name
- time left when in the game
- status of the server (creating, assign, dl maps, playing, debriefing)
- players list
- score of player
- highlighted best player
- sound warning when server is available for u to join in

Sound warning works even if you are in OFP and playing on another server.

What&#39;s the best, code can reside on our server and be used to monitor any other server. Also, you can change fonts, backgrounds, music file...

Version is at the moment at v1.0

MiVo
Aug 7 2002, 08:39
New version of PHP code - Real Time OFP Server Query is now available at http://ofp.info (http://ofp.gamezone.cz/index.php?newlang=eng&showthis=./news/1028708880.news) (at this moment in English and Czech section of web)

You can still test it at this address : http://dedikac.wz.cz/ofpquery.php

Major improvements :

- compatible with Operation Flashpoint:Resistance and new netcode versions (1.60 and above ?) servers in Sockets and DirectPlay network mode
- corrected problem in player table if mixed players with and without squad name
- support for TIMELEFT variable (OFP 1.42 and above) if supported by MP mission, show remaining time of gameplay

<span style='color:red'>Direct download link from ofp.info (http://ofp.info) site :</span> http://ofp.gamezone.cz/rest/OFPserverQuery201.zip

bn880
Aug 7 2002, 12:23
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (nicebag @ Aug. 07 2002,03:23)</td></tr><tr><td id="QUOTE">Here you can find more tuned ServerStatus on our web page http://www.gamenet.hr or direct link at http://www.gamenet.hr/servreport.aspx[/QUOTE]<span id='postcolor'>
Can you give us an actual download link? Why do we have to go through all this to get a copy?

nicebag
Aug 7 2002, 20:26
Currently we are hosting application, and all servers and sites can use it from our site with full customization to fit in any site. Once it become available it will be published here.
New features are added frequently.

Suchey
Aug 8 2002, 13:13
MiVo...thanks...and nice work&#33;

Suchey
Aug 9 2002, 15:10
I have added a user adjustable refresh rate and alarms to the query which allow a player to receive an audible alert on the following coditions:

server not full
server not empty
current missions ends (new mission starting)

these are nice if you get into a game early and have to wait for 30 minutes before you are able to actually play...with the alarms you can alt tab out, load up the query, and do whatever you need to do until the alarm lets you know its time to play http://www.flashpoint1985.com/ikonboard301/iB_html/non-cgi/emoticons/smile.gif

You can see the revision HERE (http://www.mtco.com/games)

If anyone is interested, post here I will remove our server specific items from the code and make it available. Thanks again for the base code from WWK and the Resistance rev from MiVo.

bn880
Aug 9 2002, 15:28
Nice work Suchey. Like you said, the 30 min wait will be alot less painfull.

BTW: shouldn&#39;t you let it update less often? I think it&#39;s using alot of bandwidth... http://www.flashpoint1985.com/ikonboard301/iB_html/non-cgi/emoticons/confused.gif
EDIT
Never mind, it opened up over the top of my desktop and I didn&#39;t see the refresh thing.
GREAT&#33;

Suchey
Aug 9 2002, 15:55
ahhhh...thanks for the heads up...seemed to be a Netscape issue with the refresh function...I have set a default refresh now that should ensure that it will not keep churning. Thanks again&#33;

_51st_Pappy
Aug 10 2002, 13:24
http://www.flashpoint1985.com/ikonboard301/iB_html/non-cgi/emoticons/smile.gif S&#33; Suchey, please send me the code. Thanks

Suchey
Aug 10 2002, 15:51
OK...I have it zipped up into a mod package at work...Ill post it when I get to the office on Monday.