[MOD.12.29] Smart Splitter

Topics and discussion about specific mods
Bizobinator
Fast Inserter
Fast Inserter
Posts: 193
Joined: Fri May 06, 2016 10:35 pm
Contact:

Re: [MOD.12.29] Smart Splitter

Post by Bizobinator »

Will this mod be updated for 0.13.1?
User avatar
sporefreak
Fast Inserter
Fast Inserter
Posts: 185
Joined: Sun Apr 17, 2016 12:55 am
Contact:

Re: [MOD.12.29] Smart Splitter

Post by sporefreak »

Bizobinator wrote:Will this mod be updated for 0.13.1?
Maybe with fixed bugs? :D
joshwo69
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Jun 17, 2015 6:38 am
Contact:

Re: [MOD.12.29] Smart Splitter

Post by joshwo69 »

Got the mod working for factorio version 0.13
Enjoy :)
Attachments
SmartSplitters_0.12.30.zip
(73.75 KiB) Downloaded 276 times
funnysunnybunny
Inserter
Inserter
Posts: 46
Joined: Mon Jul 11, 2016 4:26 pm
Contact:

Re: [MOD.12.29] Smart Splitter

Post 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
User avatar
bigyihsuan
Filter Inserter
Filter Inserter
Posts: 299
Joined: Thu Jan 01, 2015 12:57 pm
Contact:

Re: [MOD.12.29] Smart Splitter

Post by bigyihsuan »

Will this be updated to 0.14?
Nevalle
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Sep 04, 2016 7:18 pm
Contact:

Re: [MOD.12.29] Smart Splitter

Post 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?
User avatar
sporefreak
Fast Inserter
Fast Inserter
Posts: 185
Joined: Sun Apr 17, 2016 12:55 am
Contact:

Re: [MOD.12.29] Smart Splitter

Post 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.
Nevalle
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Sep 04, 2016 7:18 pm
Contact:

Re: [MOD.12.29] Smart Splitter

Post 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
User avatar
sporefreak
Fast Inserter
Fast Inserter
Posts: 185
Joined: Sun Apr 17, 2016 12:55 am
Contact:

Re: [MOD.12.29] Smart Splitter

Post 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
Nevalle
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Sep 04, 2016 7:18 pm
Contact:

Re: [MOD.12.29] Smart Splitter

Post 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
Nevalle
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Sep 04, 2016 7:18 pm
Contact:

Re: [MOD.12.29] Smart Splitter

Post by Nevalle »

Ok so there a little mixed up, last screen shot is what I'm trying to accomplish, but it wont allow it though with that setting.. i have found a workaround for some reason it will work as long as 4 splitters are attached. "2nd Pic" first pic is just to show even with 3 splitters it dont work.

after actually playing around with it, it seems like its not the green flask but any combination of 2 or more. be it red/blue green/blue or red/green. as soon as i put that second filter on it stops the belt.
Attachments
427520_20161011183658_1.png
427520_20161011183658_1.png (1.85 MiB) Viewed 1950 times
427520_20161011183649_1.png
427520_20161011183649_1.png (1.87 MiB) Viewed 1950 times
427520_20161011183629_1.png
427520_20161011183629_1.png (1.84 MiB) Viewed 1950 times
Post Reply

Return to “Mods”