Help my Macros for bot speedpotion

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

censiro123
Noob
Noob
Posts: 4
Joined: 12 Dec 2012, 00:00
Noob?: Yes

Help my Macros for bot speedpotion

#1 Post by censiro123 »

somebody help for my bot please..
he didn't want to talk with NPC automaticly..
so i must write manualy at CMD :roll:

Image

and here my macros..

Code: Select all

 automacro talk {
       console /SHHHH/
       status not Owg 90%
       location lighthalzen
       call {
          do ai manual
          pause 15
          talk resp 2
          pause 4
          do ai on
       }
    }

    automacro buy {
       console /----------Responses-----------/
       status not Owg 90%
       call {
          talk resp 2
       }
    }

    automacro aion {
       console /Done talking/
       status not Owg 90%
       call {
          do ai on
       }
    }

    automacro move {
       location lighthalzen
       status not Owg 90%
       timeout 1
       call {
          $px = @arg ("$.pos", 1)
          if ($px == 164) goto next1
          do move 164 127
          goto end
          :next1
          do move 160 127
          :end
       }
    }
please help..
thanks Before
ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: Help my Macros for bot speedpotion

#2 Post by ever_boy_ »

you don't need the first 3 macros. use the 'talknpc' command.
http://www.openkore.com/index.php/Talknpc
flashdbest
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 12 Nov 2012, 09:22
Noob?: Yes

Re: Help my Macros for bot speedpotion

#3 Post by flashdbest »

Looking at your macro, may i ask?

Is that an invisible NPC?

and try something like this :

Code: Select all

automacro talk {
       console /SHHHH/
       status not Owg 90%
       location lighthalzen
       timeout 1    //<---added this line
       exclusive 1  //<---added this line
       call {
          do ai manual
          pause 15
          talk resp 2
          pause 4
          do ai on
       }
    }

    automacro buy {
       console /----------Responses-----------/
       status not Owg 90%
       exclusive 1  //<---added this line
       call {
          talk resp 2
       }
    }

    automacro aion {
       console /Done talking/
       status not Owg 90%
       exclusive 1  //<---added this line
       call {
          do ai on
       }
    }
automacro move1 {
    location lighthalzen 164 127
    status not Owg 90%
    timeout 5
    run-once 1
    exclusive 1
    call {
        do move 160 127
        release $.caller
    }
}
automacro move2 {

   location lighthalzen 160 127
    status not Owg 90%
    timeout 5
    run-once 1
    exclusive 1
    call {
        do move 164 127
        release $.caller
    }

}
Did not test this code. so please test it yourself, and give feedbacks! :)
censiro123
Noob
Noob
Posts: 4
Joined: 12 Dec 2012, 00:00
Noob?: Yes

Re: Help my Macros for bot speedpotion

#4 Post by censiro123 »

yeah that invisible NPC..
I have tried your macros, but it doesn't work also.. :|

i just want my bot do "talk resp 2"
please don't tired for help me bro.. :roll:
thanks alot..
ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: Help my Macros for bot speedpotion

#5 Post by ever_boy_ »

of course it didn't work. you need to talk to the npc using 'talknpc'. I won't say it again.
flashdbest
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 12 Nov 2012, 09:22
Noob?: Yes

Re: Help my Macros for bot speedpotion

#6 Post by flashdbest »

Code: Select all

automacro talk {
       console /SHHHH/
       location lighthalzen
       timeout 1    //<---added this line
       call {
           lock move1 
           lock move2
       }
    }

    automacro buy {
       console /Responses/
       call {
          log responding to NPC
         pause 1
          do talk resp 2
       }
    }

    automacro aion {
       console /Done talking/
       call {
          release move1
          release move2
       }
    }

automacro move1 {
    location lighthalzen 164 127
    status not Owg 90%
    timeout 5
    run-once 1
    exclusive 1
    call {
        do move 160 127
        release $.caller
    }
}
automacro move2 {
   location lighthalzen 160 127
    status not Owg 90%
    timeout 5
    run-once 1
    exclusive 1
    call {
        do move 164 127
        release $.caller
    }

}
try something like that first see if "buy" triggers
flashdbest
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 12 Nov 2012, 09:22
Noob?: Yes

Re: Help my Macros for bot speedpotion

#7 Post by flashdbest »

ever_boy_ wrote:of course it didn't work. you need to talk to the npc using 'talknpc'. I won't say it again.
how to use on invisible npc?
BonScott
Developers
Developers
Posts: 32
Joined: 08 Aug 2008, 15:35
Noob?: No

Re: Help my Macros for bot speedpotion

#8 Post by BonScott »

flashdbest wrote:
ever_boy_ wrote:of course it didn't work. you need to talk to the npc using 'talknpc'. I won't say it again.
how to use on invisible npc?

How you talk with NPC in game? Clicking in any place? Or NPC talk with you ?
for um openKore more powerfull!
rocknroll
Been there done that!
Been there done that!
Posts: 118
Joined: 19 Sep 2011, 07:30
Noob?: Yes

Re: Help my Macros for bot speedpotion

#9 Post by rocknroll »

Oh god why...
console /----------Responses-----------/
u see?? your triggered is not same as your console output Respon
Image

and for
talk resp
read this http://openkore.com/index.php/Macro_plugin
for talk resp in macro, u must put do in front of it
do talk resp
Read-Try, Error-Try
Sorry, my english is very bad !
censiro123
Noob
Noob
Posts: 4
Joined: 12 Dec 2012, 00:00
Noob?: Yes

Re: Help my Macros for bot speedpotion

#10 Post by censiro123 »

BonScott wrote:
flashdbest wrote:
ever_boy_ wrote:of course it didn't work. you need to talk to the npc using 'talknpc'. I won't say it again.
how to use on invisible npc?

How you talk with NPC in game? Clicking in any place? Or NPC talk with you ?
NPC Talk With me sir..
and how ??