Page 1 of 1
Unreal Server Query
Posted: Fri Apr 24, 2009 4:48 pm
by Shivaxi
I saw this:
http://u1.polbit.com:8080/u1_servers.php
And was wondering how to be able to do this, but have it posted onto my website...kinda like a lot of UT servers do...like this:
http://ecoop.ucoz.com/
Re: Unreal Server Query
Posted: Fri Apr 24, 2009 7:42 pm
by Gizzy
I tried with the first site, but it didn't seem to work for me...
Hyper may know more about this, he has server status' on his site.
Sniper's Paradise Servers also have server status info.
Re: Unreal Server Query
Posted: Fri Apr 24, 2009 11:54 pm
by [§Ŕ] ŤhěxĐâŕkśîđěŕ
It's just a piece of script. I'm sure I'd be ashamed of myself if I saw the source and realized it's not at all complicated, yet I have no idea of idea of idea [infinite loop detected] of idea how to make such a thing. And I don't personally know anyone that knows.
Re: Unreal Server Query
Posted: Sat Apr 25, 2009 12:40 am
by Bane
Learn PHP, most specifically the network code so you can communicate with the servers
Send them a request asking for server info
Use the server info to generate the webpage.
That should be all that's needed. That page uses a list of IPs and ports rather than communicating with the master server as well. You also need to learn the structure of the server info query and response.
Re: Unreal Server Query
Posted: Sat Apr 25, 2009 1:25 am
by Shivaxi
Yeah well I don't have time to learn all that...which is why I posted this topic in the first place

Re: Unreal Server Query
Posted: Sat Apr 25, 2009 3:42 pm
by Shivaxi
Actually....I think i can rip the code from the WebAdminHTML.int script...gonna try that...
EDIT: nvm...its not exactly in HTML -_-
Re: Unreal Server Query
Posted: Sat Apr 25, 2009 9:47 pm
by Bane
nvm...its not exactly in HTML -_-
Just want to reiterate that it is in no way possible to do a server query in HTML. Maybe in javascript, but I have no idea what can be done in js.
If you want it on your page and won't learn PHP or any other CGI language, you'll have to find someone else to do it for you or get the PHP code from an existing site (and your site must support PHP)
Re: Unreal Server Query
Posted: Mon Apr 27, 2009 8:59 pm
by [§Ŕ] ŤhěxĐâŕkśîđěŕ
I know some PHP, just not that much. I'd be grateful if someone describes how to query an Unreal server (just what to send and what to listen for in return) and I could offer that script on my site.
Re: Unreal Server Query
Posted: Wed Apr 29, 2009 11:45 pm
by Shivaxi
My good friend Socket1 (He's in ) just figured it out, and got it working. Check my home page to see what it looks like 8-)
http://www.freewebs.com/shivaxi/
Re: Unreal Server Query
Posted: Thu Apr 30, 2009 9:00 am
by Gizzy
Rather impressive. I assume you can change the colours Eg: Background and text colour.
Re: Unreal Server Query
Posted: Thu Apr 30, 2009 9:06 am
by [§Ŕ] ŤhěxĐâŕkśîđěŕ
Does your friend know C/C++? If so, he could make a standalone replacement for LameSpyLite.

Re: Unreal Server Query
Posted: Thu Apr 30, 2009 10:56 am
by Shivaxi
Nah he doesnt know C++ that well tbh....I probably even know more than he does
And yeah Gizzy, everything thing is changable. Infact, there are even things left out in the query, like frag count, which doesnt work for me because xCoop uses a different scoring system, so everyones frags read 0
There's alot of other things the query CAN read...like what mutators you have running, game class, map filename, min game version able to join (Which does say 224)....things like that 8-)
And actually...this is where it came from:
http://gameq.sourceforge.net/
Re: Unreal Server Query
Posted: Sat May 02, 2009 11:03 am
by [§Ŕ] ŤhěxĐâŕkśîđěŕ
Thanks!
