[FIX][1414][4.1 bug] ships are not listed when opening the map with the "selectComponent" mode

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

Moderator: Moderators for English X Forum

Post Reply
kuertee
EGOSOFT
EGOSOFT
Posts: 789
Joined: Sun, 14. Dec 03, 13:05
x4

[FIX][1414][4.1 bug] ships are not listed when opening the map with the "selectComponent" mode

Post by kuertee » Mon, 13. Sep 21, 23:10

when using the "selectComponent" mode to open the MapMenu,
an error is returned preventing ships from getting listed.





the mode definition is specified in the MapMenu file as:

Code: Select all

"selectComponent",		param: { returnsection, classlist[, category][, playerowned][, customheading] }
when using that mode to open the map with ship classes like so:

Code: Select all

<open_conversation_menu menu="MapMenu" param="[0, 0, true, player.entity, null, 'selectComponent', ['kTFTR_set_destination', [class.ship_s, class.ship_m, class.ship_l, class.ship_xl, class.station], null, true]]" />
only stations are listed because the C.FilterComponentForMapMode () in checkForSelectComponent () returns the error:

Code: Select all

[=ERROR=] 282601.58 SetupFilterForMapMode(): Given class on idx '1' is nullptr.
Mods: RPG: Reputations and Professions, Social Standings and Citizenships, Crime has Consequences, Alternatives to Death. Missions/NPCs: Emergent Missions, NPC Reactions, Mod Parts Trader, High-sec Rooms are Locked, Hacking Outcomes, More Generic Missions, Waypoint Fields for Deployment. Others: Auto-cam, Friendly Fire Tweaks, Teleport From Transporter Room, Wear and Tear. QoL: Trade Analytics, Loot Mining, Ship Scanner, Signal Leak Hunter, Station Scanner, Surface Element Targeting, etc.

florianlt
EGOSOFT
EGOSOFT
Posts: 1304
Joined: Mon, 22. Aug 11, 14:05
x4

Re: [1414][4.1 bug] ships are not listed when opening the map with the "selectComponent" mode

Post by florianlt » Thu, 30. Sep 21, 15:13

Fixed in an upcoming version.

Post Reply

Return to “X4: Foundations - Technical Support”