#novice lv1-15

automacro Novice1 {
exclusive 1
run-once 1
base == 1
class Novice

call {
do conf lockMap moc_fild12
do conf attackUseWeapon 1
do conf route_randomWalk 1
do conf attackDistance 1.5
do c @go 1 #warp to morroc
}
}

#change job archer

automacro level_15 {
priority 1
exclusive 1
run-once 1
base >= 15
class Novice

call {
do conf lockMap morocc
do c @load
pause 3
do move 162 112
do conf autoTalkCont 1
do talknpc 165 115 c r2 c r0 c
}
}

#buy bow
automacro buy_bow {
priority 2
inventory “Composite Bow [3]” = 0
map morocc
class Archer
exclusive 1
job = 1
run-once 1
call {
pause 3
do move 175 98
do talknpc 174 101 c
pause 2
do store
pause 2
do buy @store (Composite Bow)
pause 2
do eq Composite Bow [3]
do move 147 101
do talknpc 174 101 c
pause 2
do store
pause 2
do buy @store (Silver Arrow) 1500
pause 2
do eq Silver Arrow
pause 2
do move 150 103
do talknpc 174 101 c
pause 2
do store
pause 2
do buy @store (Fly Wing) 100
}
}

############################
#lv archer
automacro archer_15 {
priority 3
exclusive 1
run-once 1
class Archer
base >= 15

call {
do move 159 99
do talknpc 165 97 c r1 r16 c c r0 #edit
do conf lockMap pay_dun00
pause 2
do move 16 33
release archer_15_keep_position # ensures the state is maintained
}
}

automacro archer_15_keep_position {
map !pay_dun00 # if not on map pay_dun00
class Archer
call {
do talknpc 165 97 c r1 r16 c c r0 #edit
pause 2
do move 16 33
}
}
#############################


#job 41 change hunter
automacro job41 {
priority 4
exclusive 1
run-once 1
class Archer
job >= 41

call {
do conf lockMap morocc
do c @load
pause 3
do move 161 112
do talknpc 165 115 c r0 c r0 c c
}
}

#Hunter Buy bow
automacro Hun_buy_bow {
priority 5
exclusive 1
run-once 1
class Hunter
job = 1

call {
pause 2
do autosell
pause 1
do move 175 98
do talknpc 174 101 c
pause 2
do store
pause 2
do buy @store (Hunter Bow)
pause 2
do eq Hunter Bow
}
}

#Hun lv
automacro Hunlv {
priority 6
exclusive 1
run-once 1
class Hunter
job = 1

call {
do move 159 99
do talknpc 165 97 c r1 r8 c c r14 #edit
do conf lockMap gl_prison
do conf route_randomWalk 0
do conf attackDistance 10
}
}

#Hunter 99
automacro hun99 {
priority 7
exclusive 1
run-once 1
class Hunter
base == 99

call {
do c @load
pause 3
do autosell
do move 161 112
do talknpc 165 115 c r0 c r0 c c
}
}

### add stat and ab
##automacro stat_add {
##timeout 200
##base > 1

##call {
##do stat_add agi
##}
##}

##automacro stat_add2 {
##timeout 60
##base > 1

##call {
##do stat_add dex
##}
##}

automacro ab {
status not Blessing
exclusive 1
run-once 1
call {
do c @load
pause 3
do move 160 94
do talknpc 158 97
release ab
}
}

automacro getsp {
map gl_prison
sp < 10%
exclusive 1
run-once 1
call {
do c @load
pause 2
do talknpc 158 97 c
pause 2
do talknpc 165 97 c r3 r13 c r14
release getsp
}
}

automacro buy_Arrow {
equipped not Silver Arrow
exclusive 1
run-once 1
call {
do c @load
pause 3
do move 147 101
pause 1
do talknpc 174 101 c
pause 2
do store
pause 2
do buy @store (Silver Arrow) 1500
pause 2
do eq Silver Arrow
pause 2
do talknpc 165 97 c r3 r13 c r14
release buy_Arrow
}
}

#high class
automacro highNovice1 {
priority 8
exclusive 1
run-once 1
base == 1
class High Novice

call {
do conf lockMap moc_fild12
do conf attackUseWeapon 1
do conf route_randomWalk 1
do conf attackDistance 1.5
}
}

#change job high archer

automacro high_level_15 {
priority 9
exclusive 1
run-once 1
base >= 15
class High Novice

call {
do conf lockMap morocc
do c @load
pause 3
do move 161 112
do talknpc 165 115 c r0 c c
}
}

#lv high archer
automacro high_archer_15 {
priority 10
exclusive 1
run-once 1
class High Archer
base >= 15

call {
do eq Silver Arrow
do eq Composite Bow [3]
do move 159 99
do talknpc 165 97 c r1 r16 c c r0 #edit
do conf lockMap pay_dun00
}
}

#job 50 change sniper
automacro job50 {
priority 11
exclusive 1
run-once 1
class High Archer
job == 50

call {
do conf lockMap morocc
do c @load
pause 3
do move 161 112
do talknpc 165 115 c r0 c c
}
}

#lv sniper
automacro Sniperlv {
priority 12
exclusive 1
run-once 1
class Sniper
job = 1

call {
do eq Hunter Bow
do move 159 99
do talknpc 165 97 c r3 r13 c r14
do conf lockMap gl_prison
do conf route_randomWalk 0
do conf attackDistance 10
}
}

#sniper 99
automacro sni99 {
priority 13
exclusive 1
run-once 1
class Sniper
base == 99

call {
do c @load
pause 3
do autosell
do quit
}
}


this is openkore for bot game ragnarok online

the problem is i got error “Coordinates 159 99 are not walkable on the map pay_dun00
Could not find an NPC at location (165,97)” I dont want my bot to search npc 165 97 when at pay_dun00

give me answer not need to guide or teach.