Armageddon General Discussion Board

General => Code Discussion => Topic started by: Hot_Dancer on December 05, 2011, 10:07:38 PM

Title: Autodisconnect while idle?
Post by: Hot_Dancer on December 05, 2011, 10:07:38 PM
I don't remember Arm ever doing this before..

I've been losing connection if I'm idle a substantial amount of time. (I think the game is cutting me out after 10-15 mins of inactivity)

Talk about remembering the old days.

Anyone else experiencing this lately?
Title: Re: Autodisconnect while idle?
Post by: Down Under on December 05, 2011, 10:26:50 PM
Definitely noticed the same thing (ever since the shift over to the virtual server). It may just be an automatic thing, or you and I might just be crazy and not very observant people.
Title: Re: Autodisconnect while idle?
Post by: HavokBlue on December 05, 2011, 11:15:10 PM
My connection times out if I don't do anything for too long. What client are you using?
Title: Re: Autodisconnect while idle?
Post by: Hot_Dancer on December 05, 2011, 11:30:58 PM
zmud.

I tried a test with mushclient and it did the same.
Title: Re: Autodisconnect while idle?
Post by: HavokBlue on December 05, 2011, 11:54:35 PM
Hmm. I think it's normal for servers to time out idle connections, but I'm not sure why it would happen now if it wasn't before.
Title: Re: Autodisconnect while idle?
Post by: Yasbusta on December 06, 2011, 12:47:51 AM
I took a long break from arm before Idle for days and no disconnect now you get disconnected. with zmud, use the tick timer
I use a time of 240 with display tick message turned off the command I use is
%char(13)

where % is the default special character for parameter character

I changed min default parameter character to \ as I tend to use % in arm.

This means no more idle disconnects, but if you walk away might dye from many things, :)
Title: Re: Autodisconnect while idle?
Post by: Hot_Dancer on December 06, 2011, 01:15:43 AM
Yeah.. I may use the timer tool again. Just surprised at needing to set it up.
Title: Re: Autodisconnect while idle?
Post by: Necro on December 06, 2011, 04:53:47 AM
I thought it was just me. I had to add an anti idle event to my client as well. Definitely used to be different
Title: Re: Autodisconnect while idle?
Post by: Tisiphone on December 06, 2011, 09:31:58 AM
Hot_Dancer, did you recently switch to a new ISP? I've noticed that some ISPs will kill an open connection automatically after some time during which information has not traveled along the connection.

This has the effect that when, say, moving or setting up in a friend's house, you may not be able to idle, whereas before you were. (This has happened several times to me.) However, so far as I am aware, it is not an issue with the game or VPS itself.
Title: Re: Autodisconnect while idle?
Post by: Nyr on December 06, 2011, 09:39:20 AM
I don't think it's the game or the server.  At least, not as a whole, or not consistently.

Idle statistics for three staffers.

Idle
--------------------------
Morgenes        (Morgenes)         [00:14:40]
Tiernan         (Tiernan)          [08:42:02]
Nyr             (Nyr)              [00:00:00]


Morgenes is idle 15 minutes now, still there though.
Tiernan is idle 8 hours + now, still there though.
And I ran the command, so I'm not idle at all.

If either of them had stuff keeping the connection alive by sending a packet to the game, it would "unidle" them.
Title: Re: Autodisconnect while idle?
Post by: Talia on December 06, 2011, 11:57:48 AM
Actually, what I've noticed--haven't tested, but noticed--is that if I'm on my mortal account the game does disconnect me, but if I'm on my staff account, it doesn't. I don't know why that is. I used to have to be careful not to go idle on my mortal account, with the same client, but I don't have to worry about that on my staff account.
Title: Re: Autodisconnect while idle?
Post by: Nyr on December 06, 2011, 12:10:00 PM
I have both happen, but I had that happen before these issues.  My home client sucks ass.
Title: Re: Autodisconnect while idle?
Post by: FantasyWriter on December 06, 2011, 01:46:36 PM
I have a timer set up to enter "enter" every six mins.
It doesn't so anything negative like break hide, crafting, etc.
I don't THINK it breaks gone either, but I could be wrong.
Title: Re: Autodisconnect while idle?
Post by: brytta.leofa on December 06, 2011, 02:46:36 PM
Quote from: FantasyWriter on December 06, 2011, 01:46:36 PM
I have a timer set up to enter "enter" every six mins.
It doesn't so anything negative like break hide, crafting, etc.
I don't THINK it breaks gone either, but I could be wrong.

It doesn't break gone, though entering a command would.

