AutoTrade[Made Easy] by Gamenikko
Moderator: Moderators
-
- Noob
- Posts: 2
- Joined: 15 Mar 2013, 20:37
- Noob?: Yes
Re: AutoTrade[Made Easy] by Gamenikko
Any macros for selling autodeal?
-
- The Kore Devil
- Posts: 672
- Joined: 22 Feb 2013, 03:40
- Noob?: No
- Location: The Netherlands
Re: AutoTrade[Made Easy] by Gamenikko
This one? http://forums.openkore.com/viewtopic.php?f=55&t=12254xbotxxxx wrote:Any macros for selling autodeal?
-
- Noob
- Posts: 2
- Joined: 15 Mar 2013, 20:37
- Noob?: Yes
Re: AutoTrade[Made Easy] by Gamenikko
I was actually redirected here by that thread. lol.Raider wrote:This one? http://forums.openkore.com/viewtopic.php?f=55&t=12254xbotxxxx wrote:Any macros for selling autodeal?
still can't find it. already searched the forum.
-
- Noob
- Posts: 6
- Joined: 10 Apr 2013, 15:08
- Noob?: Yes
Re: AutoTrade[Made Easy] by Gamenikko
Help for my autotrade macro...
my prob is when it get disconnected to the server and reconnect it will not open a chatroom again and just sit any suggestion?? pls thanks and can somebody help me to make it use auto storage i tried to make one but its not working >.< here is my autotrade macro..
my prob is when it get disconnected to the server and reconnect it will not open a chatroom again and just sit any suggestion?? pls thanks and can somebody help me to make it use auto storage i tried to make one but its not working >.< here is my autotrade macro..
Code: Select all
#######################################
########AUTO TRADE#####################
#######################################
automacro openchatroom {
map prontera
delay 1
run-once 1
call openchat
}
macro openchat {
do sit
do move 151 43
do chat create "B>Skel-Bone 29k EACH!!" 2 0 0929
do conf dealAuto 0
}
automacro dersadeal {
console /(.*) \(level (.*)\) Requests a Deal/i
call {
do e e13
$name1 = $.lastMatch1
log $name1
do deal
pause 15
do deal no
}
}
automacro Bogus Items {
console /(.*) shouts : (.*) added Item to Deal: /i
call {
do deal no
}
}
automacro madaya {
console /(.*) shouts : added (.*) z /i
exclusive 1
call {
do deal no
release madaya
}
}
automacro madaya1 {
console /(.*) shouts : (.*) added (.*) z/i
exclusive 1
call {
do deal no
release madaya1
}
}
automacro madaya3 {
console /(.*?) uses Talkie Box/i
exclusive 1
call {
do deal no
release madaya3
}
}
automacro madaya4 {
console /(.*?) talkie box message/i
exclusive 1
call {
do deal no
release madaya4
}
}
automacro check {
console /(.*) added Item to Deal: (.*) x (\d+)/
call check1
}
macro check1 {
$item = $.lastMatch2
$amount = $.lastMatch3
$item1 = Skel-Bone
$item2 = Fluff
$item3 = Shell
$item1price = 29000
$item2price = 0
$item3price = 0
$name = $.lastMatch1
log $name
if ($item == $item1) goto item1
if ($item != $item2) goto deal no
if ($item != $item3) goto deal no
if ($name != $name1) goto deal no
do deal no
stop
:item1
$total1 = @eval ($amount*$item1price)
do deal add z $total1
pause 0.5
do deal
pause 3
do deal
stop
automacro final {
console /You finalized the Deal /i
call {
do deal
pause 3
do deal
}
-
- Noob
- Posts: 1
- Joined: 04 Nov 2013, 02:19
- Noob?: Yes
Re: AutoTrade[Made Easy] by Gamenikko
Is there anyone who have a link for the autotrade.pl?
I need it please, the first link posted for it is not working now.
Thank you.
I need it please, the first link posted for it is not working now.
Thank you.
-
- Human
- Posts: 20
- Joined: 16 Apr 2008, 02:46
Re: AutoTrade[Made Easy] by Gamenikko
Does anyone here know how to catch if a dealt item is correct?
This one works for a single item, but I want to validate 3 items:
You can create an list to just check such as (existsInList in http://www.openkore.com/index.php/Macro ... ubroutines)
This one works for a single item, but I want to validate 3 items:
Code: Select all
automacro catchDeal{
#working for single item only
console /(.*) added Item to Deal\: (?!Stem)(.+) x (.*)/i
call {
log Wrong Item
do deal no
}
}
-
- Moderators
- Posts: 1196
- Joined: 16 Dec 2011, 02:53
- Noob?: No
- Location: Brazil
Re: AutoTrade[Made Easy] by Gamenikko
%s added Item to Deal: %s x %s -> syntaxjbauson wrote:Does anyone here know how to catch if a dealt item is correct?
This one works for a single item, but I want to validate 3 items:
Code: Select all
automacro catchDeal{ #working for single item only console /(.*) added Item to Deal\: (?!Stem)(.+) x (.*)/i call { log Wrong Item do deal no } }
Do an expression to represent it. Then compare.
Code: Select all
console /(.*) added Item to Deal\:\s(.*) x (.*)/i
i = ignore uppercase and lowercase
$.lastMatch1 = Player Name
$.lastMatch2 = Item Name
$.lastMatch3 = Item Amount
I didn't use if and else. Those statments gimme problems.automacro rr {
console /^Player (.*) added Item to Deal\:\s(.*) x (.*)$/i
run-once 1
call {
if ($.lastMatch2 =~ /Garrafa Vazia|Poção de Aprendiz|Banana Assassina/i) goto correctitem
if ($.lastMatch2 !~ /Garrafa Vazia|Poção de Aprendiz|Banana Assassina/i) goto wrongitem
:wrongitem
do eval warning "Wrong items...deal not\n";
do deal no
goto end
:correctitem
do eval warning "Accepting trade...correct items\n";
goto end
:end
release rr
}
}
Be careful :
Learn rules
-
- Noob
- Posts: 17
- Joined: 24 Nov 2010, 01:46
- Noob?: Yes
Re: AutoTrade[Made Easy] by Gamenikko
and another way to avoid being scam by chat is to rename all item in item.txt that you want to buy...
example
Advanced Field Manual = in item.txt "any name you want"
so when anyone chats or shout macro won't be trigger
example
Advanced Field Manual = in item.txt "any name you want"
so when anyone chats or shout macro won't be trigger