Compiling [TFS 1.2] Market/Modal issues:

manuloku

New Member
Joined
Nov 12, 2008
Messages
31
Reaction score
4
Hello, I'm facing some obstacles trying to find out what is happening with my Market/Modal system when using OTClient (Mehah's OTClient) BTW I don't really know if it is Server Side or Client Side... The Error is:

Code:
ERROR: ProtocolGame parse message exception (1236 bytes unread, last opcode is 0, prev opcode is 150): unhandled opcode 0
ERROR: ProtocolGame parse message exception (1236 bytes unread, last opcode is 0, prev opcode is 150): unhandled opcode 0
ERROR: ProtocolGame parse message exception (2 bytes unread, last opcode is 0, prev opcode is -1): unhandled opcode 0

First of all, I think my problems come from here:

Lua:
GameServerEditText = 150,
ClientEditText = 137,
--
ClientAnswerModalDialog = 249,
GameServerShowModalDialog = 250,

How-to-reproduce the error:

Market
: Clicking in Market Icon inside Depot (The market itself opens, but error appears, and buttons seems out of their fit spaces, since it dont click at buttons sometimes)

ModalWindow: Using this system: [TFS 1.2] Modal Window Helper Lib (https://otland.net/threads/tfs-1-2-modal-window-helper-lib.238773/)
& this script from 2Recs: SCRIPT BOOK SYSTEM HELP ! (https://otland.net/threads/script-book-system-help.253496/)

I know that the script above is not well-writen, but it works for sure, since i used it in another project..

Back to the problem, the ModalWindow opens normally, but when i click 'open' to show a new window with Text from Book, it gives the SAME error as Market...

My Conclusion(can be wrong, of course): Probably this issue itself is related to ModalWindow or with something related with Protocol.

Also my const.h contains standard size:
C++:
static constexpr int32_t NETWORKMESSAGE_MAXSIZE = 24590

Thanks a lot for trying to help... all help is welcome!

Also I would like to tag @Xikini since you helped me alot with some scripts in past... maybe you can help me here too... Thanks!

EDIT: Maybe this is related?
C++:
        enableFeature(Otc::GameMessageSizeCheck);
 
Last edited:
Top