HalfLife Server Info

Started by Blaze, December 17, 2005, 05:51:37 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Blaze

Yeah, I just finished it.  It connects to any HalfLife 1/2 server and tells whos on it, what map, and all that Jazz!



Download: Here
And like a fool I believed myself, and thought I was somebody else...

Joe

* Joe[e2] demands source code.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Blaze

Quote from: Joe[e2] on December 18, 2005, 01:26:18 PM
* Joe[e2] 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.
And like a fool I believed myself, and thought I was somebody else...

Blaze

And like a fool I believed myself, and thought I was somebody else...

Mythix

It's really awesome.


www.gametiger.com

:)
Philosophy, n. A route of many roads leading from nowhere to nothing.

- Ambrose Bierce


Newby

Player count is 6/10, but it shows 5 people? :P
- Newby
http://www.x86labs.org

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

igimo1


Newby

- Newby
http://www.x86labs.org

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Blaze

They are either connecting or downloading, and haven't reported a name to the server. :)
And like a fool I believed myself, and thought I was somebody else...

Joe

#9
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).
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


Blaze

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
And like a fool I believed myself, and thought I was somebody else...

Ersan

Look on pscode, there are 5 or 6 sources in each language that do this.

Blaze

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.  :)
And like a fool I believed myself, and thought I was somebody else...

abc

Heh, I just took a look at the documetation, Looks fairly easy, I'm going to program on in C#  :D

Sidoh

#14
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).