hello,
i need edit my source - protocolgame.cpp TFS 0.4 last distro (elf suggested it should be here)
if player has some storage (e.g 10000) he cant change outfit colors
elf suggested add this:
its my protocolgame:
pastebin - collaborative debugging tool
errors during the compilation:
pastebin - collaborative debugging tool
i am a noob with c++ so im looking for help
// ELF nie obrazaj sie ! sorry misiek :*
i need edit my source - protocolgame.cpp TFS 0.4 last distro (elf suggested it should be here)
if player has some storage (e.g 10000) he cant change outfit colors
elf suggested add this:
Code:
std::string tmp;
player->getStorage(10000, tmp);
if(g_config.getBool(ConfigManager::ALLOW_CHANGECOLORS) && tmp != "1" && tmp != "2")
{
newOutfit.lookHead = msg.get<char>();
newOutfit.lookBody = msg.get<char>();
newOutfit.lookLegs = msg.get<char>();
newOutfit.lookFeet = msg.get<char>();
}
its my protocolgame:
pastebin - collaborative debugging tool
errors during the compilation:
pastebin - collaborative debugging tool
i am a noob with c++ so im looking for help
// ELF nie obrazaj sie ! sorry misiek :*