destroy room stangeness

You think you've found a bug? Please report it here.

Moderators: Lapo, Bax

Post Reply
nizzle
Posts: 31
Joined: 20 Jul 2008, 11:41

destroy room stangeness

Post 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...
nizzle
Posts: 31
Joined: 20 Jul 2008, 11:41

Post 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.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Are you sure you're not keeping a reference to those rooms in you server side code before destroying them?
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply