Files in the \data\global\excel are not working

This commit is contained in:
markm11 2020-11-13 19:11:36 -05:00
parent a9ab308da4
commit fc8c4a8a15

View File

@ -85,8 +85,9 @@ FCT_ASM( caller_isModFile_114 )
CALL isModFile CALL isModFile
TEST EAX, EAX TEST EAX, EAX
JE ISNOTMODDATA JE ISNOTMODDATA
MOV EDX, 0x1 MOV EDX, 0x00100001
ISNOTMODDATA : ISNOTMODDATA :
MOV EDX, DWORD PTR SS : [EBP + 0x10]
LEA EAX, DWORD PTR SS : [EBP - 0x108] LEA EAX, DWORD PTR SS : [EBP - 0x108]
RETN RETN
}} }}
@ -102,10 +103,13 @@ void Install_PlugYFiles()
mem_seek R8(Storm, 192C6, 19296, 18677, 2CC69, 14259, 121E9, 28D89, 2DA79, 19369);//( (DWORD)D2Storm268 + V7(Storm, 01A8, 01A8, 01AB, 0429, 0429, 0429, 0000) ); mem_seek R8(Storm, 192C6, 19296, 18677, 2CC69, 14259, 121E9, 28D89, 2DA79, 19369);//( (DWORD)D2Storm268 + V7(Storm, 01A8, 01A8, 01AB, 0429, 0429, 0429, 0000) );
memt_byte( version_D2Client == V114d ? 0x8D : 0xFF ,0x90); // NOP memt_byte( version_D2Client == V114d ? 0x8D : 0xFF ,0x90); // NOP
memt_byte( version_D2Client == V114d ? 0x85 : 0x15 ,0xE8); // CALL memt_byte( version_D2Client == V114d ? 0x85 : 0x15 ,0xE8); // CALL
if (version_Storm == V114d) { if (version_Storm == V114d)
{
MEMT_REF4(0xFFFFFEF8, caller_isModFile_114); MEMT_REF4(0xFFFFFEF8, caller_isModFile_114);
} else { }
MEMD_REF4(LeaveCriticalSection, version_Storm == V114d ? caller_isModFile_114 : version_Storm >= V111 ? caller_isModFile_111 : caller_isModFile); else
{
MEMD_REF4(LeaveCriticalSection, version_Storm >= V111 ? caller_isModFile_111 : caller_isModFile);
} }
//6FFC8677 |. FF15 F411FE6F CALL DWORD PTR DS:[<&KERNEL32.LeaveCriti>; \LeaveCriticalSection //6FFC8677 |. FF15 F411FE6F CALL DWORD PTR DS:[<&KERNEL32.LeaveCriti>; \LeaveCriticalSection
//6FC1CC69 |. FF15 3832C36F CALL DWORD PTR DS:[<&KERNEL32.LeaveCriti>; \LeaveCriticalSection //6FC1CC69 |. FF15 3832C36F CALL DWORD PTR DS:[<&KERNEL32.LeaveCriti>; \LeaveCriticalSection