View Issue Details

IDProjectCategoryView StatusLast Update
0000188LDMud 3.5Runtimepublic2012-06-09 09:36
ReporterlarsAssigned Tozesstra  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionsuspended 
Summary0000188: Some sort of 'idle' detection.
DescriptionShort: Some sort if 'idle' detection
From: Daniel von Dincklage <vondincklage@usa.net>
Date: Mon, 22 Jun 1998 00:53:36 +0200
Type: Feature
State: Unclassified

> - An idle-loop that gets called in the master if the driver has nothing
> better to do [no input arriving for e.g. .5 sec].
> Could be used to perform resetting of objects or GC while nobody is
> looking.

Already doable, sorta. ;-) A combination of a master call_out() and
something like if( sizeof( filter_array( users(), #'query_idle ) ) ) could
probably pull off the desired effect.

I can't imagine a mud with regular call_out()'s scheduled ever being
completely idle though...daemon objects will certainly keep things awake.
Just doing a call_out() every so often should be sufficient, I would
think...


Maybe an efun giving the time since the last action
TagsNo tags attached.

Activities

zesstra

2011-02-19 23:20

administrator   ~0002008

I don't think we really need something like this. Do you? And then it may be more interesting for the mudlib to look if players are fighting or something like that.

Issue History

Date Modified Username Field Change
2004-11-26 21:27 lars New Issue
2011-02-19 23:20 zesstra Note Added: 0002008
2011-02-19 23:20 zesstra Status new => feedback
2011-02-20 01:00 zesstra Project LDMud => LDMud 3.5
2012-06-09 09:36 zesstra Status feedback => closed
2012-06-09 09:36 zesstra Assigned To => zesstra
2012-06-09 09:36 zesstra Resolution open => suspended