[Hacker Fix] Spamming players off with Wear All

From: Chris Jacobson (fear@ATHENET.NET)
Date: 07/27/97

An evil user on our MUD likes to spam players off by grabbing a lot of EQ
he can't use and trying 'wear all' four times in a row or so, to spam
players in the same room off.

Just take this part (mine is modified) from equip_char(), and >copy<
(don't remove it) to perform_wear, put it before the "where to wear"
(CAN_WEAR) check, and comment out the ACTs to other players and remove
the obj_to_char line.  This will make it only send the "can't figure it
out" message to the player trying to wear it, and the other players don't
even know they tried to wear it.

  if ((IS_OBJ_STAT(obj, ITEM_ANTI_HUMAN) && IS_HUMAN(ch)) ||
      (!IS_OBJ_STAT(obj, ITEM_ALIEN) && IS_ALIEN(ch))) {
      act("You can't figure out how to use $p.", FALSE, ch, obj, 0,
//      act("$n tries to use $p, but can't figure it out.", FALSE, ch,
obj, 0, TO_ROOM);
//      obj_to_char(obj, ch);   /* changed to drop in inventory instead of
                                /* ground */

- Chris Jacobson

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |

This archive was generated by hypermail 2b30 : 12/08/00 PST