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 ➜ adding an affect

adding an affect

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


Posted by MasterJay   (23 posts)  Bio
Date Sun 24 Oct 2004 11:01 PM (UTC)

Amended on Sun 24 Oct 2004 11:15 PM (UTC) by MasterJay

Message
I've been trying to add a new affect to my mud called Aura.
but I get a Unknown flag when I try to mset it. I added Aff_Aura to Mud.h, I added "aura" to a_flags in build.c, and I added
if ( xIS_SET(*vector, AFF_AURA        )) strcat( buf, " aura"         );
to handler.c, and compiled but it gives me an unknown flag error.
Also, how do I make it that when a player looks at another player, he/she sees if they are affected by something (ex. aura) What kind of code do I add to the Show_char_to_char_1 in act_info?
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.


8,437 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.