Page 1 of 1

[MOD 0.12.29+] Upgrade planner - v1.1.10 - Bug Fixes

Posted: Sun May 08, 2016 11:20 pm
by malk0lm
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

Re: [MOD 0.12.29+] Upgrade planner - v1.1.10 - Bug Fixes

Posted: Wed Jun 29, 2016 4:37 pm
by Bizobinator
Does this mod work with 0.13.1?

Re: [MOD 0.12.29+] Upgrade planner - v1.1.10 - Bug Fixes

Posted: Thu Jun 30, 2016 7:53 pm
by biliskner25
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

Code: Select all

Error while running the event handler: __upgrade-planner__/control.lua:652: attempt to index local 'entity' (a nil value)
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

Re: [MOD 0.12.29+] Upgrade planner - v1.1.10 - Bug Fixes

Posted: Sat Jul 02, 2016 7:53 am
by Optera
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

Re: [MOD 0.12.29+] Upgrade planner - v1.1.10 - Bug Fixes

Posted: Sun Jul 10, 2016 2:34 am
by Slayer1557