Quote:
|
Originally Posted by tontor
actually would need to check if EDX is null since its the register used as the pointer, before the movsx, youll have to jump to a small code cave and insert the movzx after checking if edx is null and return back or if null return to err msg, but i assume you know that. sorry i still dont have a server to work on the stuff with so i cant really do too much  .
|
k i have no idea what that means >.<... basically what i did was...
00443524 8B10 MOV EDX,DWORD PTR DS:[EAX]
put my jump here.... them my code checked EAX for being null, then if it was, return to error, if not...
00443524 8B10 MOV EDX,DWORD PTR DS:[EAX]
00443526 8BC8 MOV ECX,EAX
00443528 FF52 48 CALL DWORD PTR DS:[EDX+48]
do those 3 which were cut out by my jump, and then return to the code after my jump... so... i should do it after the edx mov or what? i have absolutly no idea how any of this works soooo.... also, is there any way for me to determine what chars are causing the depth>200 errors, i ran a script on the db and no chars have more than 120 items in their inventory, except mine which i was testing with...