• 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 0.X [Warning] getItemWeightById - What cause?

potinho

Advanced OT User
Joined
Oct 11, 2009
Messages
1,402
Solutions
17
Reaction score
150
Location
Brazil
Good afternoon everyone, how are you? My server a few days ago has randomly crashed by itself and I'm looking for the cause. I've already migrated it from Windows to Linux but it didn't work. Today I saw this alert on my console, what causes it? How to fix? Can it make the game crash? Thanks.

[Warning] getItemWeightById
Calculating weight for more than 100 items!

1639161612169.png
 
You can find the function responsible to it @ lib/050-function.lua getItemWeightById

Lua:
if(count > 100) then
        -- print a warning, as its impossible to have more than 100 stackable items without "cheating" the count
        print('[Warning] getItemWeightById', 'Calculating weight for more than 100 items!')
    end
 
Back
Top