Log in

View Full Version : Zzz



VenomousFiligree
April 4th, 2011, 12:29
Where can I find the time code for bringing up the Zzz image on the portrait?

Thanks in advance :)

Moon Wizard
April 4th, 2011, 13:14
The idle graphic ("Zzz") appears after one minute of user inactivity (mouse or keyboard action).

Cheers,
JPG

VenomousFiligree
April 4th, 2011, 13:35
Can the value be changed?

VenomousFiligree
April 7th, 2011, 23:27
Guess not :(

Zeus
April 7th, 2011, 23:44
MurghBpurn - According to the Ruleset Reference for the package User, at present a Users state can either be "active", "typing" or "idle". The current LUA API exposes a handler called onUserStateChange (in the global package User) for tracking the changes in the Users state but there is no method at the moment (that I am aware of anyway) for changing the time interval that will pass before a User becomes Idle.

If it is possible to tweak this value whilst anFGII campaign is loaded, assuming the value is not linked to any other FGII background network routines, then you would need to petition for an API update to expose a new method to allow the value to be changed.

e.g. User.setIdleTime(seconds);

A ruleset developer could then wrap the calling method in a windowclass or object e.g. a ruleset option to allow DMs to control the idle value from inside the Campaign.

Having said that, there maybe a reason the value needs to be static i.e. its required to be defined before a ruleset's XML can be parsed or initialised.

VenomousFiligree
April 8th, 2011, 07:03
So as far as I'm concerned, still a no! ;)

Thanks DrZ.

Moon Wizard
April 9th, 2011, 19:42
Sorry for the delay, I have been travelling for the last two weeks, and my Internet access has been sporadic.

The delay is currently hard-coded at one minute for idle time in the code. As DrZ pointed out, it would require changes to the client plus the addition of an API to do anything else.

Perhaps you could give me some idea of what you are trying to do? Either for alternate suggestions, or for adding a request to the wish list that resolves your need.

Cheers,
JPG