reactOnNPC v.2.0.2 by hakore

Other plugins for extending OpenKore's functionality. This forum is only for posting new plugins and commenting on existing plugins. For support, use the Support forum.

Moderator: Moderators

Message
Author
Mucilon
Cybernatic Entity
Cybernatic Entity
Posts: 249
Joined: 04 Apr 2008, 13:15
Noob?: Yes
Location: Brazil

Re: reactOnNPC v.2.0.0 by hakore

#141 Post by Mucilon »

ringbolt
I didn't look the code of this new version, but I think that the option chatMsg_ doesn't exist yet!
There are just 2 kinds: msg_ and guildMsg_

joeyboy262
Use it at your config.txt.

dickyirawan
For this antibot you don't need the ASCIInumberKiller plugin, just the reactOnNPC plugin!
And I already answered you at the other forum.

cuteakoeh50000
About the other plugin, I already answered you.
For your antibot you don't need the reactOnNPC v.2., but if you want, can use it!

manusiaheboh
Search about aabot3.pl, it will solve your problem!

GSMikami
I need to see your console with the trigger test. Use debug 1 at your config.txt and post again!

motrong_mong
Try to use this:

Code: Select all

reactOnNPC talk num @eval(#1~1 + #1~2 + #1~3 + #1~4) {
	type number
	msg_0 [BotCheck]: make inferior calculus:
	msg_1 /\^[0-9a-fA-F]{6}(\d+) \+ (\d+) \+ (\d+) \+ (\d+)/
}

Zairik
Noob
Noob
Posts: 4
Joined: 13 May 2008, 15:48
Noob?: No
Location: USA, NC
Contact:

Re: reactOnNPC v.2.0.0 by hakore

#142 Post by Zairik »

I'm getting kind of bored.
Can you break the one I haven't released that we've been using for months?
The public release one isn't even close to the one we use.

Cozzie
Spam Generator
Spam Generator
Posts: 499
Joined: 04 Apr 2008, 09:30
Noob?: No
Location: Melbourne, City of beer and awful sushis

Re: reactOnNPC v.2.0.0 by hakore

#143 Post by Cozzie »

Zairik wrote:I'm getting kind of bored.
Can you break the one I haven't released that we've been using for months?
The public release one isn't even close to the one we use.
huh what? updates?
Make Openkore Awesome. Join the team.

Zairik
Noob
Noob
Posts: 4
Joined: 13 May 2008, 15:48
Noob?: No
Location: USA, NC
Contact:

Re: reactOnNPC v.2.0.0 by hakore

#144 Post by Zairik »


Herch
Noob
Noob
Posts: 7
Joined: 07 Sep 2008, 19:49
Noob?: No
Location: Brazil

Re: reactOnNPC v.2.0.0 by hakore

#145 Post by Herch »

I'm playing in the same server as ringbolt
what should I do?
this is the actual script in the config.txt

reactOnNPC talk num @eval("#0~1" || "#1~1" || "#2~1" || "#3~1") {
msg_0 /\[Policial]/
msg_1 /./
msg_2 /monstros/
msg_3 /./
msg_4 /segundos/
Msg_5 /^\D*(\d+)?\D*$/
Msg_6 /^\D*(\d+)?\D*$/
Msg_7 /^\D*(\d+)?\D*$/
Msg_8 /^\D*(\d+)?\D*$/
type number
}

what should I change?

Mushroom
Perl Monk
Perl Monk
Posts: 427
Joined: 04 Apr 2008, 14:04
Noob?: No
Location: Brazil

Re: reactOnNPC v.2.0.0 by hakore

#146 Post by Mushroom »

Herch wrote:I'm playing in the same server as ringbolt
what should I do?
this is the actual script in the config.txt

reactOnNPC talk num @eval("#0~1" || "#1~1" || "#2~1" || "#3~1") {
msg_0 /\[Policial]/
msg_1 /./
msg_2 /monstros/
msg_3 /./
msg_4 /segundos/
Msg_5 /^\D*(\d+)?\D*$/
Msg_6 /^\D*(\d+)?\D*$/
Msg_7 /^\D*(\d+)?\D*$/
Msg_8 /^\D*(\d+)?\D*$/
type number
}

what should I change?
Remove the reactOnNPC plugin and use this macro.

Code: Select all

automacro anti-bot {
console /^(\[dist=0\]) (.*) (\(\d+\)): (\D*)\s(\d+)\s(\D*)$/i
exclusive 1
run-once 1
macro_delay 5
call {
      log Anti-Bot Reacting....
      log $.lastLogMsg
      log --- Words $.lastMatch4 ---
      log --- Numbers $.lastMatch5 ----
      log --- Words $.lastMatch6 ---
      pause 1
      $number = $.lastMatch5
      do talk num $number
      pause 1
      release anti-bot
      }
}
Quit.

Mucilon
Cybernatic Entity
Cybernatic Entity
Posts: 249
Joined: 04 Apr 2008, 13:15
Noob?: Yes
Location: Brazil

Re: reactOnNPC v.2.0.0 by hakore

#147 Post by Mucilon »

Mushroom
Nice one!
It seems to work, did you test it?

Mushroom
Perl Monk
Perl Monk
Posts: 427
Joined: 04 Apr 2008, 14:04
Noob?: No
Location: Brazil

Re: reactOnNPC v.2.0.0 by hakore

#148 Post by Mushroom »

Yes.
Quit.

Herch
Noob
Noob
Posts: 7
Joined: 07 Sep 2008, 19:49
Noob?: No
Location: Brazil

Re: reactOnNPC v.2.0.0 by hakore

#149 Post by Herch »

Thanks Mushroom!
But I have a problem.
I am new with bots and everything, so I installed the macro system (didn't have it)
So when I'm in game I use "macro status" and it says "there is no macro running"
when I say "macro list" it shows me "anti-bot".
How to turn it on?
I say "macro anti-bot" and nothing happens.
help? :P

oh and thanks again!

edit:
this is what is shown when I say "macro anti-bot"

macro anti-bot not found or error in queue

what I'm doing wrong?

Mushroom
Perl Monk
Perl Monk
Posts: 427
Joined: 04 Apr 2008, 14:04
Noob?: No
Location: Brazil

Re: reactOnNPC v.2.0.0 by hakore

#150 Post by Mushroom »

The macro will only activate when the monsters (from the anti-bot) say some thing like "asdhajs 123 jdhsajd" to it will answer the anti-bot.
The command macro anti-bot isn't working because i omited the call macroName and macro macroName. I suggest you to read the macro plugin manual
Quit.

Post Reply