Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Yandex, Sogou, Google

Members: 0
Guests: 11
Stats
Files
Topics
Posts
Members
Newest Member
481
3,734
19,366
618
Micheal64X
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » Pb with Config (CB 1.77)
Forum Rules | Mark all | Recent Posts

Pb with Config (CB 1.77)
< Newer Topic :: Older Topic > passdoor priv granted to players

Pages:<< prev 1 next >>
* #1 Jul 11, 2006, 3:16 am   Last edited Nov 25, 2007, 7:17 pm by Samson
Go to the top of the page
Go to the bottom of the page

tophe

GroupMembers
Posts13
JoinedJul 4, 2006

While building and having a hard time to make a secret exit work *still pondering that*, i found that the config +passdoor command was working for players too. If i am correct, it should be immortals only.

In act_info.c, locate
else
      {
         if( !str_prefix( argument + 1, "norecall" ) )
            bit = PCFLAG_NORECALL;
         else if( !str_prefix( argument + 1, "nointro" ) )
            bit = PCFLAG_NOINTRO;
         else if( !str_prefix( argument + 1, "nosummon" ) )
            bit = PCFLAG_NOSUMMON;
         else if( !str_prefix( argument + 1, "gag" ) )
            bit = PCFLAG_GAG;
         else if( !str_prefix( argument + 1, "pager" ) )
            bit = PCFLAG_PAGERON;
         else if( !str_prefix( argument + 1, "nobeep" ) )
            bit = PCFLAG_NOBEEP;
         else if( !str_prefix( argument + 1, "passdoor" ) )
            bit = PCFLAG_PASSDOOR;
         else if( !str_prefix( argument + 1, "groupwho" ) )
            bit = PCFLAG_GROUPWHO;
         else if( !str_prefix( argument + 1, "@hgflag_" ) )
            bit = PCFLAG_HIGHGAG;
         else if( !str_prefix( argument + 1, "notell" ) )
            bit = PCFLAG_NOTELL;
         else if( !str_prefix( argument + 1, "checkboard" ) )
            bit = PCFLAG_CHECKBOARD;
         else if( !str_prefix( argument + 1, "noquote" ) )
            bit = PCFLAG_NOQUOTE;
         else if( IS_IMMORTAL( ch ) )
         {
            if( !str_prefix( argument + 1, "roomflags" ) )
               bit = PCFLAG_AUTOFLAGS;
            else if( !str_prefix( argument + 1, "sectortypes" ) )
               bit = PCFLAG_SECTORD;
            else if( !str_prefix( argument + 1, "filename" ) )
               bit = PCFLAG_ANAME;
            else
            {
               send_to_char( "Config -option or +option?\n\r", ch );
               return;
            }
         }

and change it to :
      else
      {
         if( !str_prefix( argument + 1, "norecall" ) )
            bit = PCFLAG_NORECALL;
         else if( !str_prefix( argument + 1, "nointro" ) )
            bit = PCFLAG_NOINTRO;
         else if( !str_prefix( argument + 1, "nosummon" ) )
            bit = PCFLAG_NOSUMMON;
         else if( !str_prefix( argument + 1, "gag" ) )
            bit = PCFLAG_GAG;
         else if( !str_prefix( argument + 1, "pager" ) )
            bit = PCFLAG_PAGERON;
         else if( !str_prefix( argument + 1, "nobeep" ) )
            bit = PCFLAG_NOBEEP;
         else if( !str_prefix( argument + 1, "groupwho" ) )
            bit = PCFLAG_GROUPWHO;
         else if( !str_prefix( argument + 1, "@hgflag_" ) )
            bit = PCFLAG_HIGHGAG;
         else if( !str_prefix( argument + 1, "notell" ) )
            bit = PCFLAG_NOTELL;
         else if( !str_prefix( argument + 1, "checkboard" ) )
            bit = PCFLAG_CHECKBOARD;
         else if( !str_prefix( argument + 1, "noquote" ) )
            bit = PCFLAG_NOQUOTE;
         else if( IS_IMMORTAL( ch ) )
         {
            if( !str_prefix( argument + 1, "roomflags" ) )
               bit = PCFLAG_AUTOFLAGS;
            else if( !str_prefix( argument + 1, "sectortypes" ) )
               bit = PCFLAG_SECTORD;
            else if( !str_prefix( argument + 1, "filename" ) )
               bit = PCFLAG_ANAME;
            else if( !str_prefix( argument + 1, "passdoor" ) )
            bit = PCFLAG_PASSDOOR;
            else
            {
               send_to_char( "Config -option or +option?\n\r", ch );
               return;
            }
         }


It did the trick for me, i hope this helps.

Edit: Sorry, just found out Zarius had the same issue. See his post here: Zarius' post

Tophe.
       
Post is unread #2 Jul 11, 2006, 8:41 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

That is what we in programming simply like to call an oops. And no worries on repeating it. Despite him having mentioned it, the fix got overlooked.
       
Pages:<< prev 1 next >>