Baron Turrets

by wasmoo

Adds three new turrets that compliment each other for an ideal defense

Content
8 months ago
0.18 - 1.1
1.44K
Combat

b [RESOLVED] Failed to load

3 years ago

32.234 Mods to disable:Failed to load mods: baron-turrets/data.lua:7: baron-turrets/zap-turret.lua:32: attempt to index global 'baronConstants' (a nil value)
stack traceback:
baron-turrets/zap-turret.lua:32: in main chunk
[C]: in function 'require'
baron-turrets/data.lua:7: in main chunk
stack traceback:
[C]: in function 'require'
baron-turrets/data.lua:7: in main chunk

Mods to be disabled:
• baron-turrets (0.18.5)

3 years ago

Oops! It now requires baron-library to run. New release coming soon!

3 years ago

OK, new problem :p

111.646 Error ModManager.cpp:1514: Failed to load mod "baron-library": baron-library/lib/baron-entity.lua:261: attempt to index field 'normal' (a boolean value)
stack traceback:
baron-library/lib/baron-entity.lua:261: in function 'findItemNamesForRecipe'
baron-library/lib/baron-entity.lua:269: in function 'findItemsForRecipe'
baron-library/lib/baron-entity.lua:585: in function 'doHideLater'
baron-library/data-final-fixes.lua:2: in main chunk
111.650 Loading mod core 0.0.0 (data.lua)
112.018 Checksum for core: 3692526182
112.141 Error ModManager.cpp:1514: Error in assignID: recipe-category with name 'crafting' does not exist.

Source: default (utility-sprites).
112.256 Initial atlas bitmap size is 16384
112.257 Created atlas bitmap 2048x560 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
112.279 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
112.346 Parallel Sprite Loader initialized (threads: 11)
112.587 Sprites loaded
112.605 Generated mipmaps (5) for atlas [0] of size 2048x560
112.605 Custom mipmaps uploaded.
112.609 Factorio initialised
112.609 Discord overlay detected (DiscordHook64.dll)
112.620 Mods to disable:Failed to load mods: baron-library/lib/baron-entity.lua:261: attempt to index field 'normal' (a boolean value)
stack traceback:
baron-library/lib/baron-entity.lua:261: in function 'findItemNamesForRecipe'
baron-library/lib/baron-entity.lua:269: in function 'findItemsForRecipe'
baron-library/lib/baron-entity.lua:585: in function 'doHideLater'
baron-library/data-final-fixes.lua:2: in main chunk

Mods to be disabled:
• baron-library (0.18.11)

And

30.137 Error ModManager.cpp:1514: Failed to load mod "baron-turrets": baron-turrets/data.lua:9: rp-turrets/mc_plasma_1_2x2/turret.lua:327: attempt to index field 'layers' (a nil value)
stack traceback:
rp-turrets/mc_plasma_1_2x2/turret.lua:327: in function 'use_sprites'
baron-turrets/curtain-turret.lua:287: in main chunk
[C]: in function 'require'
baron-turrets/data.lua:9: in main chunk
stack traceback:
[C]: in function 'require'
baron-turrets/data.lua:9: in main chunk
30.140 Loading mod core 0.0.0 (data.lua)
30.334 Checksum for core: 3692526182
30.453 Error ModManager.cpp:1514: Error in assignID: recipe-category with name 'crafting' does not exist.

Source: default (utility-sprites).
30.567 Initial atlas bitmap size is 16384
30.567 Created atlas bitmap 2048x560 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
30.587 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
30.653 Parallel Sprite Loader initialized (threads: 11)
30.893 Sprites loaded
30.911 Generated mipmaps (5) for atlas [0] of size 2048x560
30.912 Custom mipmaps uploaded.
30.916 Factorio initialised
30.916 Discord overlay detected (DiscordHook64.dll)
30.926 Mods to disable:Failed to load mods: baron-turrets/data.lua:9: rp-turrets/mc_plasma_1_2x2/turret.lua:327: attempt to index field 'layers' (a nil value)
stack traceback:
rp-turrets/mc_plasma_1_2x2/turret.lua:327: in function 'use_sprites'
baron-turrets/curtain-turret.lua:287: in main chunk
[C]: in function 'require'
baron-turrets/data.lua:9: in main chunk
stack traceback:
[C]: in function 'require'
baron-turrets/data.lua:9: in main chunk

Mods to be disabled:
• baron-turrets (0.18.6)

3 years ago

There are two bugs here. The second bug is an error in rp-turrets, and I have let that creator know about the issue.

As for the first bug, I'm having trouble recreating it. I'm able to start Factorio v1.0.0 with base, baron-library, and baron-turrets, and create a new game. Are there any other mods you are using?

From the log message, something has created an invalid recipe that has defined "normal" as a boolean value, where it's supposed to be an object or nil.

3 years ago

Ah, my bad with RP turrets, I must have confused that with yours (been a bit overtired lately). I have an awful lot of mods running right now so tracking it down might be tricky. I'm attempting to load both without RP now

3 years ago

So the turret bug is gone with RP off my list, I'll spend some time narrowing down the library one (really hope it isn't Space Exploration, AAI Industries or the Tiberium mod)

3 years ago

Well, removed all the library mods to disable a vast chunk and got the same error. This means it's not the ones I mentioned above or 5dim or bob's mods but that still leaves a lot of others that it could be unfortunately. I'll carry on testing

3 years ago

Narrowed down to about 10 mods, this is going quicker than anticipated

3 years ago

So, it's called Bot Servicing. I'll send them the bug report

3 years ago

Thank you for the pointer. It turns out Baron Library did a final once-over on the recipes, and Bot Servicing created a recipe that confused it. Baron Library has been updated.

3 years ago

Awesome, tested and working fine now, great work :)

New response