Issues with Complex Construction Service

General discussion about X³: Farnham's Legacy.

Moderators: Moderators for English X Forum, Moderators for the X3:FL Forums

Post Reply
User avatar
Deadly_Shadow
Posts: 61
Joined: Thu, 13. May 04, 17:44
x3

Issues with Complex Construction Service

Post by Deadly_Shadow » Thu, 17. Jun 21, 00:38

Today I tried building a complex employing the construction service in the sector "The Void zeta" which did not work at all.
Game Version 1.2 unmodified.

What I found then after activation the Script editor:
1) The ID 1 at pageid 392295 is missing from the textfile for Hephaistos Corp.
This leads to a "Readtext.." in the message sent by the "plugin.X2I.HephCorp.prepare" script.
2) The ID 257 at pageid 392295 is somwhat corrupt.
This leads to an empty message sent by the "plugin.X2I.HephCorp.prepare" script.
Also the calling line "$text.message = sprintf: pageid=$heph.page.id textid=257, $text.message, null, null, null, null" seems wrong to me.
3) With "The Void zeta" as starting sector no shipyard is found.
The call "$start.station = find station in galaxy: startsector=$sector class or type=Shipyard race=null flags=null refobj=null serial=null max.jumps=null" at the "plugin.X2I.HephCorp.bringbeacon" script returns null.
A quick test showed that "The Void zeta" is the only sector with which this happens.
Spoiler
Show

Code: Select all

  $sectors = [PLAYERSHIP] -> find all sectors within 150 jumps: Only known sectors=[FALSE]
  while size of array $sectors
    $sector = get first item in array: $sectors
    find and remove: $sector from array $sectors
    $station = find station in galaxy: startsector=$sector class or type=Schiffswerft race=null flags=null refobj=null serial=null max.jumps=null
    if not $station -> exists
      $text = 'NoStation from: ' + $sector
      display game tip: text=$text delay=2500
    end
  end
4) The find station call from 3) at "plugin.X2I.HephCorp.bringbeacon" always select the Shipyard at "Lost Order" if called from "The Void".
Shouldn't there be some mechanism to select the Shipyard which is the least amount of jumps away?

Deniskos
Posts: 146
Joined: Wed, 11. Jun 08, 21:40
x4

Re: Issues with Complex Construction Service

Post by Deniskos » Mon, 22. Nov 21, 17:06

up :arrow:

Deniskos
Posts: 146
Joined: Wed, 11. Jun 08, 21:40
x4

Re: Issues with Complex Construction Service

Post by Deniskos » Mon, 14. Feb 22, 16:28

Deadly_Shadow wrote:
Thu, 17. Jun 21, 00:38
2) The ID 257 at pageid 392295 is somwhat corrupt.
This leads to an empty message sent by the "plugin.X2I.HephCorp.prepare" script.
Also the calling line "$text.message = sprintf: pageid=$heph.page.id textid=257, $text.message, null, null, null, null" seems wrong to me.
This was never fixed in version 1.3 :(

DanKara
Posts: 416
Joined: Fri, 21. Dec 18, 13:19
x4

Re: Issues with Complex Construction Service

Post by DanKara » Mon, 14. Feb 22, 18:06

Do you play vanilla or with mods?

In my vanilla game HephCorps builds for me just fine - even in Void-zeta (if I should wish so).

Deniskos
Posts: 146
Joined: Wed, 11. Jun 08, 21:40
x4

Re: Issues with Complex Construction Service

Post by Deniskos » Wed, 16. Feb 22, 07:00

Whether with or without a mod, the problem is line 257 on page 392295.

Code: Select all

<t id="257">%s\n[left]Hephaistos Corp. building fee:[/left][right]\05320%%[/right]</t>
What is this tag \05320%% ?

User avatar
Ketraar
EGOSOFT
EGOSOFT
Posts: 11741
Joined: Fri, 21. May 04, 17:15
x4

Re: Issues with Complex Construction Service

Post by Ketraar » Wed, 23. Feb 22, 15:20

\053 is a colouring tag iirc to highlight the 20% I suppose.

MFG

Ketraar
Image

Post Reply

Return to “X³: Farnham's Legacy”