Quote:
Originally Posted by sonofskeletor
Has anyone got a guide, to convert the packets from Korvacs Wiki, to actual packet structs, but not fangs, far to confusing. the sort of packet i would like to build is the clan packet, im guessing it would be simular to the guild packet.
|
I think you need to review what packets are first...
Clan has no reason (and afaik is nothing similar) to guild packet. In order to structure a packet you have to either log examples of it, use trial and error (without SOME sort of a starting point this is not recommended) or reverse engineer portions of the client.
As for figuring out how to take known packet structures (korvs wiki) into a usable form... that's up to you. There's tons of ways you could do it. Everyone has their own preference for how to write packets but I went over a few in my proxy paradise tutorial (not that great but w/e).
All packets are is a bunch of Bytes (if you want to be technical, it's a bunch of binary octets but w/e) which are sent between two machines. Because they are often received as a giant chunk, the receiving machine needs to have an idea of how to handle these packets. That's what packet headers are for (in the case of conquer packets I'm referring to the Packet Length and Packet Type ushorts that start all of the packets).
Now... you need a procedural way to take known information and write it into a structured binary form. That's all a packet builder does.
You could do this using methods, implicit operators... anything you want really.
Never bothered to link that video in the thread but w/e.