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

UQuery

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

UQuery

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

Ok I put this here because most people don't check the projects section. I've made a program for querying Unreal servers. Shivaxi gave me the idea when he said that he needs something to save statistics on his server. I first made a PHP script for this but now a real program.

I didn't take any screenshots because there is really not enough material, go check it by yourself. :)

http://thedarkside.net63.net/downloads/ ... .1.4.9.rar
^ There is something wrong with the server, it'll respond to "UQuery.rar" and you'll get an old version, so I decided to put every version in its own rar. Lol.

NOTE: You need to have .NET framework 2.0 or higher installed in order for the program to work.

ANOTHER NOTE: Please, if don't have anything nice to say, don't say anything at all. I'm sick of downright vile comments to my stuff, a friendly suggestion/tip and of course a bug report is very welcome :), but flaming isn't. So if you are pissed for any reason, please keep your ignorance and hate to yourself. I haven't done anything bad to anyone. Thank you.

BUG TRACKER
¯¯¯¯¯¯¯¯¯¯¯¯

[+] Menus
[[ch8730]] Some available properties (including mutators) were showing "N/A"
[=] 2 text boxes are now 1 combo box
[?] Master server query
[?] Contents of combo box are not saved after program restart
________
Legend:

[+] Added
[[ch8730]] Fixed
[=] Changed
[?] Still Missing

Version numbers are pretty much random, what comes to my mind. ;) But they are increasing so biggest numbers = newest version.

Download link for old version:
http://thedarkside.net63.net/downloads/ ... 1.2.11.rar
^ Only for reference and formality. You should always get the newest one because it contains fixes.
Last edited by [§Ŕ] ŤhěxĐâŕkśîđěŕ on Tue Aug 25, 2009 5:50 pm, edited 1 time in total.
User avatar
Shivaxi
OldUnreal Member
Posts: 2232
Joined: Wed Mar 08, 2006 4:43 pm

Re: UQuery

Post by Shivaxi »

Glad I can provide ideas :P

Good to see this is coming along.  I'll start setting up the webpage for this I suppose ::)
Last edited by Shivaxi on Tue Aug 25, 2009 2:27 am, edited 1 time in total.
Image  Image
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: UQuery

Post by GreatEmerald »

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

Re: UQuery

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

So, what does it do?
You enter an IP address of an Unreal server and its port (not the game port, the one it shows in browser) and click the button and it returns list of players on that server, map name, server name of course and some other info. Right now I'm changing the text boxes into drop-down boxes so it saves all entered IP addresses and port numbers, I'm making mutator display and trying to figure out how master server works so I'll try to make it display all servers like the GSpyLite that existed in the previous versions, but better. ;) Also a nice programming challenge for me to practice. :)

EDIT: New version out now, look at my first post for details. (Download link also at first post.)
Last edited by [§Ŕ] ŤhěxĐâŕkśîđěŕ on Tue Aug 25, 2009 5:46 pm, edited 1 time in total.
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: UQuery

Post by GreatEmerald »

And why would you need that, the Server Browser already gives that info?
User avatar
Shivaxi
OldUnreal Member
Posts: 2232
Joined: Wed Mar 08, 2006 4:43 pm

Re: UQuery

Post by Shivaxi »

Because you can add this query like on your website if you host a server. I did it a few months ago. Also this is whats going to allow me to set up the Stats page for my Unreal Invasion server so people can have competitions :P
Image  Image
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: UQuery

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

And why would you need that, the Server Browser already gives that info?
Exactly. :) I want that my program has same functionality as Unreal server browser has so I can check a server without starting Unreal. :)

@ Shiv: It would be awesome if I figure out how to make a DLL that returns HTML code (like @ m$'s site). Then you would have it native by me. :)
Last edited by [§Ŕ] ŤhěxĐâŕkśîđěŕ on Tue Aug 25, 2009 8:30 pm, edited 1 time in total.
User avatar
Smartball
Global Moderator
Posts: 241
Joined: Fri Mar 22, 2002 4:01 am

Re: UQuery

Post by Smartball »

And why would you need that, the Server Browser already gives that info?
Even if the end result is basically reinventing the wheel, working on projects like this provides an invaluable learning opportunity. Especially if it's a project in which you have no prior experience. I'm sure that's part of why he's making it.
Of all the things I've lost, I miss my mind the most.
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: UQuery

Post by GreatEmerald »

Oh, good luck then. Personally I'm not concerned about losing 10 seconds to open Unreal :D
User avatar
mentalhunter
OldUnreal Member
Posts: 814
Joined: Sun Oct 07, 2007 10:31 am

Re: UQuery

Post by mentalhunter »

Wow. just tryd it, this is actually quite usefull, i wonder why nobody else ever made something like this before, good thinking you did there :) ;)
Last edited by mentalhunter on Wed Aug 26, 2009 11:28 am, edited 1 time in total.
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: UQuery

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

