Log in

View Full Version : [VB.Net] SendPacket without packet.dll (8.71)



Gwen
04-06-2011, 14:46
Howdie!

This is basically some C# packet sending class I found on TP tweeked, simplified and translated to VB.Net. All you have to worry are these two parameters:


SendPacket(Proc As Process, Packet() As Byte)

Proc = Your Tibia process. Using this object the class will be able to configure the packet, setting process ID, tibia version, socket pointer, xtea encryption, etc to correct values. Only versions 7.6 and 8.71 defined at the moment, but you'll easily be able to add more. You'll find the necessary stuff in old packet.dll sources.

The Proc parameter you will get like this:

Function GetProc() As Process
For Each p As Process In Process.GetProcessesByName("tibia")
Return p
Next
Return Nothing
End Function

Packet = The array of bytes to send to the server. You'll find the packet structures here: Packet Structures (http://tpforums.org/forum/thread-6001.html)

Attached source files, didn't see binaries necessary.

pater
04-06-2011, 18:01
please do not download this source. it includes virus. He tried this trick on tpforums.org as well and got banned.

http://tpforums.org/forum/thread-8522.html