A while ago I found a great plugin which allows you not to lose your equipment when you die. But unfortunately it's been made only for 1.13d and 1.14d, so I asked author if there will be a port for 1.13c, so he replied "Highly unlikely", but gave me some hints on how to make it work.
So, I got it working and wanted to share this great thing with everyone. I take no credits of course, all code edits has been made by Snake, I only ported it to 1.13c.
Code: Select all
[1.13c] - D2Game.0x793FC 000793CF 8BC3 MOV EAX,EBX 000793D1 E8 4A06FDFF CALL 00049A20 000793D6 50 PUSH EAX 000793D7 55 PUSH EBP 000793D8 E8 2F10F9FF CALL 0000A40C 000793DD 8DB7 D0000000 LEA ESI,DWORD PTR DS:[EDI+D0] 000793E3 8BFD MOV EDI,EBP 000793E5 E8 266D0600 CALL 000E0110 000793EA 6A 11 PUSH 11 000793EC 55 PUSH EBP 000793ED E8 B010F9FF CALL 0000A4A2 000793F2 6A 01 PUSH 1 000793F4 6A 07 PUSH 7 000793F6 55 PUSH EBP 000793F7 E8 CE0FF9FF CALL 0000A3CA 000793FC 8B95 C8000000 MOV EDX,DWORD PTR SS:[EBP+C8] Change 000793FC 8B95 C8000000 MOV EDX,DWORD PTR SS:[EBP+C8] to 000793FC E9 F6020000 JMP 000796F7