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
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/546221822
When I try I get a long list of errors.
The first is: Line 269 The type or namespace 'MyObjectBuilderType' does not exist in the namespace 'Sandbox.Common..ObjectBuilders', are you missing an assembly reference
It goes on to list other line numbers with the same error.
If it's working for you after the update then it's obviouly something I did wrong
Check it.
Give me some time.
Changes:
- The script works in creative mode now. The bug that Exelsiar reported is fixed.
- Support for arc reactors and arc fuel from Arc Reactor Pack was added as Vell requested.
- Filters are taken into account and they act as networks borders.
- Added the ability to support reactors from other mods. (The reactors are not supported yet, but they can be if you request for that)
In this case an integer overflow happend. Not a big deal, but I have to fix this.
BTW: I'm still alive and I'm reading comments. Currently I'm working on support for arc reactors and anything else that's implements an IMyReactor interface but doesn't consume uranium.
"Caught exception during execution of script: Something went wrong with calculations: volumeDiff is -1193439777964750006124457"
No idea why, I've not modified it at all from the steam version, and its running every 10 seconds.
A message "Cannot balance reactors" was changed to "Cannot balance reactors in conveyor network <n> because there is only one reactor." and "Cannot balance reactors in conveyor network <n> because of lack of uranium in it." depending on situation.
Also now the script can continue processing other networks if this message was shown.
I've just looked at code again and now I know what's happend. The one reactor that is not connected is creating a separated conveyor network with itself only. The script tries to balance that network and it cannot, so it writes this message.
BTW: Now i think the message should be "Cannot optimize reactors in conveyor network 2".
Thanks for help :)
I've also found a bug because of this case, so an update will be soon.
1. I have 39 reactors connected, which is the number displayed on the LCD.
2. Playing survival mode.
3. All but one reactor has uranium. This reactor is not connected, and is excluded from the reactor group.
4. All but one reactor is connected, and it is not in the group to be managed.
5. The name is correct.
The program is balancing the reactors, it just shows the message at the end. Not a complaint, really, just trying to help with debugging.
1. Less than 2 connected reactors were found
2. Cannot determine maximum capacity of reactors (this may happen if you are playing in creative mode, the script is designed for use in survival mode)
3. Your reactors are empty
4. Your reactors are not connected by conveyor network
5. You have grouped your reactors, but mistakenly entered the name of the group to the script.
Please, tell if none of these causes applies to your case.
I'll try to make this script.
I was wondering if you might be interested in making something similar, to balance ore amoung drills on a drill ship? (So that when your cargo containers are full and you're just topping off your drill capacity, it gets "evened out" rather than having some drills full and not taking on any more, while others have plenty of capacity left)
I'd imagine it would be more complex since we're not talking only a single type of item involved, but maybe something you'd be interested in taking a crack at?
You have to create a group of reactors that you want to balance and change the script at line 9:
from
public string REACTORS_GROUP = null;
to
public string REACTORS_GROUP = "the name of your group of reactors here";
Assuming that your group will be named "MyReactors" the whole line should be:
public string REACTORS_GROUP = "MyReactors";
The script and group name are case sensitive, so make sure you typed it well. Also make sure there is a semicolon at the end of the line.
From now the script will take into account only the reactors belonging to this group.
BTW: Current restrictions and limitations imposed on scripts prevents me from checking whether the balanced reactors are located on the same ship.
So, what is the toggle to disallow/allow it?