Page 1 of 2

[MOD.12.29] Smart Splitter

Posted: Fri Apr 22, 2016 5:03 pm
by EurypteriD
Name: SmartSplitter
Latest Release: v0.12.29, April 22, 2016
Factorio Version: v0.12.29
Download: Attached to post
Author: ThaPear viewtopic.php?f=87&t=4822
Updater to 12.17 Gorre viewtopic.php?f=92&t=18026

This is a splitter of 1 tile you can use to automatic clean your belts or Sort out. You can see them in action in my video of Self adjusting smeltery Here


To do
Add several tiers
Update research.
New artwork

Let me know if you face any issues. i have tested this both with Bobs and dytech and both is working fine.

Known issues or things I need to fix.
Does not work with output directly into an underground belt.
Does not work unless there is atleast 1 Strait transport belt on the output.
Does not work with 2-3 Filters for 1 output.
Permission to update mod

Re: [MOD.12.29] Smart Splitter

Posted: Fri Apr 22, 2016 8:21 pm
by ThaPear
Nice! I like that it's still around and updated, good work!
Would've liked to have been contacted by you and gorre9090, but since you both at least credited me I guess it's alright.

Re: [MOD.12.29] Smart Splitter

Posted: Sat Apr 23, 2016 9:44 am
by EurypteriD
ThaPear wrote:Nice! I like that it's still around and updated, good work!
Would've liked to have been contacted by you and gorre9090, but since you both at least credited me I guess it's alright.
Sorry that i did'nt contact you i figured you had passed it onto gorre9090. But yes you are the original creator that came up with the idea :)

Re: [MOD.12.29] Smart Splitter

Posted: Mon Apr 25, 2016 1:56 pm
by beringtom
Hey.

I get the error on line 409 in control.
I can remove all but one smartsplitter without crashing and getting line 409 errored.
it says contact (thapear) but since the problem still exists in this version i will post it here.

they where placed vertical, but some of them where destroyed by mobs and when trying to repair them (joining the leftovers) this happend.

Picture in spoilers :)
picture

Re: [MOD.12.29] Smart Splitter

Posted: Tue Apr 26, 2016 1:19 pm
by Expresso
Once you start using fashion HardСraft, I found this mod. Everything worked fine, with only a nuisance - it was impossible to use the copier blue - spliterry copied, but it was impossible to install a filter, there is an automatic crash

Re: [MOD.12.29] Smart Splitter

Posted: Wed May 04, 2016 2:34 pm
by FactorioRox
Doesn't work work with v0.12.33 on steam (potentially earlier versions as well) something referring to control.lua:4 (something about key addinterface) If I remember correctly. Will post screenshot if needed.

Re: [MOD.12.29] Smart Splitter

Posted: Tue May 10, 2016 7:10 am
by Jeri.c
Pls pls pls Update to 12.32

Re: [MOD.12.29] Smart Splitter

Posted: Thu Jun 02, 2016 4:54 am
by sporefreak
I would love to see the bugs fixed :D
use this mod all the time.

Re: [MOD.12.29] Smart Splitter

Posted: Thu Jun 02, 2016 9:13 pm
by Bizobinator
One thing I have trouble with is that I can copy traits from one smart splitter to another. The shift-right-click/shift-left-click stuff (vanilla controls). I have to go & manually set up each filter :P

Re: [MOD.12.29] Smart Splitter

Posted: Sun Jun 05, 2016 11:22 pm
by bigyihsuan
0.12.35. When deconstructing a filtered Smart Splitter with Construction Bots from a Personal Roboport:

Code: Select all

Error while running the event handler: __SmartSplitters__/control.lua:439: LuaEntity API call when LuaEntity was invalid.
Lines 438-441:

Code: Select all

function MoveStack12(_ItemName, _Splitter, _SrcLine, _LineI)
  if _Splitter.energy < 1 then
    return false
  end

Re: [MOD.12.29] Smart Splitter

Posted: Wed Jun 29, 2016 4:30 pm
by Bizobinator
Will this mod be updated for 0.13.1?

Re: [MOD.12.29] Smart Splitter

Posted: Thu Jun 30, 2016 1:25 am
by sporefreak
Bizobinator wrote:Will this mod be updated for 0.13.1?
Maybe with fixed bugs? :D

Re: [MOD.12.29] Smart Splitter

Posted: Tue Jul 05, 2016 12:58 pm
by joshwo69
Got the mod working for factorio version 0.13
Enjoy :)

Re: [MOD.12.29] Smart Splitter

Posted: Mon Aug 15, 2016 8:21 pm
by funnysunnybunny
If you want faster smartsplitter you need to go to control.lua and change stuff here

--if game.tick % 5 == 0 then
if game.tick % 3 == 0 then
for set_no, set in pairs(global.sspl.splitSets) do
for sp_no, splitter in pairs(set.splitters) do
if splitter.valid then
local scanArea = GetScanArea(splitter.direction, splitter.position)
local belt=splitter.surface.find_entities_filtered{type = "transport-belt", area = scanArea}
the --if game.tick % 5 == 0 is the original update rate

Re: [MOD.12.29] Smart Splitter

Posted: Sun Sep 11, 2016 5:47 pm
by bigyihsuan
Will this be updated to 0.14?

Re: [MOD.12.29] Smart Splitter

Posted: Mon Oct 10, 2016 1:51 am
by Nevalle
So, believe i've discovered a bug, I think, i have a smart splitter trying to split of red/green/blue science packs. but when i tell it to split off green science packs it stops everything from coming through it. i have 2 splitters side by side, one is suppose to split science packs and the other to let the rest of the items through, when i turn the green science pack off it lets the rest of items through.. any idea?

Re: [MOD.12.29] Smart Splitter

Posted: Mon Oct 10, 2016 3:59 am
by sporefreak
Nevalle wrote:So, believe i've discovered a bug, I think, i have a smart splitter trying to split of red/green/blue science packs. but when i tell it to split off green science packs it stops everything from coming through it. i have 2 splitters side by side, one is suppose to split science packs and the other to let the rest of the items through, when i turn the green science pack off it lets the rest of items through.. any idea?
If you tell a splitter to filter something it stops everything else from coming through.

Re: [MOD.12.29] Smart Splitter

Posted: Tue Oct 11, 2016 1:11 am
by Nevalle
I apologize i may of explained it wrong. i have 2 splitters 1 side by side like a normal splitter, one is filtering green/red/blue science packs and the second one is left blank. blank one should allow every other item to pass through it freely

My other one i have works perfectly fine. splitting ore's. it only occurs with the green science pack. if i split the red and blue only it will still allow other items through like normal

Re: [MOD.12.29] Smart Splitter

Posted: Tue Oct 11, 2016 3:30 pm
by sporefreak
Nevalle wrote:I apologize i may of explained it wrong. i have 2 splitters 1 side by side like a normal splitter, one is filtering green/red/blue science packs and the second one is left blank. blank one should allow every other item to pass through it freely

My other one i have works perfectly fine. splitting ore's. it only occurs with the green science pack. if i split the red and blue only it will still allow other items through like normal
A blank listed splitter will not pull items from other lanes, it will only allow items to pass through that are directly hitting it. Maybe a screen shot would help explain, after all... pictures speak 1000 words :P

Re: [MOD.12.29] Smart Splitter

Posted: Tue Oct 11, 2016 9:58 pm
by Nevalle
Actually thought about that last night after i reposted but was a little late. will get some up as soon as i can =D