www.ClassicTW.com
https://classictw.com/

Session Inactivity not working
https://classictw.com/viewtopic.php?f=52&t=32155
Page 1 of 2

Author:  Cruncher [ Fri Aug 26, 2011 9:34 am ]
Post subject:  Session Inactivity not working

This is on the version loaded on my server, one of the 2.08 variations JP put up.

I have inactivity timeout set to 300 seconds, but as you can see it's not kicking me to the menu.

I thought I saw this happening on Ice-9 as well.


INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.

Author:  T0yman [ Fri Aug 26, 2011 10:29 am ]
Post subject:  Re: Session Inactivity not working

Are you running mombot or any other script? Mombot has a keep alive built in that triggers off that message and it will send a character that keeps it from dropping. The message seems to indicate it is working but something else might be interfering. Just a thought.

Author:  John Pritchett [ Fri Aug 26, 2011 11:28 am ]
Post subject:  Re: Session Inactivity not working

Yeah, that's a good question. Is this message popping up after 300 seconds of inactivity, or is it appearing more frequently?

Author:  Vid Kid [ Fri Aug 26, 2011 1:08 pm ]
Post subject:  Re: Session Inactivity not working

Looks like Swath is working fine .. it too will keep you alive.

Author:  Cruncher [ Fri Aug 26, 2011 2:30 pm ]
Post subject:  Re: Session Inactivity not working

I was not running Mombot, Swath was on but not the keep alive.

I was not trying to stay active, I walked way, decided to get something to eat and saw this when I came back.

I did NOT intentionally set any player side scripts to keep me active. The game should have booted me to the menu and did not.

And yes JP as far as I can tell, this inactivity warning did come on every 300 seconds (5 min.)

Author:  John Pritchett [ Fri Aug 26, 2011 2:38 pm ]
Post subject:  Re: Session Inactivity not working

Can you repeat the behavior?

Author:  T0yman [ Fri Aug 26, 2011 2:55 pm ]
Post subject:  Re: Session Inactivity not working

Connect straight telnet to test. Swath has it's own. I will test on mine as well.

Author:  Cruncher [ Fri Aug 26, 2011 3:03 pm ]
Post subject:  Re: Session Inactivity not working

John Pritchett wrote:
Can you repeat the behavior?


Yeap

Computer command [TL=02:54:42]:[1651] (?=Help)? T

03:52:00 PM Sat Aug 26, 2023


Computer command [TL=02:54:42]:[1651] (?=Help)? Q

<Computer deactivated>

INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.

Command [TL=02:46:40]:[1651] (?=Help)? : C
<Computer>

<Computer activated>

Computer command [TL=02:44:18]:[1651] (?=Help)? T

04:02:28 PM Sat Aug 26, 2023


Computer command [TL=02:44:14]:[1651] (?=Help)? Q

<Computer deactivated>

Command [TL=02:44:12]:[1651] (?=Help)? :

Author:  T0yman [ Fri Aug 26, 2011 3:10 pm ]
Post subject:  Re: Session Inactivity not working

I set the timer to 120 seconds. After 60 seconds I got the first warning.

Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
You now have Thirty seconds until termination.
INACTIVITY WARNING:
Only TEN seconds remain. Session termination is imminent.

Then a message that kicked me to the game menu. On 2.07 it works like it should. I used telnet, no scripts, no swath, no zoc, no twx.....plain old telnet.

Author:  Cruncher [ Fri Aug 26, 2011 3:51 pm ]
Post subject:  Re: Session Inactivity not working

I reset the timer on sandbox and it works fine.


INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
You now have Thirty seconds until termination.
INACTIVITY WARNING:
Only TEN seconds remain. Session termination is imminent.
CRITICAL INACTIVITY: Your session has been terminated.

TradeWars Game Server Copyright (C) EIS
TWGS v2.08 http://www.eisonline.com

Author:  John Pritchett [ Fri Aug 26, 2011 4:34 pm ]
Post subject:  Re: Session Inactivity not working

Yeah, I tested on the beta site and it's working fine. But it's consistently not working on your site? Can you bang a fresh game and test there so we can see if it's data related? It might be something to do with the pre-release version you have.

Author:  Helix [ Fri Aug 26, 2011 4:47 pm ]
Post subject:  Re: Session Inactivity not working

John Pritchett wrote:
Yeah, I tested on the beta site and it's working fine. But it's consistently not working on your site? Can you bang a fresh game and test there so we can see if it's data related? It might be something to do with the pre-release version you have.


It problably only works with MOMBot off.

H

Author:  Vid Kid [ Fri Aug 26, 2011 7:53 pm ]
Post subject:  Re: Session Inactivity not working

Everything has to be off .. telnet only .. Swath has its own keep alive even with everything off .. cause there is no way to turn Swath keep alive off unless Swath is off as well.

Author:  Cruncher [ Fri Aug 26, 2011 10:03 pm ]
Post subject:  Re: Session Inactivity not working

John Pritchett wrote:
Yeah, I tested on the beta site and it's working fine. But it's consistently not working on your site? Can you bang a fresh game and test there so we can see if it's data related? It might be something to do with the pre-release version you have.


I rebanged game A today and that's working fine. The problem showed up in game P. Do you want me to send you that game file?


INACTIVITY WARNING:
Your session will be terminated in Sixty seconds.
INACTIVITY WARNING:
You now have Thirty seconds until termination.
INACTIVITY WARNING:
Only TEN seconds remain. Session termination is imminent.
CRITICAL INACTIVITY: Your session has been terminated.

TradeWars Game Server Copyright (C) EIS
TWGS v2.08 www.eisonline.com

Author:  John Pritchett [ Sat Aug 27, 2011 1:29 am ]
Post subject:  Re: Session Inactivity not working

Sure.

Page 1 of 2 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/