Looting Remnants


On destroying of buildings you have a chance to get some loot from it. / Compatible with all mods, UPS friendly, multiplayer friendly. / Good for PVP multiplayer games, take resources from destroyed base.

3 years ago
0.17 - 1.1
969

b error after changing other mod's configs

7 months ago
(updated 6 months ago)

Hi, i dont know if you're still managing this mod, but im running into an issue with this mod in my modlist, but only after i've changed mod configs, something's causing "ingredients.amount" to become a string and then you compare to see if said ingredients are less than one spitting out an error, i am going to try to include as much information as possible as well as a "shitfix" my freind who codes came up with that causes it to no longer be an issue.
If you would like to do some investigating yourself and figure out if another mod is the issue, I'd love to hear about it

So, here is a screenshot of the error itself without any testing done
https://cdn.discordapp.com/attachments/959680472986837032/1230549471696388186/image.png?ex=6633b980&is=66214480&hm=82d86ee87b40ba088ebe2db9c17add0c6b5acfd625707aed6ae5a8299b8c8f08&
a link to the error log just in case it has any extra info i missed (we didn't end up checking it, just looked straight at the erroring line in your .lua file)
https://cdn.discordapp.com/attachments/959680472986837032/1230550893699661834/factorio-current.log?ex=6633bad3&is=662145d3&hm=35dd5e47623d0aaa6459ad9f2ad89654ab921d7d1254f7a7b62504f39ad3f6a5&
a link to a save file so that the modlist can be obtained and to show that it runs fine with no edited configs
https://cdn.discordapp.com/attachments/959680472986837032/1230554164686356620/Mod_Dev_Save.zip?ex=6633bddf&is=662148df&hm=1d9853e580ea4d3b1d9f7c0f8d193688740f790ecd377dc32c631dc3581ec80f&
the modified configs in question (that causes the crash)
https://cdn.discordapp.com/attachments/959680472986837032/1230554346010447942/mod-settings.dat?ex=6633be0a&is=6621490a&hm=190465aa98d909e713d69c218f218bfded6a935c00521d76e05bdd41a6aa8e75&
and the aforementioned "shitfix" that just forces the variable that's causing the error to for sure be a number and not a string before the comparison
https://cdn.discordapp.com/attachments/959680472986837032/1230555897172852776/looing_remnants_data-final-fixes_fixed.lua?ex=6633bf7c&is=66214a7c&hm=97650052568a0457ff766b32cae76a1da71c9701a762d4c93494ea0af744d032&

If you need any other information from me just let me know, I will appreciate it in advance if you actually look at this

7 months ago

Thanks for bugreport! I cannot fix it in the near time, please try to make the fix.

New response