Yeah, I just finished it. It connects to any HalfLife 1/2 server and tells whos on it, what map, and all that Jazz!
(http://batserver.x86labs.org/HLSI.PNG)
Download: Here (http://batserver.x86labs.org/HLSI.exe)
/me demands source code.
Quote from: Joe[e2] on December 18, 2005, 01:26:18 PM
/me demands source code.
I would if it wasn't so messy... maybe.
btw, if you want to make your own, heres the protocol pages:
http://www.valve-erc.com/srcsdk/Code/Networking/serverqueries.html
http://developer.valvesoftware.com/wiki/Source_Server_Queries
The first page is better since it also includes the format of the HL1 version.
Oh btw, Its all in UDP. ;)
It's really awesome.
www.gametiger.com
:)
Player count is 6/10, but it shows 5 people? :P
Probably a bot
Bots? No
Bot count: 0
Nope. :(
They are either connecting or downloading, and haven't reported a name to the server. :)
QuotePacket Number byte The lower four bits represent the number of packets (2 to 15) and the upper four bits represent the current packet starting with 0
That's pretty interesting, using a nybble packetID and a nybble for something else. I wouldn't send more than one packet at once like they describe, but that could be useful if you're only supporting 16 packets.
EDIT -
I hate the way they handle some stuff, such as L for Linux and W for Windows, which I'd do 0/1 for, and only providing 1 for VAC/Password (not specifing that 0 is false).
You shouldn't need to send more then one packet at a time really, other then the rules which are useless.
0/1 is true and false, not Linux and Windows, although iago would think they are the same. :)
They assume anyone who would need the protocol is smart enough to tell that 0 is false, else is true. :P
Look on pscode, there are 5 or 6 sources in each language that do this.
Quote from: Ersan on May 24, 2006, 02:01:38 AM
Look on pscode, there are 5 or 6 sources in each language that do this.
Yeah, and... I'll have the server up sometime this week if you want try it, anyone. :)
Heh, I just took a look at the documetation, Looks fairly easy, I'm going to program on in C# :D
Congratulations. Anyone can make crazy claims, but that doesn't mean that they should be praised for them. You're lucky I'm nice.
I'd be careful flaunting your programming abilities here. Someone might bite your fingers off. (Yes, that was meant to be a joke and a metaphor).
Oh? Flaunting? No Way.
I can honestly say, almost all of you are better then me, Hah!
Not to mention a literal statement.
mmm
On a side note, I'm rebuilding this in my comp science class. :)
Also, I wrote this on my PSP, and it hurt.
Yeah, its not wise to boast here. However, when you've reached the level of programming proficiency that I have, you can flaunt your talents as much as you want. You see, I'm probably the C#/Java guru of these forums.
Quote from: Deuce on November 09, 2006, 12:48:48 AM
Yeah, its not wise to boast here. However, when you've reached the level of programming proficiency that I have, you can flaunt your talents as much as you want. You see, I'm probably the C#/Java guru of these forums.
/chuckle
Quote from: Blaze on November 08, 2006, 10:01:51 PM
On a side note, I'm rebuilding this in my comp science class. :)
Also, I wrote this on my PSP, and it hurt.
Get 2.71 SE-B" and a keyboard replacement!
Blaze, May I ask how did you write then on your PSP? Did you use the PSP SDK?
The built in web browser....
Yes...But did he use PSP SDK
What the hell are you talking about? The SDK is for writing programs, not forum posts...
Blaze said that he built a Half-Life 1/2 application that connects to a server and retrieves the information. He
Just said, correct me if i'm wrong, that he built one on his PSP too. That has nothing to do with a forum...
Quote
On a side note, I'm rebuilding this in my comp science class. Smiley
Also, I wrote this on my PSP, and it hurt.
Ah, I think I see what you ment rabbit.
I misunderstood, I thought he ment he re-wrote that
programp on his PSP, not the forum post.
Quote from: MyndFyrex86] link=topic=4226.msg98083#msg98083 date=1163061755]
Quote from: Deuce on November 09, 2006, 12:48:48 AM
Yeah, its not wise to boast here. However, when you've reached the level of programming proficiency that I have, you can flaunt your talents as much as you want. You see, I'm probably the C#/Java guru of these forums.
/chuckle
Go ahead, and tell them I'm the C# guru here. :D <3
Yeah, since you're the one who has a job programming it and everything. ;)
Quote from: Sidoh on November 09, 2006, 05:48:03 PM
Yeah, since you're the one who has a job programming it and everything. ;)
HAH, I WROTE C#.
He did. I saw him do it.
lol.
Quote from: rabbit on November 09, 2006, 06:48:34 AM
Quote from: Blaze on November 08, 2006, 10:01:51 PM
On a side note, I'm rebuilding this in my comp science class. :)
Also, I wrote this on my PSP, and it hurt.
Get 2.71 SE-B" and a keyboard replacement!
I've had 2.71 SE-B'' since November 3rd. Pffft, only noobs do that. ;)