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

Windows Client debug, any help with that?

mRefaat

Marketing and Coding
Joined
Jan 18, 2014
Messages
959
Solutions
3
Reaction score
201
Location
Egypt
Hello,

My client get debug in certain places.
this is the debug log, any help?


Code:
----- 2/10/2019 9:20:30 - NAME (IP) -----
Comment:
Graphic Engine: DirectX9 (2)
Operating System: ###############
Processor: ###############
Video Card: ###############
Last Packet Types: 109 133 132 133 107 102 109 109 102 109
Last Packet: 109 252 002 104 000 007 001 251 002 104 000 007 000 000 000 000
Player Position: [755,107,7]
Player Name: NAME (NAME)
Player Action: 049 056 053 046 049 055 050 046 053 054 046 054 055 058 055 049 055 050
Player.cpp 361: exception occurred, reason:
Network.cpp 946: exception occurred (ErrorCode = 0), reason:
Control.cpp 1331: exception occurred (Type = 109) (MainWindow = 41923216), reason:
Communication.cpp 2151: exception occurred, reason:
Communication.cpp 2142: MoveCreature has been received for a coordinate where there is no creature anymore [bug0000017], reason:
sx: 17 sy: 3 sz: 0
Position: 1
zx: 16 zy: 3 zz: 0
dx: -1 dy: 0 dz: 0
abs_sx: 764 abs_sy: 104 abs_sz: 7
abs_zx: 763 abs_zy: 104 abs_zz: 7
Start Cylinder (1):  (231,0)
Start Cylinder (2):  (231,0)(-)(-)(-)(-)(-)(-)(-)(-)(-)
Destination Cylinder (1):  (231,0)
Destination Cylinder (2):  (231,0)(-)(-)(-)(-)(-)(-)(-)(-)(-)
Wed Oct 02 09:19:47 2019
Debug Assertion 8.60 Communication.cpp 2142
Solved: Problem was with map.h
 
Last edited:
Hello,

My client get debug in certain places.
this is the debug log, any help?


Code:
----- 2/10/2019 9:20:30 - NAME (IP) -----
Comment:
Graphic Engine: DirectX9 (2)
Operating System: ###############
Processor: ###############
Video Card: ###############
Last Packet Types: 109 133 132 133 107 102 109 109 102 109
Last Packet: 109 252 002 104 000 007 001 251 002 104 000 007 000 000 000 000
Player Position: [755,107,7]
Player Name: NAME (NAME)
Player Action: 049 056 053 046 049 055 050 046 053 054 046 054 055 058 055 049 055 050
Player.cpp 361: exception occurred, reason:
Network.cpp 946: exception occurred (ErrorCode = 0), reason:
Control.cpp 1331: exception occurred (Type = 109) (MainWindow = 41923216), reason:
Communication.cpp 2151: exception occurred, reason:
Communication.cpp 2142: MoveCreature has been received for a coordinate where there is no creature anymore [bug0000017], reason:
sx: 17 sy: 3 sz: 0
Position: 1
zx: 16 zy: 3 zz: 0
dx: -1 dy: 0 dz: 0
abs_sx: 764 abs_sy: 104 abs_sz: 7
abs_zx: 763 abs_zy: 104 abs_zz: 7
Start Cylinder (1):  (231,0)
Start Cylinder (2):  (231,0)(-)(-)(-)(-)(-)(-)(-)(-)(-)
Destination Cylinder (1):  (231,0)
Destination Cylinder (2):  (231,0)(-)(-)(-)(-)(-)(-)(-)(-)(-)
Wed Oct 02 09:19:47 2019
Debug Assertion 8.60 Communication.cpp 2142
Solved: Problem was with map.h

What exactly did you change in "map.h"?
I am getting the same debug, on OTHire

It happens randomly.

