Updated World and files for 3.55 release. --Rumble

This commit is contained in:
Rumble
2008-01-16 23:19:50 +00:00
parent 453cbdaf0b
commit af18bd91b6
98 changed files with 7739 additions and 4409 deletions

View File

@@ -3272,7 +3272,7 @@ ACMD(do_links)
skip_spaces(&argument);
one_argument(argument, arg);
if (!arg || !*arg) {
if (!is_number(arg)) {
zrnum = world[IN_ROOM(ch)].zone;
zvnum = zone_table[zrnum].number;
} else {
@@ -3409,7 +3409,7 @@ ACMD (do_zcheck)
struct extra_descr_data *ext, *ext2;
one_argument(argument, buf);
if (!buf || !*buf || !strcmp(buf, "."))
if (!is_number(buf) || !strcmp(buf, "."))
zrnum = world[IN_ROOM(ch)].zone;
else
zrnum = real_zone(atoi(buf));

View File

@@ -13,7 +13,7 @@
#include "structs.h"
#include "interpreter.h" /* alias_data */
cpp_extern const char *tbamud_version = "tbaMUD, version 3.54";
cpp_extern const char *tbamud_version = "tbaMUD, version 3.55";
cpp_extern const char *oasisolc_version = "OasisOLC 2.0.6";
cpp_extern const char *ascii_pfiles_version = "ASCII Player Files 3.0.1";

View File

@@ -82,8 +82,8 @@
#define MOTD_FILE LIB_TEXT"motd" /* messages of the day / mortal */
#define IMOTD_FILE LIB_TEXT"imotd" /* messages of the day / immort */
#define GREETINGS_FILE LIB_TEXT"greetings" /* The opening screen. */
#define HELP_PAGE_FILE LIB_TEXT_HELP"screen" /* for HELP <CR> */
#define IHELP_PAGE_FILE LIB_TEXT_HELP"iscreen" /* for HELP <CR> imms */
#define HELP_PAGE_FILE LIB_TEXT_HELP"help" /* for HELP <CR> */
#define IHELP_PAGE_FILE LIB_TEXT_HELP"ihelp" /* for HELP <CR> imms */
#define INFO_FILE LIB_TEXT"info" /* for INFO */
#define WIZLIST_FILE LIB_TEXT"wizlist" /* for WIZLIST */
#define IMMLIST_FILE LIB_TEXT"immlist" /* for IMMLIST */

View File

@@ -228,7 +228,7 @@ int delete_room(room_rnum rnum)
}
/* Remove this room from all shop lists. */
for (i = 0; i < top_shop; i++) {
for (i = 0; i <= top_shop; i++) {
for (j = 0;SHOP_ROOM(i, j) != NOWHERE;j++) {
if (SHOP_ROOM(i, j) == world[rnum].number)
SHOP_ROOM(i, j) = 0; /* set to the void */

View File

@@ -23,7 +23,7 @@
/* external variables */
extern room_rnum r_mortal_start_room;
extern int mini_mud;
extern char cast_arg2[MAX_STRING_LENGTH];
extern char cast_arg2[MAX_INPUT_LENGTH];
/* external functions */
void weight_change_object(struct obj_data *obj, int weight);

View File

@@ -14,7 +14,7 @@
* account the version and supply their own definition for the macro if used
* on an older version. You are supposed to compare this with the macro
* TBAMUD_VERSION() in utils.h. */
#define _TBAMUD 0x030540 /* Major/Minor/Patchlevel - MMmmPP */
#define _TBAMUD 0x030550 /* Major/Minor/Patchlevel - MMmmPP */
/* If you want equipment to be automatically equipped to the same place
* it was when players rented, set the define below to 1. */
@@ -763,7 +763,6 @@ struct char_special_data {
struct player_special_data_saved {
byte skills[MAX_SKILLS+1]; /* array of skills plus skill 0 */
byte PADDING0; /* used to be spells_to_learn */
int wimp_level; /* Below this # of hit points, flee! */
byte freeze_level; /* Level of god who froze char, if any */
sh_int invis_level; /* level of invisibility */

View File

@@ -1,6 +1,6 @@
/* ************************************************************************
* file: asciipasswd.c (derived from mudpasswd.c) Part of CircleMud *
* Usage: generating hashed passwords for an ascii playerfile *
* file: asciipasswd.c (derived from mudpasswd.c) Part of tbaMUD *
* Usage: generating hashed passwords for an ascii playerfile. *
* Copyright (C) 1990, 1991 - see 'license.doc' for complete information. *
* All Rights Reserved *
************************************************************************* */

View File

@@ -1,5 +1,5 @@
/* ************************************************************************
* file: autowiz.c Part of CircleMUD *
* file: autowiz.c Part of tbaMUD *
* Usage: self-updating wizlists *
* Written by Jeremy Elson *
* All Rights Reserved *

View File

@@ -1,5 +1,5 @@
/* ************************************************************************
* file: listrent.c Part of CircleMUD *
* file: listrent.c Part of tbaMUD *
* Usage: list player rent files *
* Written by Jeremy Elson *
* All Rights Reserved *

View File

@@ -1,5 +1,5 @@
/* ************************************************************************
* file: plrtoascii.c Part of CircleMud *
* file: plrtoascii.c Part of tbaMUD *
* Copyright (C) 1990, 1991 - see 'license.doc' for complete information. *
* All Rights Reserved *
************************************************************************* */

View File

@@ -1,4 +1,8 @@
/* code to convert 2.20 shop files to 3.0 shop files - written by Jeff Fink */
/* ************************************************************************
* file: shopconv.c Part of tbaMUD *
* Usage: code to convert 2.20 shop files to 3.0 shop files *
* Written by Jeff Fink *
************************************************************************* */
#include "conf.h"
#include "sysdep.h"

View File

@@ -1,17 +1,9 @@
/*
* sign.c: a program to present text on a TCP port
*
* Author: Jeremy Elson (jelson@circlemud.org)
* Usage: sign <port> <filename> or
* sign <port> -
*
* '-' indicates file should be read from stdin.
*
* This program is in the public domain. It may be copied, redistributed,
* reused, modified, etc., but a notice of my authorship must be maintained.
*
* This program comes with no warranty of any kind, expressed or implied.
*/
/* ************************************************************************
* file: sign.c Part of tbaMUD *
* Usage: A program to present text on a TCP port. *
* sign <port> <filename | port> *
* Written by Jeremy Elson *
************************************************************************* */
#define MAX_FILESIZE 8192
#define LINEBUF_SIZE 128

View File

@@ -1,5 +1,5 @@
/* ************************************************************************
* file: split.c Part of CircleMud *
* file: split.c Part of tbaMUD *
* Usage: split one large file into multiple smaller ones, with index *
* Written by Jeremy Elson *
* All Rights Reserved *

View File

@@ -1,10 +1,8 @@
/* ************************************************************************
* File: wld2html.c *
* Usage: Convert a DikuMUD .wld file into a series of .html files *
* File: webster.c Part of tbaMUD *
* Usage: Use an online dictionary via tell m-w <word>. *
* *
* This program is in the public domain. *
* Written (QUICKLY AND DIRTILY) by Jeremy Elson (jelson@circlemud.org) *
* Based on the Circle 3.0 syntax checker program (scheck.c) *
* Based on the Circle 3.0 syntax checker and wld2html programs. *
************************************************************************ */
#define log(msg) fprintf(stderr, "%s\n", msg)

View File

@@ -1,10 +1,10 @@
/* ************************************************************************
* File: wld2html.c *
* File: wld2html.c Part of tbaMUD *
* Usage: Convert a DikuMUD .wld file into a series of .html files *
* *
* This program is in the public domain. *
* Written (QUICKLY AND DIRTILY) by Jeremy Elson (jelson@circlemud.org) *
* Based on the Circle 3.0 syntax checker program (scheck.c) *
* Written (QUICKLY AND DIRTILY) by Jeremy Elson *
* Based on the Circle 3.0 syntax checker program *
************************************************************************ */
#define log(msg) fprintf(stderr, "%s\n", msg)