yupi
yupi copied to clipboard
Handlers/Composers structure Templating (ProtoBuf)
This issue is open to debate and talk about a templating system for packets structures.
This feature will allow emulator to support easily multiple releases (and structures changes).
List of ideas :
- [ ] Using homemade templating (RELEASE63-XXXXXXXX-XXXX/Handlers/*Event.model)
- [ ] Using ProtoBuf (support Habbo binary protocol natively)
Will be only for Incoming or Outgoing Packets? If for those two, need be *Composer
, *Event
Incoming and Outgoing, Incoming to automaticly parsing and checking all packet in one step and Outgoing to automaticly build packet with all needed data.
Write in the Issue Description information about Protobuf, please.
That's important if we move to new crypto @BurakDev @TheDoct0r11 @ZakAmirz @Nenji
ProtoBuf is a cool tool, but sadly useless for our requirements: https://developers.google.com/protocol-buffers/docs/encoding
O don't think is useless. @BurakDev what you think?
@sant0ro It just won't work. Look at the link I've posted. The encoding isn't compatible with the client.
We just can't encode in our way?
From what I've read I don't think so. The library is designed to detect different message versions, but it does this per message, not per client.