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, 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 ➜ SmaugFuss mapper

SmaugFuss mapper

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


Posted by Oblisgr   (123 posts)  Bio
Date Wed 01 Apr 2020 12:40 PM (UTC)

Amended on Wed 01 Apr 2020 02:06 PM (UTC) by Oblisgr

Message
Is posible to enable the mapper that is already installed in smaugfuss 1.9.3 for all levels and not just for the immortals? I searched a little the mapper.c but couldnt find something.

Can you help?
Top

Posted by Nick Gammon   Australia  (23,070 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 02 Apr 2020 01:58 AM (UTC)
Message
I'm not even sure what the mapper does, but I'm sure that whatever-it-is you could make it for all players.

- Nick Gammon

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

Posted by Lerkista   (57 posts)  Bio
Date Reply #2 on Fri 03 Apr 2020 06:17 AM (UTC)

Amended on Fri 03 Apr 2020 06:18 AM (UTC) by Lerkista

Message
Hi

Look in act_info.c in function do_look

Search for call to draw_room_map

You will see something like:

	/* Area name and filename display installed by Samson 12-13-97 */
	if( !IS_NPC(ch) && IS_IMMORTAL(ch) && IS_SET( ch->pcdata->flags, PCFLAG_ANAME ) )


Just change it to:

	/* Area name and filename display installed by Samson 12-13-97 */
	if( !IS_NPC(ch) && IS_SET( ch->pcdata->flags, PCFLAG_ANAME ) )


And don´t forget to turn "config +automap"
Top

Posted by Oblisgr   (123 posts)  Bio
Date Reply #3 on Fri 03 Apr 2020 09:35 PM (UTC)
Message
Hi thanks for answer.
They only thing i found in do_look is the following:


      /*
       * Added AUTOMAP check because it shows them next to the map now if its active 
       */
      if( !IS_NPC( ch ) && ( xIS_SET( ch->act, PLR_AUTOEXIT ) && !xIS_SET( ch->act, PLR_AUTOMAP ) ) )
         do_exits( ch, "auto" );

      show_list_to_char( ch->in_room->first_content, ch, FALSE, FALSE );
      show_char_to_char( ch->in_room->first_person, ch );
      return;


the code you wrote above is not incide my act_info.c
Top

Posted by Lerkista   (57 posts)  Bio
Date Reply #4 on Fri 03 Apr 2020 11:55 PM (UTC)
Message
Hi

I downloaded original smaugfuss 1.9.3, and all levels can use AUTOMAP, you just need to active it in config "config +automap"

<26hp 100m 110mv> config

Configurations (use 'config +/- <keyword>' to toggle, see 'help config')

Display:   [-] pager      [-] gag        [-] brief      [+] COMBINE
           [+] BLANK      [+] PROMPT     [+] ANSI       [-] rip
           [-] compass    [+] AUTOMAP

Auto:      [-] autosac    [+] AUTOGOLD   [-] autoloot   [+] AUTOEXIT

Safeties:  [-] norecall   [-] nosummon   [-] drag       [-] nice

Misc:      [-] telnetga   [-] groupwho   [-] nointro    [-] beckon

Settings:  Pager Length (24)    Wimpy (0)

Sentences imposed on you (if any):

<26hp 100m 110mv> score

Score for Lerkista the Recruit.
----------------------------------------------------------------------------
LEVEL: 2           Race : Human             Played: 0 hours
YEARS: 17          Class: Warrior           Log In: Fri Apr  3 17:49:16 2020
STR  : 16(16)                               Saved:  Fri Apr  3 17:49:33 2020
INT  : 13(12)                               Time:   Fri Apr  3 17:53:40 2020
WIS  : 14(13)      Armor: improper for adventure
DEX  : 12(12)      Align: neutral                 Items: 00000   (max 00005)
CON  : 15(14)      Pos'n: standing               Weight: 00001 (max 0000195)
CHA  : 12(12)      Wimpy: 0          Style: standard
LCK  : 15(15)
Glory: 0000(0000)
PRACT: 002         Hitpoints: 28    of    34   Pager: ( )  24    AutoExit(X)
XP   : 2000                                    MKills:  00000    AutoLoot( )
GOLD : 0                Move: 110   of   110   Mdeaths: 00000    AutoSac ( )
You feel great.
Languages: common


<28hp 100m 110mv> look
A Stone Corridor
[Exits: North East South West]
+-----------+ To the west is the language lessons room. Lady Abbigalye is
|     O     | there to assist you in learning the languages of the land. To
|     |     | the east is where Domick will assist you in practicing your
|   O-O     | weapons, skills and spells. When you are finished with your
|     |     | lessons, come back here and continue north through the Academy.
|   O-@-O   |
|     |     |
|     *     |
|     |     |
|     O     |
+-----------+
Top

Posted by Oblisgr   (123 posts)  Bio
Date Reply #5 on Sat 04 Apr 2020 07:41 PM (UTC)
Message
Ye you are right!
Thank 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.


14,715 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.