Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub Main
/declare LootSlot int outer 0
/declare LootTotal int outer 0
/declare Loot
:Loop
/if (${SpawnCount[corpse noalert 2]}) {
/squelch /ghost on
/target corpse noalert 2
/squelch /warp target
/loot
/delay 5
:lootloop
/if (!${Corpse.Items}) {
/keypress Esc
/squelch /ghost return
/goto :loop
}
/varset LootTotal ${Corpse.Items}
/for LootSlot 1 to ${LootTotal}
/itemnotify loot${LootSlot} leftmouseup
/delay 5
/if (${Cursor.Stackable}) /autoinventory
/delay 5
/destroy
/next LootSlot
/keypress Esc
/squelch /ghost return
}
/goto :Loop
Sub Main
/declare CampX int outer ${Me.X}
/declare CampY int outer ${Me.Y}
/declare CampZ int outer ${Me.Z}
/declare LootSlot int outer 0
/declare LootTotal int outer 0
/declare Loot
:Loop
/if (${SpawnCount[corpse noalert 2]}) {
/squelch /ghost on
/target corpse noalert 2
/squelch /warp target
/loot
/delay 5
:lootloop
/if (!${Corpse.Items}) {
/keypress Esc
/squelch /warp ${StartY} ${StartX} ${StartZ}
/squelch /ghost off
/goto :loop
}
/varset LootTotal ${Corpse.Items}
/for LootSlot 1 to ${LootTotal}
/itemnotify loot${LootSlot} leftmouseup
/delay 5
/if (${Cursor.Stackable}) /autoinventory
/delay 5
/destroy
/next LootSlot
/keypress Esc
/squelch /warp ${StartY} ${StartX} ${StartZ}
/ghost off
}
/goto :Loop
rawwar said:Ok while we are doing this I am using this as part of my vxed helper right now and works good execpt in a couple instances...
If there is a stacable it does not retain them (Lost 10 diamonds last night)
If it is lore and I have one it keeps trying
If the Bard dies it tries to loot him which is really really bad cause it puts the helper on the floor
If the instance ends and I zone to Barindu it jumps to nearest corpse and uslally gets me killed (this should be easy just a zone check)
If I can get this working will post the vxed I use it works well and great to get extra plat while leeching exp.
Sub Main
/declare LootSlot int outer 0
/declare LootTotal int outer 0
/declare Loot int outer int outer 0
/declare MX int outer ${Me.X}
/declare MY int outer ${Me.Y}
/declare MZ int outer ${Me.Z}
/declare StartZoner int outer ${Zone.ID}
/lootn never
:loop
/if (${SpawnCount[corpse noalert 2]}) {
/stand
/target corpse noalert 2
:waitforit
/delay 1
/if (!${Spawn[loc ${Target.X} ${Target.Y} npc radius 100].ID}) /goto :waitforit
/squelch /warp target
/loot
/delay 1s
:lootloop
/altkey /delay 0
/if (!${Corpse.Items}) {
/keypress Esc
/squelch /warp loc ${MY} ${MX} ${MZ}
/goto :loop
}
/varset LootTotal ${Corpse.Items}
/for LootSlot 1 to ${LootTotal}
/itemnotify loot${LootSlot} leftmouseup
/delay 8 ${Cursor.ID}
/if (${Cursor.Stackable}) {
/echo Keeping ${Cursor}
/autoinventory
} Else {
/echo destroying ${Cursor}
/destroy
}
/next LootSlot
/keypress Esc
/squelch /warp loc ${MY} ${MX} ${MZ}
}
/if (!${Me.Sitting}) /sit
/if (!${StartZoner}==${Zone.ID}) /call Zoned
/goto :loop
/return
Sub Zoned
/echo OMG WTF
/delay 5s
/gate
/wait 2m
/exit
/return