Solved Acura TLX mod issue (solved)

Discussion in 'Mod Support' started by ItsTheLittleAcura!, Oct 28, 2018.

  1. ItsTheLittleAcura!

    ItsTheLittleAcura!
    Expand Collapse

    Joined:
    Feb 9, 2018
    Messages:
    116
    I'm having trouble getting my custom engine for an Acura mod I'm making (based on ETK) to work When I try to load the vehicle it gives me this in beamng.log:
    212.15780|D|libbeamng.lua.V.default.init|spawning vehicle vehicles/etkss/
    212.27516|D|libbeamng.lua.V.default.init| using partconfig filename vehicles/etkss/s6tx_a.pc - path:vehicles/etkss/
    212.32149|E|libbeamng.lua.V.jbeam.loadDirectories|unable to decode JSON: vehicles/etkss/etk_engine.jbeam
    212.32152|E|libbeamng.lua.V.jbeam.loadDirectories|JSON decoding error: lua/common/json.lua:219: attempt to compare number with nil
    212.32322|E|libbeamng.Lua.Exception|
    What did I do wrong in my code?
     
  2. SebastianJDM

    SebastianJDM
    Expand Collapse

    Joined:
    Apr 9, 2017
    Messages:
    856
    can i see your file?
     
    • Agree Agree x 1
  3. ItsTheLittleAcura!

    ItsTheLittleAcura!
    Expand Collapse

    Joined:
    Feb 9, 2018
    Messages:
    116
    Here's the file. Fixed the issue with the vehicle not loading, but now the 3.5-litre V-6 won't show up in the parts menu. Configs with the V-6 are broken.
     

    Attached Files:

  4. RobertGracie

    RobertGracie
    Expand Collapse

    Joined:
    Oct 15, 2013
    Messages:
    3,856
    The line that error is referring to is this from the Json.lua file

    "while (ch >= 97 and ch <= 122) or (ch >= 65 and ch <= 90) or (ch >= 48 and ch <= 57) or ch == 95 do -- [a z] [A Z] or [0 9] or _"
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice