- Joined
- Feb 22, 2008
- Messages
- 2,404
- Reaction score
- 723
I recently just finished the sniffer for PT2 so we can try to make an emulator for it. I still dont have the encryption/decryption methods, so I hope someone will help me here if interested.
What do I need to help?
1 - Download the game: Priston Tale 2 - Free MMORPG - Download (Both client full and the patch)
2 - Then create an account
3 - Download OllyDbg (ollydbg.de)
4 - Download the unpacked PT2 "game" executable with NoXtrap from here: PT2
(the game is already edited to load my dll to sniff the packets.)
It will only run with olly, so you need to run it from there. I don't know why but it gives a lot of exceptions that you should add to the ignore exceptions list of Olly so it can run just fine.
Also, you need to set the command line arguments to: -CONNECT="70.28.13.108:7300" -LE , there is also a -SEED parameter, but if omitted I still can login fine, so IDK if it is really necessary.
My dll can be downloaded here: PT2Hook
Also, the original unpacked client can be found in this thread: https://forum.ragezone.com/f860/unpacking-themida-v2-1086426/ (many thanks : )
It will create a folder called "PT2_Packets" inside your C:\ directory, so be sure to run it with enough privileges. If you think my dll is a virus, you can compile it yourself. (in the spoiler tags you can find the source, im sorry but Im not used to GitHub : )
Here is a screenshot of it doing its job:
So thats it, I just needed some help to understand the packet structures and where are the encryption/decryption methods in this game. If anyone is interested, please post here! Let's share the work ^_^
What do I need to help?
1 - Download the game: Priston Tale 2 - Free MMORPG - Download (Both client full and the patch)
2 - Then create an account
3 - Download OllyDbg (ollydbg.de)
4 - Download the unpacked PT2 "game" executable with NoXtrap from here: PT2
(the game is already edited to load my dll to sniff the packets.)
It will only run with olly, so you need to run it from there. I don't know why but it gives a lot of exceptions that you should add to the ignore exceptions list of Olly so it can run just fine.
Also, you need to set the command line arguments to: -CONNECT="70.28.13.108:7300" -LE , there is also a -SEED parameter, but if omitted I still can login fine, so IDK if it is really necessary.
My dll can be downloaded here: PT2Hook
Also, the original unpacked client can be found in this thread: https://forum.ragezone.com/f860/unpacking-themida-v2-1086426/ (many thanks : )
It will create a folder called "PT2_Packets" inside your C:\ directory, so be sure to run it with enough privileges. If you think my dll is a virus, you can compile it yourself. (in the spoiler tags you can find the source, im sorry but Im not used to GitHub : )
DllMain.cpp
Logging.cpp
Stdafx.cpp
Stdafx.h
Logging.h
Logging.cpp
Stdafx.cpp
there is nothing in this file, only an #include for the stdafx.h
Stdafx.h
Logging.h
Here is a screenshot of it doing its job:
So thats it, I just needed some help to understand the packet structures and where are the encryption/decryption methods in this game. If anyone is interested, please post here! Let's share the work ^_^