Jump to content

Glaivas

Members
  • Posts

    26
  • Joined

  • Last visited

Posts posted by Glaivas

  1. @Glaivas

    I use the same CS file and program to "recreate" my GameData folder several times per day as I make changes. If there were a problem with it then I'd be getting the same null ref. It must be something you're not getting copied, perhaps from the source folders. That resource comes from the Resource.cfg in the Felbourn directory.

    My fault, I mess up with the version of the zip file. Thanks for your support.

  2. Thanks for updating the zip with missing part.

    I have an error when the game load constellationBNTR part raising a NullReferenceException.

    Here the log:


    (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)

    PartLoader: Compiling Part 'BahaConstellation/Parts/BNTR/part/constellationBNTR'

    (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)

    PartLoader Warning: Variable ThermalAnim not found in Part

    (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)

    Added sound_rocket_hard to FXGroup running

    (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)

    LiquidH2 not found in resource database. Propellant Setup has failed.

    (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)

    NullReferenceException: Object reference not set to an instance of an object
    at ModuleEngines.SetupPropellant () [0x00000] in <filename unknown>:0

    at ModuleEngines.OnLoad (.ConfigNode node) [0x00000] in <filename unknown>:0

    at PartModule.Load (.ConfigNode node) [0x00000] in <filename unknown>:0

    at Part.AddModule (.ConfigNode node) [0x00000] in <filename unknown>:0

    at PartLoader.ParsePart (.UrlConfig urlConfig, .ConfigNode node) [0x00000] in <filename unknown>:0

    at PartLoader+.MoveNext () [0x00000] in <filename unknown>:0

    (Filename: Line: -1)

    NullReferenceException: Object reference not set to an instance of an object
    at Part.RequestResource (.Part origin, Int32 resourceID, Double demand, Int32 requestID) [0x00000] in <filename unknown>:0

    at Part.RequestResource (Int32 resourceID, Double demand) [0x00000] in <filename unknown>:0

    at ModuleGenerator.Update () [0x00000] in <filename unknown>:0

    (Filename: Line: -1)

    NullReferenceException: Object reference not set to an instance of an object
    at Part.RequestResource (.Part origin, Int32 resourceID, Double demand, Int32 requestID) [0x00000] in <filename unknown>:0

    at Part.RequestResource (Int32 resourceID, Double demand) [0x00000] in <filename unknown>:0

    at ModuleGenerator.Update () [0x00000] in <filename unknown>:0

    (Filename: Line: -1)

    I prepare the ksp directory running the .cs program and I think is something in custom engine.cfg because if i comment the lines dedicated on writing the customization for that part, the game run correcly.

    Do you have any advice for resolving this problem?

    Edit: Found the problem. I think you have missing to add RealFuels mod part in the .cs program.

  3. Passo anche io per un saluto.

    Mi chiamo Giuseppe, 32 anni. Ingegnere informatico di Matera che vive e lavora a Milano.

    Sono su KSP da poco, dalla 0.20 mi pare, ma avevo provato la demo diversi anni fa e ho aspettato di trovarlo su steam in saldo. Adesso mi sto divertendo a seguire Bob Fitch e il suo progetto Odyssey per cercare di approfondire il modding.

    Su ksp il mio motto è: se non riesce a volare vuol dire che il razzo è troppo piccolo.

    Se qualcuno mi vuole aggiungere su steam sono Glaivas.

  4. Very likely a missing part or mod or bad DLL version. This is why I said in the video that it's really hard to do this. :) You need to analyze the file to determine the missing parts, install the right mods, maybe even use the C# code to know what you need. I don't have enough time to play, make videos, have a life, AND debug the system from a viewer's point of view. I almost didn't release my files just so that I would not have people get stuck. Hopefully you will be able to analyze this and maybe even be able to help others. Or at the very least post what you discover so I can relay the info to anyone else who asks.

    I'll try to do that, thanks for all the info. :)

    Edit: I found the problem. Looking at the part.cfg and output log for a more detailed stack trace of the exception, I've found some problem related to the functon "ReplaceTexture".

    the problem was here:


    MODEL
    {
    model = LLL/Parts/FuelTank/LLL2x1/model
    position = 0.65, 3.192169, 0.1072112
    scale = 1,1,1
    rotation = 0,90,0
    texture = model000,LLL/Parts/FuelTank/LLL2x1/FUEL
    }

    I changed this to


    MODEL
    {
    model = LLL/Parts/FuelTank/LLL2x1/model
    position = 0.65, 3.192169, 0.1072112
    scale = 1,1,1
    rotation = 0,90,0
    texture = LLL/Parts/FuelTank/LLL2x1/FUEL
    }

    There are 2 occurrence of this that have to be changed (in line 54 and 62).

    (God bless my Software Engineer work :sticktongue:)

    Hope this help.

×
×
  • Create New...