Changeset 411
- Timestamp:
- 08/12/06 16:58:31 (2 years ago)
- Files:
-
- 1.7.7/CHANGES (modified) (1 diff)
- 1.7.7/MANIFEST (modified) (2 diffs)
- 1.7.7/Patchlevel (modified) (1 diff)
- 1.7.7/UPGRADING (modified) (1 diff)
- 1.7.7/game/mushcnf.dst (modified) (1 diff)
- 1.7.7/game/txt/hlp/index.hlp (modified) (22 diffs)
- 1.7.7/game/txt/hlp/penncmd.hlp (modified) (8 diffs)
- 1.7.7/game/txt/hlp/pennflag.hlp (modified) (3 diffs)
- 1.7.7/game/txt/hlp/pennfunc.hlp (modified) (5 diffs)
- 1.7.7/game/txt/hlp/penntop.hlp (modified) (4 diffs)
- 1.7.7/game/txt/hlp/pennvers.hlp (modified) (5 diffs)
- 1.7.7/hdrs/command.h (modified) (3 diffs)
- 1.7.7/hdrs/conf.h (modified) (1 diff)
- 1.7.7/hdrs/dbdefs.h (modified) (6 diffs)
- 1.7.7/hdrs/externs.h (modified) (3 diffs)
- 1.7.7/hdrs/flags.h (modified) (4 diffs)
- 1.7.7/hdrs/game.h (modified) (1 diff)
- 1.7.7/hdrs/mushdb.h (modified) (2 diffs)
- 1.7.7/hdrs/mushtype.h (modified) (3 diffs)
- 1.7.7/hdrs/mysocket.h (modified) (1 diff)
- 1.7.7/hdrs/oldflags.h (added)
- 1.7.7/hdrs/parse.h (modified) (2 diffs)
- 1.7.7/hdrs/ptab.h (modified) (1 diff)
- 1.7.7/hdrs/switches.h (modified) (1 diff)
- 1.7.7/hdrs/version.h (modified) (1 diff)
- 1.7.7/src/Makefile (modified) (3 diffs)
- 1.7.7/src/SWITCHES (modified) (3 diffs)
- 1.7.7/src/attrib.c (modified) (1 diff)
- 1.7.7/src/boolexp.c (modified) (3 diffs)
- 1.7.7/src/bsd.c (modified) (59 diffs)
- 1.7.7/src/cmdlocal.dst (modified) (1 diff)
- 1.7.7/src/cmds.c (modified) (7 diffs)
- 1.7.7/src/command.c (modified) (15 diffs)
- 1.7.7/src/conf.c (modified) (7 diffs)
- 1.7.7/src/cque.c (modified) (2 diffs)
- 1.7.7/src/create.c (modified) (6 diffs)
- 1.7.7/src/db.c (modified) (13 diffs)
- 1.7.7/src/destroy.c (modified) (15 diffs)
- 1.7.7/src/extchat.c (modified) (1 diff)
- 1.7.7/src/flaglocal.dst (added)
- 1.7.7/src/flags.c (modified) (35 diffs)
- 1.7.7/src/function.c (modified) (4 diffs)
- 1.7.7/src/fundb.c (modified) (7 diffs)
- 1.7.7/src/funlist.c (modified) (2 diffs)
- 1.7.7/src/game.c (modified) (1 diff)
- 1.7.7/src/help.c (modified) (1 diff)
- 1.7.7/src/lock.c (modified) (3 diffs)
- 1.7.7/src/match.c (modified) (9 diffs)
- 1.7.7/src/move.c (modified) (1 diff)
- 1.7.7/src/player.c (modified) (3 diffs)
- 1.7.7/src/predicat.c (modified) (3 diffs)
- 1.7.7/src/ptab.c (modified) (2 diffs)
- 1.7.7/src/rob.c (modified) (1 diff)
- 1.7.7/src/set.c (modified) (6 diffs)
- 1.7.7/src/speech.c (modified) (3 diffs)
- 1.7.7/src/switchinc.c (modified) (1 diff)
- 1.7.7/src/tables.c (modified) (4 diffs)
- 1.7.7/src/timer.c (modified) (1 diff)
- 1.7.7/src/wiz.c (modified) (7 diffs)
- 1.7.7/win32/cmds.h (modified) (7 diffs)
- 1.7.7/win32/funs.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.7.7/CHANGES
r409 r411 18 18 19 19 ========================================================================== 20 21 Version 1.7.7 patchlevel 6 January 23, 2003 22 23 Major changes: 24 * Rewrite of the flag system. The new system allows for any number 25 of flags, which may apply to any set of object types (the flags/toggles 26 distinction has been eliminated). Flags without single-character 27 abbreviations are better supported. Flags are stored in the object 28 database, and are referenced in hardcode and the db by the name 29 of the flag rather than bit positions. Older databases will be 30 automatically converted to the new format on load, but can not be 31 converted back (so make backups!). New flaglocal.dst file for 32 hardcode patch hackers to add custom flags. 33 * Rewrite of the matcher code (src/match.c). Some semantics of the 34 matching have changed: matching adjectives are parsed earlier and 35 restrict the match for greater efficiency; they also behave more 36 close as described in the help with respect to object ordering. 37 In addition, you can now do things by dbref without controlling 38 the object in many cases that previously required control. 39 Provoked by bug reports by Intrevis@M*U*S*H and Philip Mak. 40 Commands: 41 * @flag allows God to manipulate flags within the game, including 42 adding new flags. Flags additions/changes are maintained across 43 reboots, so this command does not need to be run at every startup. 44 Functions: 45 * lflags(), orlflags(), andlflags() return or test flag lists. 46 Minor changes: 47 * New NUMVERSION macro defined in hdrs/version.h that can be tested 48 by hardcode hacks to add code conditional on version. 49 * Much cleanup of @wall. Minimally-user-visible changes: 50 The @rwallemit, @rwallpose, @wallemit, @wallpose, @wizemit and 51 @wizpose commands have been removed. @wall no longer accepts the 52 /wizard, /royalty, and /pose switches, and @rwall and @wizwall accept 53 the /emit switch. Suggested by Vadiv@M*U*S*H, though he'd really 54 rather see @wall removed. 55 * @lock and @unlock now show which type of lock was set/cleared. 56 @lset now specifically notes that lock flags are being changed. 57 Suggested by Tanaku@M*U*S*H. 58 Fixes: 59 * @boot/me will no longer boot a connection if it is the sole 60 connection the player, even if it's technically inactive. 61 Suggested by Ambrosia@M*U*S*H. 62 * @boot'ing an active self (by descriptor) crashes the MUSH. 63 Discovered by Ashlynn@ChicagoMUSH. 64 * The thorn and eth characters generated with accent() would 65 convert to 'th' when stripped or viewed under NOACCENT, which 66 could be very confusing in object names. Same for the German sharp 67 s, which converted to 'ss'. Until we can cleverly set up separate 68 tables for object name unparsing, these have been reverted to their 69 old behavior so that stripaccents(accent(X,Y)) should return X for 70 any X and Y. Reported by DeeJee, Intrevis, and Time (@M*U*S*H). 71 20 72 21 73 Version 1.7.7 patchlevel 5 January 7, 2003 1.7.7/MANIFEST
r399 r411 38 38 hdrs/mymalloc.h 39 39 hdrs/mysocket.h 40 hdrs/oldflags.h 40 41 hdrs/parse.h 41 42 hdrs/pcre.h … … 123 124 src/funlocal.dst 124 125 src/local.dst 126 src/flaglocal.dst 125 127 hdrs/csrimalloc.h 126 128 config_h.SH 1.7.7/Patchlevel
r409 r411 1 1 Do not edit this file. It is maintained by the official PennMUSH patches. 2 This is PennMUSH 1.7.7p 52 This is PennMUSH 1.7.7p6 1.7.7/UPGRADING
r399 r411 115 115 changes. 116 116 117 One small exception is upgrading from a version that used the old flag 118 system to one that uses the new flag system (post-1.7.7p5), if you've 119 added flags or toggles. You probably had an #define in hdrs/flags.h 120 for your flag's bit value. This now should be moved to hdrs/oldflags.h; 121 you should leave in the table entry in src/flags.c. If you set up a macro 122 for testing your flag in hdrs/mushdb.h, you'll need to change it to use 123 the has_flag_by_name() function - see the many examples in that file. 124 117 125 If this isn't suitable (you're crossing releases or your hacks are too 118 126 many for this to work cleanly), see below. 1.7.7/game/mushcnf.dst
r407 r411 598 598 ### 599 599 ### Default flags for newly created stuff 600 ### To get multiple flags, you may repeat these directives: 601 ### player_flags flag1 602 ### player_flags flag2 603 ### As of 1.7.7p6, you may also stack them on one directive: 604 ### player_flags flag1 flag2 600 605 ### 601 606 1.7.7/game/txt/hlp/index.hlp
r399 r411 75 75 1.7.5p8 1.7.5p9 1.7.5p10 76 76 1.7.5p11 1.7.5p12 1.7.6p0 77 1.7.6p1 1.7. 7p0 :78 ; @-attributes @-building79 @-general @-wizard @@80 @@() @aahear @aclone81 @aconnect @adeath @adescribe82 @ adestroy @adisconnect @adrop77 1.7.6p1 1.7.6p2 1.7.6p3 78 1.7.6p4 1.7.6p5 1.7.6p6 79 1.7.7p0 1.7.7p1 1.7.7p2 80 1.7.7p3 1.7.7p4 1.7.7p5 81 1.7.7p6 : ; 82 @-attributes @-building @-general 83 83 84 84 For more, see Entries-5 … … 86 86 & Entries-5 87 87 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 88 @ aefail @aenter @afailure89 @a follow @agive @ahear90 @a idescribe @aleave @alfail91 @a lias @allhalt @allquota92 @a mhear @amove @apayment93 @a receive @asuccess @atport94 @a trchown @atrlock @attribute95 @a ufail @aunfollow @ause96 @a way @azenter @azleave97 @ boot @break @cemit98 @ channel @channel2 @channel399 @ channel4 @channel5 @charges100 @ chat @chown @chownall101 @ chzone @chzone2 @chzoneall102 @c lock @clock2 @clone103 @c ommand @comment @config88 @-wizard @@ @@() 89 @aahear @aclone @aconnect 90 @adeath @adescribe @adestroy 91 @adisconnect @adrop @aefail 92 @aenter @afailure @afollow 93 @agive @ahear @aidescribe 94 @aleave @alfail @alias 95 @allhalt @allquota @amhear 96 @amove @apayment @areceive 97 @asuccess @atport @atrchown 98 @atrlock @attribute @aufail 99 @aunfollow @ause @away 100 @azenter @azleave @boot 101 @break @cemit @channel 102 @channel2 @channel3 @channel4 103 @channel5 @charges @chat 104 104 105 105 For more, see Entries-6 … … 107 107 & Entries-6 108 108 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 109 @c onfig attribs @config chat @config cmds110 @c onfig cosmetic @config cosmetic2 @config costs111 @c onfig db @config dump @config funcs112 @co nfig limits @config limits2 @config log113 @config net @config parameters @config tiny114 @conf ormat @cost @cpattr115 @c reate @dbck @death116 @ decompile @decompile2 @decompile3117 @ descformat @describe @destroy118 @ destroy2 @dig @dig2119 @d isable @doing @dolist120 @d rain @drop @dump121 @ ealias @edit @efail122 @ elock @emit @enable123 @ enter @entrances @eunlock124 @ exitformat @failure @filter109 @chown @chownall @chzone 110 @chzone2 @chzoneall @clock 111 @clock2 @clone @command 112 @comment @config @config attribs 113 @config chat @config cmds @config cosmetic 114 @config cosmetic2 @config costs @config db 115 @config dump @config funcs @config limits 116 @config limits2 @config log @config net 117 @config parameters @config tiny @conformat 118 @cost @cpattr @create 119 @dbck @death @decompile 120 @decompile2 @decompile3 @descformat 121 @describe @destroy @destroy2 122 @dig @dig2 @disable 123 @doing @dolist @drain 124 @drop @dump @ealias 125 125 126 126 For more, see Entries-7 … … 128 128 & Entries-7 129 129 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 130 @ filter2 @find @firstexit131 @ follow @force @force2132 @ forwardlist @function @function2133 @f unction3 @function4 @gedit134 @ give @grep2 @grep135 @ halt @haven @hide136 @ hook @hook2 @idescribe137 @ idle @infilter @inprefix138 @ kick @lalias @leave139 @ lemit @lfail @link140 @ list @listen @listen2141 @ listmotd @lock @lock2142 @ lock3 @lock4 @lock5143 @l ock6 @lock7 @lock8144 @l ock9 @log @logwipe145 @l set @map2 @mail130 @edit @efail @elock 131 @emit @enable @enter 132 @entrances @eunlock @exitformat 133 @failure @filter @filter2 134 @find @firstexit @flag 135 @flag2 @follow @force 136 @force2 @forwardlist @function 137 @function2 @function3 @function4 138 @gedit @give @grep2 139 @grep @halt @haven 140 @hide @hook @hook2 141 @idescribe @idle @infilter 142 @inprefix @kick @lalias 143 @leave @lemit @lfail 144 @link @list @listen 145 @listen2 @listmotd @lock 146 146 147 147 For more, see Entries-8 … … 149 149 & Entries-8 150 150 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 151 @ malias @malias2 @malias3152 @ malias4 @malias5 @map153 @ motd @move @mvattr154 @ name @nameaccent @nameformat155 @ newpassword @notify @nspemit156 @ nuke @odeath @odescribe157 @ odrop @oefail @oemit158 @ oenter @ofailure @ofollow159 @ ogive @oidescribe @oleave160 @ olfail @omove @opayment161 @o pen @oreceive @osuccess162 @o tport @oufail @ounfollow163 @o use @oxenter @oxleave164 @o xmove @oxtport @ozenter165 @o zleave @parent @password166 @ payment @pcreate @pemit151 @lock2 @lock3 @lock4 152 @lock5 @lock6 @lock7 153 @lock8 @lock9 @log 154 @logwipe @lset @map2 155 @mail @malias @malias2 156 @malias3 @malias4 @malias5 157 @map @motd @move 158 @mvattr @name @nameaccent 159 @nameformat @newpassword @notify 160 @nspemit @nuke @odeath 161 @odescribe @odrop @oefail 162 @oemit @oenter @ofailure 163 @ofollow @ogive @oidescribe 164 @oleave @olfail @omove 165 @opayment @open @oreceive 166 @osuccess @otport @oufail 167 167 168 168 For more, see Entries-9 … … 170 170 & Entries-9 171 171 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 172 @ pemit2 @poll @poor173 @ power @prefix @ps174 @ purge @quota @readcache175 @ receive @recycle @rejectmotd176 @ remit @restart @runout177 @ rwall @rwallemit @rwallpose178 @ scan @search @search2179 @ search3 @select @set180 @ sex @shutdown @sitelock181 @ sitelock2 @sitelock3 @squota182 @s tartup @stats @success183 @s weep @switch @switch2184 @ teleport @tport @trigger185 @ trigger2 @ufail @ulock186 @ undestroy @unfollow @unlink187 @ unlock @unrecycle @uptime172 @ounfollow @ouse @oxenter 173 @oxleave @oxmove @oxtport 174 @ozenter @ozleave @parent 175 @password @payment @pcreate 176 @pemit @pemit2 @poll 177 @poor @power @prefix 178 @ps @purge @quota 179 @readcache @receive @recycle 180 @rejectmotd @remit @restart 181 @runout @rwall @scan 182 @search @search2 @search3 183 @select @set @sex 184 @shutdown @sitelock @sitelock2 185 @sitelock3 @squota @startup 186 @stats @success @sweep 187 @switch @switch2 @teleport 188 188 189 189 For more, see Entries-10 … … 191 191 & Entries-10 192 192 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 193 @uptime2 @use @uunlock 194 @verb @verb2 @verb3 195 @verb4 @version @vrml_url 196 @wait @wait2 @wall 197 @wallemit @wallpose @warnings 193 @tport @trigger @trigger2 194 @ufail @ulock @undestroy 195 @unfollow @unlink @unlock 196 @unrecycle @uptime @uptime2 197 @use @uunlock @verb 198 @verb2 @verb3 @verb4 199 @version @vrml_url @wait 200 @wait2 @wall @warnings 198 201 @warnings2 @warnings3 @wcheck 199 @whereis @wipe @wizemit 200 @wizmotd @wizpose @wizwall 201 @zemit @zenter @zleave 202 \ ^ abode 203 abs() accent() accent2 204 accent3 accent4 acos() 205 action lists action2 add() 206 after() ahelp alphamax() 207 alphamin() and() andflags() 208 anews ansi ansi() 202 @whereis @wipe @wizmotd 203 @wizwall @zemit @zenter 204 @zleave \ ^ 205 abode abs() accent() 206 accent2 accent3 accent4 207 acos() action lists action2 208 add() after() ahelp 209 209 210 210 For more, see Entries-11 … … 212 212 & Entries-11 213 213 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 214 a poss() art() asin()215 a tan() atan2() atrlock()216 a ttrcnt() attrib-ownership attribute flags217 a ttribute functions attribute list attributes218 at tributes list attributes2 attributes3219 attrib utes4 audible audible2220 band() beep() before()221 being killed bitwise functions bnand()222 bnot() boolean functions boolean values223 b oolean2 boolean3 bor()224 b ound() brackets() brief225 b uilder bxor() cand()226 capstr() case() caseall()227 cat() cd ceil()228 cemit() center() cflags()229 c h changes channel functions214 alphamax() alphamin() and() 215 andflags() andlflags() anews 216 ansi ansi() aposs() 217 art() asin() atan() 218 atan2() atrlock() attrcnt() 219 attrib-ownership attribute flags attribute functions 220 attribute list attributes attributes list 221 attributes2 attributes3 attributes4 222 audible audible2 band() 223 beep() before() being killed 224 bitwise functions bnand() bnot() 225 boolean functions boolean values boolean2 226 boolean3 bor() bound() 227 brackets() brief builder 228 bxor() cand() capstr() 229 case() caseall() cat() 230 230 231 231 For more, see Entries-12 … … 233 233 & Entries-12 234 234 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 235 c hannel-list channels() chat236 c heckpass() chown_ok chr()237 c lients clock() clone()238 c loudy code color239 c ommands communication functions comp()240 c omsys con() config()241 co nn() connected control242 co ntrols() convsecs() convtime()243 con vutcsecs() copyright copyrite244 co r() cos() costs245 c reate() credits ctime()246 c title() ctu() cv247 c who() dark dark2248 database dbref # dbref functions249 dbref number dbref2 dbrefs250 d ebug debug2 dec()235 cd ceil() cemit() 236 center() cflags() ch 237 changes channel functions channel-list 238 channels() chat checkpass() 239 chown_ok chr() clients 240 clock() clone() cloudy 241 code color commands 242 communication functions comp() comsys 243 con() config() conn() 244 connected control controls() 245 convsecs() convtime() convutcsecs() 246 copyright copyrite cor() 247 cos() costs create() 248 credits ctime() ctitle() 249 ctu() cv cwho() 250 dark dark2 database 251 251 252 252 For more, see Entries-13 … … 254 254 & Entries-13 255 255 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 256 decrypt() default() delete() 257 desert destroy_ok die() 258 dig() dismiss dist2d() 259 dist3d() div() doing 260 doing() drop drop-tos 256 dbref # dbref functions dbref number 257 dbref2 dbrefs debug 258 debug2 dec() decrypt() 259 default() delete() desert 260 destroy_ok die() dig() 261 dismiss dist2d() dist3d() 262 div() doing doing() 263 drop drop-tos dynhelp() 261 264 e() edefault() edit() 262 265 element() elements() elist() … … 267 270 eval() evaluation order evaluation2 268 271 events examine executor 272 273 For more, see Entries-14 274 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 275 & Entries-14 276 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 269 277 exit() exits exits2 270 278 exp() extract() failure 271 279 fdiv() filter() filterbool() 272 273 For more, see Entries-14274 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-275 & Entries-14276 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-277 280 findable() first() fixed 278 flag list flag s flags list279 flags () flags2 flip()280 fl oating floating point functionsfloor()281 flag list flag permissions flags 282 flags list flags() flags2 283 flip() floating floor() 281 284 floordiv() fmod() fold() 282 285 fold2 folderstats() follow … … 288 291 global commands globals go  
