• 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!

Any tips for debugging the Tibia Client?

Stellow

C++/C#/PHP/LUA
Joined
Oct 23, 2008
Messages
1,106
Reaction score
214
Location
Germany
GitHub
eubrunomiguel
My client currently crashes due to an exception. But since I do not have the client sources, it is hard to understand why just by looking at the server sources.

Any tips on how to track what in the source is throwing?

So far happens when I am exploring the map. Specially when the map is unknown.


+---------------------------------------------------------------
Debug Assertion 7.72 Communication.cpp 1401
Wed Apr 08 10:47:15 2020
Windows Version: 6.1 build 7601 on 2 with Service Pack 1
Graphic Engine: 2
Last Packet Types: 102 109 101 109 101 109 160 160 140 103
Last Packet: 105 000 109 104 126 215 125 007 001 105 126 215 125 007 102 102
Player Position: [32361,32215,7]
Player.cpp 383: exception occurred, reason:
Network.cpp 885: exception occurred (ErrorCode = 0), reason:
Control.cpp 1280: exception occurred (Type = 102), reason:
Communication.cpp 1492: exception occurred, reason:
Communication.cpp 1437: exception occurred (xmin = 17) (ymin = 0), reason:
Communication.cpp 1416: exception occurred (Type = 0) (OldType = 98), reason:
Communication.cpp 1401: client recieved field with type 0 (17,5,0)
----------------------------------------------------------------
 
What is happening when the client debugs? What actions are being triggered? The last line says you are sending a field with type 0, the client probably wants something else, doesn't that ring any bell?
 
Back
Top