Recently I downloaded the SMAUG server and was going to run it to try and check out my areas I had built with a offline area editor. The past two days though every time I start it up it runs fine but when I try to connect to it, my whole system locks up.
My mud client will say
Connected to localhost
and then lock up.
or it will say connect to (whatever my ip is at the time)
and still lock up.
I was wondering if anyone knew a way to fix this or had some suggestions. Would really appreciate it.
i would wait for nick on this, but from what i know
you would have to physically add into the mud before
actually putting it into the area directory...
i had an old area i had made and it wouldn't work
until i created a new file of it with the online one
and then copy the one you made onto the newly created
one... then again it could be some other problem, but
mine worked fine after doing that.
A while ago there were problems with SMAUG crashing (or locking up) because of bad data in the area files. For instance, if you have more races than the program allows for internally then its memory can become corrupted.
I would try a couple of things.
1. Check out the area(s) with the Area Editor's "area check" which will do an offline consistency check.
2. Try adding the (new) areas into the area.lst file one by one until you find the problem area.
Some of the things SMAUG does are not performed until you connect, so it will start up OK, but then crash as soon as the first person connects.
Well I did that, and when I reconnected it was nice, the log in screen came up. In my joy I switched back over here to tell you how thankful I was and that you were a genius. But, as soon as I clicked on reply to this subject in my browser
*BOOM*
everything halted and I knew my system had locked again.
So I was still happy and figured that I just can't use my browser while I run the server. I restarted, didn't connect to the net, restarted the smaug, made sure IdentTries was set to 0, and reconnected only for the same problem of it locking up on connect to happen again.
I deleted the server, reinstalled it, and set identTries to 0 again, and still my problem is haunting me again.
The thing is, I never get a crash with SMAUG, however I do get messages from time-to-time about your exact problem.
Try two more things ...
1. Change Nameresolving in the system.dat file to 0, like this:
Nameresolving 0
2. If you have NetBeui enabled as a network protocol, and have no particular reason for doing so, uninstall it, reboot Windows, and try again. The only protocol you normally need for the Internet is TCP/IP.
Well it all seemed real good, I edited that stuff, logged on as lordrom, was going to log a second person named zylan, to go ahead and wiz. But when the second person connected it locked. I restarted the comp, restarted the server, figured I'd just use lordrom, but then when I connected it locked again.
Kind of sucks that if it locks up there becomes a new problem. Sorry for this problem bein so long btw.
Hmmm - I'm not sure what to recommend now. As I said, I run SMAUG for hours here and it never crashes, so I can't fire up the debugger and find what is wrong, because nothing is, here.
However you aren't the first to have such problems. It is obviously something environmental, maybe your area files, maybe your version of Windows, maybe something else running.
Have you tried connecting, not with an existing character (eg. Lordrom) but just as a new character?
Have you added anything new to it, other than the downloaded files? eg. a new class, race, area, player file?
If anyone else knows the answer I would be glad to hear from them. As I say, it works here, and judging by the other questions about how to get shops and things to work, it also works for others.
However, if you have a fresh download, then you are using the same code everyone else is.
One idea would be to install Cygwin, download the source, and recompile (see other messages on this forum about doing this).
Maybe a recompiled version would work better. Maybe not. :)
Try grabbing my windows version, it has the sysdata all set for you, ie no ident retries, all the directories are created and most of the bugs I know about have been fixed.
You can download the copy at:
http://www.cs.utk.edu/~london/smaug/
Click on downloads and grab the windows version. Let me know if this version also has the same problem, if it does
I will investigate into it.