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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Question

Question

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


Posted by USER007   (124 posts)  [Biography] 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?
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] 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
[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.


9,633 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

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

[Best viewed with any browser - 2K]    [Hosted at HostDash]