Author Topic: Positive numbers!  (Read 2056 times)


  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Positive numbers!
« on: June 08, 2014, 11:25:56 PM »
Hey GCC,

it might be me, but when dealing with numerical references, such as the playerID or a short context, I think we all prefer positive numbers. Have you thought about moving from short to ushort and from int to uint? Especially with the contexts, developers would love to know that you guys keep the first 200 numbers for your custom network commands, then the rest up to the limit is ours. It just feels weird to deal with negative numbers like that.

Happy new week,


  • Global Moderator
  • Newbie
  • *****
  • Posts: 17
    • View Profile
Re: Positive numbers!
« Reply #1 on: June 09, 2014, 12:07:43 PM »
Hi Dechcaudron,

Yes, you are perfectly right about those.
In the next version the serialization command code will be ushort, and playerID will be uint.

Best regards,