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 ➜ Food and levels

Food and levels

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


Posted by Akula   (24 posts)  Bio
Date Thu 17 Jan 2002 11:54 PM (UTC)
Message
Ok, the default level system is max level 50 for players and 51-65 for immortals. I want to change it so that max level player is 100 and immortal 101-115 - you get the picture. How do I change this correctly?
Also is eating/drinking a requirement for survival in SMAUG, if so how do I go about removing this?
I am trying not to spam the boards, however problems keep coming up with me :( Any help would be greatly appreciated.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 18 Jan 2002 02:51 AM (UTC)

Amended on Fri 18 Jan 2002 02:52 AM (UTC) by Nick Gammon

Message
In mud.h are some lines:


#define MAX_LEVEL 65
#define MAX_CLAN 50
#define MAX_DEITY 50
#define MAX_CPD 4 /* Maximum council power level difference */
#define MAX_HERB 20
#define MAX_DISEASE 20
#define MAX_PERSONAL 5 /* Maximum personal skills */
#define MAX_WHERE_NAME 29
#define LEVEL_HERO (MAX_LEVEL - 15)
#define LEVEL_IMMORTAL (MAX_LEVEL - 14)
#define LEVEL_SUPREME MAX_LEVEL
#define LEVEL_INFINITE (MAX_LEVEL - 1)
#define LEVEL_ETERNAL (MAX_LEVEL - 2)
#define LEVEL_IMPLEMENTOR (MAX_LEVEL - 3)
#define LEVEL_SUB_IMPLEM (MAX_LEVEL - 4)
#define LEVEL_ASCENDANT (MAX_LEVEL - 5)
#define LEVEL_GREATER (MAX_LEVEL - 6)
#define LEVEL_GOD (MAX_LEVEL - 7)
#define LEVEL_LESSER (MAX_LEVEL - 8)
#define LEVEL_TRUEIMM (MAX_LEVEL - 9)
#define LEVEL_DEMI (MAX_LEVEL - 10)


I would amend them appropriately, remove all object files, and recompile.

Not sure about the eating/drinking, I would search for the code which says "you are hungry" and see what needs to be changed.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by GenmaC   (22 posts)  Bio
Date Reply #2 on Tue 12 Feb 2002 05:19 PM (UTC)
Message
Starvation just lowers your HP by a bit, but doesn't really kill you...
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.


13,806 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.