Page 1 of 1

[Solved]Macro autodeal

Posted: 14 Jul 2017, 09:32
by bebox123
Hi! Just wondering how will I set my macro to deal everything on the inventory list when weight reaches 50%?

As of this moment, this is my macro, it works but only thing is that when it reaches 50% it triggers the macro but only deals items that is being calculated to lessen the weight like for example macro reaches 50% then I have lots of loots in inventory but instead of dealing everything, it only deals 10 Wooden Mail[1] which only lessens the weight down and will leave every loots in the inventory then go back and farm again.

A little help would do, thank you!
automacro dealmorocc {
weight > 50%
location morocc, anthell01, anthell02, moc_fild12, moc_fild20, cmd_fild08, pay_fild08, payon
run-once 1
call {
do conf attackAuto 0
$player = @player (NAME OF MERCHANT)
do move 170 105 payon <--- the merchant is standing by
pause 5
do deal "$player"
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal add @rand(3,20)
do deal
do deal
do conf attackAuto 2
pause 5
do relog 3
release all
}
}

Re: Macro autodeal

Posted: 19 Jul 2017, 08:48
by Mortimal
too long.... will answer when have time...

Re: Macro autodeal

Posted: 20 Jul 2017, 05:51
by bebox123
Mortimal wrote:too long.... will answer when have time...
I appreciate your reply. Thank you for noticing my post.

Re: Macro autodeal

Posted: 20 Jul 2017, 06:03
by Mortimal
ok.... so lets start from begining.... first of all u need something in your config like:

Code: Select all

tradeNedeed 0
to setup your bot for trade.....

than

Code: Select all

automacro dealmorocc {
weight > 50%
location morocc, anthell01, anthell02, moc_fild12, moc_fild20, cmd_fild08, pay_fild08, payon
eval ($::config{"tradeNedeed "} == 0)
run-once 1
call tradeStart
}

macro tradeStart{
do conf tradeNedeed 1
do conf attackAuto 0
do conf lockMap payon
}
this is to move your bot ot payon with help of OpenKore AI

Code: Select all

automacro imAtPayon{
weight > 50%
location payon
eval ($::config{"tradeNedeed "} == 1)
run-once 1
call tradeInPayon
}

macro tradeInPayon{
do conf lockMap 0
do move 170 105 payon
bla bla bla
}
thats for now wil write bla bla bla when will not be that drunk x)

Re: Macro autodeal

Posted: 21 Jul 2017, 05:43
by bebox123
Mortimal wrote:ok.... so lets start from begining.... first of all u need something in your config like:

Code: Select all

tradeNedeed 0
to setup your bot for trade.....

than

Code: Select all

automacro dealmorocc {
weight > 50%
location morocc, anthell01, anthell02, moc_fild12, moc_fild20, cmd_fild08, pay_fild08, payon
eval ($::config{"tradeNedeed "} == 0)
run-once 1
call tradeStart
}

macro tradeStart{
do cont tradeNedeed 1
do conf attackAuto 0
do conf lockMap payon
}
this is to move your bot ot payon with help of OpenKore AI

Code: Select all

automacro imAtPayon{
weight > 50%
location payon
eval ($::config{"tradeNedeed "} == 1)
run-once 1
call tradeInPayon
}

macro tradeInPayon{
do conf lockMap 0
do move 170 105 payon
bla bla bla
}
thats for now wil write blebleble when will not be that drunk x)
Yay! Thank you so much for this! Big help

[Moved back to Macro Plugin forums as this is still incomplete]

Re: Macro autodeal

Posted: 29 Jul 2017, 04:08
by SkylorD
is blablabla and not blebleble

And there is an error.

"do cont...
do conf"

Not only my bot is drunk... be the beer instead the water.