Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, DotBot, Yahoo!

Members: 0
Guests: 6
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
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 >>