PennMUSH Community

Ticket #7495 (new suggested feature)

Opened 8 months ago

Last modified 7 months ago

Fixed flag for rooms

Reported by: Talvo Assigned to:
Priority: minor Milestone:
Keywords: Cc:
Visibility: Public

Description

The patch below alters the Fixed flag so it can also be set on rooms; any player in a room set fixed is considered to be fixed the same as if they had the flag set themselves. To allow wizards to stop players from @tel'ing/home'ing out of a certain room without having to use @aenter/@aleave to set/clear the fixed flag on them.

Attachments

fixed-room.patch.txt (1.5 kB) - added by Talvo on 11/28/07 23:19:21.

Change History

11/28/07 23:19:21 changed by Talvo

  • attachment fixed-room.patch.txt added.

01/06/08 02:27:50 changed by raevnos

I'm not sure I like how the check for a fixed room is done on the owner of an object rather than the object itself.

Fixed on a player extends to all his objects; but should a player in a fixed room have that apply to all his objects no matter their location?

01/06/08 05:26:22 changed by Talvo

I actually had it checking the object itself originally, but changed it. The reason I wrote the patch was because someone asked on M*U*S*H about how to stop players teleporting/going home/etc from inside a particular room/area, and the best answer anyone could come up with was 'set them fixed when they enter it, and !fixed when they leave'. My thinking was to make that easier; instead of having to mess about with the player's flags, set the room fixed instead, and whenever they're inside it they're automatically considered to be fixed in the same way as when the player has the flag set.

Hrm. Maybe a room flag that blocks leaving by any means other than an exit or @tel (to block 'home') would be better, to be set on the room in conjunction with no_tel? That might even be better, then fixed could be used as a 'punishment'/restriction for problem players, which is the main use for it I've heard, and no_tel/the new flag would better prevent players (or puppets) from cheating in puzzle areas, without totally stopping them from @tel'ing objects outside the puzzle area around legally.

01/06/08 07:04:34 changed by Alan Schwartz

Quoting Penndev (pennmush-bugs@pennmush.org):
> #7495: Fixed flag for rooms
> --------------------------------+-------------------------------------------
>   Reporter:  Talvo              |       Owner:     
>       Type:  suggested feature  |      Status:  new
>   Priority:  minor              |   Milestone:     
> Resolution:                     |    Keywords:     
> Visibility:  Public             |  
> --------------------------------+-------------------------------------------
> Comment (by raevnos):
> 
>  I'm not sure I like how the check for a fixed room is done on the owner of
>  an object rather than the object itself.
> 
>  Fixed on a player extends to all his objects; but should a player in a
>  fixed room have that apply to all his objects no matter their location?

If it doesn't, it's trivial to get around the Fixedness by entering
an object and teleporting the object.

 - Alan

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Javelin@M*U*S*H, once Paul@DuneMUSH | Alan Schwartz <dunemush@pennmush.org>
   (mush.pennmush.org 4201)         |     
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-