I've been looking around for cpu fix for 1.13c, and found codes provided by Necrolis for 1.10, just like by Sampson for 1.13c, but both for ingame fix...
GalaXyHaXz posted all the offsets for 1.14d here: viewtopic.php?t=62140
But I was mad I couldn't find the offsets he posted (of course "translating" to 1.13c), coz all the codes, but this one, were in d2client.dll... Menu codes were in D2Win.dll...
So Just in case someone in future will search for the codes, I'm posting here all in one topic... to make things easier...
CPU Fix 1.13c Single, Closed and Open Bnet:
Found in D2CLIENT.DLL
Code: Select all
; For Single Player
0003CB83 75 17 JNZ SHORT 0003CB9C //NOP
0003CB85 A1 94C3BC6F MOV EAX,DWORD PTR DS:[6FBCC394]
0003CB8A 83F8 06 CMP EAX,6
; For Closed Bnet
0003CB8D 74 0D JE SHORT 0003CB9C //NOP
0003CB8F 83F8 08 CMP EAX,8
; For Closed and IP Games
0003CB92 74 08 JE SHORT 0003CB9C //NOP
0003CB94 6A 0A PUSH 0A //Time = 10ms
0003CB96 FF15 A0EFB76F CALL DWORD PTR DS:[6FB7EFA0] //Sleep
Found in D2WIN.DLL
Code: Select all
00018A5F 74 02 JE SHORT D2Win.6F8F8A63 //NOP
00018A61 33C0 XOR EAX,EAX
00018A63 50 PUSH EAX //Timeout
00018A64 FF15 C8B28F6F CALL DWORD PTR [<&KERNEL32>] //Sleep
Edit:
Credits (for helping me directly or indirectly on my search for this)
Necrolis
Sampson
GalaXyHaXz
Killer gorilla
Enceladus
and devurandom for helping with the credits.. haha