ID:2107397
 
BYOND Version:510
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 51.0.2704.103
Applies to:Dream Seeker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
http://files.byondhome.com/DarkerEmerald/area%20bug%201.png
http://files.byondhome.com/DarkerEmerald/Debug.zip

Sometimes areas will not at all load up at all and I end up having to load it up myself to get around it.

Numbered Steps to Reproduce Problem:
* I supplied a demo to check it.

Code Snippet (if applicable) to Reproduce Problem:
area
outside // This one should show but its not there!
outside
outside_underlayer
outside_in
outside_cade_block
outside_player_block
outside_team_block
outside_2
inside
inside_admin
inside_lobby
inside_lobby_xmas
inside_lobby_xmas_u
inside_cade_block
inside_player_block
inside_team_block

world
New()
..()

for(var/T in typesof(/area/))
if(!T||T == /area) continue

var/area/F = locate(T)
if(!F) F = new T

/*var/area/CO = locate(/area/outside)
if(CO) CO = new/area/outside*/
//Remove these and compile it will finaly create that area and the funny part is the area is there but creating it fixes it?

mob/verb/Check_Areas()
for(var/area/A in world)
src << "[A.type]"


Expected Results:
All areas should be created yet one is there but doesn't actually show until you do it manuely create it again.

Actual Results:
Area is there but not showing up.

Does the problem occur:
Every time? Or how often?
- Yes
In other games?
- Not sure
In other user accounts?
- Yes
On other computers?
- Yes

When does the problem NOT occur?
I just took notice to this so not sure how long its been like that.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

Workarounds:
Create the area yourself.
Thanks. I'll look into the demo and see what I can find.
Crap. Your debug project has no source. I need source; there's only a .dmb, not even an .rsc with it.
There's only a .dme there, no .dm file even though it says one is supposed to be included.

Did you compile before zipping up the package? There's a difficult-to-fix bug in DM that doesn't package all the files correctly if you don't compile first during the same session.
Strange let me know if its not all there.

http://files.byondhome.com/DarkerEmerald/Debug.zip
Got it this time.

Looking over your source, I'm not sure if this is a bug or a quirk of how DM handles areas that have no turfs.

I wouldn't be surprised if there's something buried in the DM Guide that says areas that have no child types are given permanent instances after world creation, but areas that don't are destroyed if there are no more references to them. I'll have to look at this in the debugger of course to be sure.
Its strange, the area doesn't show when you look at all areas for(var/area/A in world) although its actually there but creating a new one finally shows it in for(var/area/A in world)