[Tool] X Rebirth Builder 2.1 (Factory Complex Calculator & Planner)

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Vaperius
Posts: 20
Joined: Sun, 23. Mar 14, 05:16

Post by Vaperius » Tue, 10. May 16, 19:31

Warehouses don't have wares in them and don't have traditional productions stats.

A tool for adding wares into the system could be used for testing how adjustments to the system would affect everything overall within the economy. If you put X wares bought at X price to be sold at X price, the existing tool could calculate how much the goods value is and how much you could gain financially from selling your stock in a given economy. Basically a way to make it possible to place down a warehouse, put the wares in it you want to use in the first place and see how it effects everything.

It also be nice if the tool could give an estimate of X number of resources that the warehouse will be able to mine based on the OOZ statistics of its subordinate mining ships.

It also just as well should track the output of "Job" and mining ships of other stations to get an approximation of what the real raw material economy looks like. If its possible to import such data from a save that is.

User avatar
Robert Harrison
Posts: 26
Joined: Tue, 17. Jun 14, 22:28
x4

Post by Robert Harrison » Fri, 13. May 16, 09:57

I looked, and might have missed it, but I didn't see any note of this.

I have a station built in an empty sector of DeVries (between Twilight Sentinel and Flickering Flame) which I then named. When the tool goes to populate the map, the new sector breaks it. All the original sectors are piled up together in the center of the screen and the new sector is shown way out on the edge. And it doesn't let me click on any but the top one.

Tomorrow afternoon I can see about getting a screenshot of what I'm referring to if you'd like. It's about 3am now (hurray graveyard shift!), so it'd be 12 hours, at the very least, from the time of this post
"War is not violence and killing, pure and simple; war is controlled violence, for a purpose. The purpose of war is to support your government's decisions by force."

Excerpt From: Robert A. Heinlein. "Starship Troopers."

User avatar
Simoom
Posts: 1110
Joined: Sat, 30. Oct 10, 14:14
x4

Post by Simoom » Fri, 13. May 16, 11:13

Robert Harrison wrote:I looked, and might have missed it, but I didn't see any note of this.

I have a station built in an empty sector of DeVries (between Twilight Sentinel and Flickering Flame) which I then named. When the tool goes to populate the map, the new sector breaks it. All the original sectors are piled up together in the center of the screen and the new sector is shown way out on the edge. And it doesn't let me click on any but the top one.

Tomorrow afternoon I can see about getting a screenshot of what I'm referring to if you'd like. It's about 3am now (hurray graveyard shift!), so it'd be 12 hours, at the very least, from the time of this post
Yeah I don't think this tool takes into account any temporary (empty) zones the player populates, or any new areas added by mods.

I am not sure how difficult it would be to allow import of empty zones... it may be simpler for the tool to simply ignore those zones (and any stations within) altogether, but that may create some issues for planning.

I'll pass the issue along if the mod author hasn't read it yet. :)

User avatar
Simoom
Posts: 1110
Joined: Sat, 30. Oct 10, 14:14
x4

Post by Simoom » Fri, 24. Jun 16, 23:59

Hey everyone! Just letting you know that alexusvm has just released v2.1.44 of this tool. It includes a MASSIVE improvement to UI responsiveness (check it out) and a lot of nifty new features.

Full changelog below:
======================================
- fixed a level change "no bonus" specialists in the station structure;
- added splitter for resize "status" in the structure of the complex and the station (AlexYar, anDron);
- fixed a bug when assigning a buildpoint of the station after its change to the tab "Station" (hisazul);
- added player's warehouse management (Vaperius);
- added different variants of calculations of the "Complex Universe";
- improved UI performance;
- changed the colors for new user's stations (turquoise) and neutral NPC's stations (blue).
- improved import save game function;
- fixed import of trade ships (anDron);
- changed work switch "All production" - when enabled, the calculation is performed without taking into consideration the damage of components and production modules;

- added advanced tooltips for the stations (AlexYar, anDron);
- added check Manager (by default if not included "All production", the balances of the stations without a Manager are not calculated);

- added the edit of a hull state of the production modules;
- added warning about missing of secondary resources (anDron);
- some warnings about the state of the station can be disabled in a new window "Settings";

- changed the save format complex (old versions are supported, but require updates);
- added the ability to compress the complex file (enabled by default).

PhxAs5As5in
Posts: 1
Joined: Sat, 25. Jun 16, 22:26
xr

Getting errors when starting

Post by PhxAs5As5in » Sun, 26. Jun 16, 00:18

When I try to start 2.1.44 I get the following error:

{1001,301];
Unexpected node type Element. ReadElementString method can only
be called om elements with simple or empty content. Line 186, position 4.

