[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Modifying skills

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Modifying skills

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by DrzCola   (10 posts)  [Biography] bio
Date Fri 07 Sep 2012 12:35 PM (UTC)  quote  ]
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.
[Go to top] top

Posted by Fiendish   USA  (851 posts)  [Biography] bio   Global Moderator
Date Reply #1 on Fri 07 Sep 2012 01:01 PM (UTC)  quote  ]
Message
You want players to type underscores?

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by DrzCola   (10 posts)  [Biography] bio
Date Reply #2 on Fri 07 Sep 2012 02:15 PM (UTC)  quote  ]
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.
[Go to top] top

Posted by Fiendish   USA  (851 posts)  [Biography] bio   Global Moderator
Date Reply #3 on Mon 10 Sep 2012 11:55 PM (UTC)  quote  ]

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.

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by DrzCola   (10 posts)  [Biography] bio
Date Reply #4 on Wed 12 Sep 2012 11:34 AM (UTC)  quote  ]
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.
[Go to top] top

Posted by Fiendish   USA  (851 posts)  [Biography] bio   Global Moderator
Date Reply #5 on Thu 13 Sep 2012 01:00 AM (UTC)  quote  ]

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?

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by DrzCola   (10 posts)  [Biography] bio
Date Reply #6 on Mon 17 Sep 2012 03:00 PM (UTC)  quote  ]
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.
[Go to top] 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.


749 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]