DanielViana
New Member
- Joined
- Sep 20, 2009
- Messages
- 1
- Reaction score
- 0
Hello, I do not know if I am in the correct area more we go there, and first everything it would like already asking for excuses, therefore my not and very good English.
Good then we go there, this tutorial one goes to teach as to arrange the error of the player it does not lose the target when it attacks.
1° Go in its sources
2° Open the archive, protocolgame.cpp
3° Locates this code:
4° Change for this code:
5° Close and save, and ready. Now all will be losing the target after something to leave the screen or you, to go up or to go down stairs.
Good luck to that they will go to try and for if entereçar in this topic. E is mine here hugs for all!
Good then we go there, this tutorial one goes to teach as to arrange the error of the player it does not lose the target when it attacks.
1° Go in its sources
2° Open the archive, protocolgame.cpp
3° Locates this code:
void ProtocolGame::sendCancelTarget()
{
NetworkMessage_ptr msg = getOutputBuffer();
if(msg)
{
4° Change for this code:
void ProtocolGame::sendCancelTarget()
{
NetworkMessage_ptr msg = getOutputBuffer();
if(msg)
{
TRACK_MESSAGE(msg);
msg->AddByte(0xA3);
msg->AddU32(0);
}
}
TRACK_MESSAGE(msg);
msg->AddByte(0xA3);
}
}
5° Close and save, and ready. Now all will be losing the target after something to leave the screen or you, to go up or to go down stairs.
Good luck to that they will go to try and for if entereçar in this topic. E is mine here hugs for all!