Created
March 8, 2017 15:48
-
-
Save Shilo/6b5879c27963566703e4baf27a510d8f to your computer and use it in GitHub Desktop.
EOServ log items to errors.log, inside method "void EIF::Read(const std::string& filename)" at approximately line 115.
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,Sub-Type,Rarity,Weight,\ | |
HP,TP,Min Dmg,Max Dmg,Acc,Eva,Def,\ | |
Str,Int,Wis,Agi,Con,Cha,\ | |
Req Class,Req Level,Req Str,Req Int,Req Wis,Req Agi,Req Con,Res Cha,\ | |
Res Light,Res Dark,Res Earth,Res Air,Res Water,Res Fire"); | |
logHeader = true; | |
} | |
Console::Err("%i,%s,%i,%i,%i,%i,\ | |
%i,%i,%i,%i,%i,%i,%i,\ | |
%i,%i,%i,%i,%i,%i,\ | |
%i,%i,%i,%i,%i,%i,%i,%i,\ | |
%i,%i,%i,%i,%i,%i", | |
newdata.id, newdata.name.c_str(), newdata.type, newdata.subtype, newdata.special, newdata.weight, | |
newdata.hp, newdata.tp, newdata.mindam, newdata.maxdam, newdata.accuracy, newdata.evade, newdata.armor, | |
newdata.str, newdata.intl, newdata.wis, newdata.agi, newdata.con, newdata.cha, | |
newdata.classreq, newdata.levelreq, newdata.strreq, newdata.intreq, newdata.wisreq, newdata.agireq, newdata.conreq, newdata.chareq, | |
newdata.light, newdata.dark, newdata.earth, newdata.air, newdata.water, newdata.fire); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment