Discussion list for Unity developers.
unity-dev at moock.org
Thu Feb 14 10:53:58 CST 2008
Hi Drew, Persistent room attributes are stored at the time a room is shutdown which I know is not ideal. This means you will lose attributes if the server crashes while a room is still live. All Attributes are stored in a table called Attributes. Rooms will only be persisted if the server has been configured as per the instructions here: http://www.moock.org/unity/docs/server/mysqlap.html Whether or not a room is shutdown because it is empty or is shutdown by request should not matter and persistent attributes should be stored. Persistent attributes will not be stored for Rooms that are created without specifying a name (i.e. where the server just assigns an incremental room name). Hope that helps. If you have set up persistence and cannot successfuly store persistent attributes for a named room please let me know. Derek *Hi, I am wondering if persistent room attributes are stored on the database anywhere - I can't seem to find them anywhere from phpmyadmin. I can only really see them from uAdmin. Does that mean that persistent room attributes only persist for rooms that are set not to dieOnEmpty? I have been trying to get a persistent room attribute to persist through a server restart (as client attributes do) and also in rooms that are set to die when empty, but have not been able to do either. Where do the persistent room attributes 'live' on the db/server? Thanks. Drew*