Type: Mod
Name: Fast Filter Fill
Description: Quickly manage Cargo Wagon filters and Logistic Requester Chest request values
License: MIT
Version: 0.5.2
Release: 2015-10-20
Tested-With-Factorio-Version: 0.12.10 and 0.12.12
Category: Convenience
Tags: User-Interface, Vehicles
Download-Url: https://github.com/SeaRyanC/fast-filter ... _0.5.2.zip
Website: https://github.com/SeaRyanC/fast-filter-fill
License
License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Long description
Long description
A Factorio mod for managing container filters, logistic requests, and maybe other stuff later. Supports all 0.12.x versions of Factorio. For a complete description, see the GitHub page https://github.com/SeaRyanC/fast-filter ... /README.md
Pictures
Pictures
Version history
Version history
Version 0.5.0 - 10/20/2015: First release
Re: [MOD 0.12.x] Fast Filter Fill
Posted: Wed Oct 21, 2015 10:59 am
by XyLe
Really cool idea for a mod, definitely worth checking out! Thanks for uploading!
Re: [MOD 0.12.x] Fast Filter Fill
Posted: Sun Oct 25, 2015 8:05 pm
by GameCharmer
My first attempt at modding a mod is to make this compatible with the stainless steel wagons mod. I came up with the following, which does make the controls show up and function for the new wagon, but it will only effect the first 3 rows, despice returning the full 17.
-- TODO: Implement Car, Tank when those get API support
function getRows(player)
if player.opened.type == "cargo-wagon" then
return 3
elseif player.opened.type == "stainless-steel-wagon" then
return 17
else
return nil
end
end
-- TODO: Add Car, Tank when those get API support (or we get API support for detecting this programatically)
function canFilter(obj)
if obj.type == "cargo-wagon" then
return true
elseif obj.type == "stainless-steel-wagon" then
return true
else
return false
end
end
Any ideas?
Re: [MOD 0.12.x] Fast Filter Fill
Posted: Sun Oct 25, 2015 9:01 pm
by cartmen180
player.opened.type calls for a type. stainless-steel-wagon is not a type but a name. It is however a type cargo-wagon so first 3 rows will work as is specified in the code.
You have to include the name in the statement somehow. I am not familiar with factorio methods but maybe try something along these lines:
function getRows(player)
if player.opened.type == "cargo-wagon" then
if player.opened.name == "cargo-wagon"then
return 3
elseif player.opened.name == "stainless-steel-wagon" then
return 17
else
return nil
end
end
end
Re: [MOD 0.12.x] Fast Filter Fill
Posted: Sun Oct 25, 2015 9:38 pm
by GameCharmer
That worked perfectly! Thanks so much for your help!
Re: [MOD 0.12.x] Fast Filter Fill
Posted: Sun Oct 25, 2015 10:09 pm
by fcaf
I'd love a pull request implementing non-built-in cargo wagons! I had a hard time figuring out how to determine the capacity of a container, but I'm sure it's possible.
Re: [MOD 0.12.x] Fast Filter Fill
Posted: Mon Oct 26, 2015 7:41 am
by cartmen180
GameCharmer wrote:That worked perfectly! Thanks so much for your help!
You're welcome
Re: [MOD 0.12.x] Fast Filter Fill
Posted: Mon Oct 26, 2015 4:39 pm
by Xterminator
Very nice mod and idea. I have always thought it was a pain to manually filter slots in stuff, this is really nice and makes it way easier.
Definitely doing spotlight on this.
Re: [MOD 0.12.x] Fast Filter Fill
Posted: Tue Oct 27, 2015 2:38 am
by GameCharmer
Definitely a massive help. The stainless steel wagons have 170 slots, so it takes forever to set filters on all of them.
Re: [MOD 0.12.x] Fast Filter Fill
Posted: Mon Nov 02, 2015 10:18 pm
by Golden
A friend of mine and I are playing a multiplayer game with your mod, and whenever one of us uses the functions at the top to change the filters, it causes a desync loop. This is in any container, or inserter, etc, that this works on. Not sure why this would be happening, but it is.
Re: [MOD 0.12.x] Fast Filter Fill
Posted: Sun Nov 22, 2015 6:02 pm
by mophydeen
Golden wrote:A friend of mine and I are playing a multiplayer game with your mod, and whenever one of us uses the functions at the top to change the filters, it causes a desync loop. This is in any container, or inserter, etc, that this works on. Not sure why this would be happening, but it is.
same here
Re: [MOD 0.12.x] Fast Filter Fill
Posted: Mon Nov 23, 2015 3:19 am
by fcaf
I can confirm the desync issue, but have no idea why it's happening. Is there a guide somewhere that explains how to diagnose desync issues?
Re: [MOD 0.12.x] Fast Filter Fill
Posted: Wed Jan 06, 2016 1:49 pm
by Natfrac42
I have a feeling i am just being a complete moron about this but i have installed this mod and the gui doesn't appear when I open a cargo wagon or a requester chest. I thought it may be to do with one of the mods i am using so i downloaded a fresh version of factorio (0.12.20) and installed it on there but the gui still doesn't appear. Any help???
Re: [MOD 0.12.x] Fast Filter Fill
Posted: Wed Jan 06, 2016 6:30 pm
by Natfrac42
Ok so after playing around with debug messages trying to figure it out, it randomly works again!!!
No idea why
Re: [MOD 0.12.x] Fast Filter Fill
Posted: Wed Apr 13, 2016 7:35 pm
by Rseding91
fcaf wrote:I can confirm the desync issue, but have no idea why it's happening. Is there a guide somewhere that explains how to diagnose desync issues?
Bi0nicM4n wrote:I managed to make this work in 0.13.20. It supports not only cargo wagons, but also cars and tanks now. This should do while the author is elsewhere.