View Single Post
  #7  
Old 09-22-2018, 08:33 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

You could use atoul() and get the desired result..but, there's no guarantee that it won't break down in other systems.

Any local variable that uses the type int32 (or int on a 32-bit build) will cause problems for the section of code it is declared in.

Additionally, each of the supported clients would need to be tested for abberant behavior as a result of allowing values greater than int32.max.


The server code is designed around client models..we can't make the client honor server changes.


For ref:

https://github.com/EQEmu/Server/blob...tches/rof2.cpp

https://github.com/EQEmu/Server/blob...nium.cpp#L1102
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote