Invalid Despawn
Fix Please Invalid Despawn in NPC.exe,NPC Server Sometimes falls,after error "Enter world to despawned NPC"
Comments (9)
-
-
reporter - attached LinError.txt
-
This should help (I'll commit it when I have some free time):
Add this to CNPC.cpp (to end of CNPC::Init method):
WriteInstructionCallJmpEax(0x4AA4AB, EnterWorldFixDespawnedNPCHelper);
Add to CNPC.h (to CNPC class):
static UINT64 EnterWorldFixDespawnedNPCHelper(void, const int type, const wchar_t format, const wchar_t *file, const int line);
Add to end of CNPC.cpp:
UINT64 CNPC::EnterWorldFixDespawnedNPCHelper(void, const int type, const wchar_t format, const wchar_t *file, const int line) { CLog::Add(type, format, file, line); return 0x4AA517; }
-
Pushed, try it please
-
reporter thank , i try
-
reporter Do you all the doors opens in Gracia Epulogue?On the quest Seven Signs, Seal of the Emperor in Disciple's Necropolis I can not open the door, with scripts that's all right.
-
Do you use correct ID?
-
reporter Elmoreden Holy Water id 13808
-
reporter - changed status to closed
- Log in to comment
I've never encountered this crash, can you please attach LinError.txt?