1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
set %corpseContSize 144_212
Or wait for the container and use it's id. The corpse id and the container id can be different. Sometimes they are the same. Sometimes they are not. On OSI anyways. Probly due to instanced corpses. But I've seen it happen during solo pvm and when you'd think instanced corpses would be a problem with multiple people attacking the same monster. You're using the corpse id for the container id, which isn't always the same thing. Just assume that the corpse id is different from the corpse container id, and write your script to assume that also and your problems should go away.
IF #CONTTYPE = YFM
{
set %corpse #contid
}
;========================================
; Check Corpse
;========================================
sub chkcrpse
milky:
finditem YFM G_3
if #findkind = -1
{
return
}
set %dead #findid
set #ltargetid #findid
set #ltargetkind 1
finditem %knife C_ , #backpackid
set #lobjectid #findid
event macro 17 0
target 1s ;3s
event macro 22 0
wait 20
finditem %dead
set #lobjectid #findid
event macro 17 0
wait 1s
finditem VLK C_ , %dead
wait 1s
exevent drag #findid #findstack
wait 1s
exevent DropC %rbag
wait 1s
ignoreitem %dead
hideitem %dead
goto milky: