otclient icon indicating copy to clipboard operation
otclient copied to clipboard

[9.1] Trade to NPC not working

Open island212 opened this issue 5 years ago • 2 comments

Steps to reproduce

Say hi to a NPC

Expected behaviour

NPC chat window open in the chat box and you can write trade for a window to popup to buy and sell to the NPC.

Actual behaviour

Nothing happen and I get this error in my console everytime I say hi to a NPC

ERROR: Unable to send extended opcode 1, extended opcodes are not enabled
ERROR: ProtocolGame parse message exception (66 bytes unread, last opcode is 170, prev opcode is 170): InputMessage eof reached

Environment

Client 0.6.6 on 9.1 server Compile myself using Visual Studio 2019 Community Windows 10

The visual studio project wasn't compiling so I used https://github.com/edubart/otclient/issues/1073 to fix it

island212 avatar Jun 27 '20 01:06 island212

I found this issue but the proposed fix has already been merged #743

island212 avatar Jun 29 '20 22:06 island212

Correct fix should be something similar to this https://github.com/edubart/otclient/pull/1119, the correct messageModsMap need to be checked for protocol 9.1.

peonso avatar Jan 04 '21 04:01 peonso