For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

Unreal Server Query

Unreal Unreal and more Unreal
Post Reply
User avatar
Shivaxi
OldUnreal Member
Posts: 2232
Joined: Wed Mar 08, 2006 4:43 pm

Unreal Server Query

Post 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/
Image  Image
User avatar
Gizzy
OldUnreal Member
Posts: 1468
Joined: Thu Jul 10, 2014 7:13 pm

Re: Unreal Server Query

Post 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.
Last edited by Gizzy on Fri Apr 24, 2009 7:42 pm, edited 1 time in total.
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: Unreal Server Query

Post 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.
User avatar
Bane
OldUnreal Member
Posts: 493
Joined: Sun Mar 03, 2002 6:32 pm

Re: Unreal Server Query

Post 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.
Author of Hide and Seek mod, and the NALIBALL mod

Hide and Seek can be downloaded from:
http://HideNSeek.5u.com
User avatar
Shivaxi
OldUnreal Member
Posts: 2232
Joined: Wed Mar 08, 2006 4:43 pm

Re: Unreal Server Query

Post by Shivaxi »

Yeah well I don't have time to learn all that...which is why I posted this topic in the first place :P
Image  Image
User avatar
Shivaxi
OldUnreal Member
Posts: 2232
Joined: Wed Mar 08, 2006 4:43 pm

Re: Unreal Server Query

Post 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 -_-
Last edited by Shivaxi on Sat Apr 25, 2009 7:19 pm, edited 1 time in total.
Image  Image
User avatar
Bane
OldUnreal Member
Posts: 493
Joined: Sun Mar 03, 2002 6:32 pm

Re: Unreal Server Query

Post 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)
Author of Hide and Seek mod, and the NALIBALL mod

Hide and Seek can be downloaded from:
http://HideNSeek.5u.com
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: Unreal Server Query

Post 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.
User avatar
Shivaxi
OldUnreal Member
Posts: 2232
Joined: Wed Mar 08, 2006 4:43 pm

Re: Unreal Server Query

Post 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/
Image  Image
User avatar
Gizzy
OldUnreal Member
Posts: 1468
Joined: Thu Jul 10, 2014 7:13 pm

Re: Unreal Server Query

Post by Gizzy »

Rather impressive. I assume you can change the colours Eg: Background and text colour.

User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: Unreal Server Query

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

Does your friend know C/C++? If so, he could make a standalone replacement for LameSpyLite. :)
User avatar
Shivaxi
OldUnreal Member
Posts: 2232
Joined: Wed Mar 08, 2006 4:43 pm

Re: Unreal Server Query

Post by Shivaxi »

Nah he doesnt know C++ that well tbh....I probably even know more than he does :P

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

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/
Image  Image
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: Unreal Server Query

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

And actually...this is where it came from:

http://gameq.sourceforge.net/
Thanks! :)
Post Reply

Return to “Unreal General Forum”