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 ➜ A question about Guilds/Classes

A question about Guilds/Classes

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


Posted by Toy   (206 posts)  Bio
Date Sun 19 May 2002 05:47 PM (UTC)
Message
As I've been going, I've set things up on my mud so players can choose up to 9 classes atm, and there is 7 of the 9 guilds built right now. Now, a few days ago I noticed someone who was testing things for me couldn't get into their guilds because the room's entry program didn't look for their class, instead it checked to see if that person was a member of the Guild of Warriors, instead of Class == Warrior. I changed the ifchecks to class == warrior, and they got inwith no problem. But, as he went to train with the trainer in the warrior guild, he attempted to train bash, and it told him only members of a guild can train that ability.

#SKILL
Name bash~
Type Skill
Flags 0
Guild 37
Target 1
Minpos 109
Rounds 8
Code do_bash
Dammsg bash~
Wearoff !Bash!~
Minlevel 1
End

That's how my bash command works. what would I have to do to change it so that people not in the Guild of Warriors could train the ability? I'm using Cgywin and smaug1.4a_mxp.tgz if it helps any.
-Alexander

It's always good to know how far you are willing to go to be the best...

Karl Mancine
aka
Toy the Dark Puppet
Top

Posted by Toy   (206 posts)  Bio
Date Reply #1 on Thu 23 May 2002 01:50 AM (UTC)
Message
A huge "DUH" on my part. I fixed it by simply changing the guild of each skill to -1. Made it so no guilde was needed to train a skill. :p

Alexander

It's always good to know how far you are willing to go to be the best...

Karl Mancine
aka
Toy the Dark Puppet
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.


12,313 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.