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 ➜ Questions about skills

Questions about skills

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


Posted by Aqueus   USA  (47 posts)  Bio
Date Wed 21 Mar 2007 02:20 AM (UTC)
Message
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?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Wed 21 Mar 2007 02:23 AM (UTC)
Message
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?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Aqueus   USA  (47 posts)  Bio
Date Reply #2 on Wed 21 Mar 2007 03:36 AM (UTC)
Message
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.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Wed 21 Mar 2007 03:51 AM (UTC)
Message
Did you forget: sset rocket type skill?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Aqueus   USA  (47 posts)  Bio
Date Reply #4 on Wed 21 Mar 2007 02:11 PM (UTC)
Message
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)
Top

Posted by Orik   USA  (182 posts)  Bio
Date Reply #5 on Wed 21 Mar 2007 06:21 PM (UTC)
Message
DId you cedit for the new skill?
Top

Posted by Volk   (5 posts)  Bio
Date Reply #6 on Mon 26 Mar 2007 09:15 AM (UTC)
Message
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.
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.


20,677 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.