ID:181177
 
I'm using Debian and I've installed everything fine. When I use DreamDaemon though I get this error....


damian@kingdebian:~/byond/$ DreamDaemon ~/MyGame
Thu May 19 01:11:32 2011
Auto-safety mode: ultrasafe (no file access)
World opened on network port 50811.
Welcome BYOND! (4.0 Public Version 482.1091)
BYOND Error: corrupt headers in world file


How do I fix this? Or why is it happening in the first place?
If I were to hazard a guess, you're not actually pointing to the DMB, or your DMB is corrupt.

Try providing an exact path to the DMB, with extension, and try the DMB on a Windows system.
In response to Stephen001
Well since it starts, I'm obviously pointing to it correctly. I've used the exact path as well, just not as a quote in the post. The DMB is an older game from version 3 of BYOND, but should that matter? It used to work just fine when I hosted off an old windows xp server.
In response to Kingdamian42
I would hazard a guess that no, it's not okay. Can you share the DMB so I can test?
In response to Stephen001
Just FYI you aren't setting an option meaning if the game has savefiles they won't be created..

DreamDaemon /home/mygame/blah.dmb -safe

Example..
In response to A.T.H.K
As the DMB is reported corrupt this is kind of a moot point, but yes, the DMB has no file access currently, as reported.
In response to Stephen001
I used it as safe just not when I copied and pasted it, the DMB does work on windows Dream Daemon. I can't give it out because it's not my game.
In response to Kingdamian42
Have you chmod 'ed the files so they are executable readable and writeable?

chmod 755 /home/dmbfile.dmb
I keep getting the exact same thing:

Logging in...connected
Thu Jun 13 20:38:48 2013
World opened on network port 55043.
Welcome BYOND! (4.0 Public Version 499.1193)
BYOND Error: corrupt headers in world file

But I'm not on Linux, i'm on windows7
Try a clean compile from DreamMaker see if that makes a difference.
This error came up:

code\game\machinery\computer\specops_shuttle.dm:259:error: send_emergency_team: undefined var
In response to Deceptifemme
That would be exactly what it says, you don't have a variable called send_emergency_team

var/send_emergency_team
//or if it's a mob dependant variable
mob/var/send_emergency_team
Can you explane how to add it please?
Most of these simple steps are outlined in BYOND's guide and Reference.

http://www.byond.com/docs/guide/
http://www.byond.com/docs/ref/index.html

If you can't manage a simple variable (which I gave you the code for) then you need to learn the language.
Thank you that helped a lot.