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

[Monster:onDropLoot] - Could not add loot item to corpse

alejandro762

Well-Known Member
Joined
Sep 6, 2021
Messages
224
Reaction score
62
Hello,

I try to understand this error, I read on the forum the onDropLoot would come from the monster.lua , having made no changes, because I am not an expert, I do not understand what causes this error, is it by lack of space in the monster when it dies, or by the option in the config.lua sortLootByChance = true (even in false it happens), but I don't totally understand this error.

I use TFS 1.3 as a server, I don't play online only locally, a childhood pleasure,
Thanks in advance

ondroploot.png

Im playing this server:
 
this is not a bug, it's a warning that it wasn't able to add loot to the corpse, perhaps he's using TFS engine with canary datapack and got the files mixed up
yeah because in tfs we display warnings in yellow (sarcasm), and because dudantas didn't add bug to corpse and then try to fix it 2 weeks later?

 
it was an attempt to fix a possible crash situation that all the bases have, unfortunately the way the code was created and is entagled it's quite hard to fix it for now, so we will need to trust otadmins know what they are doing, which both of us know always lead to bad things happening...
 
Hello,

I try to understand this error, I read on the forum the onDropLoot would come from the monster.lua , having made no changes, because I am not an expert, I do not understand what causes this error, is it by lack of space in the monster when it dies, or by the option in the config.lua sortLootByChance = true (even in false it happens), but I don't totally understand this error.

I use TFS 1.3 as a server, I don't play online only locally, a childhood pleasure,
Thanks in advance

View attachment 67429

Im playing this server:

I noticed that this message you are giving is from an outdated version of otbr, the current one has already changed:
Make sure you are using the most current release:

And don't listen to bad people, I wisely just ignore it.
If you need tutorial: Introduction - OpenTibiaBR (https://majestyotbr.gitbook.io/opentibiabr/home/introduction)

Any questions you can enter our discord, it's in the project readme
 
@alejandro762 after an analysis it's confirmed what we said. This message was already updated a while back, if you're getting this old message in console it means you're using a very old base.
Unfortunately due to how the forum is made, @EduardoDantas cannot update the main thread unless he reports and ask a mod to do it on his behalf:

Please ignore the zip there, the latest release should be found in GitHub and the tutorial to run it can be found in the previously link I've sent you.
 
@EduardoDantas @Nigh Wolf @Evil Puncker

Thank you very much for the answers, I founded canary project on GitHub.
Is working well, but getting same error about onDropLoot while playing in local with my brother.
I didn't know what kind of monster give this error, we are playing rushing in game just for fun, and the errors sometimes appears, since i change completely the database i got only one time this error.
From where they come , what file give this error, maybe a monster ?
Is possible if i could copy and paste a monster, example, giant spider and i rename it and change the loot, for example 20 different loots they give this error maybe ?
 
@EduardoDantas @Nigh Wolf @Evil Puncker

Thank you very much for the answers, I founded canary project on GitHub.
Is working well, but getting same error about onDropLoot while playing in local with my brother.
I didn't know what kind of monster give this error, we are playing rushing in game just for fun, and the errors sometimes appears, since i change completely the database i got only one time this error.
From where they come , what file give this error, maybe a monster ?
Is possible if i could copy and paste a monster, example, giant spider and i rename it and change the loot, for example 20 different loots they give this error maybe ?

Is it some loot that is not being correctly identified, maybe a non-existent loot or something, we added this warning as a way to make it easier to correct possible errors, what is the corpse of the monster are reporting in the distro? Are you using just the canary or the canary with the global pack?
 
Is it some loot that is not being correctly identified, maybe a non-existent loot or something, we added this warning as a way to make it easier to correct possible errors, what is the corpse of the monster are reporting in the distro? Are you using just the canary or the canary with the global pack?
Well we are rushing many places like Catacombs, ferumbras way, so really i dont know the monster giving this error,
We are using canary global map the same link you send v1.3.1
 
Back
Top