And why would you need that, the Server Browser already gives that info?
Even if the end result is basically reinventing the wheel, working on projects like this provides an invaluable learning opportunity. Especially if it's a project in which you have no prior experience. I'm sure that's part of why he's making it.
Also a nice programming challenge for me to practice. :)
Absolutely right. :P
Wow. just tryd it, this is actually quite usefull, i wonder why nobody else ever made something like this before, good thinking you did there :) ;)
Thanks mate. :)
User avatar
Spike
OldUnreal Member
Posts: 434
Joined: Tue Dec 30, 2008 1:29 am

Re: UQuery

Post by Spike »

Wow. just tryd it, this is actually quite usefull, i wonder why nobody else ever made something like this before, good thinking you did there :) ;)
Actually Pax made one, but it was more or less directed towards KSA server so we could watch the server when not at home. Same basis though.
Image
The · Killer · §kaarj · Assassins Brotherhood (1999-2020)
Pravin

Re: UQuery

Post by Pravin »

Not bad, Dark! External programs and .dlls are always interesting when combined with Unreal. This program looks pretty cool. All that it needs now is a query to the master server to retrieve a list of IPs.

Just curious, did you make this with VB or C++ & MFC?
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: UQuery

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

Not bad, Dark! External programs and .dlls are always interesting when combined with Unreal. This program looks pretty cool. All that it needs now is a query to the master server to retrieve a list of IPs.

Just curious, did you make this with VB or C++ & MFC?
Thanks! :)

I'm now trying to figure out how to make it retrieve list of IPs from master server. :P

And I made it with C#. ;) It's much like Java and I've made lots of stuff with J2ME in the past (when I needed stuff for my phone :)) so I found it quite easy.
User avatar
KillerSkaarj
OldUnreal Member
Posts: 935
Joined: Fri Jan 25, 2008 2:04 am

Re: UQuery

Post by KillerSkaarj »

Once the contents of the Combo box start saving after program restart, then I'll start actively using this program to monitor my favorite servers outside of Unreal ;D
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: UQuery

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

Once the contents of the Combo box start saving after program restart, then I'll start actively using this program to monitor my favorite servers outside of Unreal ;D
lol I stopped th development for a bit because I have no clue about the Validate() function in Unreal and idk how to get master server list and I was like reading about it but ya I can make a new version for that, I believe that's necessary because it's so annoying when I have an address that I don't know entered and I close it. x_x
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: UQuery

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

Bump, a new update coming soon (yay!), still no master server support (so sorry guys) but the new version should fix some crashes and have a couple of new options (such as manually entered query, raw output, etc.) and will probably crash on some other points so if you discover a bug pls tell. :) I'll finish the last bits later because now I gotta sleep. :D
User avatar
TCP_Wolf
Administrator
Posts: 1078
Joined: Sun Mar 03, 2002 12:04 pm
Contact:

Re: UQuery

Post by TCP_Wolf »

Wow. just tryd it, this is actually quite usefull, i wonder why nobody else ever made something like this before, good thinking you did there :) ;)
Actually Pax made one, but it was more or less directed towards KSA server so we could watch the server when not at home. Same basis though.

... just browsing through a few older posts, I don't usually feel like bumping older topics but what the heck...

Querying tools have been about and numerous in the past, from cheap PHP scripts to small clients, to "real" applications (QTracker, Kali). Loads of people wrote such tools.

Master server querying requires a key challange code implementation which you cannot do without being a regged UEngine developer, so all the "non official" tools are missing that feature... unless the policy was changed, master servers should refuse to reply even if the requests sent to it are valid.

Here's one of my takes at it from 5 or I have long forgotten how many years ago.... I'm only posting this because of the comment "was never done before", it has actually been OVERdone ;) I do agree, it's an excellent excercise at netcode / GUI / multithreading application programming. It was the same for me that's why it looks ugly and after I lost the sourcecode I was too lazy to redo it properly.

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

Re: UQuery

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

Crap, no chance for me to make GameSpy query. :(

I'll try to redo this program in pure C, as I wrote the previous one in C# .NET (so it's windoze-only and I don't really use windoze anymore).

I need to get some experience with Gtk+ first, though. lol
Last edited by [§Ŕ] ŤhěxĐâŕkśîđěŕ on Tue Dec 22, 2009 4:28 pm, edited 1 time in total.
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: UQuery

Post by []KAOS[]Casey »

I'm sure thats nothing a lot of packet analyzing can't fix.. :p
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: UQuery

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

I'm sure thats nothing a lot of packet analyzing can't fix.. :p
Wait, you're right! :) Thanks for the idea.

EDIT: It uses...IRC protocol? LOL
EDIT^2: Oh that's the chat... lol
Last edited by [§Ŕ] ŤhěxĐâŕkśîđěŕ on Tue Dec 22, 2009 8:18 pm, edited 1 time in total.
Post Reply

Return to “Unreal General Forum”