ID:2061170
 
BYOND Version:510.1322
Operating System:Linux
Web Browser:Chrome 49.0.2623.87
Applies to:Dream Daemon
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
if you accidentally use a folder instead of a dmb as a world file, the error DD gives is not descriptive.

this bug report thanks to my ~/tmp folder, which contains such generically-named files as test.dme, tmp.dme and foo.dme, but more importantly a folder called foo. "DreamMaker foo && DreamDaemon foo" therefore tries to load a folder as a world file and fails.

The same problem does not apply to Dream Maker, which compiles foo.dme to foo.dmb correctly.

Numbered Steps to Reproduce Problem:
1. $ DreamDaemon [folder]

Expected Results:
something along the lines of
"not a file: [folder]"
"not a world file: [folder]"
"[folder] is a directory"

Actual Results:
"BYOND Error: corrupt headers in world file"

Does the problem occur:
Every time? Or how often? Every time
In other games? N/A
In other user accounts? Unknown
On other computers? Unknown

When does the problem NOT occur? when you don't try to use a folder as a world file?

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? unknown

Workarounds: N/A