Skip to content

Redwall MUCK Site

Sections
Personal tools
You are here: Home » Discussions » Archived Discussions » How they work
« January 2009 »
Su Mo Tu We Th Fr Sa
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
 

Comment

Above in this comment thread: Command Changes/Additions: 2004/08 - 2005/04 » Watch-For... a Group » This is a fine idea » Another Thought...

How they work

Posted by otter at 2005-03-09 07:59 PM
Actually, the commands all work differently.

The chat #who works by visiting each members of a group and checking for chat-enabled and awake. The +groups works by visiting each player logged in currently and checking their selected group.

WF actually works by having each connect/disconnect to the game run a program and then check lists for those who are connected.

Makes changes to WF itself is more work than adding 'wf like features' to +groups, because +groups already has all the code in place to show who is connected in a group. In effect, every time you login, the +groups program would run to show JUST your group's members.

The harder part is getting connects/disconnects of group members to show up. When someone connects, they have a "grace period" of I believe 30 seconds before the WF programs are triggered. That lets them login, type where, and get off without being bothered with pages because people see them right away. For that, adding code to WF may be the way to go, since that code is in place.

However, I don't like to divide one behavior across multiple places, so probably +groups will get the connect/disconnect notification feature added to it.

Otter
Comment

Thank You

Posted by: Toni at 2005-03-12

Thanks for both the explanation and the effort. ~M

 
 
 

Powered by Plone

This site conforms to the following standards: