Author Topic: Developing a Server Browser for Tremulous  (Read 5547 times)

nyarla

  • Posts: 2
  • Turrets: +0/-0
Developing a Server Browser for Tremulous
« 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

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Developing a Server Browser for Tremulous
« Reply #1 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+)
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Developing a Server Browser for Tremulous
« Reply #2 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?

rasz_pl

  • Guest
Developing a Server Browser for Tremulous
« Reply #3 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.

gareth

  • Posts: 710
  • Turrets: +38/-89
Developing a Server Browser for Tremulous
« Reply #4 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. :)


nyarla

  • Posts: 2
  • Turrets: +0/-0
Developing a Server Browser for Tremulous
« Reply #5 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. :)



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?

Puma

  • Posts: 192
  • Turrets: +26/-0
Developing a Server Browser for Tremulous
« Reply #6 on: October 30, 2006, 08:57:58 pm »
Great job!!!
I cant believe my eyes.
ou have no life?
http://www.uncommonforum.com/
Here you can find some help.

vcxzet

  • Guest
Developing a Server Browser for Tremulous
« Reply #7 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

stalefries

  • Posts: 169
  • Turrets: +2/-0
    • http://stalefries.googlepages.com
Developing a Server Browser for Tremulous
« Reply #8 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.
color=green]:[/color]nac:stalefries
My boring website that you hate | GRAAAAGHH!

Maltagearion

  • Posts: 86
  • Turrets: +1/-0
Developing a Server Browser for Tremulous
« Reply #9 on: October 30, 2006, 10:58:44 pm »
What I want is a lobby.

Puma

  • Posts: 192
  • Turrets: +26/-0
Developing a Server Browser for Tremulous
« Reply #10 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...
ou have no life?
http://www.uncommonforum.com/
Here you can find some help.

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Developing a Server Browser for Tremulous
« Reply #11 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.

rasz_pl

  • Guest
Developing a Server Browser for Tremulous
« Reply #12 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

Lava Croft

  • Guest
Developing a Server Browser for Tremulous
« Reply #13 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.

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Developing a Server Browser for Tremulous
« Reply #14 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?

gareth

  • Posts: 710
  • Turrets: +38/-89
Developing a Server Browser for Tremulous
« Reply #15 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

PwNz!

  • Posts: 161
  • Turrets: +0/-0
Developing a Server Browser for Tremulous
« Reply #16 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:
r either hacking or asian! ~V//Arch_Enemy

Why do we kill people who are killing people to show that killing people is wrong?  ~Holly Near

To kill a man is not to defend a doctrine, but to kill a man.  ~Michael Servetus

Kaleo

  • Posts: 2098
  • Turrets: +176/-220
    • KaleoDesign
Developing a Server Browser for Tremulous
« Reply #17 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
Quote from: Stannum
Thou canst not kill that which doth not live,
but you can blow it into chunky kibbles!
I has a cookie, and u can has a cookie, but i no givs u mai cookie...