SetMQDetectionFlag converted to QueryDatabase
GetRaceSkill converted to QueryDatabase
GetSkillCap converted to QueryDatabase
Errbuf fix and GetCharacterInfo converted to QueryDatabase