• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ protocolgame

grzechopl

New Member
Joined
Jun 23, 2009
Messages
200
Reaction score
1
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:

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 :* :D
 
Back
Top