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

Programmer OTClient - Black Squares for viewer on Cast System

Extrodus

|| Blazera.net ||
Premium User
Joined
Dec 22, 2008
Messages
2,737
Solutions
7
Reaction score
541
Location
Canada
Original Thread: Cast and OTC (https://otland.net/threads/cast-and-otc.251554/post-2723901)

Sorry for the bump in an old topic; but after trying the suggested change from @Gesior.pl it still shows black squares.
Logging in on the default tibia client works fine, it is only on OTC that has issues.
Playing on the OTC client works fine, however the problem starts only when you want to watch a cast.

How it shows when watching a cast:
View attachment 75577
How it shows on the client of player casting:
View attachment 75578

OTC Error:
Code:
ERROR: ProtocolGame parse message exception (1959 bytes, 1257 unread, last opcode is 0x64 (100), prev opcode is 0x0a (10)): invalid thing id (0)
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 860)
ERROR: no thing at pos:32319 31935 7, stackpos:2
at:
    [C++]: ?getMappedThing@ProtocolGame@@QAE?AV?$shared_object_ptr@VThing@@@stdext@@ABV?$shared_object_ptr@VInputMessage@@@3@@Z
ERROR: no creature found to move
at:
    [C++]: ?parseCreatureMove@ProtocolGame@@AAEXABV?$shared_object_ptr@VInputMessage@@@stdext@@@Z
ERROR: no thing at pos:32319 31936 7, stackpos:2

Code:
ProtocolGame parse message exception (167 bytes, 80 unread, last opcode is 0x66 (102), prev opcode is 0x6d (109), proto: 860): invalid thing id (0)
ac 00 ee 53 1d e9 9f 00 
6d 6f 7e c7 7d 07 01 70 7e c7 7d 07 
66 f4 01 00 ff ad 01 02 05 2d 25 00 ff a3 11 4a 18 00 ff a3 11 62 0e 00 ff a3 11 c8 05 25 0a 00 ff ad 01 00 ff f4 01 62 00 30 01 00 80 64 02 81 00 3a 44 65 5f 00 00 00 00 00 00 00 00 00 ff 00 64 00 00 00 00 00 ff ad 01 00 ff f4 01 00 ff ad 01 00 ff 99 01 b7 20 00 ff a3 11 31 25 00 ff a3 11 43 09 00 ff 3a 25 30 01 00 ff 80 04 00 ff bc 13 01 ff 8f 04 00 ff 90 04 00 ff 90 04 00 ff 93 04 00 ff 93 04 00 ff 91 04 00 ff 91 04 00 ff 92 04 57 ff 

ProtocolGame parse message exception (321 bytes, 190 unread, last opcode is 0x65 (101), prev opcode is 0x6d (109), proto: 860): invalid thing id (0)
44 01 16 9b e4 95 39 01 
6d 6d 7e bd 7d 07 01 6d 7e bc 7d 07 
65 66 03 ef 11 00 ff 66 03 00 ff 66 03 00 ff 66 03 00 ff 66 03 15 05 00 ff 66 03 11 05 00 ff 66 03 00 ff 66 03 00 ff 66 03 00 ff 66 03 00 ff 66 03 00 ff 66 03 00 ff 66 03 00 ff 66 03 61 00 00 00 00 00 3c 01 00 80 0f 00 47 72 6f 66 2c 20 54 68 65 20 47 75 61 72 64 64 03 83 00 00 13 13 13 00 00 00 00 00 00 00 00 00 ff 00 64 00 00 00 00 00 00 ff 66 03 00 ff 66 03 00 ff 66 03 00 ff 66 03 03 ff 0e 05 00 ff b2 01 00 ff 98 01 00 ff 98 01 00 ff 98 01 00 ff 98 01 00 ff 98 01 00 ff 98 01 00 ff 98 01 00 ff 98 01 00 ff 98 01 6f 0b 0f 09 00 ff 98 01 00 ff 98 01 00 ff 98 01 00 ff 98 01 02 ff 74 08 00 ff 98 01 00 ff 98 01 00 ff 98 01 00 ff 98 01 00 ff 98 01 00 ff 98 01 74 08 00 ff 80 04 00 ff 80 04 00 ff 80 04 00 ff 80 04 00 ff 80 04 00 ff 80 04 00 ff 80 04 00 ff 80 04 00 ff 80 04 01 ff c1 20 00 ff 74 20 c0 20 00 ff 74 20 c0 20 00 ff 75 20 c0 20 00 ff 74 20 c0 20 00 ff 74 20 c0 20 00 ff 7a 20 c2 20 52 ff 

ProtocolGame parse message exception (45 bytes, 3 unread, last opcode is 0x00 (0), prev opcode is 0x6a (106), proto: 860): InputMessage eof reached
2c 00 f7 17 6d cc 25 00 
6a 74 7e b6 7d 07 01 62 00 3c 01 00 80 64 01 83 00 00 13 13 13 00 00 00 00 00 00 00 00 00 ff 
00 64 00 00 00 00 

ProtocolGame parse message exception (205 bytes, 54 unread, last opcode is 0x67 (103), prev opcode is 0x6d (109), proto: 860): invalid thing id (0)
cc 00 a4 60 2e fc c5 00 
6d 70 7e be 7d 07 01 70 7e bf 7d 07 
67 ad 01 8b 1e af 1e 00 ff f4 01 8c 1e 00 ff ad 01 8d 16 8e 16 8b 16 29 09 84 0d 00 ff f4 01 00 ff ad 01 00 ff f4 01 8d 16 00 ff 66 03 00 ff 66 03 00 ff 66 03 00 ff 66 03 00 ff 66 03 31 12 00 ff 67 00 b4 11 00 ff a3 11 62 0e 00 ff a3 11 09 20 00 ff f4 01 ab 0b 00 ff ad 01 00 ff f4 01 28 09 a5 0b 00 ff ad 01 62 00 30 01 00 80 64 00 81 00 3a 44 65 5f 00 00 00 00 00 00 00 00 00 ff 00 64 00 00 00 00 00 ff 80 04 00 ff 80 04 00 ff 80 04 00 ff 80 04 00 ff 80 04 00 ff b9 13 06 ff 94 04 95 04 00 ff 90 04 00 ff 90 04 00 ff 90 04 00 ff 90 04 00 ff 90 04 6c ff

Hoping to get this resolved - willing to pay for a fix through PayPal.
@Gesior.pl - If you have any spare time/ideas - would appreciate it!
 
Last edited:
Looking back at pictures of when I first got the cast system implemented - it was working fine on OTC.

Something must have happened when I added "Extended" "Transparency" "Animations" to my SPR files when adding Wings/Mounts/Shaders
@Gesior.pl - Do you have any idea what could be the culprit for this?
 
Back
Top