Macros are silly.

07/10/2012 23:46 y8ycgl#1
So I have openkore running in xcore (the only way i can get it to run) so I have to have the client open too.
Anywho, got the macro plugin off the wiki because it looks like the only real way to do anything. I did some googleing and found a macro someone made to automatically use a warp NPC when it was needed to get to a dungeon. I attempted to apply the same concept to going and buying meat. I immediatly hit one HUGE problem. It doesn't wait for one command to finish before starting another. Example:
do move 42 126 pay_arche
pause 1.5

do talknpc 43 123 r1
pause 1.5
do move 66 122 prontera

this will start to move towards the npc, wait 1.5 seconds, try to talk to the npc, wait 1.5 seconds and then start walking toward prontera because it gives the command.

so is this wrong? is this how it is? do I really have to set up large while loops to continuously check to see if it has gotten where it needs to go?
07/13/2012 14:00 ChibiEbil#2
Could you show your command right out of the macros.txt ?

Did you changed any values in the timeouts.txt?
07/16/2012 12:13 y8ycgl#3
Well i accidently off the face of the earth.
I figured out the problem mainly. The bot can't talk to the npc specifically. that is the issue. no matter what i try. and i have not messed with timeouts.txt i dont think.
07/16/2012 15:13 ChibiEbil#4
Well you still not showed your acutal macro command.
there are several special characters that interfer the speed of which a macro is "played"
And if you solved it, you should show HOW you solved it.
"its solved" helps nobody.
07/17/2012 08:27 y8ycgl#5
sorry, i wasnt saying it is solved i was saying that the bot cannot talk to the warpgirl npc.

heres the line that effectively does nothing.

do talknpc 43 123 r1

is there a way around this?