Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
the script seems crash if #OTHER becomes full, and i have not had success with sorting a items into multiple containers... best work around i've found is the Large Azimuth container as "#OTHER"
Does not sort, restart script, restart game, turn of the whole factory etc etc.
I have the timer set up, running the script every 2 seconds, I have a #OTHER container, a $ore and a $components
I also have another large container that had a load of stuff in it
Nothing gets moved out of the large container, no components get moved to $ components, either from the other cargo or from my assemblers, the only thing it does do is move ingots to #OTHER
Am I doing somthing wrong?
I think the idea of using an unsorted container as a go between is a very bad idea and seems to be breaking this script. It simply does not work for me.
Consider that I have 26 Large Cargo Containers. The unsorted simply fills up, and then nothing happens. I tried the "all" thing with the other containers, nothing happens.
I haven't seen the author respond in a great deal of time. Seems abandoned.
Example :
One of my refineries (an arc furnace) has vanilla settings to grab iron, nickel and cobalt...
I set it up this way :
$Arc furnace 2 ore iron -nickel -cobalt | $
So this one should refine iron, but ignore the other two. But let's say I have no raw iron, the furnace still collects the nickel (vanilla behaviour) and starts refining for 1 seconds, and then this script here kicks in and withdraw the nickel ore again.... So vanilla code and this script are constantly fighting over the ore, which results in an extrem slow production (because the furnace can only refine for 1 second every 5 seconds)..
Can this be even controlled ? the problem is much worse with the large refinieries since they are allowed to do everthing.
asi se podria hacer convoy de carga y descarga
i'm completly new to all this programming stuff... Since my base has become quite big, I would like to have my inventory sorted automatically (I would do it manually, but the list scrolling is getting longer and longer).
I'm not fully sure how to use this, but according to the explanation I should get along.
However, there is one thing unclear to me and I would like to have that checked first.
When I make one container to select "$ ore" so that it stashes everything not refined yet, and what doesn't fit into the inventory of my refiners, but my refiners already automatically fetch ore from the storage (vanilla, without your script), wouldn't I create a big loop ?
The container would try to collect the ore, and will also take it from the refiner, while the refiner then takes it back from the container.... How do I prevent that ?
Thanks for helping :)
As of right now the connectors just grab everything and throw them out. You can make a loop but it defeats the purpose of the sorter.
However, as a suggestion, try and look into using Regular Expressions instead of using multiple string splits. It would also really help cut down the number of instructions in the "ParseInventoryString" method. Let me know if you want some help!
Could you add more code comments to the next version? It might be easier for us to help you debug it and give feedback - something I'd be happy to help with if you need.
В общем, если две дуговые печи назвать "$Дуговая печь 1 iron:ore |$" и "$Дуговая печь 2 iron:ore |$", то скрипт игнорирует вторую дуговую печь. Это можно как то исправить, либо это ограничение скрипта?
На всякий случай по нерусски затранслейтю)
----------------
If two arc furnaces give names: "$Arc furnace 1 iron:ore |$" and "$Arc furnace 2 iron:ore |$", then the second arc furnace is not processed by the script. Can fix it?
var amount = otherItems[j].Amount;
if (amount <= 0)
{
//We moved it all!
break;
}
By default, the TransferItemTo method willl only move as much as it can. If you keep trying successive containers, either they will all fill up or you'll move it all. In light of this, you can also remove the "amount" parameter from CanCarry()