Original mod by kds
Download: Upgrade planner 1.1.10 - Bug Fix
The original, public domain, version of upgrade planner seemed to be getting a little long in the tooth at the moment and there were a few breaking bugs that were messing with my server. Therefore, I thought I would release a version which had a critical bug fix in it and provide to anyone else who might have the same issue.
Pull requests and bug reports welcome.
License: MIT
[MOD 0.12.29+] Upgrade planner - v1.1.10 - Bug Fixes
-
- Fast Inserter
- Posts: 193
- Joined: Fri May 06, 2016 10:35 pm
- Contact:
Re: [MOD 0.12.29+] Upgrade planner - v1.1.10 - Bug Fixes
Does this mod work with 0.13.1?
-
- Burner Inserter
- Posts: 18
- Joined: Mon Dec 08, 2014 8:18 am
- Contact:
Re: [MOD 0.12.29+] Upgrade planner - v1.1.10 - Bug Fixes
Nope.. I've been trying some self fixes but it's dying somewhere in the control.lua code and I'm not proficient enough in this code to progress any further
Required for mod to load:
adding factorio_version to info.json
adding selection color, mode and cursor box type to item.lua
changing parent from default to button_style in style.lua
changing game.get_player to game.players in control.lua
Code: Select all
Error while running the event handler: __upgrade-planner__/control.lua:652: attempt to index local 'entity' (a nil value)
adding factorio_version to info.json
adding selection color, mode and cursor box type to item.lua
changing parent from default to button_style in style.lua
changing game.get_player to game.players in control.lua
Re: [MOD 0.12.29+] Upgrade planner - v1.1.10 - Bug Fixes
Perhaps the get_type method is deprecated.
I guess you could try using entity.type instead of get_type(entity.name)
http://lua-api.factorio.com/0.13.3/LuaE ... ntity.type
I guess you could try using entity.type instead of get_type(entity.name)
http://lua-api.factorio.com/0.13.3/LuaE ... ntity.type
My Mods: mods.factorio.com
-
- Burner Inserter
- Posts: 19
- Joined: Mon May 16, 2016 7:48 am
- Contact: