• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

[TFS 1.X] Rarity Rolls & Custom Attributes Library

[Warning] DropLoot: Could not add loot item to corpse. only /roll add bonus item
in monster lua i only had

LUA:
function Monster:onSpawn(pos, forced)
    self:registerEvent("DropMonsterLoot")

    return true
end
its not problem with this system, probaby you want to add not existing item to monster body
 
[Warning] DropLoot: Could not add loot item to corpse. only /roll add bonus item
in monster lua i only had

LUA:
function Monster:onSpawn(pos, forced)
    self:registerEvent("DropMonsterLoot")

    return true
end

Find on visual studio code "Could not add loot item to corpse" , you will find probably the onDropLoot.

Can be: Non existing item id, or if you created new monsters adding like 200 items to loot, the container size to small for carry items.
Nothing to be with this system
 


Write your reply...
Back
Top