From: Peep P. <so...@us...> - 2004-03-28 18:20:10
|
Update of /cvsroot/agd/server/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1649/doc Modified Files: applies Log Message: Updates for 0.0.2-3. Index: applies =================================================================== RCS file: /cvsroot/agd/server/doc/applies,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- applies 15 Mar 2004 18:39:11 -0000 1.1 +++ applies 28 Mar 2004 18:08:51 -0000 1.2 @@ -1,3 +1,16 @@ -If a player connects, master::connect() will be called. It should return an object. -In that object, logon() is called. Usually master::connect() clones the login object, -and logon() in the login object does exec() on a player object. +master: + connect() + This is called whenever someone connects. The object it returns + is set as the interactive object of the player. + crash() + This is called if the driver receives a signal - this function + should save the players and tell them what happened. + +login: + logon() + This is called right after master::connect() returns the + login object. +player: + net_dead() + This is called if a player disconnects. + |