Find Outgoing packet-id to Incoming packet
Hello guys,
I hope there are some good emulator developer outside, because I got a question about packet structures.
First of all: I know how to get the packet ids for each incoming and outgoing packets. And I know how to get the parameters for outgoing or incoming packets. So, I know the basics ;) But now my problem:
When I got an incoming packet in my emulator, how do I know which Outgoing-PacketID the swf needs back? So, which Outgoing packetid I have to send?
Is there any good solution? Or is this not easily possible?
I know the swf doesn't need a packet-id back everytime , but how does I know when and what packet :P
Thanks in advance for any help :)
Re: Find Outgoing packet-id to Incoming packet
It's not easy to tell. You have to packetlog on Habbo or search in the habbo_scripts for a piece of code which registers a few outgoing packets of a similar subject and start looking for an outgoing ID you haven't used yet.
Re: Find Outgoing packet-id to Incoming packet
Thanks for the answer. Yea, I see it's not really easy. But I found a more or less good way to find out which packet needs to be send. In the swf there is a method which adds a listener for every incoming packet, which the swf expect. If you're searching on the right place, you can find the correct method-call ;) But it's not easy though.