Here's a simple way to do it with Cheat Engine. As far as I know, it's safe to use.
Add the following to usp_Insert_Action_Log_E (optional)
If you'd rather use C++, there's a definition for the packet and the send method in my library.
Code:
// Bowie 1/20/2024
[ENABLE]
alloc(newmem,128)
label(return)
alloc(text3,32)
// hooks CZone::BothMobRespawn
newmem:
// original
call 0041CFF0 // CZone::EnterMob
pushad
mov eax,[edi+000000BC]
push 0 // damage
push 0 // text4
push 0 // "none"
lea edi,[text3]
mov edx,eax // CMob
call 004B62C0 // CMob::SendLogBossMob
popad
jmp return
text3:
db 'respawn',0
00422F75:
jmp newmem
return:
[DISABLE]
dealloc(newmem)
dealloc(text3)
00422F75:
call 0041CFF0
Add the following to usp_Insert_Action_Log_E (optional)
SQL:
-- CMob::SendLogBossMob
IF (@ActionType=173 AND @Text3='respawn')
BEGIN
DECLARE @MobID int
SET @MobID=@Value3
-- do something
END
If you'd rather use C++, there's a definition for the packet and the send method in my library.
shaiya-episode-6/server/sdev/include/shaiya/packets/gameLog/0A00.h at main · kurtekat/shaiya-episode-6
An open source effort to make episode 5 servers compatible with episode 6 clients. - kurtekat/shaiya-episode-6
github.com
shaiya-episode-6/server/sdev/include/shaiya/include/CMob.h at 385f4badf4dc2db3813f6275183e8b2b5a4d956d · kurtekat/shaiya-episode-6
An effort to make episode 5 server files compatible with episode 6 clients. - kurtekat/shaiya-episode-6
github.com
Last edited: