mIRC Home    About    Download    Register    News    Help

Print Thread
new bug in 6.16 #132930 15/10/05 08:49 PM
Joined: Oct 2005
Posts: 2
H
huebleu1 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
H
Joined: Oct 2005
Posts: 2
hello there is a bug in version 6.16 of mIRC when i stop recieving bytes of internet from my isp it disconnect me at randon time even though you are removed from server as online at normally right time but mirc disconect it after some time 20 minutes and some time after 30 minutes whats the problem? any solution the event sound on disconnect is lately played create lots of problems thanks for solution in advance

Re: new bug in 6.16 #132931 15/10/05 10:07 PM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
hi there i had to read your post three times and still didnt understand what you said and thats because you use no punctuation at all punctuation is a good thing it makes your text actually readable if you use punctuation the chances of getting an answer are much higher if you found this hard to read imagine how we feel


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Re: bug in 6.16 #132932 16/10/05 01:14 AM
Joined: Oct 2005
Posts: 2
H
huebleu1 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
H
Joined: Oct 2005
Posts: 2
The simple problem is that mIRC does not disconnect me when i got disconnected from server/s. Now the question arises why i want mirc to get me disconnect? well i am not actively using mIRC but i want to stay online so for this reason i activated the sound on event disconnect so that when i am around i can put in my input to connect to internet!


mIRC rely on traditional method of checking disconnection but now there are many types of internet connections so on idle it should check the response from server to check disconnection.and if not recieve response from the server within 10 second it should disconnect me right away so that i can reconnect right away.

Moreover i just claim "New Bug" i dont know whats going on previous version.
Moreover i cant say its a bug may be the solution is within my mIRC. If this is a case then help me out of this problem.
Thanks

Re: bug in 6.16 #132933 16/10/05 02:25 AM
Joined: Dec 2002
Posts: 29
H
HobophobE Offline
Ameglian cow
Offline
Ameglian cow
H
Joined: Dec 2002
Posts: 29
technically this is not a bug.

however, if you feel it would suit your interests to have mIRC disconnect you as you have described, it would be a fairly simple thing to do via mIRC's scripting abilities.

I am not the best person to ask, so you might want to post over in the scripting forum, but here is the way I can see to do it off the top of my head:

1. set up a timer that is run when you first start mIRC or on first connecting that periodically sends a message to yourself with the $ctime variable. this does not have to be /msg or /notice, for example you could have it do a whois that would use the ctime, and personally I find this method is advantageous because unlike some commands the client sends to server, if I remember correctly whois will not reset the server's idle time for you, so it would not affect an away script that used the server's idle time for you.

2. set up an event to check for that message, and check the difference by: $ctime minus the ctime given in the message. if the difference is greater than what you want (ie, 10 seconds) then have mIRC disconnect and connect.

anyway, I hope this helps, because really this is not a bug with mIRC, it is something that can easily be done with it if that is what you want to do with it. all it takes is a little knowledge, so if you need help be sure to post it over in the scripting forums to get your help there.

Re: new bug in 6.16 #132934 16/10/05 03:02 AM
Joined: Jul 2003
Posts: 655
Om3n Offline
Fjord artisan
Offline
Fjord artisan
Joined: Jul 2003
Posts: 655
mIRC already communicates with the server via ping pong events to determine if you are still connected, and will disconnect you are an amount of time goes by with no reply's (much less than the 20-30 minutes you are experiencing). The server side however has its own timeout period before the nick is killed for timing out.

The exception i have noticed with this behavior is when using ssl, from time to time i also seem to be connected and attempt to send a message (which fails and then finally disconnects me), while infact i had timed out from the server hours ago sometimes even more. However i have only ever experienced this issue when connecting with ssl.

As stated, you could script custom ping pong events or anything really to check your connection is still active, but be aware if there is server lag you could incorrectly disconnect yourself periodically. Also, sometimes there are 'pauses' in your internet connection that cause things to stop responding, however when the activity resumes your connections will resume without disconnection, by scripting something you would likely force yourself to disconnect in these circumstances also.


"Allen is having a small problem and needs help adjusting his attitude" - Flutterby
Re: new bug in 6.16 #132935 16/10/05 09:31 AM
Joined: Apr 2003
Posts: 701
K
Kelder Offline
Hoopy frood
Offline
Hoopy frood
K
Joined: Apr 2003
Posts: 701
It has happened to me on non-ssl connections. Thinking 'hey, it's quiet today on the chat' and then getting disconnected when you try to say something frown

Re: new bug in 6.16 #132936 16/10/05 10:11 AM
Joined: Apr 2004
Posts: 759
M
Mpdreamz Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
confirmed here too i get it on a non ssl connection aswell, thinking "hmmm why was the last ping pong 4 hours ago :/" though i only experience it if im hooked in my home network if i put my internet straight into my pc i never get it. I always put it down to my cheap 10 dollar router :tongue:


$maybe
Re: new bug in 6.16 #132937 16/10/05 10:47 AM
Joined: Jul 2003
Posts: 655
Om3n Offline
Fjord artisan
Offline
Fjord artisan
Joined: Jul 2003
Posts: 655
Have never noticed it happen to me on non-ssl, but it definately happens from time to time and i have no interfearing router so thats not the issue.


"Allen is having a small problem and needs help adjusting his attitude" - Flutterby
Re: new bug in 6.16 #132938 16/10/05 10:52 AM
Joined: Jan 2003
Posts: 249
C
ClickHeRe Offline
Fjord artisan
Offline
Fjord artisan
C
Joined: Jan 2003
Posts: 249
I use a timer with an invalid command name for each connection opened with a 2 min delay. since it's an invalid mIRC command, it tries to send it to the server and if the server is not there, hence de "silent" disconnect, mIRC realizes it and disconnects and reconnects since it's auto in the options.

It's the best way I've found to have it automated. But curiously it doesn't happen on my first active connection in mIRC, it only happens to the second+ whatever server it is in first position.

Re: new bug in 6.16 #132939 17/10/05 12:48 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I've had it happen in the past on non-SSL... but with my current connection and current mIRC versions (I use 6.14 and 6.16 both), it has never done that to me. I'm not sure if it was a mIRC change or my ISP change. Probably the latter.

I'd say that the ping/pong isn't working 100% to disconnect you, but only maybe 99%. Probably some very small bug in there that needs special circumstances to cause it to fail.


Invision Support
#Invision on irc.irchighway.net
Re: new bug in 6.16 #132940 22/10/05 09:55 PM
Joined: Aug 2005
Posts: 128
S
stefys99 Offline
Vogon poet
Offline
Vogon poet
S
Joined: Aug 2005
Posts: 128
Happened to me too. This is not a mIRC bug. That happens to all TCP sockets sometimes when the socket breaks, but the client doesn't know this think, and it just thinks that the server sends no message, that's why u're not getting disconnected.

Re: new bug in 6.16 #132941 31/10/05 02:54 PM
Joined: Jun 2004
Posts: 8
Nescafe Offline
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
Joined: Jun 2004
Posts: 8
Quote:
I use a timer with an invalid command name for each connection opened with a 2 min delay. since it's an invalid mIRC command, it tries to send it to the server and if the server is not there, hence de "silent" disconnect, mIRC realizes it and disconnects and reconnects since it's auto in the options.

I for my part use a simple PONG.

Code:
on *:CONNECT:{
	/timerping. $+ $cid 0 60 /pong $server
}