Quote:
Originally Posted by Cha0sBG®
I don't know what's so dificult to make the rates it's a simple formula ... current mob exp * rate = new exp -> send to client and save .... someone tell pax to make a bigger buffer for the exp and sp exp -_-
|
Because he used an 'Integer' value.
an integer value in VB6 is a signed 16bit value, which has a range of −32,768 to 32,767.
an integer value which is over 32,767, will result in an overflow.
He could easily solve this situation by using a 'Long' value.
a long value in VB6 is a signed 32bit value, which has a range of −2,147,483,648 to 2,147,483,647.
that would do the trick :)
Oriya.