Followed by an Unhandled exception boc with:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at XRB.Form_Load.SetLocalization()
at XRB.Form_Load.Me_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1080.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
X Rebirth builder 2
Assembly Version: 2.1.44.0
Win32 Version: 2.1.44.0
CodeBase: file:///D:/Games/Steam/steamapps/common/X%20Rebirth/X%20Rebirth%20builder%202.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1081.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1078.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Windows 10 x64. Tried running with every level of compatability mode but no change.

alexusvm
Posts: 21
Joined: Wed, 23. Oct 13, 20:19
x4

Re: Getting errors when starting

Post by alexusvm » Sun, 26. Jun 16, 18:08

PhxAs5As5in wrote:When I try to start 2.1.44 I get the following error...
Thank you! Hot Fix is here

hisazul
Posts: 1211
Joined: Sat, 15. Oct 11, 04:12
xr

Post by hisazul » Tue, 5. Jul 16, 03:02

Aw something broke --_--

Code: Select all

************** Exception Text **************
System.OverflowException: Arithmetic operation resulted in an overflow.
   at XRB.user_complex.Calculate_ProductionTime(Boolean OnlyProducingFabrics)
   at XRB.user_complex.CalculateProductions()
   at XRB.user_complex.get_ProductionTime(Boolean OnlyProducingFabrics)
   at XRB.SystemBalancePage.SetComplexTimes()
   at XRB.SystemBalancePage.set_Complex(user_complex value)
   at XRB.Form_Main.System_Balance(user_complex Complex, Object UniverseItem)
   at XRB.Form_Main.ComplexTree_SelectedChanged(Object sender)
   at XRB.Tree_Complex.Element_Click(Object sender)
   at XRB.Tree_Complex.UBalance_SystemChanged(Object universeItem)
   at XRB.SystemBalance.ComboSystem_SelectedValueChanged(Object sender, EventArgs e)
   at System.Windows.Forms.ListControl.OnSelectedValueChanged(EventArgs e)
   at System.Windows.Forms.ComboBox.OnSelectedValueChanged(EventArgs e)
   at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
   at XRB.SystemBalance.set_Galaxy(xr_universe_galaxy galaxy)
   at XRB.Tree_Complex.set_Complex(user_complex value)
   at XRB.Form_Main.Complex_Set(user_complex Complex)
   at XRB.Form_Main.Combo_Complex_SelectedIndexChanged(Object sender, EventArgs e)
   at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
   at XRB.Form_Main.Button_Import_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

“Logic will get you from A to B. Imagination will take you everywhere.” - Albert Einstein

alexusvm
Posts: 21
Joined: Wed, 23. Oct 13, 20:19
x4

Post by alexusvm » Wed, 6. Jul 16, 07:24

How to replicate this bug?

foxxbl
Posts: 354
Joined: Sat, 8. May 10, 10:31
x4

Re: Getting errors when starting

Post by foxxbl » Sun, 14. Aug 16, 13:51

Thanks for the hot fix, it works for me as well.
alexusvm wrote:
PhxAs5As5in wrote:When I try to start 2.1.44 I get the following error...
Thank you! Hot Fix is here

User avatar
Simoom
Posts: 1110
Joined: Sat, 30. Oct 10, 14:14
x4

Post by Simoom » Wed, 7. Sep 16, 12:11

Hey everyone, alexusvm released XR Builder 2.1.45 about two weeks ago, but due to delays on my end, the English translation wasn't done until now. Sorry for the delays! :)

Links in the OP has been updated for the new version. Below is the changelog:

XR Builder 2.1.45 RC4
  • fixed rounding of resources (AlexYar);
  • fixed save function of the complex;
  • fixed "No Manager" warning for the station without production modules and/or storage;
  • added the budget of the Manager for the player's station (only for updated universe) (AlexYar);
  • added warnings for weapons systems of the stations (only for updated universe, function on/off in the window "Settings") (AlexYar);
  • added check missing specialists (function on/off in the window "Settings") (AlexYar);
  • added searching free player-owned specialists (AlexYar);
  • added display of the active zone (only for updated universe);
  • added list of available personnel (for active zone) (anDron);
  • added player statistics window (only for updated universe) (AlexYar);
  • added configure alerts for NPC stations (anDron);
  • added correction of calculation of the limits of storage = 5% (anDron)
  • changed complex save format (old versions are supported, but require updates).

Hankyke
Posts: 23
Joined: Mon, 16. Jul 12, 15:50
x4

Post by Hankyke » Mon, 13. Mar 17, 14:51

Hello.

