Skip to content

Commit

Permalink
Update for 7.2 release. (#727)
Browse files Browse the repository at this point in the history
* Adds updated NEWROOM logic to docs.

* Update for 7.2 release.
  • Loading branch information
wyld-sw authored Mar 27, 2024
1 parent 1eb71b5 commit 71e343f
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 2 deletions.
73 changes: 73 additions & 0 deletions docs/changesfb7
Original file line number Diff line number Diff line change
@@ -1,3 +1,76 @@
2.2Muck7.20

Terminal Size Introspection
---------------------------

The MUCK is now able to query the terminal width and height using the telnet protocol, via MPI. MUF programs of MUCKER level 3 or higher may also define these values. Existing MPI functions for formatting messages now take advantage of this information.

{height} - gets the current descriptor's screen height, with an optional default.
{width} - gets the current descriptor's screen width, with an optional default.

{center} - now uses the detected screen width before defaulting to 78.
{left} - now uses the detected screen width before defaulting to 78.
{right} - now uses the detected screen width before defaulting to 78.

HEIGHT - returns the detected screen height for the given descriptor.
SETHEIGHT - sets the detected screen height for the given descriptor.
SETWIDTH - sets the detected screen width for the given descriptor.
WIDTH - returns the detected screen width for the given descriptor.


Secure Password Hash Storage
----------------------------

Player password hashes now can be stored using OpenSSL algorithms, with a fallback to the previous. Using the previous algorithm is currently a @tune-able option, set to true by default.

legacy_password_hash - use the previous MD5-based storage for password hashes


Determining Object Flags
------------------------

Additional support has been added for checking for the status of single flags.

{flag?} - equivalent to MUF's FLAG?

FLAG? - now recognizes BOUND, HIDE, SETUID, and XPRESS as aliases.


Expanded Functionality
----------------------

Some features have been extended to improve utility.

NEWROOM - now can use a #-1 parent to search the environment for ABODE rooms.
STATS - now allows programs below MUCKER level 3 to view the player's stats.
STATS_ARRAY - now allows programs below MUCKER level 3 to view the player's stats.

@set - now allows Wizards set GUEST to un-GUEST themselves.
MUF errors - now include the program name and dbref when reporting a compile error.


Consistent Logic
----------------

Some pieces of functionality have been made more consistent.

CONTENTS_ARRAY - now returns a partial list for MUCKER level 1, like CONTENTS.
ENTRANCES_ARRAY - now requires MUCKER level 3, like NEXTENTRANCE.
RMATCH - now strips ANSI, like MATCH.

create_fail_mesg - removed, as the player creation process now handles messaging.


Starter Database Fixes
----------------------

Some programs included in starterdb have been adjusted for proper usage.

cmd-lsedit - no longer crashes when referencing a line number before the first.
cmd-page - now has MUCKER level 4 permissions.
cmd-RIDE - now includes the expected action messages.
cmd-watchfor - no longer crashes when reading a stale dbref.

2.2Muck7.10

New features
Expand Down
2 changes: 1 addition & 1 deletion include/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ typedef int dbref; /**< Type wrapper for dbref - must support negatives */
/**
* Server version number
*/
#define VERSION "Muck2.2fb7.10"
#define VERSION "Muck2.2fb7.20"

/************************************************************************
Administrative Options
Expand Down
5 changes: 4 additions & 1 deletion src/mufman.raw
Original file line number Diff line number Diff line change
Expand Up @@ -4568,7 +4568,10 @@ NEWROOM
NEWROOM (d s -- d)

Takes the dbref of the parent and the name of the room. It returns the
dbref of the created room. Owner is the person running the program.
dbref of the created room. Owner is the person running the program. If d is
#-1, then it becomes the first ABODE room down the environment tree from
the current room, or the default room parent.

Can only create one object per program run, if under Mucker Level 3.
~
~
Expand Down

0 comments on commit 71e343f

Please sign in to comment.