Jump to content

Recommended Posts

Posted (edited)

Hello,

How to send packet back when get it?

int __fastcall new_AddNetworkQueue(unsigned int This, unsigned int EDX, TNetworkPacket *NetworkPacket)
{
	if (NetworkPacket->subid == 0xFFFF)
	{
		switch (NetworkPacket->id)
		{
			case 0x2E:
				decodeKey(NetworkPacket->data + 1);
				break;
				case 0x74:
                                // reply ?
				Logger("Get from server.");
				break;
			default:
				Logger("Get from server other");
				break;
		}
	}

	return true_AddNetworkQueue(This, EDX, NetworkPacket);
}

Packet i get from server, now i want reply to server, how to do it?

i want reply to 0x74 packet.

If need more code tell me :)

Thanks for help.

Edited by wongerlt
Guest
This topic is now closed to further replies.


×
×
  • Create New...