Tremulous Forum

General => General Discussion => Topic started by: nyarla on October 30, 2006, 05:18:16 pm

Title: Developing a Server Browser for Tremulous
Post by: nyarla on October 30, 2006, 05:18:16 pm
Since i really HATE the in-game server browser i was trying to write my own browser.
I'm using the java language, beacuse i know that language very well,it is one of the best net-oriented languages out there and , last but not least, the program can be ran on Windows or linux, no matter what OS ppl use.
Acutally i just concentrated on everything else but the UserInterface. So my program connects to the master server, gets the server list, and gets every information i need (all the vars,the players list, the country where the server is located  etc. ) from every server.
What i need now is just to write the GUI (i think using Swing is the best choice) and i was wondering if  anyone wanted to help me with that, or maybe just suggest me what could be nice to be found in such a game browser...
 :D
Title: Re: Developing a Server Browser for Tremulous
Post by: kevlarman on October 30, 2006, 05:37:27 pm
Quote from: "nyarla"
Since i really HATE the in-game server browser i was trying to write my own browser.
I'm using the java language, beacuse i know that language very well,it is one of the best net-oriented languages out there and , last but not least, the program can be ran on Windows or linux, no matter what OS ppl use.
Acutally i just concentrated on everything else but the UserInterface. So my program connects to the master server, gets the server list, and gets every information i need (all the vars,the players list, the country where the server is located  etc. ) from every server.
What i need now is just to write the GUI (i think using Swing is the best choice) and i was wondering if  anyone wanted to help me with that, or maybe just suggest me what could be nice to be found in such a game browser...
 :D
swing, aside from being a bit too big for something like a server browser, is really hard to get to look good, i would suggest sticking to the awt (unless you feel like doing it in C, and using gtk+)
Title: Developing a Server Browser for Tremulous
Post by: Odin on October 30, 2006, 05:38:33 pm
Why not just develop the in-game server browser, so that everyone will have it in the next version of Tremulous?
Title: Developing a Server Browser for Tremulous
Post by: rasz_pl on October 30, 2006, 06:19:59 pm
the ONLY thing lacking in in-game trem browser is the GUI, its utter CRAP, it uses Quake3 GUI subsystem with CRAP fonts. Thats what needs to be worked on, the rest is fine and can be polished further easily.

With better fonts we could fit more info on the screen in a much more intuitive way.
Title: Developing a Server Browser for Tremulous
Post by: gareth on October 30, 2006, 06:54:33 pm
hey!

im doing much the same thing, mainly for fun/interest than because i think the in game one is really that crap. also im using java :O Im using swt for my gui. Should be finished sometime. :)

(http://gs.javaunlimited.net/shots/regex.jpg)
Title: Developing a Server Browser for Tremulous
Post by: nyarla on October 30, 2006, 07:43:02 pm
Quote from: "gareth"
hey!

im doing much the same thing, mainly for fun/interest than because i think the in game one is really that crap. also im using java :O Im using swt for my gui. Should be finished sometime. :)

(http://gs.javaunlimited.net/shots/regex.jpg)


Cool !
I really dont know SWT components, mainly beacuse i always worked with Oracle Jdeveloper and Borland JBuilder insted of Eclipse... do u think they are better than swing?
I never appreciated using "third party" libraries for anything i can do with JDK packeges, but maybe i'm wrong  :P

Anyway , i got a stupid question for you: how do ping a server ? Do u just check how much time passes between the moment u send the info request to server and the moment u receive the response UDP packet or what else?
Title: Developing a Server Browser for Tremulous
Post by: Puma on October 30, 2006, 08:57:58 pm
Great job!!!
I cant believe my eyes.
Title: Developing a Server Browser for Tremulous
Post by: vcxzet on October 30, 2006, 09:10:47 pm
#CAPS ON
OK WHY DONT YOU IMPROVE THE INGAME ONE
AND SEND A PATCH SO PEOPLE CAN USE IT
#CAPS OFF
Title: Developing a Server Browser for Tremulous
Post by: stalefries on October 30, 2006, 10:47:54 pm
vcxzet has a point, all you're doing is writing excess code, and if anyone wants to use it they have to download it in addition to downloading tremulous. It's a great idea, but it'd be better if you just helped fix the tremulous server browser.
Title: Developing a Server Browser for Tremulous
Post by: Maltagearion on October 30, 2006, 10:58:44 pm
What I want is a lobby.
Title: Developing a Server Browser for Tremulous
Post by: Puma on October 31, 2006, 12:14:47 am
-_-
Quote
#CAPS ON
OK WHY DONT YOU IMPROVE THE INGAME ONE
AND SEND A PATCH SO PEOPLE CAN USE IT
#CAPS OFF



Quote
vcxzet has a point, all you're doing is writing excess code, and if anyone wants to use it they have to download it in addition to downloading tremulous. It's a great idea, but it'd be better if you just helped fix the tremulous server browser.


In game ,  fav servers is enough, i think.
Nobody said, u must use it...
Title: Developing a Server Browser for Tremulous
Post by: Odin on October 31, 2006, 12:27:33 am
Quote from: "Maltagearion"
What I want is a lobby.
Hahah, yea, then it can be all like, Battle.net and shit. Then we'd have bots and channels. Then someone would make a loader bot and screw everything up.
Title: Developing a Server Browser for Tremulous
Post by: rasz_pl on October 31, 2006, 02:27:25 am
Quote from: "Odin"
Quote from: "Maltagearion"
What I want is a lobby.
Hahah, yea, then it can be all like, Battle.net and shit. Then we'd have bots and channels. Then someone would make a loader bot and screw everything up.


well, there was this game called UT once, it had build in IRC and HTML browser, and it worked
Title: Developing a Server Browser for Tremulous
Post by: Lava Croft on October 31, 2006, 03:25:52 am
Nice work on the server browser gareth, please do stick to it's core business of browsing servers, and do not waste time with adding features like a lobby and what not. Looking forward to it.
Title: Developing a Server Browser for Tremulous
Post by: Lakitu7 on October 31, 2006, 03:49:02 am
Both KQuery and QTracker have Trem support. The main things missing from them however are the same things that can't be done here either because the servers don't return the information:

Friendly Fire
Build Points
Mods (TremX?)

These things are the most important pieces of information you'd need to know about a server, yet you can't sort servers by them, because they're not included in the list of "Rules" sent by the server.

Any way around THAT?
Title: Developing a Server Browser for Tremulous
Post by: gareth on October 31, 2006, 01:20:08 pm
Quote from: "nyarla"


Cool !
I really dont know SWT components, mainly beacuse i always worked with Oracle Jdeveloper and Borland JBuilder insted of Eclipse... do u think they are better than swing?
I never appreciated using "third party" libraries for anything i can do with JDK packeges, but maybe i'm wrong  :P



"better" ? yes imo. should you use it? thats up to you.

Quote from: "nyarla"

Anyway , i got a stupid question for you: how do ping a server ? Do u just check how much time passes between the moment u send the info request to server and the moment u receive the response UDP packet or what else?



yes:
http://en.wikipedia.org/wiki/Ping
Title: Developing a Server Browser for Tremulous
Post by: PwNz! on October 31, 2006, 08:23:53 pm
patch would be nice..so it would work for more than 1 operating system...plz think of the others..like me..who uses mac and linux :cry:
Title: Developing a Server Browser for Tremulous
Post by: Kaleo on November 03, 2006, 09:41:17 am
Quote from: "rasz_pl"
well, there was this game called UT once, it had build in IRC and HTML browser, and it worked


I remember that, it was GOOD because it had INBUILT irc.

Seriously, somone needs to do that for Trem