help me please.. i dont know much in macro bot

Discussion about everything RO and OpenKore related. This place is NOT for ANY kind of support questions.

Moderator: Moderators

arion006
Noob
Noob
Posts: 7
Joined: 18 Oct 2013, 16:59
Noob?: Yes

help me please.. i dont know much in macro bot

#1 Post by arion006 »

good day. im noob at macro bot so please help me. i cant figure out what is wrong with my bot code. the thing is the merchant must exit the vend shop and then walk to the destination. and then convert the 1b zeny into 1v. and then exit the portal and return back to the spot where it has been locked. after that it must open the store again. repeatedly. here is my code.

automacro vend {
if ($.zeny > 1000000) {
do closeshop
go pront_in 30 506
talk npc (245 50)
go cont
go pront 345 59
open vend
}
this is my code so far. thank you very much.
Jozo
Human
Human
Posts: 37
Joined: 13 Oct 2013, 12:32
Noob?: No
Location: Moscow

Re: help me please.. i dont know much in macro bot

#2 Post by Jozo »

1. Wrong automacro condition
2. U code have not call macro
3.
go cont
go pront 345 59
move (whatisthis)
move prontera 345 59
arion006
Noob
Noob
Posts: 7
Joined: 18 Oct 2013, 16:59
Noob?: Yes

Re: help me please.. i dont know much in macro bot

#3 Post by arion006 »

hello i edited my macro config. here is what i got and this what happens.

automacro vend {
if ($.zeny > 1000000) {
do closeshop
do move prt_in 47 105
do talk npc (38 103)
pause 1
do talk cont
pause 1
do talk cont
pause 1
do talk cont
pause 1
do talk cont
pause 1
do talk resp 2
pause 1
do talk cont
pause 1
do talk resp 2
pause 1
do talk cont
pause 1
do move pront 161 143

}
arion006
Noob
Noob
Posts: 7
Joined: 18 Oct 2013, 16:59
Noob?: Yes

Re: help me please.. i dont know much in macro bot

#4 Post by arion006 »

and then the bot is doing this.
ignoring if <' in line two <munch munch unknown auto macro keyword>
my macro is updated. what to do. please help me.. thank you.
Bobthebuilder
Noob
Noob
Posts: 19
Joined: 29 Sep 2013, 06:25
Noob?: No

Re: help me please.. i dont know much in macro bot

#5 Post by Bobthebuilder »

1. read what Jozo said at his 2.
2. its "talk npc 38 103", not "talk npc (38 103)"
3. you might want to see [1], so you can skip those "do talk cont" lines.
4. you CODE TAGS when posting code.

[1] http://www.openkore.com/index.php/AutoTalkCont
arion006
Noob
Noob
Posts: 7
Joined: 18 Oct 2013, 16:59
Noob?: Yes

Re: help me please.. i dont know much in macro bot

#6 Post by arion006 »

hello bob the builder.. this auto macro is fine.. it runs perfectly..

automacro 1b {
zeny > 1000000000
exclusive 1
call npc {
timeout 15
}

the problem is the macro.. it cant find the macro i created. so i changed the config of the macro. but still nothing..
the openkore is telling me this..

automacro 1b : macro npc { not found

when i run my macro the shop closes. so it means my code in macro is not wrong.. it runs but auto macro cant find it..

macro npc {
do closeshop

}

can you tell me what is wrong with my automacro? thankyou :)
arion006
Noob
Noob
Posts: 7
Joined: 18 Oct 2013, 16:59
Noob?: Yes

Re: help me please.. i dont know much in macro bot

#7 Post by arion006 »

i done it.. i fixed my problem.. thank you guys..