Fixed Missing Gas and Power traders

Discussion in 'Fixed (Read Only)' started by byo13, Dec 7, 2020.

  1. byo13

    byo13 Captain

    Joined:
    Jul 13, 2020
    Messages:
    416
    Likes Received:
    639
    Build: v.13 3180
    Mode: Survival
    Mode: Singleplayer

    SEED-ID: 820231
    MODIFIED PLAYFIELDS: No

    Reproducibility: Always
    Severity: Crash

    Type: Trader

    Summary: Missing Gas and Power traders will cause errors

    Description: The player is not able to trade in Gas Refineries because of a message error that happens when talking to any trader there.

    Steps to Reproduce: Find a Polaris Gas Refinery and talk to the trader there. The game will show an error message because traders "Gas" and "Power" are no longer members of the "TraderNPCConfig.ecf" file. It only happens in v1.3 EXP.

    Screenshots, Crash Logs, any other Relevant Information or Download links:

    Error in log:
    Code:
    KeyNotFoundException: The given key was not present in the dictionary.
      at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <9577ac7a62ef43179789031239ba8798>:0
      at Assembly-CSharp.PartitionEditorActivityScope.ToggleOutline () [0x000e2] in <4a05c17d4cdd46f0be7f63bb0c92c646>:0
      at MBS_S.OnEnable () [0x0000e] in <4a05c17d4cdd46f0be7f63bb0c92c646>:0
    UnityEngine.GameObject:SetActive(Boolean)
    Assembly-CSharp.ControlInvokerActivityScope:ResolveCommand(String, Boolean, String)
    Assembly-CSharp.ControlInvokerActivityScope:ResolveCommand(String, String, String)
    Assembly-CSharp.ReferenceSet:NavigateClient(String, IconEditor, Boolean, WindowSerializer)
    Assembly-CSharp.ReferenceSet:UncheckProcess(TreeNodeTable, Int32, Vector3i, Int32, Int32, SelectionConverter)
    Assembly-CSharp.ReferenceSet:EditActivator(TreeNodeTable, Int32, Vector3i, Int32, Int32, SelectionConverter)
    Assembly-CSharp.ClientCollection:ShowDisk(ProcessList, Boolean)
    Assembly-CSharp.ConditionSerializer:SplitQueue()
    MBS:Update()
    

    upload_2020-12-7_3-5-31.png
     
    #1
  2. byo13

    byo13 Captain

    Joined:
    Jul 13, 2020
    Messages:
    416
    Likes Received:
    639
    Workaround is adding the traders in the config files and then regenerating the structure.
    Suggestion for pricing:

    Code:
    { Trader Name: Gas
      SellingText: "trwDefaultSellingText"
      SellingGoods: "trwArmorBoost"
      Discount: 0.2
      Item1: "Filters, mf=2.2-5.0, 10-50, mf=1.8-4.0, 55-150"
      Item2: "OxygenTankMS, mf=1.2-3.0, 1-10, mf=0.8-2.5, 10-25"
      Item3: "OxygenTankSmallMS, mf=1.2-3.0, 1-10, mf=0.8-2.5, 10-25"
      Item4: "ForcefieldEmitterBlocks, mf=1.2-4.0, 1-10, mf=0.8-3.0, 10-25"
      Item5: "InsulationBoost, mf=1.2-4.0, 1-10, mf=0.8-3.0, 10-25"
      Item6: "RadiationBoost, mf=1.2-4.0, 1-10, mf=0.8-3.0, 10-25"
      Item7: "HydrogenBottle, mf=1.2-4.0, 10-50, mf=0.8-3.0, 55-150"
      Item8: "OxygenBottleLarge, mf=1.2-4.0, 10-50, mf=0.8-3.0, 55-150"
      Item9: "Coolant, mf=2.2-5.0, 10-50, mf=1.8-4.0, 55-150"
      Item10: "Chemicals, mf=1.2-4.0, 10-50, mf=0.8-3.0, 55-150"
    }
    { Trader Name: Power
      SellingText: "trwDefaultSellingText"
      SellingGoods: "trwArmorBoost"
      Discount: 0.2
      Item1: "Coolant, mf=2.2-5.0, 10-50, mf=1.8-4.0, 55-150"
      Item2: "PromethiumPellets, mf=1.2-3.0, 1-20, mf=0.8-2.5, 20-50"
      Item3: "GeneratorMS, mf=1.2-3.0, 1-10, mf=0.8-2.5, 10-25"
      Item4: "GeneratorBA, mf=1.2-3.0, 1-10, mf=0.8-2.5, 10-25"
      Item5: "GeneratorMST2, mf=1.2-3.0, 1-10, mf=0.8-2.5, 10-25"
      Item6: "RadiationBoost, mf=1.2-3.0, 1-10, mf=0.8-2.5, 10-25"
      Item7: "ToxicWaste, mf=2.2-5.0, 10-50, mf=1.8-4.0, 55-150"
      Item8: "EnergyCellLarge, mf=1.2-4.0, 10-50, mf=0.8-3.0, 55-150"
      Item9: "FusionCell, mf=1.2-4.0, 10-50, mf=0.8-3.0, 55-150"
    }
    
     
    #2
    Last edited: Dec 7, 2020
  3. Taelyn

    Taelyn Guest

    Should be fixed in the Upcomeing Update for EXP
     
    #3
    byo13 and Germanicus like this.

Share This Page