tbaMUD 3.54

[Oct 13 2007] - Rumble
  Updated World, Help, News, Socials, and src for tbaMUD3.54rc.
  Fixed bug where toggling syslog enabled brief. (thanks Rhade)
  Added zone 11.
This commit is contained in:
Rumble
2007-10-13 14:54:18 +00:00
parent 0b3748b07a
commit 0cf7b69493
11 changed files with 3578 additions and 6 deletions

View File

@@ -1984,8 +1984,8 @@ ACMD(do_toggle)
}
REMOVE_BIT_AR(PRF_FLAGS(ch), PRF_LOG1);
REMOVE_BIT_AR(PRF_FLAGS(ch), PRF_LOG2);
SET_BIT_AR(PRF_FLAGS(ch), (PRF_LOG1 * (tp & 1)));
SET_BIT_AR(PRF_FLAGS(ch), (PRF_LOG2 * (tp & 2) >> 1));
if (tp & 1) SET_BIT_AR(PRF_FLAGS(ch), PRF_LOG1);
if (tp & 2) SET_BIT_AR(PRF_FLAGS(ch), PRF_LOG2);
send_to_char(ch, "Your syslog is now %s.\r\n", types[tp]);
return;

View File

@@ -345,7 +345,7 @@ int main(int argc, char **argv)
/* Moved here to distinguish command line options and to show up
* in the log if stderr is redirected to a file. */
log("Using %s for configuration.", CONFIG_CONFFILE);
log("Loading configuration.");
log("%s", tbamud_version);
log("%s", oasisolc_version);
log("%s", DG_SCRIPT_VERSION);

View File

@@ -3428,7 +3428,6 @@ void load_config( void )
snprintf(buf, sizeof(buf), "%s/%s", DFLT_DIR, CONFIG_CONFFILE);
if ( !(fl = fopen(CONFIG_CONFFILE, "r")) && !(fl = fopen(buf, "r")) ) {
snprintf(buf, sizeof(buf), "No %s file, using defaults", CONFIG_CONFFILE);
perror(buf);
return;
}

View File

@@ -244,7 +244,7 @@ void House_boot(void)
if (!(fl = fopen(HCONTROL_FILE, "rb"))) {
if (errno == ENOENT)
log(" House control file '%s' does not exist.", HCONTROL_FILE);
log(" No houses to load. File '%s' does not exist.", HCONTROL_FILE);
else
perror("SYSERR: " HCONTROL_FILE);
return;