• 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!

Compiling Debug when i kill player from client 8.54 another player on client 8.60

Gothric

New Member
Joined
Feb 6, 2010
Messages
264
Reaction score
1
I compile tfs 0.3.6 to clients 8.54-8.60 with this tutorial

http://otland.net/f481/how-make-your-server-client-8-61-tutorial-90537/


when on 8.54 i kill mc on 8.60 then its okey but when on 8.60 i kill mc on 8.54 then i get debugged


so i changed some line of script like in this tutorial

this
PHP:
	void ProtocolGame::parseAttack(NetworkMessage& msg)
{
	uint32_t creatureId = msg.GetU32();
	addGameTask(&Game::playerSetAttackedCreature, player->getID(), creatureId);
}

to this
PHP:
	void ProtocolGame::parseAttack(NetworkMessage& msg)
{
	uint32_t creatureId = msg.GetU32();
	msg.GetU32();
	msg.GetU32();
	addGameTask(&Game::playerSetAttackedCreature, player->getID(), creatureId);
}

and i thought it was okey :D when i kill on 8.60 mc on 8.54 it was okey ^^ but then when i kill 8.54 on mc 8.60 there was debug :S


so how can i fix it :D: srry for my english but i think u will undertand
 
Back
Top