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 ➜ Question

Question

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


Posted by USER007   (124 posts)  Bio
Date Sat 09 Oct 2004 02:39 AM (UTC)
Message
I'm thinking of adding new 'ranks' on the who list. What I mean is when you type who you will see a list of people that fall under several categories instead of one.

So say right now its:

--------[ players ]--------

--------[ imms ]--------

But instead I want:

-------[ level 1]-----

-------[ level 2]-----

And so on...

-------[ imms ]-----

Now my question is this, would I only need to modifie act_info.c? Or are their more .c files I would have to modifie also?
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #1 on Sat 09 Oct 2004 05:10 AM (UTC)
Message
Well, it depends on how you want to seperate people. If you want to simply use ch->level, then there is no other mods that should need to be made. If you wanted to use, say, a clan level or something that is not currently in your code, then you would need to modify save.c to support reading/writing the new field.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
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.


10,864 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.