otclientv8 icon indicating copy to clipboard operation
otclientv8 copied to clipboard

7.4 protocol cannot parse creature talk/speak

Open V0RT4C opened this issue 2 years ago • 0 comments

The problem is in OTClient source file protocolcodes.cpp. These 2 functions:

translateMessageModeFromServer buildMessageModesMap

In function buildMessageModesMap there is no messageModeMap being built if the client protocol is < 760. And in translateMessageModeFromServer it will always return OTC::MessageInvalid if the messagemode is not found in the MessageModeMap.

I tried changing line 189 in OTClient source:

} else if(version >= 760) {

to this:

} else if(version >= 740) {

and it works using 760 message modes at least.

Please update this so 7.4 creature speak/talk can work in OTClient v8

(Same is true for text messages by the way)

V0RT4C avatar Jul 20 '22 21:07 V0RT4C