Through my various revisions, I've had the following issues:
1) "No NPC at x y" error. This is occurring with my current code below. Possibly happening because NPC isn't in range yet?
2) "can't calculate route to <lockMap>" error. Happens when I get stuck in Eden and haven't warped back to town; I'm assuming the game can't figure out how to get back on it's own (although it knows to take the boat from Izlude to the dungeon without me telling it to...)
3) Kore walks to each location in Eden (near quest reward NPC, near new quest NPC, back to warp), but doesn't talk to any of the NPCs.
4) After returning to town from Eden, Kore talks to the Eden teleporter again, even though I put a 60 minute timeout on that block.
I figure my major issue is that all of the blocks are triggering at once instead of in sequence, since they all have the same "inMap" condition (trying to talk to NPC before kore is in range?). I've tried using pause and/or "notOnAction route" to get around this, but I still end up with one of the above errors. Would it be possible to make one long command line once I'm in Eden so it all goes in order?
Here's what I'm back to, any help is appreciated.
Code: Select all
doCommand move 68 164 izlude_in { #<--Eden teleporter is inside building in Izlude
zeny > 100 #<--I set an arbitrary condition for the purposes of testing. As far as I know, kill count can't be checked without using a
timeout 3600 #<--macro, so I just set it to repeat this every hour. Not the most efficient, but I figure it'll still get it done
}
doCommand talknpc 68 162 c c r0 n {
inMap izlude_in
timeout 3600
}
doCommand move 27 28 { #<--Move in range of quest reward NPC
inMap moc_para01
timeout 600
}
doCommand talknpc 27 30 c c c c c c c n {
inMap moc_para01
timeout 600
}
doCommand move 40 36 { #<--Move in range of new quest NPC
inMap moc_para01
timeout 600
}
doCommand talknpc 40 38 c r2 c r0 n {
inMap moc_para01
timeout 600
}
doCommand talknpc 40 38 c r5 c r0 n {
inMap moc_para01
timeout 600
}
doCommand talknpc 40 38 c r8 c r0 n {
inMap moc_para01
timeout 600
}
doCommand move 30 10 { #<--Move into warp to return to town
inMap moc_para01
timeout 600
}
Thanks