I disabled pymods and have attached my mod list. Let me know if any other info is required. Thanks for making an awesome mod!error in assignid, item-subgroup with name 'slag-processing' does not exist slag-processing-nio
PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
I am getting the same
- Attachments
-
- mod-list.json
- (3.27 KiB) Downloaded 129 times
My Mods: Staff of Teleportation, Don't Touch My Stuff
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
alright ill look into as soon as i get this issue with omnifluid and pyph sorted. or in a few hours if this omni issue keeps pissing me off
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
Indeed I have no idea how to fix it, but I can see it in the source herekingarthur wrote: ↑Sat Apr 27, 2019 4:21 amalright ill look into as soon as i get this issue with omnifluid and pyph sorted. or in a few hours if this omni issue keeps pissing me off
https://github.com/kingarthur91/PyCoalT ... g.lua#L324
https://github.com/kingarthur91/PyCoalT ... g.lua#L366
Renaming those to just slag-processing said it did not know about slag-processing, so my noob guess is something in one of the other mods changed.
Also i forgot to attach a save, so here is one (note that this was saved before some mods were updated, latest on everything is what I am actually trying to run).
- Attachments
-
- abpy 20.zip
- (12 MiB) Downloaded 121 times
My Mods: Staff of Teleportation, Don't Touch My Stuff
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
Ya. I'm assuming somebody updated something as angel just put out some updates.lux wrote: ↑Sat Apr 27, 2019 4:56 amIndeed I have no idea how to fix it, but I can see it in the source herekingarthur wrote: ↑Sat Apr 27, 2019 4:21 amalright ill look into as soon as i get this issue with omnifluid and pyph sorted. or in a few hours if this omni issue keeps pissing me off
https://github.com/kingarthur91/PyCoalT ... g.lua#L324
https://github.com/kingarthur91/PyCoalT ... g.lua#L366
Renaming those to just slag-processing said it did not know about slag-processing, so my noob guess is something in one of the other mods changed.
Also i forgot to attach a save, so here is one (note that this was saved before some mods were updated, latest on everything is what I am actually trying to run).
I'm not that worried about if they are updated it just the issue of trying to find them is a pain when sync mods with save is so much faster given not all the mods names are the same in the modlist as on the mod portal
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
the error with angels mods and slag-processing has been fixed. please update pycoaltbaa.
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
this has been fixed and will be in the next pypetroleumhandling updateqi1989223 wrote: ↑Fri Apr 26, 2019 2:49 pmonly PY and BOB and PyCoalTBaA_0.0.48 . nothing elsekingarthur wrote: ↑Fri Apr 26, 2019 12:56 pmCan you give me a full medalist. The newest version of Bob's is working for me with no issuesqi1989223 wrote: ↑Fri Apr 26, 2019 12:45 pmthe new fix seems not useful (PyCoalTBaA_0.0.48)
9.119 Loading mod pycoalprocessing 1.1.6 (data-final-fixes.lua)
9.302 Loading mod bobplates 0.17.3 (data-final-fixes.lua)
9.487 Loading mod bobelectronics 0.17.3 (data-final-fixes.lua)
9.759 Loading mod pyindustry 1.2.1 (data-final-fixes.lua)
10.017 Loading mod pypetroleumhandling 1.0.1 (data-final-fixes.lua)
10.128 Error ModManager.cpp:1294: Failed to load mod "pypetroleumhandling": __pypetroleumhandling__/prototypes/functions/functions.lua:266: attempt to perform arithmetic on field 'amount' (a nil value)
stack traceback:
__pypetroleumhandling__/prototypes/functions/functions.lua:266: in function 'hotairrecipes'
__pypetroleumhandling__/data-final-fixes.lua:5: in main chunk
10.130 Loading mod core 0.0.0 (data.lua)
10.249 Checksum for core: 995669552
10.843 Error ModManager.cpp:1294: Error in assignID, recipe-category with name 'crafting' does not exist.
list
bobassembly_0.17.3
bob-basic-belt-reskin_0.17.3
bobclasses_0.17.3
bobelectronics_0.17.3
bobenemies_0.17.4
bobgreenhouse_0.17.0
bobinserters_0.17.5
boblibrary_0.17.0
boblogistics_0.17.7
bobmining_0.17.3
bobmodules_0.17.3
bobores_0.17.1
bobplates_0.17.3
bobpower_0.17.4
bobrevamp_0.17.2
bobtech_0.17.2
bobvehicleequipment_0.17.1
bobwarfare_0.17.4
pycoalprocessing_1.1.6
PyCoalTBaA_0.0.48
pyfusionenergy_1.2.1
pyhightech_1.1.3
pyhightech_1.1.4
pyindustry_1.2.1
pypetroleumhandling_1.0.1
stdlib_1.0.2
- AmatorPhasma
- Fast Inserter
- Posts: 126
- Joined: Sat Aug 05, 2017 8:20 pm
- Contact:
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
Hi,
I know you did not investigate the problem with my mods because of the other things as you said, but I have looked into it a bit... (If I know that there is a failure, I have to deal with it or I can not sleep: D)
I have collected some information:
Here are (again for the memory) the error:
I checked all my override functions in my library (found some problems or missing checks, so it was very productive ), but nothing that results in this error.
At the end I just throw a serpent.block log... at the end of every mod in this pack.
"Debugging in factorio sometimes feels a bit strange, it's a bit like reverse engineering the SMB protocol, and I can say you thats a pain in the a... "
In the end I can determine the failure in the last stage of your mod and to the angelsmods.functions.OV.execute()
^^looks good
^^looks good
^^looks bad
The function here simply replaced the "basic-electronic-components" with "resistor2" but don't check if there is a main_product because this recipe has multiple output and no icon or icons definition.
you call in (./prototypes/overrides-Hightech.lua)
and then call in (./data-final-fixes.lua)
^^ Therefore, this error is only raised if "angelspetrochem" is included, and this is the function that forgets to check the "main_product" property in this recipe. I did not thoroughly investigate this function. We should ask Angel for help, because its his function you use here.
I have attatched the last log with this error and a save file before enabling angelspetrochem mod for a easy sync (I hate to select mods manuel )
EDIT: .. its called "because" NOT "becouse", I will never learn this ...
I know you did not investigate the problem with my mods because of the other things as you said, but I have looked into it a bit... (If I know that there is a failure, I have to deal with it or I can not sleep: D)
I have collected some information:
Here are (again for the memory) the error:
Code: Select all
31.363 Error ModManager.cpp:1294: Error while loading recipe prototype "basic-electronic-components" (recipe): Difficulty normal: Recipe has invalid main product basic-electronic-components. The product does not exist in the recipe product list.
At the end I just throw a serpent.block log... at the end of every mod in this pack.
"Debugging in factorio sometimes feels a bit strange, it's a bit like reverse engineering the SMB protocol, and I can say you thats a pain in the a... "
In the end I can determine the failure in the last stage of your mod and to the angelsmods.functions.OV.execute()
Code: Select all
17.838 Script @__apm_power__/data-final-fixes.lua:12: =================================================================
17.838 Script @__apm_power__/data-final-fixes.lua:13: After final stage apm_power
17.838 Script @__apm_power__/data-final-fixes.lua:14: {
category = "electronics-machine",
expensive = {
enabled = false,
energy_required = 3,
ingredients = {
{
amount = 1,
name = "tinned-copper-cable",
type = "item"
},
{
amount = 1,
name = "solid-carbon",
type = "item"
}
},
result = "basic-electronic-components",
result_count = 3
},
name = "basic-electronic-components",
normal = {
enabled = false,
energy_required = 2,
ingredients = {
{
amount = 1,
name = "tinned-copper-cable",
type = "item"
},
{
amount = 1,
name = "solid-carbon",
type = "item"
}
},
result = "basic-electronic-components",
result_count = 5
},
type = "recipe"
}
Code: Select all
8.164 Script @__apm_recycling__/data-final-fixes.lua:5: =================================================================
18.164 Script @__apm_recycling__/data-final-fixes.lua:6: After final stage apm_recycling
18.164 Script @__apm_recycling__/data-final-fixes.lua:7: {
category = "electronics-machine",
expensive = {
enabled = false,
energy_required = 3,
ingredients = {
{
amount = 1,
name = "tinned-copper-cable",
type = "item"
},
{
amount = 1,
name = "solid-carbon",
type = "item"
}
},
main_product = "basic-electronic-components",
results = {
{
amount = 3,
name = "basic-electronic-components",
type = "item"
},
{
amount_max = 1,
amount_min = 0,
name = "apm_scrap_metal_box_tin",
probability = 0.01,
type = "item"
}
}
},
name = "basic-electronic-components",
normal = {
enabled = false,
energy_required = 2,
ingredients = {
{
amount = 1,
name = "tinned-copper-cable",
type = "item"
},
{
amount = 1,
name = "solid-carbon",
type = "item"
}
},
main_product = "basic-electronic-components",
results = {
{
amount = 5,
name = "basic-electronic-components",
type = "item"
},
{
amount_max = 1,
amount_min = 0,
name = "apm_scrap_metal_box_tin",
probability = 0.01,
type = "item"
}
}
},
type = "recipe"
}
18.164 Script @__apm_recycling__/data-final-fixes.lua:8: =================================================================
Code: Select all
30.278 Script @__PyCoalTBaA__/data-final-fixes.lua:272: =================================================================
30.278 Script @__PyCoalTBaA__/data-final-fixes.lua:273: After final stage PyCoalTBaA
30.278 Script @__PyCoalTBaA__/data-final-fixes.lua:274: {
category = "electronics-machine",
expensive = {
enabled = false,
energy_required = 3,
ingredients = {
{
amount = 1,
name = "tinned-cable",
type = "item"
},
{
amount = 1,
name = "solid-carbon",
type = "item"
}
},
main_product = "basic-electronic-components",
results = {
{
amount = 3,
name = "resistor2",
type = "item"
},
{
amount_max = 1,
amount_min = 0,
name = "apm_scrap_metal_box_tin",
probability = 0.01,
type = "item"
}
}
},
name = "basic-electronic-components",
normal = {
enabled = false,
energy_required = 2,
ingredients = {
{
amount = 1,
name = "tinned-cable",
type = "item"
},
{
amount = 1,
name = "solid-carbon",
type = "item"
}
},
main_product = "basic-electronic-components",
results = {
{
amount = 5,
name = "resistor2",
type = "item"
},
{
amount_max = 1,
amount_min = 0,
name = "apm_scrap_metal_box_tin",
probability = 0.01,
type = "item"
}
}
},
type = "recipe"
}
30.278 Script @__PyCoalTBaA__/data-final-fixes.lua:275: =================================================================
The function here simply replaced the "basic-electronic-components" with "resistor2" but don't check if there is a main_product because this recipe has multiple output and no icon or icons definition.
you call in (./prototypes/overrides-Hightech.lua)
Code: Select all
OV.global_replace_item('basic-electronic-components','resistor2')
Code: Select all
if mods["angelspetrochem"] then
angelsmods.functions.OV.execute()
I have attatched the last log with this error and a save file before enabling angelspetrochem mod for a easy sync (I hate to select mods manuel )
EDIT: .. its called "because" NOT "becouse", I will never learn this ...
- Attachments
-
- test_before_angelpetrochem.zip
- (2.47 MiB) Downloaded 103 times
-
- factorio-current.log
- (409.12 KiB) Downloaded 114 times
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
I actually just got around to looking at your mods. Spent about an hour just kinda playing with it and looking at stuff in it.AmatorPhasma wrote: ↑Sat Apr 27, 2019 8:29 amHi,
I know you did not investigate the problem with my mods because of the other things as you said, but I have looked into it a bit... (If I know that there is a failure, I have to deal with it or I can not sleep: D)
I have collected some information:
Here are (again for the memory) the error:I checked all my override functions in my library (found some problems or missing checks, so it was very productive ), but nothing that results in this error.Code: Select all
31.363 Error ModManager.cpp:1294: Error while loading recipe prototype "basic-electronic-components" (recipe): Difficulty normal: Recipe has invalid main product basic-electronic-components. The product does not exist in the recipe product list.
At the end I just throw a serpent.block log... at the end of every mod in this pack.
"Debugging in factorio sometimes feels a bit strange, it's a bit like reverse engineering the SMB protocol, and I can say you thats a pain in the a... "
In the end I can determine the failure in the last stage of your mod and to the angelsmods.functions.OV.execute()
^^looks goodCode: Select all
17.838 Script @__apm_power__/data-final-fixes.lua:12: ================================================================= 17.838 Script @__apm_power__/data-final-fixes.lua:13: After final stage apm_power 17.838 Script @__apm_power__/data-final-fixes.lua:14: { category = "electronics-machine", expensive = { enabled = false, energy_required = 3, ingredients = { { amount = 1, name = "tinned-copper-cable", type = "item" }, { amount = 1, name = "solid-carbon", type = "item" } }, result = "basic-electronic-components", result_count = 3 }, name = "basic-electronic-components", normal = { enabled = false, energy_required = 2, ingredients = { { amount = 1, name = "tinned-copper-cable", type = "item" }, { amount = 1, name = "solid-carbon", type = "item" } }, result = "basic-electronic-components", result_count = 5 }, type = "recipe" }
^^looks goodCode: Select all
8.164 Script @__apm_recycling__/data-final-fixes.lua:5: ================================================================= 18.164 Script @__apm_recycling__/data-final-fixes.lua:6: After final stage apm_recycling 18.164 Script @__apm_recycling__/data-final-fixes.lua:7: { category = "electronics-machine", expensive = { enabled = false, energy_required = 3, ingredients = { { amount = 1, name = "tinned-copper-cable", type = "item" }, { amount = 1, name = "solid-carbon", type = "item" } }, main_product = "basic-electronic-components", results = { { amount = 3, name = "basic-electronic-components", type = "item" }, { amount_max = 1, amount_min = 0, name = "apm_scrap_metal_box_tin", probability = 0.01, type = "item" } } }, name = "basic-electronic-components", normal = { enabled = false, energy_required = 2, ingredients = { { amount = 1, name = "tinned-copper-cable", type = "item" }, { amount = 1, name = "solid-carbon", type = "item" } }, main_product = "basic-electronic-components", results = { { amount = 5, name = "basic-electronic-components", type = "item" }, { amount_max = 1, amount_min = 0, name = "apm_scrap_metal_box_tin", probability = 0.01, type = "item" } } }, type = "recipe" } 18.164 Script @__apm_recycling__/data-final-fixes.lua:8: =================================================================
^^looks badCode: Select all
30.278 Script @__PyCoalTBaA__/data-final-fixes.lua:272: ================================================================= 30.278 Script @__PyCoalTBaA__/data-final-fixes.lua:273: After final stage PyCoalTBaA 30.278 Script @__PyCoalTBaA__/data-final-fixes.lua:274: { category = "electronics-machine", expensive = { enabled = false, energy_required = 3, ingredients = { { amount = 1, name = "tinned-cable", type = "item" }, { amount = 1, name = "solid-carbon", type = "item" } }, main_product = "basic-electronic-components", results = { { amount = 3, name = "resistor2", type = "item" }, { amount_max = 1, amount_min = 0, name = "apm_scrap_metal_box_tin", probability = 0.01, type = "item" } } }, name = "basic-electronic-components", normal = { enabled = false, energy_required = 2, ingredients = { { amount = 1, name = "tinned-cable", type = "item" }, { amount = 1, name = "solid-carbon", type = "item" } }, main_product = "basic-electronic-components", results = { { amount = 5, name = "resistor2", type = "item" }, { amount_max = 1, amount_min = 0, name = "apm_scrap_metal_box_tin", probability = 0.01, type = "item" } } }, type = "recipe" } 30.278 Script @__PyCoalTBaA__/data-final-fixes.lua:275: =================================================================
The function here simply replaced the "basic-electronic-components" with "resistor2" but don't check if there is a main_product because this recipe has multiple output and no icon or icons definition.
you call in (./prototypes/overrides-Hightech.lua)and then call in (./data-final-fixes.lua)Code: Select all
OV.global_replace_item('basic-electronic-components','resistor2')
^^ Therefore, this error is only raised if "angelspetrochem" is included, and this is the function that forgets to check the "main_product" property in this recipe. I did not thoroughly investigate this function. We should ask Angel for help, because its his function you use here.Code: Select all
if mods["angelspetrochem"] then angelsmods.functions.OV.execute()
I have attatched the last log with this error and a save file before enabling angelspetrochem mod for a easy sync (I hate to select mods manuel )
EDIT: .. its called "because" NOT "becouse", I will never learn this ...
If it's an item replacement issue I've made my own replacer functions that dont use Angel's. It should account for main product and things. I'm checking it now
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
and all the errors are fixed now. so it will load at leastAmatorPhasma wrote: ↑Sat Apr 27, 2019 8:29 amHi,
I know you did not investigate the problem with my mods because of the other things as you said, but I have looked into it a bit... (If I know that there is a failure, I have to deal with it or I can not sleep: D)
- AmatorPhasma
- Fast Inserter
- Posts: 126
- Joined: Sat Aug 05, 2017 8:20 pm
- Contact:
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
Thanks!kingarthur wrote: ↑Sat Apr 27, 2019 9:41 amand all the errors are fixed now. so it will load at leastAmatorPhasma wrote: ↑Sat Apr 27, 2019 8:29 amHi,
I know you did not investigate the problem with my mods because of the other things as you said, but I have looked into it a bit... (If I know that there is a failure, I have to deal with it or I can not sleep: D)
Well, can I go to sleep now?!
I pushed Angel anyway, because if something really does not work properly in his function, that should be considered.
/me creeps unobtrusively to bed
- Arch666Angel
- Smart Inserter
- Posts: 1636
- Joined: Sun Oct 18, 2015 11:52 am
- Contact:
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
this will one way or the other always require an additional action, because what would you insert as an icon there if you just remove the main_product, only thing you really can do is add an placeholder and that's not as helpful either. If you change it to do nothing in instances where there is a main_product defined it isn't helpful either because you then have to check all recipes again to see if it worked...
Angels Mods
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ
"should be fixed"
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ
"should be fixed"
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
i swap over to the global item replace function i wrote after i started venturing out from under the wings of my guardian angel and it replaces the main product which gets rid of those errors.Arch666Angel wrote: ↑Sat Apr 27, 2019 9:53 amthis will one way or the other always require an additional action, because what would you insert as an icon there if you just remove the main_product, only thing you really can do is add an placeholder and that's not as helpful either. If you change it to do nothing in instances where there is a main_product defined it isn't helpful either because you then have to check all recipes again to see if it worked...
OV.global_replace_item doesnt apparently
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
kingarthur, well done for fighting your way through the thickets of mod compatability - my Bob/Angel game now works with PyPH etc. However, as usual, I always regret installing Pyanadon's mods - come for the beautiful buildings, run away screaming at the sheer complexity and slowness of it all . Still, that's on me, not you and you deserve a big *thanks* for your hard work!
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
Im crashing on 'Failed to load mods: __PyCoalTBaA__/data-updates.lua:15: __PyCoalTBaA__/prototypes/Overrides-Omnimatter.lua:127: attempt to index field 'phosphate-rock-02' (a nil value)'
Using most of py, angels, omni, bobs. Seems the 'data.raw.resource["phosphate-rock-02"]' gets deleted somewhere, its nil by the time its at prototypes.overrides-omnimatter.lua #127.
Commenting out that line or checking if 'data.raw.resource["phosphate-rock-02"]' exists before setting 'data.raw.resource["phosphate-rock-02"]["autoplace"] = nil' fixes it.
Using most of py, angels, omni, bobs. Seems the 'data.raw.resource["phosphate-rock-02"]' gets deleted somewhere, its nil by the time its at prototypes.overrides-omnimatter.lua #127.
Commenting out that line or checking if 'data.raw.resource["phosphate-rock-02"]' exists before setting 'data.raw.resource["phosphate-rock-02"]["autoplace"] = nil' fixes it.
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
Hello,
All ok.
But I can't make glass in early game, can't find recipe.
Glass<-quartz<-crystal mine<-transport belt...i can't make transport belt without logistic, logistic demands sc pack1
All ok.
But I can't make glass in early game, can't find recipe.
Glass<-quartz<-crystal mine<-transport belt...i can't make transport belt without logistic, logistic demands sc pack1
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
Re: PyCoalTBaA or the PyCoal Touched by an Angel Compatibility Patch
Save file
Usually used recipe with clear sand+broken brown substation from angels mods.