mIRC Home    About    Download    Register    News    Help

Print Thread
KTE Bug with mIRC 6.17 #143538 25/02/06 07:57 PM
Joined: Feb 2006
Posts: 2
Z
zioxide Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
Z
Joined: Feb 2006
Posts: 2
I've found a bug with KTE and mIRC 6.17. The problem is that KTE keeps adding in $1$3 at the beginning of event lines. I've traced the problem down to a $regsub in the kte_pcomp alias, and it appears the problem has to do with #157 of the versions.txt.

Here's the original line 532 that worked fine with mIRC 6.16:
Code:
while ($regsub(%v, /((\s|\A)[^$%\x28,\[\]][^\x20\x29,]*) \$\+ ([^$%\[\]]\S*(\s|\Z))/, $!1$3, %v) > 0) { }


now I've tried changing the $!1$3 to /!1/3 and now instead of adding a $1$3 it only adds !1 to the event lines. I'm not very good with regexes, so i'm guessing I didn't make that change correctly. If anyone can help me fix that regex so it works the correct way with the new mirc version that would be great.

thanks.

Re: KTE Bug with mIRC 6.17 #143539 25/02/06 08:42 PM
Joined: Feb 2005
Posts: 185
S
Skeletor Offline
Vogon poet
Offline
Vogon poet
S
Joined: Feb 2005
Posts: 185
I have had the exact same thing happen to me, as I was unsure of the source of the problem, I just changed the .mts file for another one.

I would love to know to correct this fault. many times this would happen...

Code:
alias -l kte::RAW.473 %:echo  1509  Unable to join %::chan [its invite only[color:red]$1$3%[/color] :comments  

so i would have to go threw the intire kte.mrc file to correct the errors

Last edited by Skeletor; 25/02/06 08:45 PM.

sub-zero.homeip.net:6667

Re: KTE Bug with mIRC 6.17 #143540 25/02/06 09:19 PM
Joined: Feb 2004
Posts: 2,019
FiberOPtics Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Change the $!1$3 to \1\3


Gone.
Re: KTE Bug with mIRC 6.17 #143541 25/02/06 09:45 PM
Joined: Feb 2006
Posts: 2
Z
zioxide Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
Z
Joined: Feb 2006
Posts: 2
ah, i wasn't sure what the ! was in there for but i did like you said and now it works fine. thanks laugh

Re: KTE Bug with mIRC 6.17 #143542 25/02/06 09:47 PM
Joined: Feb 2004
Posts: 2,019
FiberOPtics Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
$N params have a meaning in mIRC so they were escaped with a ! to prevent evaluation.

\N on the other hand has no meaning in mIRC therefore the ! shouldn't be there.


Gone.
Re: KTE Bug with mIRC 6.17 #143543 26/02/06 01:23 PM
Joined: Feb 2005
Posts: 185
S
Skeletor Offline
Vogon poet
Offline
Vogon poet
S
Joined: Feb 2005
Posts: 185
I have noticed that when ever I load a theme this will happen...

Code:
alias -l kte::RAW.433 %:echo  1509  Nickname: %::nick is already in$1$3%:comments

alias -l kte::RAW.473 %:echo  1509  Unable to join %::chan [its invite only$1$3%:comments


And then i need to change the only$1$3%:comments and in$1$3%:comments. All I do is put a space in between the $1$3% and the word infront of it. it not a big hastle, but it would be nice if I didn't have to do that every time. Is there anyway around that?


sub-zero.homeip.net:6667