Hello everyone, I'm trying to create a mod to add a new cluster and sector, but I've encountered some difficulties. First, this mod works when unpacked but doesn't work when packed. Secondly, After playing for some time, this mod causes a crash when trying to quicksave. The game version is 6.20.
My mod: https://drive.google.com/drive/folders/ ... drive_link
debug.text: https://drive.google.com/file/d/1T_7h4U ... drive_link
Crash Dumps: https://drive.google.com/file/d/1BpePbt ... drive_link
Thank you,guys。
Crash when quicksave
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 5
- Joined: Sat, 28. Oct 23, 07:13
Re: Crash when quicksave
[=ERROR=] 383.18 Error in AI script mining.collect.ship.liquid on entity 0xa33f4: Amount is -2147483648 - Amount must be non-negative!
* Expression: $gathered
* Action: <deplete_yield>, line 159
[General] 383.18 ======================================
[General] 398.22 ======================================
[=ERROR=] 398.22 Error in AI script mining.collect.ship.liquid on entity 0xa33f4: Amount is -2147483648 - Amount must be non-negative!
* Expression: $gathered
* Action: <deplete_yield>, line 159
[General] 398.22 ======================================
[General] 402.71 ======================================
[=ERROR=] 402.71 XLib::XMLOutputCloseCallback(): Signature requested for file 'save/temp_save.xml.gz' but there was no signature node
[General] 402.71 ======================================
Loooks like those line is the reason? About mining?
* Expression: $gathered
* Action: <deplete_yield>, line 159
[General] 383.18 ======================================
[General] 398.22 ======================================
[=ERROR=] 398.22 Error in AI script mining.collect.ship.liquid on entity 0xa33f4: Amount is -2147483648 - Amount must be non-negative!
* Expression: $gathered
* Action: <deplete_yield>, line 159
[General] 398.22 ======================================
[General] 402.71 ======================================
[=ERROR=] 402.71 XLib::XMLOutputCloseCallback(): Signature requested for file 'save/temp_save.xml.gz' but there was no signature node
[General] 402.71 ======================================
Loooks like those line is the reason? About mining?
-
- Posts: 19
- Joined: Tue, 1. Apr 08, 20:52
Re: Crash when quicksave
May be of note that your negative value is exactly 2^31 ?
Which suggests an overflow.
Which suggests an overflow.
-
- Posts: 5
- Joined: Sat, 28. Oct 23, 07:13