Questions about skills

Posted by Aqueus on Wed 21 Mar 2007 02:20 AM — 7 posts, 27,169 views.

USA #0
Ok, so I've been working double-time to get the skills to work the 'normal' way. Registering them in tables.c, mud.h, etc. Then I created a few of them using sset. Then(!) I typed slist (after hotbooting, of course) that was roughly a long time ago.

No matter what class I assign the level to be able to learn the skill I never get the skills/abilities to show up when I type alist/slist.

So can anyone give me any hypotheses as to why this may be?
USA #1
Could you write out what commands you typed (in the MUD) to create the skills? And do the skills appear in the imm command slookup?
USA #2
These are the commands:

sset create skill rocket
sset rocket code do_rocket_punch
sset rocket pl 2 5000
sset save skill table

And also, it does come up in slookup.

slookup rocket displays the appropriate information.

The third line sets the value that players of race #2 will be able to acquire it.

This is DBSC codebase in case that makes a stark difference.

So, yes, like I said, appears just fine, but when I mset myself to Human, or create a Human character... well my slist is still blank.

I think that at some point it fails to recognize that 'rocket' is a skill.
USA #3
Did you forget: sset rocket type skill?
USA #4
Actually I ran into another problem, which may be the root... Whenever I hotbooted the skill lost all the class values and could no longer slookup the skill by name. (And yes, I did set it to a skill :P)
USA #5
DId you cedit for the new skill?
#6
I don't think you'd need to cedit in your skills/abilities. You say it doesn't show in slist, alist either? DBSC handles skills pretty much the same way as stock SMAUG.

Maybe as a test - try shutting down the mud, manually typing it in skills.dat and see how you go? Or if it's just the class stuff that isn't saving, ditto with a class file?

That way you can see whether there's a problem with reading or saving the changes, to start with.