[0.11.6]Filtered Splitters - Huge stability boost!

Topics and discussion about specific mods
n9103
Smart Inserter
Smart Inserter
Posts: 1067
Joined: Wed Feb 20, 2013 12:09 am
Contact:

Re: [MOD 0.10.x]Filtered Splitters - N-way splitting and fil

Post by n9103 »

Compatibility Patch, Get
Good news everybody!
Updated for .11.x :D
Bad news everybody!
Incompatible with .11.5 :evil:

Took me about an hour of troubleshooting to pinpoint the problem of moving to .11.3. (wrong format for platform_picture in entity.lua)
No idea how to fix the new problem in .11.5. (attempting to "generate chunk in unreasonable position")
It's unlikely to be MP compatible, but I don't see why it couldn't become as such with some more work.

Now to downgrade myself back to .11.3. The things I do for you guys. ;)
Attachments
SmartSplitters_0.0.2.zip
(31.64 KiB) Downloaded 436 times
Last edited by n9103 on Tue Dec 09, 2014 4:27 am, edited 2 times in total.
Colonel Failure wrote:You can lose your Ecologist Badge quite quickly once you get to the point of just being able to murder them willy-nilly without a second care in the world.

User avatar
AlphaRaptor
Fast Inserter
Fast Inserter
Posts: 102
Joined: Wed Dec 03, 2014 6:58 pm
Contact:

Re: [MOD 0.10.x]Filtered Splitters - N-way splitting and fil

Post by AlphaRaptor »

n9103 wrote:
Incoming compatibility patch
This is Awesome :D
I hope you can release this very soon :) , i will try it in MP :D

Thanks for the Great Modding :mrgreen:
Live your life like you want.
Mods are still Awesome , and i love Mods , for every Game.

Lov'in it.

n9103
Smart Inserter
Smart Inserter
Posts: 1067
Joined: Wed Feb 20, 2013 12:09 am
Contact:

Re: [MOD 0.10.x]Filtered Splitters - N-way splitting and fil

Post by n9103 »

Updated release above
I don't expect it works in MP however. Sorry.
Not that it can't, but I don't have the time or will to sort that out at the moment.
However, it should be a relatively simple chore for someone that's already patched something else to be MP compatible.

Also, not modding really.
I didn't create anything. Just poked around (a lot) and fixed a couple bugs in the syntax.
I'll accept praise after you've played it. ;)
Colonel Failure wrote:You can lose your Ecologist Badge quite quickly once you get to the point of just being able to murder them willy-nilly without a second care in the world.

User avatar
AlphaRaptor
Fast Inserter
Fast Inserter
Posts: 102
Joined: Wed Dec 03, 2014 6:58 pm
Contact:

Re: [MOD 0.10.x]Filtered Splitters - N-way splitting and fil

Post by AlphaRaptor »

There is still a Bug.
If you place it you get a Permanent Chunk error until you break it.

:mrgreen:
Live your life like you want.
Mods are still Awesome , and i love Mods , for every Game.

Lov'in it.

User avatar
berni1212
Fast Inserter
Fast Inserter
Posts: 137
Joined: Sun Dec 07, 2014 8:52 am
Contact:

Re: [MOD 0.10.x]Filtered Splitters - N-way splitting and fil

Post by berni1212 »

AlphaRaptor wrote:There is still a Bug in MP.
If you place it you get a Permanent Chunk error until you break it.



