Page 5 of 8

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.2

Posted: Thu Jul 14, 2016 4:45 pm
by justarandomgeek
Choumiko wrote:don't trash blueprints/books (clears the blueprint)
Oh so I have a blank book floating around out there somewhere, not a filled book? That's a lot less likely to make a mess when it winds up in a deployer one day at least... :D

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.2

Posted: Thu Jul 14, 2016 5:11 pm
by Nexela
Choumiko wrote:Updated to Autotrash 0.1.5
  • temporary trash gets removed from main inventory, quickbar and cursor
:D I didn't even get a chance to test if the previous version caused it to not take from cursor :)

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.5

Posted: Wed Jul 20, 2016 5:35 pm
by ssilk
Found bug when loading a 0.12.35 game, into 0.13.9 (latest mod version), Single player...

Code: Select all

Error while running the on_configuration_changed: AutoTrash/control.lua:35: attempt to index field 'mainNetwork' (a nil value)

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.2

Posted: Sat Jul 23, 2016 3:12 pm
by Choumiko
Updated to Autotrash 0.1.6
  • added tooltip to Pause buttons, showing the configured hotkey
  • fixed migration error

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.6

Posted: Sat Jul 23, 2016 3:38 pm
by Qon
Will AutoTrash merge with the default Factorio 0.13.10 autotrash behaviour in any way or will it stay as it is with double GUIs for auto trash slots? Autotrash has some features not available in factorio still and it might be hard to mod the current vanilla autotrash behaviour so I could see it go either way. Any thoughts on the vanilla implementation?

I like the "autotrash above logistics request because I don't have to set up my request/remove settings twice. And temporary autotrash is a nice useful feature too that I use. So I'll keep the mod.

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.6

Posted: Sat Jul 23, 2016 3:45 pm
by siggboy
I don't think that the new feature in 0.13.10 comes close to the functionality of AutoTrash (that's not to say it's a bad feature).

It's probably OK to simply have both ways coexist. AutoTrash moves items from the inventory to the trash slots, whereas the new auto-trash slots are more like requester slots that have items selected in them permanently (a bit like the AutoTrash configuration UI).

Maybe AutoTrash could check if any items from its config are also in the Vanilla auto-trash slots, and then ignore them? Probably some shenanigans are necessary in any case to avoid that items are trashed twice, or too many items are trashed.

Another possibility is to remove/lock the vanilla auto-trash slots, and/or disable the functionality; this could also be a config option. It would make sure that you don't use both by accident in incompatible ways.

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.6

Posted: Sat Jul 23, 2016 4:58 pm
by Choumiko
I'd very much like to get rid of the Autotrash gui (the items part) and use the vanilla one to configure Autotrash. Sadly vanilla autotrash removes items from the quickbar/cursor too, else it would have been very easy to remove all duplicate stuff (parts of the gui, the whole on_tick function etc.)

