added inhabit event.
Added support for the old-style server.