13.10.2010, 20:47
(
Последний раз редактировалось Kyosaur; 13.10.2010 в 22:24.
)
I can provide hundreds of ways to get the number 65535. There is no SINGLE correct way to represent the value because in the end it is the SAME number lol. Kind of a silly post :P.
EDIT:
Someone's been reading up on hex, nice
.
Its like i said before though, there isnt a completely correct way to represent the value. I chose 2^16 for 2 reasons. The first is that its simple, and it makes complete sense (if you know anything about binary its clear how i got a base of 2 ... no idea where ryders 256 came from, but it does equal the right value). The second reason is that im thinking Kalcor uses an unsigned short (16 bit integer) in C(++) to store playerids. Since that's likely the case i thought the binary representation would be best.
EDIT:
Someone's been reading up on hex, nice
![Smiley](images/smilies/smile.png)
Its like i said before though, there isnt a completely correct way to represent the value. I chose 2^16 for 2 reasons. The first is that its simple, and it makes complete sense (if you know anything about binary its clear how i got a base of 2 ... no idea where ryders 256 came from, but it does equal the right value). The second reason is that im thinking Kalcor uses an unsigned short (16 bit integer) in C(++) to store playerids. Since that's likely the case i thought the binary representation would be best.