Page 1 of 1

destroy room stangeness

Posted: 01 Sep 2008, 18:00
by nizzle
Now, this could be due to crappy code. I was just messing about. But the strangest thing happend:

I destroyed some rooms from a server-extension using the _server.destroyRoom() function.

The rooms where successfuly deleted (they did not show up in the admin tool...)

Now, I had the server check for the existence of these room (if they did not exists, the server would create them). But the server found all these rooms with getRoomByName(); Even though they did not show up in the admin tool under the zone dropdown.

I could even read the roomVariables from this room...

Posted: 01 Sep 2008, 18:03
by nizzle
Now I'm pretty sure this is happening: I manually deleted the rooms from the server admin tool, but I can still read stuff about that room.

Posted: 14 Sep 2008, 15:01
by Lapo
Are you sure you're not keeping a reference to those rooms in you server side code before destroying them?