Page 1 of 1

Short logistics request delay

Posted: Sun Oct 07, 2018 11:01 am
by Maoman
This one should be pretty simple to implement: I'd like a mod where there is a short one or two second delay between when you change the number for a logistics or trash slot and when that number is actually sent to the logistic network.

For example: if you request some iron, drag the slider to 200, then accidentally go too far and it hits 300 for just a moment before you slide back down to 200, currently the request for 300 is instantly applied and the bots will bring you 300. This mod will wait a second or two and only send the bots a request once you've stopped on a number.

Alternate example: if you make a trash slot for iron and manually type 100 in, first you have to type "1" which is applied instantly and all but 1 iron goes into trash slots. This mod will wait a second or two for you to finish typing "100" and only apply the rule to your inventory when the number stops changing.

Re: Short logistics request delay

Posted: Sun Oct 07, 2018 11:19 am
by darkfrei
Same topics:
viewtopic.php?t=30913
viewtopic.php?t=23622

But now you can set to "request 1 item instead of stack" in the game options.

Re: Short logistics request delay

Posted: Sun Oct 07, 2018 12:40 pm
by Maoman
darkfrei wrote:
Sun Oct 07, 2018 11:19 am
Same topics:
viewtopic.php?t=30913
viewtopic.php?t=23622

But now you can set to "request 1 item instead of stack" in the game options.
These are not the same topic. I already have that option enabled. That option does keep me from summoning a full stack if I wanted less than that, but does nothing about either of the two examples I provided.

Re: Short logistics request delay

Posted: Sun Oct 07, 2018 12:54 pm
by darkfrei
Maoman wrote:
Sun Oct 07, 2018 12:40 pm
These are not the same topic.
The main problem is: "I get from my logistic robots too much items, but I don't need them". And here is a lot of ideas how to fix this problem.

Re: Short logistics request delay

Posted: Sun Oct 07, 2018 4:33 pm
by eradicator
Maoman wrote:
Sun Oct 07, 2018 11:01 am
For example: if you request some iron, drag the slider to 200, then accidentally go too far and it hits 300 for just a moment before you slide back down to 200, currently the request for 300 is instantly applied and the bots will bring you 300. This mod will wait a second or two and only send the bots a request once you've stopped on a number.
The modding API offers no way of intercepting that input. It's all done internally. I certainly wouldn't mind if that was the default behaviour. But short of reimplementing the whole GUI i see no way to mod that.

Re: Short logistics request delay

Posted: Sun Oct 07, 2018 8:23 pm
by Maoman
eradicator wrote:
Sun Oct 07, 2018 4:33 pm
The modding API offers no way of intercepting that input. It's all done internally. I certainly wouldn't mind if that was the default behaviour. But short of reimplementing the whole GUI i see no way to mod that.
Ah damn, ok. I guess this needs to be put in ideas and suggestions instead, then. Thanks for your response :)

Re: Short logistics request delay

Posted: Mon Oct 08, 2018 8:54 am
by bobingabout
Maoman wrote:
Sun Oct 07, 2018 11:01 am
This one should be pretty simple to implement:
About 90% of mod ideas that start with that, are actually either impossible, or really damn hard to do. If it really was that simple or easy, most ideas like this already would have a mod for it.

Try to avoid starting ideas with lines like that. ;P

Re: Short logistics request delay

Posted: Mon Oct 08, 2018 3:13 pm
by mrvn
+1 on the delay. Both for requests (personal and otherwise) and trash.

Re: Short logistics request delay

Posted: Mon Oct 08, 2018 5:40 pm
by eradicator
bobingabout wrote:
Mon Oct 08, 2018 8:54 am
Maoman wrote:
Sun Oct 07, 2018 11:01 am
This one should be pretty simple to implement:
About 90% of mod ideas that start with that, are actually either impossible, or really damn hard to do. If it really was that simple or easy, most ideas like this already would have a mod for it.

Try to avoid starting ideas with lines like that. ;P
I just googled and am astonished that "This should be easy....(many hours later)...damn, why doesn't it work!" isn't some kind of meme, given how often it seems to happen to almost everyone.

Re: Short logistics request delay

Posted: Thu Oct 11, 2018 10:58 am
by mrvn
eradicator wrote:
Mon Oct 08, 2018 5:40 pm
bobingabout wrote:
Mon Oct 08, 2018 8:54 am
Maoman wrote:
Sun Oct 07, 2018 11:01 am
This one should be pretty simple to implement:
About 90% of mod ideas that start with that, are actually either impossible, or really damn hard to do. If it really was that simple or easy, most ideas like this already would have a mod for it.

Try to avoid starting ideas with lines like that. ;P
I just googled and am astonished that "This should be easy....(many hours later)...damn, why doesn't it work!" isn't some kind of meme, given how often it seems to happen to almost everyone.
It' right along there with "This will never happen!" and "What could possibly go wrong?"

Re: Short logistics request delay

Posted: Sun Oct 28, 2018 11:21 pm
by Maoman
bobingabout wrote:
Mon Oct 08, 2018 8:54 am
Maoman wrote:
Sun Oct 07, 2018 11:01 am
This one should be pretty simple to implement:
About 90% of mod ideas that start with that, are actually either impossible, or really damn hard to do. If it really was that simple or easy, most ideas like this already would have a mod for it.

Try to avoid starting ideas with lines like that. ;P
mrvn wrote:
Thu Oct 11, 2018 10:58 am
It' right along there with "This will never happen!" and "What could possibly go wrong?"
In retrospect that makes perfect sense and I really ought to have known better xD Definitely won't be saying it again.

Re: Short logistics request delay

Posted: Sun Oct 28, 2018 11:24 pm
by Maoman
Sorry for the pointless bump! I clicked "bump topic" cause I wanted to see what it would do... I figured it'd have a confirmation, or maybe have an auto-generated message or... idk, just wasn't expecting it to instantly go through.