Created
March 8, 2017 20:13
-
-
Save Shilo/a8f12e547afcfe2439942f5b68ffdfee to your computer and use it in GitHub Desktop.
EOServ log NPCs to errors.log, inside method "void ENF::Read(const std::string& filename)" at approximately line 213.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static bool logHeader = false; | |
if (!logHeader) { | |
Console::Err("ID,Name,Type,Child,Parent,\ | |
HP,EXP,Min Dmg,Max Dmg,Acc,Eva,Def,Vendor ID"); | |
logHeader = true; | |
} | |
if (newdata.name != "eof") { | |
Console::Err("%i,%s,%i,%i,%i,\ | |
%i,%i,%i,%i,%i,%i,%i,%i", | |
newdata.id, newdata.name.c_str(), newdata.type, newdata.child, newdata.boss, | |
newdata.hp, newdata.exp, newdata.mindam, newdata.maxdam, newdata.accuracy, newdata.evade, newdata.armor, newdata.vendor_id); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment