![]() |
#1 |
Member
Join Date: Apr 2002
Location: United Socialist States of America
Home MUD: SmaugMuds.org
Home MUD: Arthmoor MUD Hosting
Posts: 249
![]() |
|
![]() |
![]() |
![]() |
#2 |
Posts: n/a
|
Hmm, I'm far from being a really capable coder (so far), but what does it churn out when you grep for "BIT_RESET_" (w/o quotes)? Maybe it'll shed some light on things if you knew where those constant were being applied/used? Or maybe they are just decrepated constants?
|
![]() |
![]() |
#3 |
Member
Join Date: Apr 2002
Location: United Socialist States of America
Home MUD: SmaugMuds.org
Home MUD: Arthmoor MUD Hosting
Posts: 249
![]() |
I took a closer look, and all these things appeared to be doing was duplicating the function of other reset commands and flag settings. I've since removed them since they appear to be unique to Smaug and none of our areas were dependent on them existing. Looks like something they were working on but never used.
|
![]() |
![]() |
![]() |
#4 |
Member
Join Date: Sep 2002
Location: Canada
Posts: 73
![]() |
The B resets are designed to allow you to either set, reset, or toggle bits in either:
- The exit_info of a door - The room_flags of a room - The extra_flags of an object - The affected_by of a mob Whether you want or need this level of control seems to be up to you. (I think 99.5% of cases don't need this degree of control). But who knows, when you are making an automated quest and you want to kill every possible player exploit/abuse, then such control seems worthwhile. Say you want a bolted door. A player unbolts the door and then quits. When the area resets, the B reset would rebolt the door. Say you wanted an invisible sentinel mob. A player casts dispel magic and then flees without killing the mob. That mob would remain visible forever until someone killed it. The B reset could re-apply the "AFF_INVISIBLE" bit. Say you wanted a buried treasure. Someone digs it up, but doesn't take it. The B reset could re-apply the "ITEM_BURIED" bit. I admit, these examples may seem strained, but I know from experience that sometimes a builder wants or needs things to be 'just so' and gets frustrated when SMAUG's default actions don't quite do what is wanted. For this reason, I would recommend leaving the capability of doing 'B' resets intact. Besides, removing it doesn't save you anything. |
![]() |
![]() |
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Surviving theme resets? | Brody | Roleplaying and Storytelling | 4 | 06-14-2006 07:38 PM |
Smaug bug | Samson | MUD Coding | 0 | 10-23-2002 06:57 AM |
Ranking List Resets | Synozeer | Bugs and Suggestions | 3 | 09-22-2002 09:51 PM |
smaug | Blank Deed | Newbie Help | 3 | 07-24-2002 11:19 AM |
Resets | Keljorian | MUD Builders and Areas | 1 | 05-09-2002 03:59 AM |
|
|