Help with my buy and vend bot.

Philippines

Moderators: waferbaron, Moderators

Forum rules
This server is currently not maintained and tables folder (including connection info) is outdated. Read the wiki for instructions on how to update those information. Please contribute your updated info. Contact Cozzie to join the team as a regular server supporter.
obietobi
Noob
Noob
Posts: 13
Joined: 16 Mar 2010, 11:48
Noob?: Yes

Help with my buy and vend bot.

#1 Post by obietobi »

i have a problem. this bot don't seem to start. :( what may cause the problem?

Code: Select all

###############VEND###################

automacro vend {
delay 1
console /Your Coordinates./
cart "White Potion" > 1
call open_shop
timeout 10
}

macro open_shop {
do move prontera 160 190
pause 1
call open_shop_now
}

macro open_shop_now {
do move prontera 160 190
pause 5
call open_my_shop
}

macro open_my_shop {
do move prontera 160 190
pause 1
do openshop
stop
}

####################
##### Buy Item ######## 
####################

automacro get_whites {
location prontera
console /sold out: White Potion/
cart "White Potion" < 100
exclusive 1
call Buy_whites
}

macro Buy_whites {
do closeshop
do move prt_in 131 71
pause 1
do talk @npc (126 76)
do store
pause 1
do buy 4 200
pause 1
do cart add White Potion
pause 1
do move prontera 160 190
}

##########VEND#############

automacro vend_again {
delay 1
run-once 1
location prontera 160 190
call open_my_shop_again
timeout 5
}

macro open_my_shop_again {
pause 1
do openshop
release vend_again
stop
}
rj10414
Noob
Noob
Posts: 5
Joined: 10 Aug 2011, 22:14
Noob?: Yes

Re: Help with my buy and vend bot.

#2 Post by rj10414 »

automacro vend {
delay 1
console /Your Coordinates./
cart "White Potion" > 1
call open_shop
timeout 10
}

why not use this

automacro vend {
delay 1
console /You are sitting./
cart "White Potion" > 1
call open_shop
timeout 10
}

so that when you login and your bot start sitting. then macro vend will be called.