Page 1 of 1

Re: [MOD 0.12.x] Easy Belt Layer

Posted: Wed Dec 30, 2015 8:50 pm
by Rahbek
tleviathan wrote:Error
Factorio 0.12.16 17230 x64
Capture.JPG
__easybel__/control.lua:5: attempt to index global 'game' (a nil value)

I tried replacing game.on_ with script.on_ but no change. That's about all I can do i lua/factorio modding :|

any news on that by chance? :)

Re: [MOD 0.12.x] Easy Belt Layer

Posted: Thu Dec 31, 2015 12:28 am
by Schmendrick
I'm still alive, I swear (updated).

Re: [MOD 0.12.x] Easy Belt Layer

Posted: Fri Jan 01, 2016 3:38 pm
by Rahbek
Schmendrick wrote:I'm still alive, I swear (updated).

Yay! And happy new years!

Re: [MOD 0.12.x] Easy Belt Layer

Posted: Tue Jan 26, 2016 3:34 pm
by judos
Hey there,

This is a great mod :D

However I just found an error while playing:
Error while running the event handler: __easybelt__/control.lua:71: LuaItemStack API call when LuaItemStack was invalid.
This was in the old 0.1.0 version, so the equivalent in the new version would be line 88 with this code:

Code: Select all

local item, pos = p.cursor_stack
if item then item=item.name else item=toplace[e.name] end
I propose to add something like:

Code: Select all

if item and not item.valid then item=nil end
Hope that helps everyone ;)

Re: [MOD 0.12.x] Easy Belt Layer

Posted: Thu Jul 21, 2016 4:21 am
by Neomore
For anyone looking for a version of this mod for Factorio 0.13.X, I have added this mod to a mod I update, now titled Advanced Logistics.

This mod adds new types of belts and pipes that go farther distances (30 and 50), as well as modifying the base underground belts to have a max distance of 10 instead of 5.

You can download the mod from the mod portal at the following link: https://mods.factorio.com/mods/Neomore/ ... -Logistics
For those of you that want only the easy belt layer mod, there is a version of this on the Advanced Factorio mod page, which you can reach by the link in my signature.