responseOnASCIInumber.pl #for response BotKiller(ASCII)

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

Message
Author
j0ey1510
Human
Human
Posts: 27
Joined: 07 Aug 2008, 05:25
Noob?: Yes

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

#221 Post by j0ey1510 »

@mucilon
yah.. that's the problem.. i'll test your new plugin right now.. and ill just tell you the result..

thanks for your help.. keep it up..

@kenji
look at the line 198:
replace this:
if (length($reactOnNPC{msg}[$line_msg-1]) - $i) >= $j {
with this:
if (length($reactOnNPC{msg}[$line_msg-1]) - $i >= $j) {

hope it works for you.. thats what i've done..
do you play in MyRO Server??

@rorinza

[Sep 7 06:42:53 2008.31] [9] : ===============####================
[Sep 7 06:42:53 2008.31] [10] : ==================#================
[Sep 7 06:42:53 2008.31] [11] : =====####======####=======#========
[Sep 7 06:42:53 2008.31] [12] : =====#=========#==========#========
[Sep 7 06:42:53 2008.31] [13] : =====####======######=====#========
[Sep 7 06:42:53 2008.31] [14] : =====#==#==========================
[Sep 7 06:42:53 2008.31] [15] : =====####==========================

for no. 6,2:

#### ####==
#=== ===#==
#### ####==
#==# #=====
#### ######

in plugin--> '#####===#####==#####' => 6,
'####=====#==####==#=====######' => 2,

hope you get it.. just do that to all new numbers you found..

rorinza
Noob
Noob
Posts: 10
Joined: 08 Sep 2008, 11:01
Noob?: No

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

#222 Post by rorinza »

[Sep 7 06:09:21 2008.27] [9] : =====#=============================
[Sep 7 06:09:21 2008.27] [10] : =====#===============#==#==========
[Sep 7 06:09:21 2008.27] [11] : =====#=====#####=====####==========
[Sep 7 06:09:21 2008.27] [12] : ===============#========#==========
[Sep 7 06:09:21 2008.28] [13] : ===========#####===================
[Sep 7 06:09:21 2008.28] [14] : ===============#===================
[Sep 7 06:09:21 2008.28] [15] : ===========#####===================

[Sep 7 06:09:30 2008.32] [9] : ===================================
[Sep 7 06:09:30 2008.32] [10] : ======================#============
[Sep 7 06:09:30 2008.32] [11] : ================#=====#============
[Sep 7 06:09:30 2008.32] [12] : =======####=====#=====#####========
[Sep 7 06:09:30 2008.32] [13] : ==========#=====#=====#===#========
[Sep 7 06:09:30 2008.32] [14] : ==========#===========#####========
[Sep 7 06:09:30 2008.32] [15] : ==========#========================

[Sep 7 06:09:27 2008.27] [9] : ====######=========================
[Sep 7 06:09:27 2008.27] [10] : ====#====#=============#####=======
[Sep 7 06:09:27 2008.27] [11] : ====######=============#===#=======
[Sep 7 06:09:27 2008.28] [12] : ====#====#=============#####=======
[Sep 7 06:09:27 2008.28] [13] : ====######=====#==#========#=======
[Sep 7 06:09:27 2008.28] [14] : ===============####====#####=======
[Sep 7 06:09:27 2008.28] [15] : ==================#================
[Sep 7 06:09:27 2008.29] [ASCIInumber v2.1] Executing command "talk num 739".
[Sep 7 06:09:27 2008.29] [ASCIInumber] *** Delay 1-3 sec. before talk num 739 ***

Thank You @mucilon


but I want code no.8,1,4,7

Plugins Answer 8,1,4,7 wrong

rorinza
Noob
Noob
Posts: 10
Joined: 08 Sep 2008, 11:01
Noob?: No

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

#223 Post by rorinza »

Help.

Anti bot vanova, at ?

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

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

#224 Post by Mucilon »

Kenji
Which OK version are you using?
If it is 2.0.5.1, then you did something wrong... try to download it again!

rorinza
Did you read the mini tutorial?

Kenji
Noob
Noob
Posts: 4
Joined: 08 Sep 2008, 12:27
Noob?: Yes

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

#225 Post by Kenji »

j0ey1510, hmm thanks a lot it works ;)
do you play in MyRO Server??
no i don't.
Mucilon, both 2.0.5 and 2.0.6, but it's just an error in your code, correct it please:
j0ey1510 wrote: look at the line 198:
replace this:
if (length($reactOnNPC{msg}[$line_msg-1]) - $i) >= $j {
with this:
if (length($reactOnNPC{msg}[$line_msg-1]) - $i >= $j) {

rorinza
Noob
Noob
Posts: 10
Joined: 08 Sep 2008, 11:01
Noob?: No

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

#226 Post by rorinza »

Mucilon

Yes,I read it.
But i don't understand with code the number is 1 ,4,7,8
Can are you help to teach please ? , I will have understood more and more ,
I have evered to test , code , 1,4,7,8 number depend upon it no , want to beg for the word suggests tight please ,

thank you very much if , help teach , JUbJubz ^^"

[Sep 7 06:09:21 2008.27] [9] : =====#=============================
[Sep 7 06:09:21 2008.27] [10] : =====#===============#==#==========
[Sep 7 06:09:21 2008.27] [11] : =====#=====#####=====####==========
[Sep 7 06:09:21 2008.27] [12] : ===============#========#==========
[Sep 7 06:09:21 2008.28] [13] : ===========#####===================
[Sep 7 06:09:21 2008.28] [14] : ===============#===================
[Sep 7 06:09:21 2008.28] [15] : ===========#####===================

[Sep 7 06:09:30 2008.32] [9] : ===================================
[Sep 7 06:09:30 2008.32] [10] : ======================#============
[Sep 7 06:09:30 2008.32] [11] : ================#=====#============
[Sep 7 06:09:30 2008.32] [12] : =======####=====#=====#####========
[Sep 7 06:09:30 2008.32] [13] : ==========#=====#=====#===#========
[Sep 7 06:09:30 2008.32] [14] : ==========#===========#####========
[Sep 7 06:09:30 2008.32] [15] : ==========#========================

[Sep 7 06:09:27 2008.27] [9] : ====######=========================
[Sep 7 06:09:27 2008.27] [10] : ====#====#=============#####=======
[Sep 7 06:09:27 2008.27] [11] : ====######=============#===#=======
[Sep 7 06:09:27 2008.28] [12] : ====#====#=============#####=======
[Sep 7 06:09:27 2008.28] [13] : ====######=====#==#========#=======
[Sep 7 06:09:27 2008.28] [14] : ===============####====#####=======
[Sep 7 06:09:27 2008.28] [15] : ==================#================
[Sep 7 06:09:27 2008.29] [ASCIInumber v2.1] Executing command "talk num 739".
[Sep 7 06:09:27 2008.29] [ASCIInumber] *** Delay 1-3 sec. before talk num 739 ***

j0ey1510
Human
Human
Posts: 27
Joined: 07 Aug 2008, 05:25
Noob?: Yes

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

#227 Post by j0ey1510 »

@kenji
ok,, did what i told you works???

@mucilon
i have now finished testing on the last plugin you posted.. and the result is just the same.,. the bot still answer some numbers twice & trice.. hope you can update it soon.. tnx..

Kenji
Noob
Noob
Posts: 4
Joined: 08 Sep 2008, 12:27
Noob?: Yes

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

#228 Post by Kenji »

j0ey1510 wrote:@kenji
ok,, did what i told you works???
yes it works, thanks, but i'm waiting a new version from mucilon, cause the problem is still actual:
j0ey1510 wrote:the bot still answer some numbers twice & trice
Last edited by Kenji on 10 Sep 2008, 09:30, edited 1 time in total.

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

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

#229 Post by Mucilon »

rorinza
Read the mini tutorial again, I made some changes based on your case!

j0ey1510
But did the bot answer exactly the same way as before? Or did something change at the answer?
Can you post the console with some tests? Some times one little difference can help me.

j0ey1510
Human
Human
Posts: 27
Joined: 07 Aug 2008, 05:25
Noob?: Yes

Re: responseOnASCIInumber.pl #for response BotKiller(ASCII)

#230 Post by j0ey1510 »

@mucilon
i think this is much better than the previous one.. here is the console..
console.txt
(3.93 KiB) Downloaded 271 times

Locked