I am trying to make classes show on player creation but don't know how.

Posted by Jokercard on Sat 06 Jan 2007 03:32 AM — 3 posts, 12,773 views.

USA #0
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 :)
Australia Forum Administrator #1
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).
USA #2
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