Code:
Debug Assertion 7.72 Communication.cpp 1879
Tue Mar 24 18:16:44 2020
Windows Version: 6.2 build 9200 on 2
Graphic Engine: 2
Last Packet Types: 109 104 109 131 180 180 160 162 141 162
Last Packet: 101 000 109 078 126 141 125 007 002 077 126 141 125 007 104 102
Player Position: [32334,32141,7]
Player.cpp 383: exception occurred, reason:
Network.cpp 885: exception occurred (ErrorCode = 0), reason:
Control.cpp 1280: exception occurred (Type = 109), reason:
Communication.cpp 1895: exception occurred, reason:
Communication.cpp 1879: MoveCreature has been received for a coordinate where there is no creature anymore [bug0000017] (612, 0), reason:
 sx: 8 sy: 6 sz: 0
 Position: 2
 zx: 7 zy: 6 zz: 0
 dx: -1 dy: 0 dz: 0
 abs_sx: 32334 abs_sy: 32141 abs_sz: 7
 abs_zx: 32333 abs_zy: 32141 abs_zz: 7
 Start Cylinder (1):  (102,0) (612,0) (99,268455446)
 Start Cylinder (2):  (102,0) (99,268455446) (612,0)(-)(-)(-)(-)(-)(-)(-)
 Destination Cylinder (1):  (102,0)
 Destination Cylinder (2):  (102,0)(-)(-)(-)(-)(-)(-)(-)(-)(-)
 
Seems like a engine doesen't load tiles which are done in map editos and creature can walk over them which cause debug
 
Seems like a engine doesen't load tiles which are done in map editos and creature can walk over them which cause debug

What do you mean? I can find the tile item id in my items.otb and items.xml
This always happens on the mountain stairs, and sometimes other tiles as well.
Any "ramp" (mountain) will debug. Even the "small step" (before switching Z-position).
 
What exactly did you change in "map.h"?
I am getting the same debug, on OTHire

It happens randomly.
I don't know how he actually fixed his debug but it isn't the same debug as your, his server was sending creature move packet from a tile where the creature wasn't standing in your case you have Tibia.dat/items.otb desynchronization.
Start Cylinder (2): (102,0) (99,268455446) (612,0)(-)(-)(-)(-)(-)(-)(-)
As you can see here item 612 on your client-side is considered as down-item while it is border so it should be top-item that's why server sends creature move packet with stackpos 2 while your client have saved creature on stackpos 1.
I don't get it why people often use broken files and asking for help blaming the engine when it's their fault for using them not the engine they use.
Fix your files and that's all you need to do.
 
I fixed it now, the problem was neither in items.otb or Tibia.dat, it was 3 items in items.xml that had the same id. Works perfectly now.
 
What exactly did you change in "map.h"?
I am getting the same debug, on OTHire

It happens randomly.

Code:
Debug Assertion 7.72 Communication.cpp 1879
Tue Mar 24 18:16:44 2020
Windows Version: 6.2 build 9200 on 2
Graphic Engine: 2
Last Packet Types: 109 104 109 131 180 180 160 162 141 162
Last Packet: 101 000 109 078 126 141 125 007 002 077 126 141 125 007 104 102
Player Position: [32334,32141,7]
Player.cpp 383: exception occurred, reason:
Network.cpp 885: exception occurred (ErrorCode = 0), reason:
Control.cpp 1280: exception occurred (Type = 109), reason:
Communication.cpp 1895: exception occurred, reason:
Communication.cpp 1879: MoveCreature has been received for a coordinate where there is no creature anymore [bug0000017] (612, 0), reason:
sx: 8 sy: 6 sz: 0
Position: 2
zx: 7 zy: 6 zz: 0
dx: -1 dy: 0 dz: 0
abs_sx: 32334 abs_sy: 32141 abs_sz: 7
abs_zx: 32333 abs_zy: 32141 abs_zz: 7
Start Cylinder (1):  (102,0) (612,0) (99,268455446)
Start Cylinder (2):  (102,0) (99,268455446) (612,0)(-)(-)(-)(-)(-)(-)(-)
Destination Cylinder (1):  (102,0)
Destination Cylinder (2):  (102,0)(-)(-)(-)(-)(-)(-)(-)(-)(-)
Hello
Sorry for being late, and good that you fixed it.
This what i changed into map.h

C++:
        static const int32_t maxViewportX = 9; //min value: maxClientViewportX + 1
        static const int32_t maxViewportY = 9; //min value: maxClientViewportY + 1
        static const int32_t maxClientViewportX = 8;
        static const int32_t maxClientViewportY = 6;
 
Back
Top