Thread: Packet editing
View Single Post
Neobeo

JCF Member

Joined: Sep 2002

Posts: 409

Neobeo is an asset to this forumNeobeo is an asset to this forum

Mar 9, 2008, 10:48 AM
Neobeo is offline
Reply With Quote
Packet editing is not a very simple concept at all. The way WPE works is to inject a DLL into the host application, which hooks onto the winsock functions: recv() recvfrom() send() sendto() etc. What it does is reroute these functions into some function within the DLL that modifies the packet. This is probably also your best shot at creating anything close to a packet editor.

Although like Cpp said, for JJ2 packet editing is very unnecessary since every function is provided very nicely to you already. Even if you really need to edit the packets for whatever reason, there are already nicely laid out functions in JJ2 assembly which you can hook directly, rather than the winsock functions.
__________________
<TABLE border=1><TR><TD>Facts:
Jazz Sprite Dynamite (JSD)
Tileset Extractor
Neobeo's Firetruck

</TD><TD>Myths:
Jazz Creation Station Plus (JCS+) - 10%
Coming soon - a dedicated server! - 25%
Jazz Sprite Dynamite v2 (JSDv2) - 2%
Another generic single-player level - 0%
</TD></TR></TABLE>