- Joined
- Jan 13, 2010
- Messages
- 332
- Reaction score
- 232
Hello guys !
I decided to share one of my small projects with you.
This is application written on C# that parses Mu Online packets to defined structs.
How to use it :
Add structs in Structs.cs (keep the existing syntax structure)
Click on the Load Structs button.
Add a packet hex in the field.
Click on the Parse Packet button.
The application will compile Structs.cs to Structs.dll and use those structs to parse your packets.
How to convert C++ structs to C# :
C++
C#
Everything must be public !
Future point of development can be to create packet sniffer from this app and auto parse the live packets with the structures
You can capture packets with WpePro or any other packet sniffer.
If someone is interested of the source code i can share it on low price =] . Just contact me on skype : vankyy26
Test Packet :
Runs on Windows XP Serice Pack 3 / Windows Server 2003 and above.
.NET Framework 4 Client Profile is required : .NET Client Profile 4
I decided to share one of my small projects with you.
This is application written on C# that parses Mu Online packets to defined structs.
How to use it :
Add structs in Structs.cs (keep the existing syntax structure)
Click on the Load Structs button.
Add a packet hex in the field.
Click on the Parse Packet button.
The application will compile Structs.cs to Structs.dll and use those structs to parse your packets.
How to convert C++ structs to C# :
C++
Code:
struct TEST_STRUCT
{
BYTE Size;
char Username[10];
byte SomeBytes[5];
};
C#
Everything must be public !
Code:
public struct TEST_STRUCT
{
public byte Size;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 10)]
public string Username;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 5)]
public byte[] SomeBytes;
};
Future point of development can be to create packet sniffer from this app and auto parse the live packets with the structures
You can capture packets with WpePro or any other packet sniffer.
If someone is interested of the source code i can share it on low price =] . Just contact me on skype : vankyy26
Test Packet :
Code:
C1 08 27 FF 1F A2 2D 32 C1 04 0F 23
Runs on Windows XP Serice Pack 3 / Windows Server 2003 and above.
.NET Framework 4 Client Profile is required : .NET Client Profile 4