Originally Posted by
Ash Katchup
Check this Thread:
http://tpforums.org/forum/thread-7351.html?highlight=block+packet
Originally Posted by
Ian
2. HookProxy cannot block packets, so this should be a con
Which kind are you using?
I'm using Proxy.
Code:
private void Form1_Load(object sender, EventArgs e)
{
cliente = ClientChooser.ShowBox();
cliente.Login.SetOT("localhost", 7171);
cliente.IO.StartProxy(true);
richTextBox1.AppendText(cliente.Version);
cliente.IO.Proxy.AllowIncomingModification = true;
cliente.IO.Proxy.SplitPacketFromServer += (ProxyBase.SplitPacket)PacketListener;
cliente.IO.Proxy.SplitPacketFromClient += delegate(byte type, byte[] data)
{
System.Windows.Forms.RichTextBox.CheckForIllegalCrossThreadCalls = false;
richTextBox1.AppendText("\nClient: " + data.ToHexString());
};
}
public void PacketListener(byte type, byte[] data)
{
System.Windows.Forms.RichTextBox.CheckForIllegalCrossThreadCalls = false;
richTextBox1.AppendText("\nServer: " + data.ToHexString());
if (type == 0xEE)
{
IncomingPacket p = new IncomingPacket(cliente);
p.Destination = Tibia.Constants.PacketDestination.None;
return;
}
}
I just want to block the packet 0xEE, so it'll not reach the client and crash him.
Originally Posted by
Client Crash
Control.cpp 1367: unknow packet type during game (Type=238)
Is that possible?