[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OpenVerse] On-disconnect action / server hooks



I was looking through server.tcl, trying to figure out how to disable
Start Game button when one user disconnects before a game is initialized
(try it sometime!  connect to Monthello, have a friend connect, and then
have him disconnect).

With the way OV is now, I dunno how to make something happen when a user
disconnects.  I imagine that the only way to make it work would to add to
DisconnectUser, but having it source everything in a directory of
on-disconnect tcl files is too clumsy.  Would it be possible to have the
server objects hook various events like client plugins do?

  __   _  _ __ _   _    __   _  ___ _  _
  /_\  |\ | | \ \ /    / __ / \  |  |__|
 /   \ | \| |_/  |     \__| \_/  |  |  |
unununium@openverse.org  zap.to/andygoth/
 andygoth@ectisp.net         35256413
-----------------------------------------
  Please sign the Linux Driver Petition!
 <http://www.libranet.com/petition.html>
-------------------------------------------------------

-- 
Cruise - 
OpenVerse Visual Chat - http://openverse.org/
-----------------------------------------------------------------
To unsubscribe to the OpenVerse mailing list send a message
to openverse-request@openverse.org with the following word
in the BODY of the message.

UNSUBSCRIBE

If you need assistance from a human, email cruise@openverse.org
-----------------------------------------------------------------