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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Running the server
. . -> [Subject]  Automap as default choice?

Automap as default choice?

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


Posted by Oblisgr   (123 posts)  [Biography] 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
[Go to top] top

Posted by Xinefus   (106 posts)  [Biography] 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!
[Go to top] top

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


8,051 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]