debug my automacro please

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

FTLY Bot
Human
Human
Posts: 24
Joined: 22 Aug 2012, 06:33
Noob?: No

debug my automacro please

#1 Post by FTLY Bot »

Code: Select all


automacro potionStatus {
inventory "White Potion" <= 10
call getPots
}

macro getPots {
do ai manual
pause 1
do c @go 0
pause 1
do c @storage
pause 1
do storage get White Potion 20
pause 2
do storage close
do c @warp pay_dun04
pause 1
do ai auto
release potionStatus
}
my macro always initiates itself every time I start openkore . it also exceeds the amount that I placed . please help me .
gelo2012
Plain Yogurt
Plain Yogurt
Posts: 58
Joined: 17 Sep 2012, 13:54
Noob?: Yes
Location: Sa Puso Mo

Re: debug my automacro please

#2 Post by gelo2012 »

Try this instead:
in your config.txt:
storageAuto 1
storageAuto_npc
storageAuto_distance
storageAuto_npc_type
storageAuto_npc_steps
storageAuto_password
storageAuto_keepOpen 0
storageAuto_useChatCommand @storage
relogAfterStorage 0
minStorageZeny 50

npcTimeResponse

getAuto White Potion {
minAmount 10
maxAmount 20
passive 0
}
And in your items_control.txt add:
White Potion 10 1 0
suneethk
Noob
Noob
Posts: 1
Joined: 25 Sep 2012, 08:52
Noob?: No

Re: debug my automacro please

#3 Post by suneethk »

Try using 'Exclusive 1' after the if statement in the auto macro it should work