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 ➜ Running the server ➜ can't save until level 2???

can't save until level 2???

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


Posted by Raven23   (14 posts)  Bio
Date Thu 14 Feb 2002 07:42 AM (UTC)
Message
can you change it to where you can save when you're level 1? i want to change it but not have to recompile the thing to do so!
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 14 Feb 2002 07:49 AM (UTC)
Message
You would have to recompile to do that. In act_comm.c, at around line 2211 is the code:


if ( ch->level < 2 ) {
  send_to_char_color( "&BYou must be at least second level to save.\n\r", ch );
  return;
  }


You would have to delete that and recompile.

- Nick Gammon

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

Posted by Mademoiselle   Australia  (35 posts)  Bio
Date Reply #2 on Thu 14 Feb 2002 11:55 PM (UTC)
Message
Or better still, create a new variable which it reads from the configuration, and compare it to that instead. That way, if you change your mind later you don't need another recompile.
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,254 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.