mIRC Home    About    Download    Register    News    Help

Print Thread
7.01: Bug: Single("Messages")Window opened #220775 28/04/10 11:01 PM
Joined: Dec 2002
Posts: 36
T
TC_Hessen Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Dec 2002
Posts: 36
Hi,

sometimes when I connect to psybnc, I got the window "Messages" with some privmsg from psybnc. I tried to reproduce it and found a way.

Assume that we have no scripts except one:

on ^*:open:?: {
if ($halted) halt

if ($nick == -psyBNC) {
echo -s foo $1-
halt
}
}

Now type 5 times the command "/eraseprivatelog". psybnc answers with "Log geloescht" (german, means "log erased"). It works 4 times, but the 5th time mirc opens the windows "Messages" that is normally used when the option "Use single message window" was activated.

Any idea? I think this is a bug. I used the same script in 6.35 without any problems.


cu

TC / Mario
Re: 7.01: Bug: Single("Messages")Window opened [Re: TC_Hessen] #220788 29/04/10 09:49 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Technically this is a feature of mIRC's Flood control, as Collective pointed out. mIRC is treating these 4 messages as a "flood" and limiting the opening of new windows by diverting them to the single message window. You can toggle this feature on/off with: Alt+O -> Flood -> Limit: [x] Query windows

That said, there seems to be a bug in the implementation of the feature, since it is "limiting" query windows that are not actually being opened. Without that halting script you would expect the single message window to activate-- however in this specific case, the windows are never actually opened, so mIRC should not be trying to "limit" anything. It should probably be checking if the window actually opened after processing scripts. I wonder what Khaled thinks about this issue?


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: 7.01: Bug: Single("Messages")Window opened [Re: argv0] #220789 29/04/10 11:29 AM
Joined: Dec 2002
Posts: 5,019
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,019
Thanks, yes, this is due to the query flood protection. I have moved the flood check so that it takes place after the on OPEN event, so this should be fixed in the next version.

Re: 7.01: Bug: Single("Messages")Window opened [Re: argv0] #220812 29/04/10 11:08 PM
Joined: Dec 2002
Posts: 36
T
TC_Hessen Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Dec 2002
Posts: 36
Originally Posted By: argv0
You can toggle this feature on/off with: Alt+O -> Flood -> Limit: [x] Query windows


Thanks, I see that Khaled also found this issue. But flood-Control is turned off in my case, so I thought that this could not be the reason. But it is wink

So, is this another bug that the limit check are used allthough the flood-control was disabled?


cu

TC / Mario
Re: 7.01: Bug: Single("Messages")Window opened [Re: TC_Hessen] #220822 30/04/10 07:45 AM
Joined: Dec 2002
Posts: 5,019
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,019
Thanks, this should be fixed in the next version as well.

Re: 7.01: Bug: Single("Messages")Window opened [Re: Khaled] #220916 02/05/10 07:16 PM
Joined: Dec 2002
Posts: 36
T
TC_Hessen Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Dec 2002
Posts: 36
tnx, it is both fixed in 7.02


cu

TC / Mario