Solved Pessima mod issue - Attempt to compare number with nil

Discussion in 'Mod Support' started by ItsTheLittleAcura!, Mar 31, 2020.

  1. ItsTheLittleAcura!

    ItsTheLittleAcura!
    Expand Collapse

    Joined:
    Feb 9, 2018
    Messages:
    116
    Hey everybody! I'm working on a Ibishu Pessima V6 "mild hybrid" mod (similar to the 2005 Honda Accord V6 Hybrid) I get an error related to the gearbox when i try to load the vehicle. Can someone take a look at this?

    223.48263|E|libbeamng.lua.V.jbeam.loadDirectories|unable to decode JSON: /vehicles/midsize/midsize_transaxle_hybrid.jbeam
    223.48267|E|libbeamng.lua.V.jbeam.loadDirectories|JSON decoding error: lua/common/json.lua:245: attempt to compare number with nil
     

    Attached Files:

  2. thomatoes50

    thomatoes50
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 31, 2013
    Messages:
    722
    you missed one closing curly brackets at the end of the file.
    We will try to make it print an error that is more user friendly
     
  3. estama

    estama
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 7, 2012
    Messages:
    267
    I've tried to add as much as possible user friendly errors in JSON parser.

    There are some errors that i could not make them user friendly tho as it would greatly affect performance. The reported one is in the performance affecting category.
     
    • Informative Informative x 2
  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