King Jo's Entity Master


Manages all of my vehicles and turrets so I only need to update this and not the sub mods.

Tweaks
13 days ago
2.0
18.7K

b Error on startup

8 months ago
(updated 8 months ago)

Hello there,

i experienced a little error on Startup today, so i thought I'd write a little report about it here.

First things first, here is the error i experienced:
'''
Failed to load mods: kj_vehicles/prototypes/items.lua:1670: bad argument #2 of 3 to 'max' (number expected, got string)
stack traceback:
[C]: in function 'max'
kj_vehicles/prototypes/items.lua:1670: in main chunk
[C]: in function 'require'
kj_vehicles/data.lua:9: in main chunk
'''

It seems to happen only on the 2 latest versions (2.0.12, 2.0.13).
When rolling back to version 2.0.11 the error does not happen.

These mods of yours were included in the mod pack:
kj_2a6_2.0.0
kj_40kbaneblade_2.0.1
kj_40kdreadnought_2.0.0
kj_40klemanruss_2.0.0
kj_40kpredator_2.0.0
kj_747_2.0.0
kj_aventador_2.0.0
kj_b2_2.0.0
kj_b17_2.0.0
kj_b29_2.0.0
kj_bf109_2.0.0
kj_bulldozer_2.0.0
kj_cybertruck_2.0.0
kj_delorean_2.0.0
kj_firetruck_2.0.0
kj_fordmustang_2.0.0
kj_fuel_2.0.1
kj_gigahorse_2.0.0
kj_ho229_2.0.0
kj_ju52_2.0.0
kj_ju87_2.0.0
kj_jug38_2.0.0
kj_king_jos_planes_2.0.0
kj_king_jos_vehicles_2.0.0
kj_maustank_2.0.0
kj_pak_2.0.0
kj_panzer4_2.0.0
kj_phalanx_2.0.2
kj_rattetank_2.0.0
kj_rattetank_graphics_2.0.0
kj_ray_2.0.0
kj_rex_2.0.0
kj_swspeeder_2.0.0
kj_utilitarian_2.0.0
kj_vehicles_2.0.11
kj_vierling_2.0.1
kj_warrig_2.0.0
kj_wirbelwind_2.0.0
kj_xb35_2.0.0

Edit: Sorry for the extra thread, didn't realize there already was one.

8 months ago

Thanks for the report. This thread is fine. Some strange things however:
That piece of code there didn't change for atleast the last 3 versions, it definitely has an error, but I don't run into it although I definitely should. So ig it must be another mod. But I can fix it nevertheless, you just need to tell me if it fixes it for you.

8 months ago

Pls try the update

8 months ago

Similar, however points to another line now.

Here's the error:
'''
Failed to load mods: kj_vehicles/prototypes/items.lua:1647: bad argument #2 of 3 to 'max' (number expected, got nil)
stack traceback:
[C]: in function 'max'
kj_vehicles/prototypes/items.lua:1647: in main chunk
[C]: in function 'require'
kj_vehicles/data.lua:9: in main chunk
'''

8 months ago

Could you provide me your full mods list? If you wanna communicate over discord, my server is linked on the mods front page.

8 months ago
(updated 8 months ago)

Also I'd like to see the parts in your C:\Users\<Username>\AppData\Roaming\Factorio\ factorio-current.log that say something with "Ray Col Layer"

8 months ago

Eh nvm, is fixed now anyway. Apparently some mods create collision layers with empty stringed order..

8 months ago

Just confirmed it, the new update did fix it. Thank you for the hard work!

This thread has been locked.