r1ch.net forums
Welcome,
Guest
. Please
login
or
register
.
May 23, 2013, 05:57:10 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
r1ch.net
|
r1ch.net stuff
|
R1Q2
| Topic:
Quake II Server Browser (beta 3)
Pages:
[
1
]
2
All
Author
Topic: Quake II Server Browser (beta 3) (Read 43241 times)
R1CH
Administrator
Member
Posts: 2625
Quake II Server Browser (beta 3)
«
on:
December 13, 2009, 10:01:28 pm »
http://r-1.ch/qsb-beta3.zip
Logged
PogoŽ
Guest
Re: Quake II Server Browser (beta 3)
«
Reply #1 on:
December 14, 2009, 12:39:40 pm »
YAY FLAGS!
The only things i'm missing now is the ability to copy ips with ctrl-c and an option to not shut down the program after connecting to a server. With those 2 things it would be the ultimate server browser imo, no bloat and good overview. A buddy list would also be cool, but it's more of an extra if you ever feel like it
Thanks alot for this, it really fills the shoes of the all-seeing eye!
Logged
Pogo\\\'
Guest
Re: Quake II Server Browser (beta 3)
«
Reply #2 on:
December 14, 2009, 12:43:20 pm »
Uh i somehow managed to miss that it already has a buddy list =)
Nevermind me, carry on
Logged
wision
Member
Posts: 237
Re: Quake II Server Browser (beta 3)
«
Reply #3 on:
December 14, 2009, 01:58:11 pm »
- show scores of all the players
- F5 / ctrl+r as "update"
«
Last Edit: December 14, 2009, 05:12:45 pm by wision
»
Logged
Gen
Member
Posts: 56
Re: Quake II Server Browser (beta 3)
«
Reply #4 on:
December 14, 2009, 02:29:48 pm »
nice thanks
Logged
R1CH
Administrator
Member
Posts: 2625
Re: Quake II Server Browser (beta 3)
«
Reply #5 on:
December 14, 2009, 06:32:02 pm »
Quote from: wision on December 14, 2009, 01:58:11 pm
- show scores of all the players
Right click the playerlist?
Logged
Newbie
Guest
Re: Quake II Server Browser (beta 3)
«
Reply #6 on:
December 15, 2009, 03:31:18 am »
Could you add a dday filter?
Logged
Muerte
Guest
Re: Quake II Server Browser (beta 3)
«
Reply #7 on:
December 15, 2009, 05:17:13 am »
unfortunate qsb show WallFly[BZZZ] as servers with players instead empty
bigger font for playerlist?
looks promising
Logged
mhanor
Member
Posts: 120
Re: Quake II Server Browser (beta 3)
«
Reply #8 on:
December 15, 2009, 09:16:25 am »
Quote from: R1CH on December 14, 2009, 06:32:02 pm
Right click the playerlist?
it's not an obvious feature... it should display a tip or you could add a check box or a button
«
Last Edit: December 15, 2009, 09:19:33 am by mhanor
»
Logged
SquiSHeR
Guest
Re: Quake II Server Browser (beta 3)
«
Reply #9 on:
February 13, 2010, 04:21:47 am »
Hello R1CH.
Could you please make the source code available so others have the ability to port it to other systems like linux or Mac OS? Or do you have any code examples on how to query Q2 servers and extract game data from their reply?
Logged
QwazyWabbit
Member
Posts: 401
Re: Quake II Server Browser (beta 3)
«
Reply #10 on:
February 13, 2010, 03:50:56 pm »
Servers are pinged and queried via UDP frames containing strings.
A ping frame consist of the word "ping" preceded by the Out-Of-Band flag, the 32-bit hex value of -1 as a string
"FFFFFFFF"
#define OOB_SEQ "\xff\xff\xff\xff" //32 bit integer (-1) as string sequence signifying out of band data
sendto (socket, OOB_SEQ"ping", 8, 0, (struct sockaddr *)&addr, sizeof(addr));
The server responds with an "ack" frame:
sendto (listener, OOB_SEQ"ack", 7, 0, (struct sockaddr *)&addr, sizeof(addr));
The time delay between the transmitted ping and the received ack is used to estimate the ping to the server.
The same framing principle applies to getting an out-of-band status frame:
sendto (socket, OOB_SEQ"status", 10, 0, (struct sockaddr *)&addr, sizeof(addr));
The server responds with a server info frame consisting of the elements:
OOB_SEQ"print\n"
followed by a series of hashes, (paired variable/value strings delimited by backslashes:
\variable1\value1\variable2\value2\variable3\value3 ... etc. finally ending with "\n"
followed by player information strings (if any) consisting of:
score<space>ping<space>"playername" each player info string ends with "\n" (note: quotes are required around the player name)
You can find the creation of the server info frame in R1ch's r1q2 source in the SVC_Status and SV_StatusString functions.
You can get the socket structures and other information you need from r1q2 source also.
«
Last Edit: February 13, 2010, 05:05:25 pm by QwazyWabbit
»
Logged
resor
Guest
Re: Quake II Server Browser (beta 3)
«
Reply #11 on:
March 18, 2010, 12:22:48 pm »
WTF?
Logged
R1CH
Administrator
Member
Posts: 2625
Re: Quake II Server Browser (beta 3)
«
Reply #12 on:
March 18, 2010, 12:31:41 pm »
Install this:
http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en
Logged
resor
Guest
Re: Quake II Server Browser (beta 3)
«
Reply #13 on:
April 01, 2010, 11:08:33 am »
Thanks. Working
Logged
Nicholas
Guest
Re: Quake II Server Browser (beta 3)
«
Reply #14 on:
May 14, 2010, 12:54:28 pm »
what is the master server r u gathering servers information?
Logged
Pages:
[
1
]
2
All
r1ch.net
|
r1ch.net stuff
|
R1Q2
| Topic:
Quake II Server Browser (beta 3)
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
-----------------------------
r1ch.net stuff
-----------------------------
=> Bitchbot
=> r1dll / foobar2000 plugins
=> Other Projects
=> R1Q2
===> OpenTDM
=> Anticheat