Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Running the server ➜ Lockup at logon...again.

Lockup at logon...again.

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by MidnightRose   (1 post)  Bio
Date Thu 03 Jan 2002 11:51 PM (UTC)
Message
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?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 04 Jan 2002 12:52 AM (UTC)

Amended on Fri 04 Jan 2002 12:54 AM (UTC) by Nick Gammon

Message
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:


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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


10,286 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.