Maybe i can work around some things (changing the autotrash amount when the quickbar/cursor get's changed, as vanilla seems to prefer taking from the main inventory), other stuff might need an API request. Luckily it doesn't break AutoTrash, so i guess coexistence is fine for now.

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.6

Posted: Tue Jul 26, 2016 12:35 am
by Peppe
On 0.13.11. Removed all other mods and can't seem to get the logistics side of this mod working.

AutoTrash_0.1.6 from mod portal.

Started a new world. Gave myself all techs.

Seems like something is not initializing.

Click on logistics configuration button and see your grid. Click iron plates from inventory and click on any slot in the grid and get:
AutoTrach gui.lua:619: attempt to index field '?' (a nil value)

I click clear all:
AutoTrach gui.lua:563: attempt to index field '?' (a nil value)

I click save:
AutoTrach gui.lua:528: attempt to index field '?' (a nil value)

I click store:
AutoTrach gui.lua:650: attempt to index field '?' (a nil value)

Pause works :P
Unpause works

Adding things using vanilla filtering has them show up in the grid, but can change number, but can't save. Right click to clear gets 619 line, left click with nothing 594.

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.6

Posted: Tue Jul 26, 2016 2:10 am
by Nexela
true running /c remote.call("at","reset", "true") or uninstall the mod, open and save your world then reinstall the mod.

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.6

Posted: Tue Jul 26, 2016 2:14 am
by Peppe
Nexela wrote:true running /c remote.call("at","reset", "true") or uninstall the mod, open and save your world then reinstall the mod.
Done the uninstall, save, reinstall load. Before, but tried again and no change.

Tried the command. No change.

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.6

Posted: Tue Jul 26, 2016 2:29 am
by Nexela
Ok just had time to check myself and it is borked

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.6

Posted: Tue Jul 26, 2016 7:35 am
by Choumiko
Updated to Autotrash 0.1.7
  • fixed logistic requests not working at all
:roll:
Peppe wrote:On 0.13.11. Removed all other mods and can't seem to get the logistics side of this mod working.
Thanks for the report, though a lot of errors it was only a minor change :mrgreen:

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.6

Posted: Tue Jul 26, 2016 8:22 am
by siggboy
Choumiko wrote:Thanks for the report, though a lot of errors it was only a minor change :mrgreen:
Sometimes you chase a bug for three days, and in the end it's a one-line commit. No wonder that the muggles think that those Computer Guys are scary :lol:

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.6

Posted: Sat Aug 27, 2016 10:01 am
by Choumiko
Updated to Autotrash 0.1.8|1.0.0
  • added version 1.0.0 for Factorio 0.14.x
  • 0.1.8 is for Factorio 0.13.18+
  • added hotkey to add the item on the cursor to temporary trash. Toggles pausing autotrash when the cursor is empty
  • added console command to hide/show the buttons: /c remote_call("at", "hide"), /c remote.call("at", "show")


The new features are in both versions

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.6

Posted: Sat Aug 27, 2016 11:14 am
by Nexela
Choumiko wrote: [*]added hotkey to add the item on the cursor to temporary trash. Toggles pausing autotrash when the cursor is empty

The new features are in both versions
HAH! I was gonna request that :)

Re: [MOD 0.13|0.14]AutoTrash 0.1.8|1.0.0

Posted: Sat Feb 04, 2017 10:44 pm
by ssilk
I'm not sure, if this is the failure of Satellite Uplink or AutoTrash. Or a third mod. :)

Code: Select all

Passed index is out of range stack traceback: __AutoTrash__/control.lua:184: in function 'requested_items' __AutoTrash__/control.lua:247: in function <__AutoTrash__/control.lua:237>: [C]: in function 'pcall'  __AutoTrash__/control.lua:237: in function <__AutoTrash__/control.lua:235>
This happened, when I left the Satellite Uplink, after researched another tier of request slots.

Edit: Maybe also this viewtopic.php?f=93&t=9352&hilit=MoreLogisticSlots

Re: [MOD 0.12.x|0.13]AutoTrash 0.1.6

Posted: Tue Apr 25, 2017 11:48 am
by Choumiko
Updated to Autotrash 2.0.
  • Updated for Factorio 0.15.x

Re: [MOD 0.15|0.14]AutoTrash 2.0.

Posted: Tue Apr 25, 2017 8:29 pm
by ssilk
When starting the scenario base/wave-defense

Re: [MOD 0.15]AutoTrash 2.0.1

Posted: Tue Apr 25, 2017 8:50 pm
by Choumiko
Updated to Autotrash 2.0.1
  • fixed error when starting the new Wave Defense scenario

Re: [MOD 0.15|0.14]AutoTrash 2.0.1

Posted: Thu Jun 22, 2017 8:03 pm
by Krangth
I'm having an issue with the mod. The ui is missing, but the mod still seems to be running, yet I can't interact with it. All attempts result in the same error, but at a different line of code.
Image

This problem just seemed to randomly happen. I didn't change the mods with the game. Played for like 50+ hours in this save game without issue. Let me know if I can provide any other information for you.