Fixed Custom Traders Bugged in Workshop Scenarios [6555]

Discussion in 'Fixed (Read Only)' started by ravien_ff, Jul 5, 2019.

  1. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,413
    Likes Received:
    12,014
    Mode: Survival
    Mode: Singleplayer

    SERVER NAME: NA
    SEED-ID: Any

    If applicable:
    MODIFIED PLAYFIELDS:
    Yes

    Reproducibility: Always (almost)
    Severity: Major

    Type: NPC Traders

    Summary: Custom traders don't work in scenarios uploaded to the workshop.

    Description: When including a custom TraderNPCConfig.ecf in a scenario, if the scenario is one you have uploaded to the workshop, attempting to access a custom trader will fail with a CoQ error. Default traders will work. The custom trader file works fine if the scenario has not been uploaded to the workshop, or if the custom trader file is placed in the default Empyrion location.
    Starting multiple new games alternating between a workshop and non-workshop version of the scenario without completely restarting Empyrion can sometimes cause the workshop version to work or the non-workshop version to bug.

    Steps to Reproduce:

    Make sure your TraderNPCConfig.ecf in Empyrion - Galactic Survival/Content/Configuration is default (verify files).
    Start a new game using the TestTrader2 scenario.
    Talk to the two NPC traders in the starting building, one default, and one custom. Note that the custom one has custom greeting text.
    Completely quit Empyrion.

    From the start new game menu, upload the scenario to the Steam workshop as "private".
    Completely quit Empyrion.
    Start a new game using the now uploaded TestTrader2 scenario.
    Talk to the two NPC traders. The custom one will give a CoQ error and won't work.

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

    Log attached.
    Attached is a custom scenario that spawns you in a base with a custom and a default food trader for use in reproducing.

    The only thing changed in the custom trader is the trader's name, the trader's "sellinggoods" section, and the trader's greeting text.
    Code:
    { Trader Name: TraderTestOne
      SellingText: "Hi, I am a test trader!"
      SellingGoods: ""
      Discount: 0.15
      Item1: "Steak, 62-93, 0-10, 50-62, 10-20"
      Item2: "Ham, 68-102, 0-10, 54-68, 10-20"
      Item3: "Pizza, 104-156, 0-10, 83-104, 10-20"
      Item4: "Sandwich, 86-129, 0-10, 69-86, 10-20"
      Item5: "Bread, 60-90, 0-20, 48-60, 20-40"
      Item6: "VeggieBurger, 84-126, 0-10, 67-84, 10-20"
      Item7: "MeatBurger, 86-129, 0-10, 69-86, 10-20"
      Item8: "Cheese, 52-78, 0-10, 42-52,10-20"
      Item9: "AkuaWine, 70-80, 5-10, 60-70, 10-20"
      Item10: "HotBeverage, 16-24, 0-10, 13-16, 10-20"
      Item11: "FriedVegetables, 58-87, 0-10, 46-58, 10-20"
      Item12: "Stew, 114-171, 0-10, 91-114, 10-20"
      Item13: "Milk, 12-18, 0-10, 10-12, 10-20"
      Item14: "WaterBottle, 2-4, 0-10, 1-2, 10-20"
      Item15: "FruitPie, 80-120, 0-10, 64-80, 10-20"
      Item16: "PumpkinCookie, 64-96, 0-10, 51-64, 10-20"
      Item17: "Waffles, 64-96, 0-10, 51-64, 10-20"
      Item18: "Ratatouille, 76-114, 0-10, 61-76, 10-20"
      Item19: "Cereals, 50-75, 0-10, 40-50, 10-20"
      Item20: "FruitJuice, 16-24, 0-10, 13-16, 10-20"
      Item21: "VegetableJuice, 16-24, 0-10, 13-16, 10-20"
      Item22: "EnergyDrink, 24-36, 0-10, 16-24, 10-20"
    }
     

    Attached Files:

    #1
    Last edited: Jul 5, 2019
  2. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,413
    Likes Received:
    12,014
    Several people have said they get a CoQ error when accessing the custom traders in my scenario in single player. I don't know if this is the same problem or not.
     
    #2
  3. Pantera

    Pantera Administrator Staff Member

    • Developer
    • Moderator
    Joined:
    Aug 15, 2016
    Messages:
    3,418
    Likes Received:
    6,105
    Thanks this will be looked into.

    The logs would need to be supplied to be able to say if they are or aren't the same issue.
     
    #3
    ravien_ff likes this.
  4. Russell

    Russell Commander

    Joined:
    Oct 5, 2016
    Messages:
    59
    Likes Received:
    73
    I had CoQ error on some custom traders, also custom traders I could access (luxury, from memory) were empty.
     
    #4
    ravien_ff likes this.
  5. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,413
    Likes Received:
    12,014
    If it helps any, people have said that the custom trader file is included in the workshop download folder, but it seems the game isn't actually activating it from that folder?
     
    #5
    Russell likes this.

Share This Page