[MOD 0.12.x] Autofill

Topics and discussion about specific mods
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: [MOD 0.12.x] Autofill

Post by Nexela »

I will have some time to fix this soon, in the meantime it should work if you remove autofill, save the game, then re-add autofill

nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [MOD 0.12.x] Autofill

Post by nuhll »

Sadly this is no longer working?!

10.172 Error ServerMultiplayerManager.cpp:95: MultiplayerManager failed: "Error while running on_init: __autofill__/stdlib/event/event.lua:163: __autofill__/autofill/sets.lua:73: attempt to index field 'forces' (a nil value)"

Factorio 0.16.7 (thats the error on the server)

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: [MOD 0.12.x] Autofill

Post by Nexela »

I have been busy at work still hoping to get around to fixing this very soon. Sorry for the wait!

nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [MOD 0.12.x] Autofill

Post by nuhll »

AH okay, np. I just wondered bc it said it was updated for .16 but didnt work.

gtmattz
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Jan 03, 2018 4:00 am
Contact:

Re: [MOD 0.12.x] Autofill

Post by gtmattz »

Nexela wrote:I will have some time to fix this soon, in the meantime it should work if you remove autofill, save the game, then re-add autofill
Just to let you know, this does not work.

Love ths mod by the way, and look forward to being able to use it again :D, but I know how RL obligations can be, so will be patient.

nuhll
Filter Inserter
Filter Inserter
Posts: 922
Joined: Mon Apr 04, 2016 9:48 pm
Contact:

Re: [MOD 0.12.x] Autofill

Post by nuhll »

Yeah, the error i got was when i first installed this mod. (after some long time)

But get error when the server starts. Then i removed it and later i tried again, same error.

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: [MOD 0.12.x] Autofill

Post by Nexela »

I am making progress!!!! However my day off got cancelled so not a lot of progress.

If I can't get it fixed this weekend I will probably just port the last .15 version over (instead of the re-write) since it should be fairly trivial

Sparkysam
Inserter
Inserter
Posts: 49
Joined: Sun Dec 04, 2016 12:09 am
Contact:

Re: [MOD 0.12.x] Autofill

Post by Sparkysam »

Nexela wrote:I am making progress!!!! However my day off got cancelled so not a lot of progress.

If I can't get it fixed this weekend I will probably just port the last .15 version over (instead of the re-write) since it should be fairly trivial
Any new update on when you might update the mod?? :)

neoc
Long Handed Inserter
Long Handed Inserter
Posts: 83
Joined: Sun Apr 24, 2016 4:31 pm
Contact:

Re: [MOD 0.12.x] Autofill

Post by neoc »

Can you replace the uses of player.get_inventory with player.get_quickbar and player.get_inventory so the mod works as intended in god mode as well?

Context is this thread: viewtopic.php?p=336804#p336804

middlecloud
Burner Inserter
Burner Inserter
Posts: 5
Joined: Fri Nov 17, 2017 9:44 pm
Contact:

Re: [MOD 0.12.x] Autofill

Post by middlecloud »

Hi.

I tried to pause Autofill (using Control + ALT + P) and doesn't work any suggestions?

Ty

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: [MOD 0.12.x] Autofill

Post by Nexela »

Lots of things are currently still broken and on my too fix list as soon as time permits!

wvlad
Fast Inserter
Fast Inserter
Posts: 215
Joined: Thu Jul 13, 2017 9:55 pm
Contact:

Re: [MOD 0.12.x] Autofill

Post by wvlad »

Hi, I can't install this mod, the error says that in on_init your sets.lua attempts to index global.forces which is initialized only later in Force.Init() but moving Force.Init up calls "additional_data" method which needs sets.

It's not a migration.

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: [MOD 0.12.x] Autofill

Post by Nexela »

It is a lack of time / still broken kind of thing.

wvlad
Fast Inserter
Fast Inserter
Posts: 215
Joined: Thu Jul 13, 2017 9:55 pm
Contact:

Re: [MOD 0.12.x] Autofill

Post by wvlad »

I somehow managed to fix it, I think the sequence is commenting those on_load lines in sets.lua, loading save where mod was not previously installed (now works until save/load), then saving, disabling mod, loading, saving, uncommenting lines, enabling mod, loading (now works forever).

tassman
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Feb 09, 2018 4:01 pm
Contact:

Re: [MOD 0.12.x] Autofill

Post by tassman »

wvlad wrote:I somehow managed to fix it, I think the sequence is commenting those on_load lines in sets.lua, loading save where mod was not previously installed (now works until save/load), then saving, disabling mod, loading, saving, uncommenting lines, enabling mod, loading (now works forever).
Can't reproduce. I think I must wait for repair.

tassman
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Feb 09, 2018 4:01 pm
Contact:

Re: [MOD 0.12.x] Autofill

Post by tassman »

Any updates?

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [MOD 0.12.x] Autofill

Post by eradicator »

Bug report:

With my new mod Stationary Fusion Reactors i get an error printed to the game/console every time i place a reactor (electric-energy-interface) in the world (only the last line is repeated every time).

Code: Select all

  27.675 Script @__autofill__/stdlib/event/event.lua:160: __autofill__/autofill/sets.lua:73: attempt to index field 'forces' (a nil value)
  27.941 Script @__autofill__/stdlib/event/event.lua:160: __autofill__/changes.lua:34: bad argument #0 to 'log' (Wrong number of arguments.)
  27.942 Script @__autofill__/stdlib/event/event.lua:160: __autofill__/autofill/sets.lua:73: attempt to index field 'forces' (a nil value)
  29.840 Script @__autofill__/stdlib/event/event.lua:160: __autofill__/autofill/autofill.lua:51: attempt to index local 'pdata' (a nil value)

CptnPenguin
Burner Inserter
Burner Inserter
Posts: 8
Joined: Thu Aug 10, 2017 1:09 pm
Contact:

Re: [MOD 0.12.x] Autofill

Post by CptnPenguin »

Hey Nexela, since the update might take a little more time, is there a fix I can do by myself? Since just re-installing the mod didn't work for me either!
If it's too complicated to explain to a layman, I will just be patient instead.

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: [MOD 0.12.x] Autofill

Post by Nexela »

For a simple fix updating the .15 version to work in .16 might be the best bet. It should be fairly trivial... but don't quote me on that.

joerg29
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Feb 23, 2018 7:14 pm
Contact:

Re: [MOD 0.12.x] Autofill

Post by joerg29 »

I get this error with 1.16

__autofill__/autofill/sets.lua:51: attempt to index local 'pdata' (a nil value)

Post Reply

Return to “Mods”