Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
Bug in do_drag( )
Oct 8, 2017, 12:40 am
By GatewaySysop
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Beastmaster 6D sound files
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, DotBot, Yahoo!

Members: 0
Guests: 8
Stats
Files
Topics
Posts
Members
Newest Member
476
3,704
19,231
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SWR FUSS » do_visible
Forum Rules | Mark all | Recent Posts

do_visible
< Newer Topic :: Older Topic > Not removing HIDE from affects

Pages:<< prev 1 next >>
Post is unread #1 Mar 3, 2008, 8:56 pm   Last edited Mar 3, 2008, 8:56 pm by Banner
Go to the top of the page
Go to the bottom of the page

Banner
Magician
GroupMembers
Posts169
JoinedNov 29, 2005

/*               
 * Contributed by Alander.
 */           
void do_visible( CHAR_DATA * ch, char *argument )
{
   affect_strip( ch, gsn_invis );
   affect_strip( ch, gsn_mass_invis );
   affect_strip( ch, gsn_sneak );
   REMOVE_BIT( ch->affected_by, AFF_HIDE );
   if( ch->race != RACE_DEFEL )  /* Defel has perm invis */
      REMOVE_BIT( ch->affected_by, AFF_INVISIBLE );
   if( ch->race != RACE_NOGHRI ) /* Noghri has perm sneak */
      REMOVE_BIT( ch->affected_by, AFF_SNEAK );
   send_to_char( "Ok.\n\r", ch );
   return; 
} 


Add right below affect_strip( ch, gsn_sneak );:
affect_strip( ch, gsn_hide );


Minor cosmetic bug. The command does remove AFF_HIDE, so the character isn't hidden, but it doesn't strip it from the list of affects. Adding affect_strip on hide removes it from the list of affects so it doesn't stay there despite the fact that the character isn't hidden.
       
Post is unread #2 Mar 5, 2008, 2:52 pm
Go to the top of the page
Go to the bottom of the page

Banner
Magician
GroupMembers
Posts169
JoinedNov 29, 2005

Uhm, anyone? Any what about the other two bugfixes I submitted, the one months ago, that haven't been added yet?
       
Post is unread #3 Mar 5, 2008, 5:11 pm
Go to the top of the page
Go to the bottom of the page

GatewaySysop
Conjurer
GroupMembers
Posts367
JoinedMar 7, 2005

Found the same thing missing in FUSS, but that makes sense. Fix seems to work okay for me. Thanks for posting this. :cyclops:

       
Post is unread #4 Mar 5, 2008, 6:02 pm   Last edited Mar 5, 2008, 6:03 pm by Remcon
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,857
JoinedJul 26, 2005

Fixed this long long ago lol but glad someone ran across it to post so others can fix it also. Just so it is known you really can get rid of do_hide in skills.c and just make it use spell_smaug as long as the hide skill is set correctly. (For the SmaugFUSS version that is, I have no clue about the swr_fuss)
       
Post is unread #5 Mar 5, 2008, 9:30 pm
Go to the top of the page
Go to the bottom of the page

Conner
Sorcerer
GroupMembers
Posts870
JoinedMay 8, 2005

Banner, most of the time folks only bother to comment on bugs others have caught if they see something wrong with the posted solution. As for them getting turned into official bug fixes by Samson, well, that can be a bit of a process (or at least a wait) sometimes as Samson's spare time tends to be pretty sparse.
       
Pages:<< prev 1 next >>