This is a great stuff ty xsh :)
I just have a question :
I am trying to send an attack packet but I a missing some parameters :/
My piece of code is this one:
Code:
[I] FP Packet;
BYTE packet_str[256];
int packet_size = 0;
Packet.Append((DWORD)0xFFFFFFFF); // Needed
Packet.Append(PACKETTYPE_MELEE_ATTACK); // I wanna attack :)
[COLOR="Red"]// what params to put here? :S[/COLOR]
Packet.WriteHeader(dwSessionID); // Generate the headers, to bypass CRC checks
Packet.GetStr(packet_str); // Now, i want that into a char array that can be sent via send() command
packet_size = Packet.GetSize(); // Oh, i need the size too ^^
// send attack packet
send(s, (const char *)packet_str, packet_size, 0);[/I]
When I start the ommand (I write "attack" in the chat window), I got a message from the server : "Please wait before attacking again..." but the mob is not attacked!
How can I figure out all the params to add when I create PACKETTYPE_MELEE_ATTACK? (or any other packet btw)
Ty fr your replay :)