My concern is that y'all are gonna starve/dehydrate to death because you're defeating Morg's idle-protection.
Title: Re: Autodisconnect while idle?
Post by: FantasyWriter on December 06, 2011, 02:50:55 PM
Not if you don't abandon your computer. Idling, waiting on contacts or stamina regen, but checking on the client frequently, you're good to go.
Also, try not to wait until l your PC is risking dehydration or the stomach-heaves of hunger to eat or drink.
Title: Re: Autodisconnect while idle?
Post by: Down Under on December 06, 2011, 06:19:28 PM
Yeah, I haven't added an anti-idle for brytta's reasoning.
Title: Re: Autodisconnect while idle?
Post by: RogueGunslinger on December 06, 2011, 08:07:34 PM
I had this issue once... But it went away. And I don't know why.
Title: Re: Autodisconnect while idle?
Post by: Xagon on January 14, 2012, 05:53:07 PM
When I play from home I don't have this problem. At all.

When I play from other places I have this problem all the time, idling out in less than 5 minutes from time to time. I use the same client with the same configuration.
Title: Re: Autodisconnect while idle?
Post by: Armaddict on January 30, 2012, 08:54:14 AM
This only happens for me on mushclient, which I still prefer regardless.
Title: Re: Autodisconnect while idle?
Post by: Tenua on January 30, 2012, 12:07:10 PM
Quote from: Armaddict on January 30, 2012, 08:54:14 AM
This only happens for me on mushclient, which I still prefer regardless.

What's your solution for this? I've been idling out riding along behind someone and it took me a bit to realize it. Kinda afraid to leave the cities for fear of idling out and getting eaten. I use MUSHClient as well.
Title: Re: Autodisconnect while idle?
Post by: Aaron Goulet on January 30, 2012, 12:54:11 PM
Quote from: Armaddict on January 30, 2012, 08:54:14 AM
This only happens for me on mushclient, which I still prefer regardless.

Same here.  Keeps me from idling too long, which is good.  Even if there's nobody to interact with, I should still be thinking/feeling!
Title: Re: Autodisconnect while idle?
Post by: Bacon on January 30, 2012, 01:03:35 PM
I haven't been getting disconnected while idle at all.
Title: Re: Autodisconnect while idle?
Post by: Wasteland Raider on January 30, 2012, 01:28:21 PM
After having this happen to me for some time, then not having it happen, then having it happen again - the conclusion I've come to is that it's certain types of routers and certain types of network configurations that drop your connection after some amount of time. The problem existed behind my Belkin F5D7230 and behind my Linksys WRT54G, but not behind my Cisco Catalyst 3560-12 managed switch.

Read: higher-end hardware doesn't seem to have this issue, but Layer-2 devices do.

Read: some (most?) home routers and hubs seem to have this issue.
Title: Re: Autodisconnect while idle?
Post by: Kieandatu on January 30, 2012, 03:33:28 PM
Often times, if I feel I am going to idle for more than 10minutes or so, I will do so with a barrier up, because the "suffer" messages will usually be enough for my router not to drop me (I also am behind a WRT54G(s)).

Else, I am close to looking through my client's source code, and programming in a trigger than sends a single space to the MUD every five minutes as a Keep-Alive.
Title: Re: Autodisconnect while idle?
Post by: RogueGunslinger on January 30, 2012, 06:00:16 PM
Set a trigger/timer to go off that just randomly hits look, or something like that. Is how I originally got around the issue.
Title: Re: Autodisconnect while idle?
Post by: Hot_Dancer on January 31, 2012, 09:19:16 PM
Yeah.. must be this goofy wireless modem/router combo from Netgear. Before I was on a different style of connection or connected in through a beefy wireless card on
the back of my midtower.
Title: Re: Autodisconnect while idle?
Post by: Zharal on February 01, 2012, 10:14:57 AM
Yeah this is an issues that pops up from time to time over the years. Id request to the staff to make sure its not a coded salution to old issues with playes going idle for extreme amounts of time. If its not a coded issues its a good chance its a teck issue; being that new upgrades and new products are being put on the market at and extremly fast rate.  I personally dont use a timer command and have found that it has helped to improve my gameplay as now I dont just idle for long periods when bored though it would be nice if you got a warning that your character is about to be dissconected for sitting idle to long.
Title: Re: Autodisconnect while idle?
Post by: Case on February 01, 2012, 02:20:24 PM
TCP connections can only be concluded improperly broken once a send fails. Arm coders could put a timer that sends something like ' ' or '\n' or possibly '\r' and it may help fix this problem. It's likely not Arm's problem however.
Title: Re: Autodisconnect while idle?
Post by: timb on February 01, 2012, 09:59:55 PM
When I use Mudlet on my old PowerBook G4 it will time out almost every time while I craft something, if I don't hit enter part way through. I dont think it ever disconnects me with the Mud connector Iphone/Ipod app however long I sat idle.