• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClient Map draw problem

Itutorial

Legendary OT User
Joined
Dec 23, 2014
Messages
2,330
Solutions
68
Reaction score
1,007
Code:
ERROR: ProtocolGame parse message exception (2979 bytes, 2059 unread, last opcode is 0x64 (100), prev opcode is 0x0f (15)): invalid thing id (0)
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 1098)

show.png

OTCv8 and I added these changes


This is the packet it is saying is a problem

C++:
void ProtocolGame::sendMapDescription(const Position& pos)
{
    NetworkMessage msg;
    msg.addByte(0x64);
    msg.addPosition(player->getPosition());
    GetMapDescription(pos.x - Map::maxClientViewportX, pos.y - Map::maxClientViewportY, pos.z, (Map::maxClientViewportX * 2) + 2, (Map::maxClientViewportY * 2) + 2, msg);
    writeToOutputBuffer(msg);
}
 
Last edited:
Back
Top