05-15-2024, 05:14 AM
Hey all,
I am having a problem when trying to drop a specific rune to DP, it looks like it 'somewhat' works for GFB, although it wouldn't for SD. It reaches the locker, opens it, gets the depot chest and box 1, eventually stops and starts all over again.
I have noticed that this script inconsistently works for GFB, therefore I've added an flag to check if the character still holds any runes in the bp, if that's true drop them again, else continue with the next waypoint.
Code for reaching locker & the dropping the items, I've printed things out so the ID active_rune_id is definitely being passed.
And then the check just as follows:
I am having a problem when trying to drop a specific rune to DP, it looks like it 'somewhat' works for GFB, although it wouldn't for SD. It reaches the locker, opens it, gets the depot chest and box 1, eventually stops and starts all over again.
I have noticed that this script inconsistently works for GFB, therefore I've added an flag to check if the character still holds any runes in the bp, if that's true drop them again, else continue with the next waypoint.
Code for reaching locker & the dropping the items, I've printed things out so the ID active_rune_id is definitely being passed.
wait(1000)
reachgrounditem('locker')
wait(1000)
openitem('locker')
wait(1000)
openitem('depot chest')
wait(1000)
openitem('depot box I')
wait(1000)
ACTIVE_RUNE_ID = getglobal('ACTIVE_RUNE_ID')
wait(1000)
moveitems(ACTIVE_RUNE_ID, 'depot box I')
And then the check just as follows:
ACTIVE_RUNE_ID = getglobal('ACTIVE_RUNE_ID')
wait(500)
if itemcount(ACTIVE_RUNE_ID, '', true) > 1 then
gotolabel('dropRunesToDp')
end