[6.20] Unnecessary amount of output to logfile due to null value in ship orders.

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

Post Reply
Mookau
Posts: 108
Joined: Tue, 8. Sep 20, 05:31
x4

[6.20] Unnecessary amount of output to logfile due to null value in ship orders.

Post by Mookau » Sun, 17. Mar 24, 17:53

OS: Linux
Version: 6.20
Language: English
Modified: No
Game Start: x4ep1_gamestart_boron1

Problem:
Something wrong with the orders for Barbarossa with the ID: QQB-997 causes it to spit out thousands of errors (as below) to the log.
[General] 3060270.86 ======================================
[=ERROR=] 3060270.86 Error in AI script order.trade.single on entity 0x22a5a: Property lookup failed: $check_location.zone
* $check_location == null
* Expression: this.zone != $check_location.zone
* Action: <do_if>, line 264
[General] 3060270.86 ======================================
[General] 3060270.86 ======================================
[=ERROR=] 3060270.86 Error in AI script move.generic on entity 0x22a5a: Error evaluating <event_object_destroyed> event object: Value 'null' is not of type component
* Expression: $destination
* Action: <run_script>, line 266
[General] 3060270.86 ======================================

How to Reproduce:
With the debug log enabled, load up the save file and leave it unpaused for any amount of time.

Save File:
https://drive.google.com/file/d/1PtqcH8 ... sp=sharing

Notes:
Removing the orders from the Barbarossa fixes the problem.
While I'm able to stop it from destroying my hard drive with thousands upon thousands of writes to the logfile, it's not exactly ideal that it can happen at all.

Post Reply

Return to “X4: Foundations - Technical Support”