Imperator Tibia
Banned User
- Joined
- Nov 2, 2022
- Messages
- 24
- Reaction score
- 31
Hello guys how you doing!
I'm trying to do loot channel like here Loot Channel on tfs 1.5 7.72 by nekiro downgrade but having issue with sending message from server to client
Everytime i kill monster the sprite get bugged :/
I know there a small differences in const.h in Talktypes
772 -
1098 tfs 1.4.2 =
Tried to adapt the talktypes from 1098 but in result i couldnt attack the monsters and didnt get any messages, no errors in compilator XD
Could someone give me a hint because i'm lost here
I'm trying to do loot channel like here Loot Channel on tfs 1.5 7.72 by nekiro downgrade but having issue with sending message from server to client
Lua:
ERROR: ProtocolGame parse message exception (672 bytes, 15 unread, last opcode is 0xaa (170), prev opcode is 0xb4 (180)): unknown message mode 0
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 772)
I know there a small differences in const.h in Talktypes
772 -
C++:
enum SpeakClasses : uint8_t {
TALKTYPE_SAY = 1,
TALKTYPE_WHISPER = 2,
TALKTYPE_YELL = 3,
TALKTYPE_PRIVATE = 4,
TALKTYPE_CHANNEL_Y = 5,
TALKTYPE_RVR_CHANNEL = 6,
TALKTYPE_RVR_ANSWER = 7,
TALKTYPE_RVR_CONTINUE = 8,
TALKTYPE_BROADCAST = 9,
TALKTYPE_CHANNEL_R1 = 10, //red - #c text
TALKTYPE_PRIVATE_RED = 11, //@name@text
TALKTYPE_CHANNEL_O = 12, //@name@text
TALKTYPE_CHANNEL_R2 = 14, //#d
TALKTYPE_MONSTER_SAY = 17,
TALKTYPE_MONSTER_YELL = 17,
};
1098 tfs 1.4.2 =
C++:
enum SpeakClasses : uint8_t {
TALKTYPE_SAY = 1,
TALKTYPE_WHISPER = 2,
TALKTYPE_YELL = 3,
TALKTYPE_PRIVATE_FROM = 4,
TALKTYPE_PRIVATE_TO = 5,
TALKTYPE_CHANNEL_Y = 7,
TALKTYPE_CHANNEL_O = 8,
TALKTYPE_PRIVATE_NP = 10,
TALKTYPE_PRIVATE_PN = 12,
TALKTYPE_BROADCAST = 13,
TALKTYPE_CHANNEL_R1 = 14, //red - #c text
TALKTYPE_PRIVATE_RED_FROM = 15, //@name@text
TALKTYPE_PRIVATE_RED_TO = 16, //@name@text
TALKTYPE_MONSTER_SAY = 36,
TALKTYPE_MONSTER_YELL = 37,
};
Tried to adapt the talktypes from 1098 but in result i couldnt attack the monsters and didnt get any messages, no errors in compilator XD
Could someone give me a hint because i'm lost here