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
➜ I am trying to make classes show on player creation but don't know how.
|
I am trying to make classes show on player creation but don't know how.
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Jokercard
USA (13 posts) Bio
|
| Date
| Sat 06 Jan 2007 03:32 AM (UTC) |
| Message
| Okay I am totally new at codeing i am ttrying to learn myself by looking at the code bases and there files so please escuse my stupidity. I have have downloaded the codebase eldhamud1.0.0.1a from www.mudmagic.com/downloads/diku/merc/smaug/subservers. but there is a problem it is not showing the classes when you create a new player it goes from what is your sex straight to what is your race. I have done quite a bit of searching on how to make them show by looking on this forum and by looking at another smaug codebase. I know where the code goes to make the classes show on player creation (in the file comm.c inbetween the codes what is your sex and what is your race) but i don't know the code to type in there to make it work i tryed copying and pasteing the what is your class code in to the file in between the two but it wasn't working. If someone could check that code base out for me or if anyone has delt with that sertant code base and could tell me what to type in the file i would be most greatful.
p.s. sorry for any typos i am totally blind and use a screen reader and when i get to typeing fast i tend to mess up :) |
Jokercard The Worlds Jester | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sat 06 Jan 2007 03:55 AM (UTC) |
| Message
| You are probably better off using a base that already supports classes. I think SmaugFUSS does that.
However if you want to keep what you have, you basically need to insert another case into the switch statement which handles the logon process (which you can see an example of in SmaugFUSS). |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Jokercard
USA (13 posts) Bio
|
| Date
| Reply #2 on Sat 06 Jan 2007 08:13 PM (UTC) |
| Message
| Thanks i will take a look at that like i said i am trying to learn by studying the code bases and figureing out how they work so if you know any web sites that teach you about the diffrent symbals and what they do that would be great. The only reason i am sticking with this code base is cause it has the house snippet and the questmaster snippet already in it and i have found both snippets but and i am not understanding how to put them in. the house one from the web site doesn't really give you a step by step on how to put it in. and one last question the missileweapon flag i want to be able to use the bow and arrows in battle but it doesn't let you where in the smaug code do i go to make it were you can shoot arrows in the battle meaning while you are in combat.
sorry for the bother i am really greatful for your help. Like i said i am completely new at codeing i am more of a builder but am wanting my own mud.
Thanks |
Jokercard The Worlds Jester | | 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.
12,109 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top