:mrgreen:
Its not in MP And SP its a Chunk Erorr if u break the Filter it works again :(
Sorry for my bad English ! i will not remove it !
WIP Test MODS
RailTanker [MP WIP]

User avatar
ThaPear
Fast Inserter
Fast Inserter
Posts: 226
Joined: Fri May 30, 2014 8:05 am
Contact:

Re: [MOD 0.10.x]Filtered Splitters - N-way splitting and fil

Post by ThaPear »

That problem is probably because of the grab/drop positions specified in the entity.
Sorry people, I can't fix it myself as I'm really busy with college. I love that it's seen as useful enough to be updated though.

Grimshad
Inserter
Inserter
Posts: 42
Joined: Thu Dec 11, 2014 12:37 am
Contact:

Re: [MOD 0.11.3]Filtered Splitters - N-way splitting and fil

Post by Grimshad »

Fixed the problem and is 100% 11.5 and MP compatible.

Here ya go:
http://www.mediafire.com/download/63caz ... _0.0.3.zip

have fun.
Last edited by Grimshad on Tue Dec 16, 2014 1:29 am, edited 1 time in total.

n9103
Smart Inserter
Smart Inserter
Posts: 1067
Joined: Wed Feb 20, 2013 12:09 am
Contact:

Re: [MOD 0.11.3]Filtered Splitters - N-way splitting and fil

Post by n9103 »

Had a problem with the splitters dis-associating (I'm gonna call it that anyway), requiring the series to be pulled up and re-built. (Hadn't run into this specifically before, but not very surprised, as they were touchy to get going once or twice.)
Additionally, the inserter arrows always point East (not a big problem) and also block the ALT overlay, so it's hard to tell what a specific splitter is filtering (kind of big problem).
I suspect that setting a non-zero radius while keeping an essentially infinite turn speed would fix the new issues.
Not sure about fixing the lost ID problem though.
Colonel Failure wrote:You can lose your Ecologist Badge quite quickly once you get to the point of just being able to murder them willy-nilly without a second care in the world.

User avatar
berni1212
Fast Inserter
Fast Inserter
Posts: 137
Joined: Sun Dec 07, 2014 8:52 am
Contact:

Re: [MOD 0.11.3]Filtered Splitters - N-way splitting and fil

Post by berni1212 »

Grimshad wrote:Fixed the problem and is 100% 11.5 and MP compatible.

Here ya go:
http://www.mediafire.com/download/63caz ... _0.0.3.zip

NOTE: While testing MP there was massive lag, I didn't investigate it and assume the lag was caused by me loading a sandbox game in MP. The mod itself works fine in MP.

have fun.
Its working but i can't break it or Replace it idk why but we use Smartmodpack (Link in Sinature)
I am always getting an error:
Error while running the event handler __Smartspliters__\control.lua:284: Map doesn't contain 1 player this function can't be used
Sorry for my bad English ! i will not remove it !
WIP Test MODS
RailTanker [MP WIP]

Grimshad
Inserter
Inserter
Posts: 42
Joined: Thu Dec 11, 2014 12:37 am
Contact:

Re: [MOD 0.11.3]Filtered Splitters - N-way splitting and fil

Post by Grimshad »

n9103 wrote:Had a problem with the splitters dis-associating (I'm gonna call it that anyway), requiring the series to be pulled up and re-built. (Hadn't run into this specifically before, but not very surprised, as they were touchy to get going once or twice.)
Additionally, the inserter arrows always point East (not a big problem) and also block the ALT overlay, so it's hard to tell what a specific splitter is filtering (kind of big problem).
I suspect that setting a non-zero radius while keeping an essentially infinite turn speed would fix the new issues.
Not sure about fixing the lost ID problem though.
The splitters losing the ID's is just because the original authors code isn't fleshed out. They will be finicky and if you edit them in any way other than changing the filters you will most likely have to re-place them all. They are a place and leave alone type of item. (and i don't have the time or will to expand on it)

The inserter arrows... in my game it does not show any inserter arrows. Could you tell me how to reproduce this?
berni1212 wrote: Its working but i can't break it or Replace it idk why but we use Smartmodpack (Link in Sinature)
I am always getting an error:
Error while running the event handler __Smartspliters__\control.lua:284: Map doesn't contain 1 player this function can't be used
Can't reproduce unable to break/replace. Please explain how to reproduce.

error: This could be a problem with something else in that pack, because I cannot reproduce this error. This happens when something is called from player in MP, which smartsplitters don't do.

n9103
Smart Inserter
Smart Inserter
Posts: 1067
Joined: Wed Feb 20, 2013 12:09 am
Contact:

Re: [MOD 0.11.3]Filtered Splitters - N-way splitting and fil

Post by n9103 »

It's an option on the graphics settings in the system menu.
For some reason it seems to no longer be enable by default, and must be turned on manually at some point after installing Factorio. *shrug*


Oh, and the error message about the ID missing addresses player directly. Other than that, I saw no references.

E:derp
Last edited by n9103 on Thu Dec 11, 2014 8:17 pm, edited 1 time in total.
Colonel Failure wrote:You can lose your Ecologist Badge quite quickly once you get to the point of just being able to murder them willy-nilly without a second care in the world.

User avatar
berni1212
Fast Inserter
Fast Inserter
Posts: 137
Joined: Sun Dec 07, 2014 8:52 am
Contact:

Re: [MOD 0.11.3]Filtered Splitters - N-way splitting and fil

Post by berni1212 »

Grimshad wrote:
n9103 wrote:Had a problem with the splitters dis-associating (I'm gonna call it that anyway), requiring the series to be pulled up and re-built. (Hadn't run into this specifically before, but not very surprised, as they were touchy to get going once or twice.)
Additionally, the inserter arrows always point East (not a big problem) and also block the ALT overlay, so it's hard to tell what a specific splitter is filtering (kind of big problem).
I suspect that setting a non-zero radius while keeping an essentially infinite turn speed would fix the new issues.
Not sure about fixing the lost ID problem though.
The splitters losing the ID's is just because the original authors code isn't fleshed out. They will be finicky and if you edit them in any way other than changing the filters you will most likely have to re-place them all. They are a place and leave alone type of item. (and i don't have the time or will to expand on it)

The inserter arrows... in my game it does not show any inserter arrows. Could you tell me how to reproduce this?
berni1212 wrote: Its working but i can't break it or Replace it idk why but we use Smartmodpack (Link in Sinature)
I am always getting an error:
Error while running the event handler __Smartspliters__\control.lua:284: Map doesn't contain 1 player this function can't be used
Can't reproduce unable to break/replace. Please explain how to reproduce.

error: This could be a problem with something else in that pack, because I cannot reproduce this error. This happens when something is called from player in MP, which smartsplitters don't do.

And if we start it with MP we get an Desync :( the thing is it works sometimes and sometimes that comes we don't know with mod is it
Sorry for my bad English ! i will not remove it !
WIP Test MODS
RailTanker [MP WIP]

User avatar
ThaPear
Fast Inserter
Fast Inserter
Posts: 226
Joined: Fri May 30, 2014 8:05 am
Contact:

Re: [MOD 0.10.x]Filtered Splitters - N-way splitting and fil

Post by ThaPear »

AlphaRaptor wrote:There is still a Bug.
If you place it you get a Permanent Chunk error until you break it.

:mrgreen:
This is probably due to the inserter entity pickup and dropoff being at {1000000,0} causing it to generate a chunk there. This combined with the new chunk distance check probably is the cause for those errors.
The pickup and dropoff positions are such to ensure the inserter will never actually pick something up (as that might result in things disappearing for the player).
Changing that to 500000 or something will probably remove the error.

n9103
Smart Inserter
Smart Inserter
Posts: 1067
Joined: Wed Feb 20, 2013 12:09 am
Contact:

Re: [MOD 0.10.x]Filtered Splitters - N-way splitting and fil

Post by n9103 »

ThaPear wrote: This is probably due to the inserter entity pickup and dropoff being at {1000000,0} causing it to generate a chunk there.
Would you mind point that out within the mod's code?
I never saw anything like that, and all the values/offsets seemed completely rational. :?
Would like to know what part I misunderstood, that's all. :oops:
Colonel Failure wrote:You can lose your Ecologist Badge quite quickly once you get to the point of just being able to murder them willy-nilly without a second care in the world.

User avatar
L0771
Filter Inserter
Filter Inserter
Posts: 516
Joined: Tue Jan 14, 2014 1:51 pm
Contact:

Re: [MOD 0.11.3]Filtered Splitters - N-way splitting and fil

Post by L0771 »

that is on version 0.0.1, prototypes > entity > entities.lua > line 55
i don't know why that number.

n9103
Smart Inserter
Smart Inserter
Posts: 1067
Joined: Wed Feb 20, 2013 12:09 am
Contact:

Re: [MOD 0.11.3]Filtered Splitters - N-way splitting and fil

Post by n9103 »

Hmm. I would think that would've stuck out to me. Ah well.

But to clarify, it's no longer present in the .3 patch.
Also, the latest patch is courtesy of Grimshad, not myself.
Colonel Failure wrote:You can lose your Ecologist Badge quite quickly once you get to the point of just being able to murder them willy-nilly without a second care in the world.

User avatar
ThaPear
Fast Inserter
Fast Inserter
Posts: 226
Joined: Fri May 30, 2014 8:05 am
Contact:

Re: [MOD 0.11.6]Filtered Splitters - N-way splitting and fil

Post by ThaPear »

I've decided to improve this mod.

Updated for version 0.11.6
- Improved the code in many locations, removing several bugs with set and splitter management.
- The splitters should no longer stop functioning.

I've fixed 7 bugs with the splitter and splitter set management. This should greatly improve the stability of the mod.
I've also made it compatible with 11.6.
It seemed to work when I quickly started a multiplayer game and built some splitters. No extensive multiplayer testing has been done though.

My apologies for the long silence, I tend to lose interest in games rather violently.

See the first post for the new download!

User avatar
berni1212
Fast Inserter
Fast Inserter
Posts: 137
Joined: Sun Dec 07, 2014 8:52 am
Contact:

Re: [MOD 0.11.6]Filtered Splitters - N-way splitting and fil

Post by berni1212 »

ThaPear wrote:I've decided to improve this mod.

Updated for version 0.11.6
- Improved the code in many locations, removing several bugs with set and splitter management.
- The splitters should no longer stop functioning.

I've fixed 7 bugs with the splitter and splitter set management. This should greatly improve the stability of the mod.
I've also made it compatible with 11.6.
It seemed to work when I quickly started a multiplayer game and built some splitters. No extensive multiplayer testing has been done though.

My apologies for the long silence, I tend to lose interest in games rather violently.

See the first post for the new download!
Is it compatible for 11.5 too ?
Sorry for my bad English ! i will not remove it !
WIP Test MODS
RailTanker [MP WIP]

User avatar
ThaPear
Fast Inserter
Fast Inserter
Posts: 226
Joined: Fri May 30, 2014 8:05 am
Contact:

Re: [MOD 0.11.6]Filtered Splitters - N-way splitting and fil

Post by ThaPear »

berni1212 wrote:
ThaPear wrote:I've decided to improve this mod.

Updated for version 0.11.6
- Improved the code in many locations, removing several bugs with set and splitter management.
- The splitters should no longer stop functioning.

I've fixed 7 bugs with the splitter and splitter set management. This should greatly improve the stability of the mod.
I've also made it compatible with 11.6.
It seemed to work when I quickly started a multiplayer game and built some splitters. No extensive multiplayer testing has been done though.

My apologies for the long silence, I tend to lose interest in games rather violently.

See the first post for the new download!
Is it compatible for 11.5 too ?
Probably, I believe the latest change for mods was 0.11.3.

User avatar
berni1212
Fast Inserter
Fast Inserter
Posts: 137
Joined: Sun Dec 07, 2014 8:52 am
Contact:

Re: [MOD 0.11.6]Filtered Splitters - N-way splitting and fil

Post by berni1212 »

Gettingi n 11.6 an Chunk error: Trying to make chunk at unresonable position
Sorry for my bad English ! i will not remove it !
WIP Test MODS
RailTanker [MP WIP]

Post Reply

Return to “Mods”