Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Bing

Members: 0
Guests: 12
Stats
Files
Topics
Posts
Members
Newest Member
481
3,740
19,396
629
DarrenPayn
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Smaug Snippets » Another hotboot question
Forum Rules | Mark all | Recent Posts

Another hotboot question
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Feb 22, 2003, 3:57 pm
Go to the top of the page
Go to the bottom of the page

Cecil Harvey

GroupMembers
Posts2
JoinedFeb 22, 2003

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!
       
Post is unread #2 Feb 22, 2003, 4:17 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,644
JoinedJan 1, 2002

Short story: Hotboot will not work unless you're using Cygwin or native Linux. Trying to do this in VC++ simply isn't going to fly.
       
Post is unread #3 Feb 22, 2003, 4:18 pm
Go to the top of the page
Go to the bottom of the page

Cecil Harvey

GroupMembers
Posts2
JoinedFeb 22, 2003

Awwww hell.....and this looked like a good snippet too

I tried to use Cygwin with *any* of the distributions I downloaded from SMAUG site, but for some reason, even using the makefile, it just didn't fly.

Oh well. Thanks for the immediate response though
       
Post is unread #4 Feb 23, 2003, 5:30 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,644
JoinedJan 1, 2002

Only ones I'm aware of that will compile cleanly in Cygwin are AFKMud, Chronicles, and FUSS. Depends on just what you're looking for in a codebase I suppose. AFKMud already has hotboot installed, the other 2 don't. If you're looking for something small and compact, Chronicles would server you better. If you're looking for just a stock Smaug to go from that has bugs fixed in it, you'll want FUSS instead.
       
Pages:<< prev 1 next >>