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 ➜ Modifying skills

Modifying skills

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


Posted by DrzCola   (10 posts)  Bio
Date Fri 07 Sep 2012 12:35 PM (UTC)
Message
Hello,

I'm having some problems when trying to edit some skill commands in a SWR based MUD. I have this skill, that players use with the command "recuperar recurso", but I want to change it to recuperar_recurso. If I edit it on skills.dat, it works but disappears both from slist and practice, so it looks like I'm missing something, but can't identify the problem.
Top

Posted by Fiendish   USA  (2,555 posts)  Bio   Global Moderator
Date Reply #1 on Fri 07 Sep 2012 01:01 PM (UTC)
Message
You want players to type underscores?

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by DrzCola   (10 posts)  Bio
Date Reply #2 on Fri 07 Sep 2012 02:15 PM (UTC)
Message
Well, I don't mind if it is recuperar_recurso or recuperarrecurso, but I find the "..." a bit problematic. Also, what's the problem with underscores? It isn't something that you have to type in the heat of a battle.
Top

Posted by Fiendish   USA  (2,555 posts)  Bio   Global Moderator
Date Reply #3 on Mon 10 Sep 2012 11:55 PM (UTC)

Amended on Tue 11 Sep 2012 12:12 AM (UTC) by Fiendish

Message
Quote:
Also, what's the problem with underscores?

It makes your users type in an unnatural way. It also just looks very clumsy.

You say you already have it working as two natural words. I just can't fathom why you'd want to change that into something inferior.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by DrzCola   (10 posts)  Bio
Date Reply #4 on Wed 12 Sep 2012 11:34 AM (UTC)
Message
Yes, it's working now as two words, but the " " needed to the ability to work are a bit problematic in my opinion, so I just want to change it to a single word.
Top

Posted by Fiendish   USA  (2,555 posts)  Bio   Global Moderator
Date Reply #5 on Thu 13 Sep 2012 01:00 AM (UTC)

Amended on Thu 13 Sep 2012 01:16 AM (UTC) by Fiendish

Message
DrzCola said:

Yes, it's working now as two words, but the " " needed to the ability to work are a bit problematic in my opinion, so I just want to change it to a single word.

You said it is working now. So problematic in what way?


Anyway, can you post exactly what you changed?

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by DrzCola   (10 posts)  Bio
Date Reply #6 on Mon 17 Sep 2012 03:00 PM (UTC)
Message
In skills.dat:

#SKILL
Name recuperar recurso

to

#SKILL
Name recuperarrecurso

In db.c:

ASSIGN_GSN ( gsn_recover_resource, "recuperarrecurso");

But when doing it like this, the skill will simply dissapear from slist.
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.


22,823 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.