mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2003
Posts: 2,812
Raccoon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
I have my doubts, but I'm wondering if there's a weird and mysterious bug that causes client disconnect.

1) The disconnect only happens when typing text into a channel window, like normal, hitting enter.

2) Will not disconnect for text sent via scripts, timer, etc. Only text sent by the user hitting enter key.

It is so rare, difficult to reproduce, but consistent in this regard that it seems hard to dismiss.

Maybe take a glance around the code for stuff that happens during editbox input, when $idle is reset to 0, that might cause a TCP failure where scripted timer messages do not?


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Dec 2015
Posts: 148
Vogon poet
Offline
Vogon poet
Joined: Dec 2015
Posts: 148
What's the quit reason people see when it happens to you?

This hasn't happened recently, but I remember cases where my connection has died (mIRC hasn't timed out yet), I've tried to sent a message and mIRC has disconnected me instantly. Some kind of a TTL check thing.

No idea how messages sent by scripts were handled, though.

Joined: Feb 2003
Posts: 2,812
Raccoon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
It's typically Read Error, or Swift IRC says Input/output error. Maybe Connection Reset by Peer, I haven't been keeping close track. But suffice it to say, it's the only times I am ever disconnected strangely. And I'll have other scripts slinging messages in the background, but those don't cause me to become disconnected.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
I believe it's just your connection being bad.
mIRC has an option (alt + o > connect > option) to check for timeout, are you using it?


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Feb 2003
Posts: 2,812
Raccoon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
Yes, I have that option enabled. And as i said before, channel activity still persists. This is not your father's stale connection of the dialup days where people stop talking for a half hour and then you say something and boom. It happens while a channel is happily busy and bustling away, and you decide to jump into the fray after an hour of lurking. boom.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Quote:
And as i said before, channel activity still persists.
Where did you say that the channel activity still persist?
Quote:
This is not your father's stale connection of the dialup days
Yet 2004 called, he says he wants its connection back wink


In all seriousness:

Quote:
2) Will not disconnect for text sent via scripts, timer, etc. Only text sent by the user hitting enter key.
sounds like an issue with your scripts. Try a clean install?


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Aug 2003
Posts: 319
P
Pan-dimensional mouse
Offline
Pan-dimensional mouse
P
Joined: Aug 2003
Posts: 319
My suggestion would be to open a debug window with:
Code:
/debug -n @debug

and then you can see the communications just before the disconnect happened - which might help us work out what is happening.


Link Copied to Clipboard