fuzzball icon indicating copy to clipboard operation
fuzzball copied to clipboard

Allow for specification of a keepalive command

Open ghost opened this issue 6 years ago • 9 comments

Server-side TCP keepalives can help, but we have a few players that need client-side keepalive capability. I'd like to see a command or a tuneable value that lets us set a command that a player can trigger via client-side timer that generates regular network activity, but does NOT reset their WHO idle time.

ghost avatar Apr 02 '18 20:04 ghost

Maybe they should actually be active and inputting commands when they're on the MUCK, instead of idling. That'd be better than a keepalive. This idea promotes destroying immersion on MUCKs, and MUCKs are a form of virtual reality. Maybe individual MUCKs can implement this, but why do this in FuzzBall itself? It's a self-defeating idea.

ghost avatar Apr 02 '18 21:04 ghost

Because some poorly-configured consumer-grade routers have obscenely short TCP keepalive values, for one. Some terminate idle sessions after just 60 seconds. Don't know about you, but it can take me a couple minutes to write a pretty in-depth pose. Or maybe I'm working on a MUF program in a text editor, and pasting the code into the MUCK when I want to test. For this and many other reasons, I, as the server administrator, should have the ability to deal with these cases.

Also, the reason I specified the NOT reset their WHO idle time criteria was so that this would not cause a user to circumvent the idleboot time value on configured MUCKs.

Maybe individual MUCKs can implement this, ...

Without the ability to exempt a command from resetting a user's idle time, how do you propose to do so?

ghost avatar Apr 03 '18 01:04 ghost

Also, the reason I specified the NOT reset their WHO idle time criteria was so that this would not cause a user to circumvent the idleboot time value on configured MUCKs.

Good point. My bad.

ghost avatar Apr 03 '18 01:04 ghost

NULL_COMMAND (when recognized) should no longer reset idle time.

wyld-sw avatar Apr 16 '18 15:04 wyld-sw

Forgive this question, but... what IS the null command in this context?

ghost avatar May 03 '18 17:05 ghost

I think @@ should work, as long as the recognize_null_command @tune is yes. Let me know if something about this doesn't work.

wyld-sw avatar May 03 '18 18:05 wyld-sw

I just wanted to confirm, first. It still appears to reset the idle time when used.

ghost avatar May 03 '18 18:05 ghost

It does in some cases, but not all it seems. Reopening until we can figure this out. Thanks for the report.

wyld-sw avatar May 03 '18 18:05 wyld-sw

Is this fixed? Seems like the commit by @evenfl0wz addresses it, but I'm getting conflicting results in my environment.

wyld-sw avatar Dec 10 '18 15:12 wyld-sw