System info, to begin with: I'm running Windows XP, and I compile the C and H files using Visual Studio .NET (which works wonders, let me tell you ^_^)
However, I think it might be a little *too* new for this snippet. It returns errors right off the bat from hotboot.c, saying "unistd.h", "sys/wait.h", and "dirent.h" (in the includes at the top of the file) don't exist. Do you have copies of these files I could use (as well as any other files I'd need)?
I *think* this is the cause of my problem. When I commented out those three include lines, it compiled correctly, with only two warnings, saying "execl" and "close" are undefined, and that the compiler assumes a return value of int.
I started up my MUD, set the hotboot command, and saved the command table. Then I ran the hotboot command. First it failed, but then I found that problem easily (I do not remember what that error was). So I recompiled, ran, and reexecuted. The first message "The flow of time is momentarily stopped as the world is reshaped" appeared, then I was disconnected. I know that you aren't *supposed* to be disconnected with this snippet. I do not know which files to look up to find things out, either (and I tried looking at quite a few). What could be my problem?
(also, since I'm running it in Windows OS, do I have to change the EXEC_FILE constant to "../smaug.exe", or can I just leave it to "../smaug"? [I had to remove the "src" directory because that's not where it sits])
Any help would be appreciated!