A simple function hooker which will print out all the on going packets of PRO Client. And only works with 32 Bit version of PRO. You'll need to find the function offsets by yourself of the 64 Bit version.
Visual Studio 2017 is enough to build this. (Make sure you got all the SDKs)
So, you just need to find the offset where the function resides in the GameAssembly.dLL binary. You'll need Cheate Engine (this is the easiest tool).
- Open CE and attach to PRO Client and open Mono -> Dissect mono(Ctrl+Alt+M).
- Then find
Assembly-CSharp.dll
->DSSock
->methods
->ProcessCommands
andAssembly-CSharp.dll
->DSSock
->methods
->SendPacket
- Then right click -> Jit, a Memory Viewer window will open and get the offset.
You may see something like this:
Ignore all the
DSSock.ProcessCommands
things and noticeGameAssembly.dll + 1480A3
for this case. And the offset is 0x1480A0 for ProcessCommands function in my case. How can you know for your case? It's simple just substract all the bytes which are lebelled withDSSock.ProcessCommands
, for my case it's 3 bytes: So, 0x1480A3 - 3 = 0x1480A0, and don't forget to substract the bytes from the first encounteredGameAssembly.dll + offset
offset after ignoring all the bytes lebelled withDSSock.ProcessCommands
. Follow the same forSendPacket
function.