Skip to content

Instantly share code, notes, and snippets.

@Shilo
Last active March 8, 2017 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shilo/fc1c5949c406a138947d1fd66f9c9f87 to your computer and use it in GitHub Desktop.
Save Shilo/fc1c5949c406a138947d1fd66f9c9f87 to your computer and use it in GitHub Desktop.
EOServ log classes to errors.log, inside method "void ECF::Read(const std::string& filename)" at approximately line 397.
static bool logHeader = false;
if (!logHeader) {
Console::Err("ID,Name,Sub-Class,\
Stat Table,Base Str,Base Int,Base Wis,Base Agi,Base Con,Base Cha");
logHeader = true;
}
if (newdata.name != "eof") {
Console::Err("%i,%s,%i,\
%i,%i,%i,%i,%i,%i,%i",
newdata.id, newdata.name.c_str(), newdata.base,
newdata.type, newdata.str, newdata.intl, newdata.wis, newdata.agi, newdata.con, newdata.cha);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment