SmaugFuss mapper

Posted by Oblisgr on Wed 01 Apr 2020 12:40 PM — 6 posts, 22,720 views.

#0
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?
Amended on Wed 01 Apr 2020 02:06 PM by Oblisgr
Australia Forum Administrator #1
I'm not even sure what the mapper does, but I'm sure that whatever-it-is you could make it for all players.
#2
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"
Amended on Fri 03 Apr 2020 06:18 AM by Lerkista
#3
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
#4
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     |
+-----------+
#5
Ye you are right!
Thank you