Help about autotrade/deal buyer 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 about autotrade/deal buyer bot

#1 Post by obietobi »

I was using this macro for a while now. it can only deal 1 item at a time. for example 1AFMB. bcoz once you put the item it automatically puts its price. but thats not the sad part in it bcoz this is normal. but until recently something happened i never expected to happen.... every bit of my zeny on all my buyer disappeared. all of their zeny showing zero (0). almost 900m disappeared. I suspect its this macros fault. Hope you can help me. **im not using a autotrade.pl

PS: Sorry for my bad English. :D

Code: Select all

                                                     
#######################################
########AUTO TRADE#####################
#######################################


automacro sit {
console /^Your Coordinates/i
call {
do chat create "B>AFMB 10M|FSB 2.5M|YGGBerry isa2 lng" 2 0 1283
do sit; do conf dealAuto 0
}
}

automacro dersadeal {
console /(.*) \(level (.*)\) Requests a Deal/i
call {
do deal
pause 15
do deal no
}
}

automacro check {
console /(.*) added Item to Deal: (.*) x (\d+)/
call check1
}

macro check1 {
$item = $.lastMatch2
$amount = $.lastMatch3
$item1 = Advanced Field Manual Box
$item2 = Fish Slice Box
$item3 = Yggdrasilberry
$item1price = 9500000
$item2price = 2500000
$item3price = 1200000

if ($item == $item1) goto item1
if ($item == $item2) goto item2
if ($item == $item3) goto item3
do deal no

stop

:item1
$total1 = @eval ($amount*$item1price)
do deal add z $total1
pause 0.5
do deal; do deal
stop
:item2
$total2 = @eval ($amount*$item2price)
do deal add z $total2

pause 0.5
do deal; do deal
stop
:item3
$total3 = @eval ($amount*$item3price)
do deal add z $total3

pause 0.5
do deal; do deal
stop
}

automacro final {
console /You finalized the Deal/i
call {
do deal; do deal
}
}
automacro stop {
run-once 1
inventory "Advanced Field Manual Box" >= 15
call {
do quit
}
}
nomiehr
Noob
Noob
Posts: 2
Joined: 07 Jan 2011, 03:49
Noob?: No

Re: Help about autotrade/deal buyer bot

#2 Post by nomiehr »

Jhaypogi
Noob
Noob
Posts: 1
Joined: 10 Oct 2010, 11:10
Noob?: Yes

Re: Help about autotrade/deal buyer bot

#3 Post by Jhaypogi »

is this possible example below..

T>YGG=Poison Bottle

if the trader put his/her YGG my bot will put Poison Bottle. is this possible? pls help.