I like the program but when i go to "Show location summary" and choose "Malestrom (MA)" then on the other side "Production/Consumption" shows nothing. But theres a big station that produces wheat.

Is that a bug of intended to be like that?

Dan.
Laptop: MSI GE62-6QD . Intel Core i7-6700HQ, 16 Gb DDR4 memory, NVIDIA GeForce GTX 960M 2 GB GDDR5, 128 Gb SSD

User avatar
alexalsp
Posts: 1820
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Mon, 13. Mar 17, 15:00


Hankyke
Posts: 23
Joined: Mon, 16. Jul 12, 15:50
x4

Post by Hankyke » Thu, 16. Mar 17, 12:20

Thank you!!
Laptop: MSI GE62-6QD . Intel Core i7-6700HQ, 16 Gb DDR4 memory, NVIDIA GeForce GTX 960M 2 GB GDDR5, 128 Gb SSD

User avatar
alexalsp
Posts: 1820
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Mon, 1. May 17, 02:28

X Rebirth builder 2.1.50

04/30/2017: version 2.1.50
- Added printing, calculation of loading of transport ships (SerP).
* The current version of the game 4.10 + DLC "Outpost Teladi" + DLC "Home of Light"

X Rebirth builder 2.1.50

or here

http://www.elite-games.ru/conference/vi ... hp?t=61379

=========================

https://drive.google.com/file/d/0B0UPtt ... sp=sharing

User avatar
darthmoll
Posts: 196
Joined: Fri, 11. Sep 09, 16:24
x4

Post by darthmoll » Sat, 3. Jun 17, 10:33

tried to download. says virus detected and download failed.

can anyone confirm its clean and no virusses? dont want to mess up my pc

User avatar
alexalsp
Posts: 1820
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Sat, 3. Jun 17, 11:52

darthmoll wrote:tried to download. says virus detected and download failed.

can anyone confirm its clean and no virusses? dont want to mess up my pc
No viruses and can not be.

SHA256: 2a294421841b9279b49d1a4e0e6a451a03d9388b8549e88630bd94a1a670dfe4
File name: X Rebirth build 2.rar
Detection ratio: 0 / 55

https://www.virustotal.com/en/file/2a29 ... 496483374/



SHA256: 24b0cd5d56a9d9fa6f13cbee19df5f4755d7107004606765a6f5a5667b509fc9
File name: X Rebirth builder 2.exe
Detection ratio: 0 / 61
Analysis date: 2017-06-03 09:51:23 UTC ( 0 minutes ago )

https://www.virustotal.com/en/file/24b0 ... 496483483/

User avatar
alexalsp
Posts: 1820
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Tue, 6. Jun 17, 11:44

X Rebirth builder 2.1.51


04.06.2017: версия 2.1.51

- Fixed a bug in calculating stations in the "Station" tab;
- Fixed a bug when installing the location of new stations of player;
- Fixed printing errors;
- Fixed print output information on warehouses;
- Fixed display of information about the weapon station in the tab "Complex" (AlexYar);
- Fixed display of performance factors included in the group;
- improved performance for the buttons on / off all production at the "Complex" tab (AlexYar);
- Updated the printing of complex structures, and stations;
- The possibility of vertical centering of tables is added, when printing;
- "Station" tab: added the counter of stations added to the station complex (AlexYar);
- "Station" tab: new stations initially have the maximum settings (specialists have a level according to the program settings) (anDron).

*The current version of the game 4.10 + DLC "Forpost Teladi" + DLC "Home of Light"



X Rebirth builder 2.1.51

or here

http://www.elite-games.ru/conference/vi ... hp?t=61379

User avatar
alexalsp
Posts: 1820
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Wed, 7. Jun 17, 22:43

06/07/2017: version 2.1.52
- Fixed output limit of goods in storage station (AlexYar).


X Rebirth builder 2.1.52

or here

http://www.elite-games.ru/conference/vi ... hp?t=61379

Inchínn
Posts: 18
Joined: Tue, 7. Mar 17, 21:37
x4

Post by Inchínn » Fri, 9. Jun 17, 00:29

Hi - Im using this to open CWIR Save games. Previous version was crashing, this "X Rebirth builder 2.1.52" too.

Can it output an import log so maybe I cam strip out the negative values from the save just to see where it crashes on importing a save.

+1 for "Turn on all Production modules" - like this feature.
Thanks

User avatar
alexalsp
Posts: 1820
Joined: Fri, 18. Jul 14, 05:28
x4

Post by alexalsp » Fri, 9. Jun 17, 13:11

Have you read the description of the program?

The program works only with a clean (original) game.

Post Reply

Return to “X Rebirth - Scripts and Modding”