Categories
BLOG

loot recycler

Open 2.5.2: Loot Recycler Consuming Items But not Yielding Bags

  • Forums
  • Public Archive
  • Modpack Bugs
  • Archive
  • FTB Presents SkyFactory 2.5 1.7.10
MossyMainer23
New Member

What is the bug:
I put my items in the loot recycler that I get from reward bags and mob spawner and the loot recycler destroys the items but gives me no bags in return.

Can it be repeated:

Palm__
Guest
AtomLine
Guest

I have a solution for this. It appears that when the dungeonChest loot was removed from bags, the total list cost (which the item cost is based on) got screwed up. The workaround/fix is:

  • Add dungeonChest back to the ChestGenHooks Dropped list
  • Make all of the lootbags NOT drop general loot (which is what was being attempted by removing dungeonChests from general loot)

S:”ChestGenHooks Dropped”

AtomLine
Guest

More info. Loot value appears to be based on the chance that it drops (Weight) as a fraction of the total weight of available loot to lootbags. The problem is, the total weight of available loot is calculated before the bag whitelists effectively add new loot to the system.

LOOTMAP.populateGeneralMap();
LOOTMAP.setTotalListWeight();
BagHandler.populateBagLists();

By removing the dungeonChest global loot source, the total weight of available loot was effectively zero and all items ended up with the minimal loot value of 1. The system does however use items that are in the global whitelist when calculating the total list weight.

So, by adding another item to the global whitelist with a large weight, such as a stick with weight 5,000 we can get all of the lootbag items to start having value again. I haven’t figured out a good item to use for this (it will become recycleable and it will give 1 loot value), or tuning for its weight. but this a way to work around the problem that also gives you control the loot value all items in the lootbags give.

Version: 2.5.2 What is the bug: I put my items in the loot recycler that I get from reward bags and mob spawner and the loot recycler destroys the items… ]]>