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

Topics and discussion about specific mods
Post Reply
User avatar
malk0lm
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Wed Apr 27, 2016 9:45 pm
Contact:

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

Post 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

Bizobinator
Fast Inserter
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

Post by Bizobinator »

Does this mod work with 0.13.1?

biliskner25
Burner Inserter
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

Post 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

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2916
Joined: Sat Jun 11, 2016 6:41 am
Contact:

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

Post 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


Post Reply

Return to “Mods”