Any chance you could look at changing these into C functions? As long as there is some sort of mob ID that can be used to look things up from the server it should be pretty doable. Also, a lot of those itoa() conversions, etc, could be done away with. Would save lots of overhead.
BTW, there is a typo in the below code: ExportVar(packagename.c_str(), "taget[hpp]", itoa(target->GetHPRatio()));
|