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

Members: 0
Guests: 12
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 » Bugfix Lists » SmaugFUSS Bugfix List » [Bug] Deathtraps do not extra...
Forum Rules | Mark all | Recent Posts

[Bug] Deathtraps do not extract mobs properly
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Nov 26, 2005, 11:04 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Bug: Deathtraps do not extract mobs properly
Danger: Low - Produces a nuisance to players at the death location
Found by: Zeno
Fixed by: Samson

---

act_move.c, move_char
Locate:
   /*
    * Put good-old EQ-munching death traps back in!     -Thoric
    */
   if( IS_SET( ch->in_room->room_flags, ROOM_DEATH ) && !IS_IMMORTAL( ch ) )
   {
      act( AT_DEAD, "$n falls prey to a terrible death!", ch, NULL, NULL, TO_ROOM );
      set_char_color( AT_DEAD, ch );
      send_to_char( "Oopsie... you're dead!\n\r", ch );
      snprintf( buf, MAX_STRING_LENGTH, "%s hit a DEATH TRAP in room %d!", ch->name, ch->in_room->vnum );
      log_string( buf );
      to_channel( buf, CHANNEL_MONITOR, "Monitor", LEVEL_IMMORTAL );
      extract_char( ch, FALSE );
      return rCHAR_DIED;
   }


Change to:
   /*
    * Put good-old EQ-munching death traps back in!     -Thoric
    */
   if( IS_SET( ch->in_room->room_flags, ROOM_DEATH ) && !IS_IMMORTAL( ch ) )
   {
      act( AT_DEAD, "$n falls prey to a terrible death!", ch, NULL, NULL, TO_ROOM );
      set_char_color( AT_DEAD, ch );
      send_to_char( "Oopsie... you're dead!\n\r", ch );
      snprintf( buf, MAX_STRING_LENGTH, "%s hit a DEATH TRAP in room %d!", ch->name, ch->in_room->vnum );
      log_string( buf );
      to_channel( buf, CHANNEL_MONITOR, "Monitor", LEVEL_IMMORTAL );
      if( IS_NPC( ch ) )
         extract_char( ch, TRUE );
      else
         extract_char( ch, FALSE );
      return rCHAR_DIED;
   }


When an NPC ventures into a deathtrap, naturally they should end up dead. Since the function of most DT's ( old school feature ) is to destroy the equipment and corpse of the victim, an NPC has no reason to be transferred out. They should be removed from play immediately. Under worst case scenarios, the death room for players could fill up with mobs if a DT is in a heavily trafficed area. Although amusing for admins to see, it's not much fun for players :)
       
Pages:<< prev 1 next >>