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.
 Entire forum ➜ SMAUG ➜ Running the server ➜ Automap as default choice?

Automap as default choice?

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


Posted by Oblisgr   (123 posts)  Bio
Date Mon 17 Aug 2020 01:16 PM (UTC)
Message
Hi,
is there any way i can set the automap in smaug 1.9.3.c as the default choice for new players?

I mean as they have used config +automap from the start.

Thanks
Top

Posted by Xinefus   (106 posts)  Bio
Date Reply #1 on Mon 17 Aug 2020 10:59 PM (UTC)
Message
Hey there Oblisgr,

If you want a new player to have an xSET_BIT when creating, you have to add the line within comm.c.

around line 2500-2600, you will find

/*
       * Added by Narn.  Start new characters with autoexit and autgold
       * already turned on.  Very few people don't use those.
       */
      xSET_BIT( ch->act, PLR_AUTOGOLD );
      xSET_BIT( ch->act, PLR_AUTOEXIT );


Just add
xSET_BIT( ch->act, PLR_AUTOMAP );

and you should be golden!
Top

Posted by Oblisgr   (123 posts)  Bio
Date Reply #2 on Tue 18 Aug 2020 06:19 AM (UTC)
Message
Thanks!
That helped a lot
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,557 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.