mIRC Home    About    Download    Register    News    Help

Print Thread
#58319 29/10/03 11:14 PM
Joined: Sep 2003
Posts: 70
M
Babel fish
OP Offline
Babel fish
M
Joined: Sep 2003
Posts: 70
While mIRC waits for a COM call to complete, it is possible to edit the script that is currently running. This causes a crash.

#58320 31/10/03 06:30 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Couldn't reproduce here (v6.12 @ Win98se). This is the alias I used:
  • test comopen x wscript.shell | echo Waiting... (close notepad) | !.echo -q $com(x,Run,3,bstr,notepad,uint,2,bool,true) | echo Returned. | comclose x
mIRC didn't crash after I edited the alias/remote file of this command while notepad was open.

#58321 01/11/03 01:48 AM
Joined: Sep 2003
Posts: 70
M
Babel fish
OP Offline
Babel fish
M
Joined: Sep 2003
Posts: 70
Hmm, that's odd. I wasn't able to crash mIRC with that alias either.

There we go. The reason it crashed for me and not for you is that I was working with aliases and you were not. Do this:

Code:
on *:NICK:{
 test
}
alias test comopen x wscript.shell | echo Waiting... (close notepad) | !.echo -q $com(x,Run,3,bstr,notepad,uint,2,bool,true) | echo Returned. | comclose x


Wait for a nick message (or change your own nick) and, while notepad is open, delete the on NICK code. It crashes. It does not seem to crash for aliases called directly from the editbox.

Edit: After trying that a second time it did not work. I'm so confused.

Edit2: After trying a different event, I got this:
ÒÒ Unknown command
Tried it again and got something similar. So I think this is some sort of memory read outside where it should be reading thing....for the scripting commands....

Last edited by madewokherd; 01/11/03 01:59 AM.
#58322 03/11/03 05:08 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Sorry for the late reply, I didn't notice this thread.
What you describe happened here too. mIRC once crashed, and the other time (when I changed nick twice before closing notepad) some unknown commands were sent.


Link Copied to Clipboard