Page 1 of 1

UQuery

Posted: Tue Aug 25, 2009 2:25 am
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.

Re: UQuery

Posted: Tue Aug 25, 2009 2:27 am
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 ::)

Re: UQuery

Posted: Tue Aug 25, 2009 10:40 am
by GreatEmerald
So, what does it do?

Re: UQuery

Posted: Tue Aug 25, 2009 1:50 pm
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.)

Re: UQuery

Posted: Tue Aug 25, 2009 7:32 pm
by GreatEmerald
And why would you need that, the Server Browser already gives that info?

Re: UQuery

Posted: Tue Aug 25, 2009 8:00 pm
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

Re: UQuery

Posted: Tue Aug 25, 2009 8:30 pm
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. :)

Re: UQuery

Posted: Tue Aug 25, 2009 11:33 pm
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.

Re: UQuery

Posted: Wed Aug 26, 2009 10:37 am
by GreatEmerald
Oh, good luck then. Personally I'm not concerned about losing 10 seconds to open Unreal :D

Re: UQuery

Posted: Wed Aug 26, 2009 11:28 am
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 :) ;)

Re: UQuery

Posted: Wed Aug 26, 2009 5:05 pm
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. :)

Re: UQuery

Posted: Wed Aug 26, 2009 9:12 pm
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.

Re: UQuery

Posted: Wed Aug 26, 2009 9:17 pm
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?

Re: UQuery

Posted: Thu Aug 27, 2009 1:15 am
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.

Re: UQuery

Posted: Sun Aug 30, 2009 7:34 pm
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

Re: UQuery

Posted: Mon Aug 31, 2009 8:04 am
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

Re: UQuery

Posted: Sun Sep 06, 2009 2:58 am
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

Re: UQuery

Posted: Tue Dec 22, 2009 12:02 pm
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

Re: UQuery

Posted: Tue Dec 22, 2009 4:27 pm
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

Re: UQuery

Posted: Tue Dec 22, 2009 7:41 pm
by []KAOS[]Casey
I'm sure thats nothing a lot of packet analyzing can't fix.. :p

Re: UQuery

Posted: Tue Dec 22, 2009 7:45 pm
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