1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.32 Bug Reporting thread
    Solutions and more information may already be available.

Vehicle Selector Broken

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by luckyman, Jun 27, 2015.

  1. luckyman

    luckyman
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    405
    Tried changing cars wouldn't work, Changed maps, Still didn't work, I selected the menu it didnt bring it up either. I dont know why.
     
  2. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,686
    Everything works fine here..

    Uh, delete cache maybe?

    EDIT- Got UI/Apps mods?
     
  3. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,031
    I guess you have a mod that breaks it all.
     
  4. Narwhal

    Narwhal
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,698
    happened to me as well
    this error was in console
    Code:
    25.89422|E|T3D|*** FATAL LUA ERROR: lua/t3d/extensions//vehicles.lua:67: bad argument #1 to 'pairs' (table expected, got nil)Stack Traceback
    ===============
    (2) global C function 'pairs'
    (3) Lua upvalue '_fillAggregatesAndFilters' at file 'lua/t3d/extensions//vehicles.lua:67'
        Local variables:
         data = nil
         model = string: "van"
    (4) Lua field 'getVehicleList' at file 'lua/t3d/extensions//vehicles.lua:137'
        Local variables:
         files = table: 0x3089c378  {1:DIR:game:/vehicles, 2:DIR:game:/vehicles/68nova, 3:DIR:game:/vehicles/airbag (more...)}
         nameRegex = string: "([%w|_|%-|%s]+)"
         modelRegex = string: "vehicles/([%w|_|%-|%s]+)$"
         configRegex = string: "vehicles/([%w|_|%-|%s]+)/info_(.*).json"
         (for generator) = C function: builtin#6
         (for state) = table: 0x3089c378  {1:DIR:game:/vehicles, 2:DIR:game:/vehicles/68nova, 3:DIR:game:/vehicles/airbag (more...)}
         (for control) = number: 465
         _ = number: 465
         path = string: "game:/vehicles/van/info_preset_van_sidedoor_sport.json"
         model = string: "van"
         config = string: "preset_van_sidedoor_sport"
         configData = nil
    (5) main chunk of [string "line"] at line 1
    
    
     25.89424|E|T3D|*** while executing this line: be:executeJS("bngApiCallback(1,".. encodeJson(vehicles.getVehicleList()) ..")");
     25.89425|E|T3D|*** in chunk: line
     
  5. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,031
    thanks for this, just fixed the error, will be in the next tiny update.
     
  6. luckyman

    luckyman
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    405
    Turned out to be some h15 mod i downloaded :'(

    Ar162b's van modification
     
  7. BreadForMen

    BreadForMen
    Expand Collapse

    Joined:
    Apr 5, 2013
    Messages:
    203
    I got it working by removing literally everything in the "Documents/BeamNG.drive" folder and launching.
     
  8. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,031
    Its a broken mod i guess. We identified a problem with mods having invalid info.json files. Update with the fix in ~15 minutes
     
  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