Jump to content
View in the app

A better way to browse. Learn more.

Shaiya.gg

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Log boss respawn in the ActionLog table

Here's a simple way to do it with Cheat Engine. As far as I know, it's safe to use.

 

// 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)

 

-- 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.

 

https://github.com/kurtekat/shaiya-episode-6/blob/main/server/sdev/include/shaiya/packets/gameLog/0A00.h

https://github.com/kurtekat/shaiya-episode-6/blob/385f4badf4dc2db3813f6275183e8b2b5a4d956d/server/sdev/include/shaiya/include/CMob.h#L130

Edited by Bowie

Featured Replies

No posts to show

Create an account or sign in to comment

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.