I don't really know how to word what I want to ask so please bear with me.
I'm making a program that will start up a game server written in Java and read the outputs and edit the packets so that I can modify this game. It will read outputs from the server just fine. Now I need to read and edit packets that are sent and received.
I'm looking at a whole list of packets that go from the client to the server and vice-versa. Like below,
Packet ID Purpose Field Description Field Type
------------------------------------------------------------------------------
0xFF Disconnect Packet ID Byte
Reason String
I want to intercept this packet with and change the "Reason" to..I don't know...Bacon.