forked from github/server
fix config.xml for test games
update log levels for some common messages.
This commit is contained in:
parent
1f41131593
commit
08c3d08d7d
|
@ -1,4 +1,3 @@
|
|||
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE catalog
|
||||
PUBLIC "-//OASIS/DTD Entity Resolution XML Catalog V1.0//EN"
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
<xi:include href="config:///core/prefixes.xml"/>
|
||||
<xi:include href="config:///core/ships.xml"/>
|
||||
<xi:include href="config:///core/common/buildings.xml"/>
|
||||
<xi:include href="config:///core/equipment.xml"/>
|
||||
<xi:include href="config:///game/familiars.xml"/>
|
||||
<xi:include href="config:///core/terrains.xml"/>
|
||||
<xi:include href="config:///game/terrains.xml"/>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
<xi:include href="config:///core/spoils.xml"/>
|
||||
<xi:include href="config:///core/prefixes.xml"/>
|
||||
<xi:include href="config:///core/common/buildings.xml"/>
|
||||
<xi:include href="config:///core/equipment.xml"/>
|
||||
<xi:include href="config:///game/familiars.xml"/>
|
||||
|
||||
<xi:include href="config:///game/ships.xml"/>
|
||||
|
|
|
@ -225,7 +225,7 @@ static faction *factionorders(void)
|
|||
const char *pass = getstrtoken();
|
||||
|
||||
if (!checkpasswd(f, (const char *)pass, true)) {
|
||||
log_warning("Invalid password for faction %s\n", itoa36(fid));
|
||||
log_debug("Invalid password for faction %s\n", itoa36(fid));
|
||||
ADDMSG(&f->msgs, msg_message("wrongpasswd", "faction password",
|
||||
f->no, pass));
|
||||
return 0;
|
||||
|
@ -806,7 +806,7 @@ void write_unit(struct gamedata *data, const unit * u)
|
|||
if (++p < MAXPERSISTENT) {
|
||||
writeorder(data, ord, u->faction->locale);
|
||||
} else {
|
||||
log_error("%s had %d or more persistent orders\n", unitname(u), MAXPERSISTENT);
|
||||
log_warning("%s had %d or more persistent orders\n", unitname(u), MAXPERSISTENT);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -817,7 +817,7 @@ void write_unit(struct gamedata *data, const unit * u)
|
|||
if (++p < MAXPERSISTENT) {
|
||||
writeorder(data, ord, u->faction->locale);
|
||||
} else {
|
||||
log_error("%s had %d or more persistent orders\n", unitname(u), MAXPERSISTENT);
|
||||
log_warning("%s had %d or more persistent orders\n", unitname(u), MAXPERSISTENT);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue