Private server support - Only post connectivity issues in the subforum!
Moderator: Moderators
-
annaeronbogses
- Noob

- Posts: 5
- Joined: 02 Jul 2015, 14:28
- Noob?: Yes
#1
Post
by annaeronbogses »
can you give me the anti bot for this? thanks.
Code: Select all
Unknown #110013140: [RO Guard]
[reactOnNPC] NPC message saved (0): "[^ff557fRO Guard^000000]".
Unknown #110013140: Please enter the RED COLOUR NUMBER
[reactOnNPC] NPC message saved (1): "Please enter the ^FF0000RED COLOUR
NUMBER^000000".
Unknown #110013140: Auto-continuing talking
[reactOnNPC] onNPCAction type is: continue.
[reactOnNPC] Conditions for reactOnNPC_0 (npc:continue, rect:text) 'type' not
met.
Unknown #110013140: [RO Guard]
[reactOnNPC] NPC message saved (0): "[^ff557fRO Guard^000000]".
Unknown #110013140: Number :
[reactOnNPC] NPC message saved (1): "Number : ".
Unknown #110013140: 385680232155953041
[reactOnNPC] NPC message saved (2): "385680^ff0000232155^000000953041".
Unknown #110013140: Type 'talk num <number #>' to input a number.
[reactOnNPC] onNPCAction type is: number.
[reactOnNPC] Conditions for reactOnNPC_0 (npc:number, rect:text) 'type' not
met.
-
annaeronbogses
- Noob

- Posts: 5
- Joined: 02 Jul 2015, 14:28
- Noob?: Yes
#2
Post
by annaeronbogses »
anyone can help me?
-
SkylorD
- Moderators

- Posts: 1202
- Joined: 16 Dec 2011, 02:53
- Noob?: No
- Location: Brazil
#3
Post
by SkylorD »
How are your settings in config related about reactOnNPC ?
Learn rules
-
annaeronbogses
- Noob

- Posts: 5
- Joined: 02 Jul 2015, 14:28
- Noob?: Yes
#4
Post
by annaeronbogses »
nothing sir im newbie. can you help me?
-
SkylorD
- Moderators

- Posts: 1202
- Joined: 16 Dec 2011, 02:53
- Noob?: No
- Location: Brazil
#5
Post
by SkylorD »
Code: Select all
reactOnNpc talk num @eval (my $color = '#1~1'@;my @@array = ('#4~1', '#4~3', '#4~5'@);my $answer;for ($a = 0;$a < 3;$a+1@) { if (@@array[$a] eq $color2) {$answer = @@array[$a]} else {$a += 1;} return $answer);
type number
msg_0 /\^[0-9a-z]{6}RO Guard\^[0-9a-z]{6}/i
msg_1 /\"?Please enter the (\^[0-9a-z]{6})(.\w+) COLOUR NUMBER\^[0-9a-z]{6}\"?\./i
msg_2 /\^[0-9a-z]{6}RO Guard\^[0-9a-z]{6}/i
msg_3 /Number \:/i
msg_4 /\^([0-9a-z]{6})?(\d+)\^([0-9a-z]{6})?(\d+)\^([0-9a-z]{6})?(\d+)/i
useColors 1
}
Try using this. Check if doesn't already exists something related with reactOnNpc to respond this shield 'cause probably will bug)
Learn rules