I believe this topic has been directly addressed in the past, though it has never really been resolved as far as i can tell. I have pawed through the forum subjects many times, and still can find no answer to this problem. I have downloaded Nivek's WinSmaug 1.4a from his site (www.cs.utk.edu/~london/smaug/) and unzipped it to my C drive. Running the batch file from the src directory as Nivek instructed, the smaug server seemed to operate fine; but, alas, the moment I connected to the server through Gmud and the line "By what name are you known..." appeared, my system locked up. I have not changed anything within the mud, all was fresh from the zip file when I ran it. Can anybody help me get around this problem?
Lockup at logon...again.
Posted by MidnightRose on Thu 03 Jan 2002 11:51 PM — 2 posts, 10,582 views.
It is hard to give the definitive answer. I run SMAUG all the time from the downloads on this site, and it never locks up.
However, the problem you describe is likely caused by the fact that more code in the server executes when a player connects than before s/he does, so it is probably in this extra code that the problem lies.
It is possible that the code you downloaded doesn't have all recent corrections applied. If you do a:
in the "src" directory, you should see 8 lines returned, most of them about bugs I found, some of which affected this problem.
In fact, here is what I get ...
If not, you may have an older version.
The code on this site (with the MXP enhancements) downloaded, and compiled unchanged under Cygwin, and then run under NT 4, should compile and run fine, including when you log in. Hopefully it will also run under other versions of Windows. Usually if something runs under NT it will also run under 95/98/ME because these do less checks of things like null dereferences.
However, the problem you describe is likely caused by the fact that more code in the server executes when a player connects than before s/he does, so it is probably in this extra code that the problem lies.
It is possible that the code you downloaded doesn't have all recent corrections applied. If you do a:
grep Gammon *.c
in the "src" directory, you should see 8 lines returned, most of them about bugs I found, some of which affected this problem.
In fact, here is what I get ...
$ grep Gammon *.c
db.c: /* Thanks to Nick Gammon for noticing this.
magic.c: && get_trust( ch ) < LEVEL_IMMORTAL ) /* was victim instead of ch! Thanks Nick Gammon */
mapout.c: /* Thanks to Nick Gammon for pointing out x and y being
misc.c: /* bug here pointed out by Nick Gammon */
misc.c: /* bug here pointed out by Nick Gammon */
services.c: * Win32 port by Nick Gammon *
services.c:/* Author: Nick Gammon */
shops.c: /* Thanks to Nick Gammon for pointing out this line
If not, you may have an older version.
The code on this site (with the MXP enhancements) downloaded, and compiled unchanged under Cygwin, and then run under NT 4, should compile and run fine, including when you log in. Hopefully it will also run under other versions of Windows. Usually if something runs under NT it will also run under 95/98/ME because these do less checks of things like null dereferences.