Quote:
Originally Posted by Cha0sBGŪ
Well Oriya i don't know what he uses atm haven't got time to check the source and i'm not that good in vb6 i'm more of a c++ guy.
|
Another thing I forgot to mention, Silkroad's client can't handle a value larger than 4,294,967,295 when it comes to EXP.
the EXP part in the packet is a DWord value, which has a maximum of 0xFFFFFFFF (4,294,967,295).
So he should also make a conditional statement before the converting part and the sending part.
both (the converting and the sending) can result in "bad" things.
converting can result in an overflow (depends on how he built his DWord<>Int convertor function),
and of course the packet will crash the client if it's over 0xFFFFFFFF.
Oriya.