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

TFS 1.X+ [error] [combatTypeToIndex] Combat type 255 is out of range

endziu2222

Active Member
Joined
Nov 2, 2010
Messages
167
Solutions
1
Reaction score
44
I have detected some issue with COMBAT type 255 which is COMBAT_NONE = 255 it seems to happen a LOT when creatures attacking player a specially it seems when creatures have to walk around obstacle or any solid object. Did anybody had issue like that or may know solution to it? Latest TFS

Lua:
[2024-10-04 16:48:21.198] [error] [combatTypeToIndex] Combat type 255 is out of range
[2024-10-04 16:48:21.199] [error] [combatTypeToIndex] Combat type 255 is out of range
[2024-10-04 16:48:21.199] [error] [combatTypeToIndex] Combat type 255 is out of range
[2024-10-04 16:48:21.200] [error] [combatTypeToIndex] Combat type 255 is out of range
[2024-10-04 16:48:21.200] [error] [combatTypeToIndex] Combat type 255 is out of range
[2024-10-04 16:48:21.201] [error] [combatTypeToIndex] Combat type 255 is out of range
[2024-10-04 16:48:21.201] [error] [combatTypeToIndex] Combat type 255 is out of range

any help appreciated.
 
I have found solution: my magicfield in items.xml was causing these errors: I may have to search more.

Lua:
    <item id="2136" name="smoke">
        <attribute key="type" value="magicfield"/>
        <attribute key="replaceable" value="0"/>
    </item>

Thanks for all help! ;)
 
Back
Top