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 ➜ SMAUG coding ➜ Problems with class choice prompt

Problems with class choice prompt

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


Posted by Hawkins   (17 posts)  Bio
Date Tue 10 Feb 2004 12:40 AM (UTC)
Message
Okay, I've run into a bit of a problem on my MUD that I'm working on. I wanted to remove some of the classes (ie. druid, vampire, and augurer) I removed them from the class.lst and then I edited the class number in the other files so that there were no gaps (ie Paladin went from 8 to 5). I then restarted the MUD and logged in trying to create a new character. When I get to the class selection it does not give me the option to choose "Paladin" or "Ranger", though I do have the options for Mage, Cleric, Thief, and Warrior. If I go ahead and type Paladin, or Ranger it will take me to the race selection page. But it doesn't display those as options for the class you choose. Any ideas on why, or how to fix the problem?
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #1 on Tue 10 Feb 2004 01:02 AM (UTC)
Message
If you could paste the appropriate code from nanny, as well as the declarations in mud.h, it would be helpful in trying to help you out.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Hawkins   (17 posts)  Bio
Date Reply #2 on Tue 10 Feb 2004 09:33 PM (UTC)
Message
I've tried finding where all of this might be declared, but I can't. I'm stumpted. I checked all my .c and .h files for 'logon', but didn't find anything that might be the problem. I also checked for 'class' but again, of course I came up with a huge number of results, however after a cursory look I didn't find anything that seemed to be what I wanted.

I'm using cygwin on Windows Server 2003 Enterprise Edition. Thanks in advance for all your help guys, I'd very much like to get all the classes to display.

Top

Posted by Nick Gammon   Australia  (23,162 posts)  Bio   Forum Administrator
Date Reply #3 on Tue 10 Feb 2004 11:10 PM (UTC)
Message
This has been covered recently. The problem is stock SMAUG subtracts 2 from the list of classes it displays. Use SMAUG FUSS (Fixed Up Smaug Source) or search for the recent post on how to fix it.

- Nick Gammon

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

Posted by Hawkins   (17 posts)  Bio
Date Reply #4 on Wed 11 Feb 2004 07:38 PM (UTC)
Message
Ahh...many thanks, I didn't think the topic would be under compiling, so I must have missed it when I went through the forums. I'll try the fix out later tonight.
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.


14,815 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.