http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemIOBinaryReaderClassReadSingleTopic.asp

does it helps? =?

Juan Fernando

----- Original Message -----
From: "Alex Wasserman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 14, 2004 5:44 AM
Subject: Re: [hlcoders] Re: Parsing Player Information


Hmm, it seems that in C#, br.ReadSingle() does all the work that I
need to know how to do. :) I'm not sure if each byte is added
together, or concatenated, and whatever; I just need to know how these
bytes are read and interpreted. As of now, I am Getting the ascii
value of each symbol, concatenating them together, and converting it
to a Single (Which I'm pretty sure is VB's equivalent to a float).
When I do this, I get huge numbers, such as 5.343266E+6, and when I
add them instead of concatenate, I get values that are just plain
wrong and not logical. For instance, it will say a player is connected
for 5:01, and 5 seconds later when I refresh, it might say 4:26...what
am I doing wrong? :(

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders





_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Reply via email to