I worked with this for a few hours this morning and the new ore is not working in the code. The IDs for the ore is bronzescrap and copperscrap but putting those into the code throws an error in the game.
?[Info : Unity Log] Found a blast furnace! Applying fix. [Info : Unity Log] Adding $item_copper to list of materials.[Info : Unity Log] Adding $item_copperore to list of materials.[Info : Unity Log] Adding $item_iron to list of materials.[Info : Unity Log] Adding $item_ironscrap to list of materials.[Info : Unity Log] Adding $item_silver to list of materials.[Info : Unity Log] Adding $item_silverore to list of materials.[Info : Unity Log] Adding $item_tin to list of materials.[Info : Unity Log] Adding $item_tinore to list of materials.[Error : Unity Log] KeyNotFoundException: The given key was not present in the dictionary.Stack trace:System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <695d1cc93cca45069c528c15c9fdd749>:0)BlastFurnaceFix.BFFix.BlastFurnacePatch (Smelter& __instance) (at <43890402e8a549f7a731194d7501a9b4>:0)(wrapper dynamic-method) Smelter.DMD<Smelter::Awake>(Smelter)UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)ZNetScene:CreateObject(ZDO)ZNetScene:CreateObjectsSorted(List`1, Int32, Int32&)ZNetScene:CreateObjects(List`1, List`1)ZNetScene:CreateDestroyObjects()ZNetScene:Update() That tells me that the IDs are not recognized. I tried scrapbronze and bronzescrap as well as copperscrap and scrapcopper. I will keep working on it.
Thanks mr chicken legs. Bit sad its client sided tho a server-sided mod in sight? doesn't seem to work with dedicated server/BepInEx I talked nonsense, I only forgot to restart my client, it does work Thank you so much for your work keeping this alive!
The mod I needed! I spent a long time creating an epic forge using furnaces only. I forgot silver ore can only be smelted with a smelter. Very dumb IronGate. Thank you for uploading, it works just fine.
A friend of mine had the same bug (couldn't melt iron scraps or silver ore), installing HookGenPatcher seemed to fix it. Didn't notice because I already had it installed for the "More Gates" mod
Correction to my correction. Im an idiot. I spawned in Iron Ore but its iron scraps so it wasn't working with the ore since it doesn't exist even thou it spawned iron ore. So your mod works perfectly im just dumb haha.
If this is client-side only, does it load in your supplies when you join a server but if you log out, what happens when other players interact with the blast furnace?
I only tested it on a local server hosted by the player with the mod, and it worked fine there. I have not tested it on dedicated servers; what I believe would happen is that the Blast Furnace would not output the modded ores, but would still work with Blackmetal and Flametal. There's no way for me to fix this except by making sure all players have the mod.
I run a dedicated server and one of my players installed the mod and used it before I had a chance to apply it server side and it appears to have worked just fine with copper. Just so you know.
Just curious, is it possible to replace the static 'fuel/ore' value for the structure itself but have actual 'container' inside the smelter/blast-furnace/kiln that allows players to stuff it with more item stacks and have it process more?
Makes sense as well if you don't want to fill it with 100 ores and come back to have the base lagging from 100+ ingots. If the processed items are stored in a separate container that is accessed in the front, then you can retrieve a stack of metal bars without picking em up from the floor.
21 comments
Looking forward to an update which would include those two items, as well as Iron Ore, just because :)
?[Info : Unity Log] Found a blast furnace! Applying fix.
[Info : Unity Log] Adding $item_copper to list of materials.
[Info : Unity Log] Adding $item_copperore to list of materials.
[Info : Unity Log] Adding $item_iron to list of materials.
[Info : Unity Log] Adding $item_ironscrap to list of materials.
[Info : Unity Log] Adding $item_silver to list of materials.
[Info : Unity Log] Adding $item_silverore to list of materials.
[Info : Unity Log] Adding $item_tin to list of materials.
[Info : Unity Log] Adding $item_tinore to list of materials.
[Error : Unity Log] KeyNotFoundException: The given key was not present in the dictionary.
Stack trace:
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <695d1cc93cca45069c528c15c9fdd749>:0)
BlastFurnaceFix.BFFix.BlastFurnacePatch (Smelter& __instance) (at <43890402e8a549f7a731194d7501a9b4>:0)
(wrapper dynamic-method) Smelter.DMD<Smelter::Awake>(Smelter)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
ZNetScene:CreateObject(ZDO)
ZNetScene:CreateObjectsSorted(List`1, Int32, Int32&)
ZNetScene:CreateObjects(List`1, List`1)
ZNetScene:CreateDestroyObjects()
ZNetScene:Update()
That tells me that the IDs are not recognized. I tried scrapbronze and bronzescrap as well as copperscrap and scrapcopper. I will keep working on it.
Blast Furnace Takes All
a server-sided mod in sight? doesn't seem to work with dedicated server/BepInEx
I talked nonsense, I only forgot to restart my client, it does work Thank you so much for your work keeping this alive!Server need this mod
Makes sense as well if you don't want to fill it with 100 ores and come back to have the base lagging from 100+ ingots.
If the processed items are stored in a separate container that is accessed in the front, then you can retrieve a stack of metal bars without picking em up from the floor.