Changeset 475
- Timestamp:
- 08/16/06 01:25:07 (2 years ago)
- Files:
-
- 1.7.7/CHANGES.177 (modified) (1 diff)
- 1.7.7/Patchlevel (modified) (1 diff)
- 1.7.7/game/txt/hlp/penncmd.hlp (modified) (1 diff)
- 1.7.7/game/txt/hlp/pennv177.hlp (modified) (2 diffs)
- 1.7.7/game/txt/hlp/pennvOLD.hlp (modified) (1 diff)
- 1.7.7/hdrs/game.h (modified) (1 diff)
- 1.7.7/hdrs/version.h (modified) (1 diff)
- 1.7.7/src/cmds.c (modified) (1 diff)
- 1.7.7/src/command.c (modified) (1 diff)
- 1.7.7/src/flags.c (modified) (2 diffs)
- 1.7.7/src/parse.c (modified) (1 diff)
- 1.7.7/src/wiz.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.7.7/CHANGES.177
r473 r475 18 18 19 19 ========================================================================== 20 21 Version 1.7.7 patchlevel 38 August 25, 2004 22 23 Commands: 24 * @boot/silent disconnects without the standard message. 25 Suggested by Thor@bDv. 26 Fixes: 27 * Crash bug in is_objid fixed. Report by Wayne@PDX. 28 * God could cause a flag to lose its type status, and then become 29 inaccessible. Report by Wayne@PDX. 30 20 31 21 32 Version 1.7.7 patchlevel 37 August 23, 2004 1.7.7/Patchlevel
r473 r475 1 1 Do not edit this file. It is maintained by the official PennMUSH patches. 2 This is PennMUSH 1.7.7p3 72 This is PennMUSH 1.7.7p38 1.7.7/game/txt/hlp/penncmd.hlp
r473 r475 409 409 410 410 & @boot 411 @boot <player>412 @boot/port <descriptor number>411 @boot[/silent] <player> 412 @boot/port[/silent] <descriptor number> 413 413 @boot/me 414 414 415 Disconnects the player from the game. 415 Disconnects the player from the game, with a standard message unless 416 the /silent switch is given. 416 417 417 418 The /port switch takes a descriptor number instead (the "Port" number 1.7.7/game/txt/hlp/pennv177.hlp
r473 r475 1 & 1.7.7p3 71 & 1.7.7p38 2 2 & changes 3 3 This is a list of changes in this patchlevel which are probably of … … 12 12 be read in 'help patchlevels'. 13 13 14 Version 1.7.7 patchlevel 38 August 25, 2004 15 16 Commands: 17 * @boot/silent disconnects without the standard message. 18 Suggested by Thor@bDv. 19 Fixes: 20 * Crash bug in is_objid fixed. Report by Wayne@PDX. 21 * God could cause a flag to lose its type status, and then become 22 inaccessible. Report by Wayne@PDX. 23 24 25 & 1.7.7p37 14 26 Version 1.7.7 patchlevel 37 August 23, 2004 15 27 1.7.7/game/txt/hlp/pennvOLD.hlp
r473 r475 4420 4420 1.7.7: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 4421 4421 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 4422 36, 37 4422 36, 37, 38 4423 4423 1.7.6: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 4424 4424 1.7.5: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 1.7.7/hdrs/game.h
r469 r475 165 165 extern void do_newpassword 166 166 (dbref player, const char *name, const char *password); 167 enum boot_type { BOOT_NAME, BOOT_DESC, BOOT_SELF };167 enum boot_type { BOOT_NAME, BOOT_DESC, BOOT_SELF, BOOT_SILENT }; 168 168 extern void do_boot(dbref player, const char *name, enum boot_type flag); 169 169 extern void do_chzoneall(dbref player, const char *name, const char *target); 1.7.7/hdrs/version.h
r473 r475 1 1 #define VERSION "1.7.7" 2 #define PATCHLEVEL "3 7"3 #define PATCHDATE "[08/2 3/2004]"4 #define NUMVERSION 00100700703 72 #define PATCHLEVEL "38" 3 #define PATCHDATE "[08/25/2004]" 4 #define NUMVERSION 001007007038 1.7.7/src/cmds.c
r469 r475 87 87 else if (SW_ISSET(sw, SWITCH_ME)) 88 88 do_boot(player, (char *) NULL, BOOT_SELF); 89 else if (SW_ISSET(sw, SWITCH_SILENT)) 90 do_boot(player, arg_left, BOOT_SILENT); 89 91 else 90 92 do_boot(player, arg_left, BOOT_NAME); 1.7.7/src/command.c
r471 r475 71 71 {"@ATTRIBUTE", "ACCESS DELETE RENAME RETROACTIVE", cmd_attribute, 72 72 CMD_T_ANY | CMD_T_EQSPLIT, "WIZARD", 0}, 73 {"@BOOT", "PORT ME ", cmd_boot, CMD_T_ANY, 0, 0},73 {"@BOOT", "PORT ME SILENT", cmd_boot, CMD_T_ANY, 0, 0}, 74 74 {"@BREAK", NULL, cmd_break, CMD_T_ANY | CMD_T_EQSPLIT, 0, 0}, 75 75 {"@CEMIT", "NOEVAL NOISY SPOOF", cmd_cemit, 1.7.7/src/flags.c
r469 r475 1951 1951 } else { 1952 1952 type = string_to_privs(type_privs, type_string, 0); 1953 if ( type < 0) {1953 if (!type) { 1954 1954 notify(player, T("I don't understand the list of types.")); 1955 1955 return; … … 2035 2035 if (*args_right[2] && strcasecmp(args_right[2], "any")) 2036 2036 type = string_to_privs(type_privs, args_right[2], 0); 2037 if ( type < 0) {2037 if (!type) { 2038 2038 notify(player, T("I don't understand the list of types.")); 2039 2039 return; 1.7.7/src/parse.c
r469 r475 247 247 int erroffset; 248 248 249 if (!str) 250 return 0; 249 251 if (!re) 250 252 re = pcre_compile("^#-?\\d+(?::\\d+)?$", 0, &errptr, &erroffset, NULL); 1.7.7/src/wiz.c
r473 r475 771 771 } 772 772 break; 773 case BOOT_SILENT: 773 774 case BOOT_NAME: 774 775 /* boot by name */ … … 794 795 /* look up descriptor */ 795 796 switch (flag) { 797 case BOOT_SILENT: 796 798 case BOOT_NAME: 797 799 d = player_desc(victim); … … 827 829 else { 828 830 notify_format(player, T("You booted %s off!"), Name(victim)); 829 notify(victim, T("You are politely shown to the door.")); 831 if (flag != BOOT_SILENT) 832 notify(victim, T("You are politely shown to the door.")); 830 833 } 831 834 boot_desc(d);
