Offset for Boss Spawn?

06/27/2009 06:16 sachamo512#1
Could anybody tell me the correct offset for the boss spawn script? Or give me the array of bytes to scan for or something like that?

Quote:
[ENABLE]
alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)

0045A19D: // First adresse
jmp newmem
nop
returnhere:

newmem:

originalcode:
mov edx,[eax+1c]
mov [ecx+20],edx

mov edx,999 // number boss spawn
mov dword ptr [eax+8c],edx

mov edx,01 // time delay between spawn
mov dword ptr [eax+90],edx


exit:
jmp returnhere


[DISABLE]
dealloc(newmem)
0045A19D: //Second adrese
mov edx,[eax+1c]
mov [ecx+20],edx
06/27/2009 06:32 CrystalMaiden#2
IN CE, do scan for op-sode -> mov edx,[eax+1c].
You get a lot offset, check if follow by -> mov [ecx+20],edx, and you got it.
06/27/2009 06:37 sachamo512#3
Okay, I see where you got that from. Thanks
06/27/2009 18:04 giljs#4
I thought that the boss-spawn was part of the Vac script. Is this script just for Bosses spawning mobs (without the vac), or is it meant to be run in addition to the Vac script?

I know that some people were having trouble getting any boss except Laiden to spawn minions. Is this meant to be a fix for that problem?
06/27/2009 19:17 sachamo512#5
The offset that I found is 0045C163, which is close to the original, so I think it is the correct one. However, Oread does not spawn any mobs at all, and my game crashes after a few minutes...is this the wrong offset, or am I doing something wrong?

Quote:
[ENABLE]
alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)

0045C163: // First adresse
jmp newmem
nop
returnhere:

newmem:

originalcode:
mov edx,[eax+1c]
mov [ecx+20],edx

mov edx,999 // number boss spawn
mov dword ptr [eax+8c],edx

mov edx,01 // time delay between spawn
mov dword ptr [eax+90],edx


exit:
jmp returnhere


[DISABLE]
dealloc(newmem)
0045C163: //Second adrese
mov edx,[eax+1c]
mov [ecx+20],edx