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.30 Bug Reporting thread
    Solutions and more information may already be available.

My Sunburst Isn't Working

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by on3cherryshake, Apr 8, 2018.

  1. on3cherryshake

    on3cherryshake
    Expand Collapse

    Joined:
    May 12, 2015
    Messages:
    438
    I've been working on a mod for the Sunburst that provides a new angine and two new transmissions. I load the car in the new update and it spits this out at me. Please help!
    Code:
     30.92595|D|libbeamng.lua.V.vehicleController.settingsChanged|NOT refreshing settings before access
     30.93215|E|libbeamng.Lua.Exception|lua/vehicle/controller/esc.lua:896: attempt to call field 'getDevicesByCategory' (a nil value)
     30.93217|E|libbeamng.Lua.Exception|=============== Stack Traceback >> START >>
     30.93219|E|libbeamng.Lua.Exception|(1) field C function 'getDevicesByCategory'
     30.93220|E|libbeamng.Lua.Exception|(2) Lua field 'initSecondStage' at file 'lua/vehicle/controller/esc.lua:896'
     30.93222|E|libbeamng.Lua.Exception|  Local variables:
     30.93223|E|libbeamng.Lua.Exception|  wheelCount = number: 4
     30.93225|E|libbeamng.Lua.Exception|  escConfigs = table: 0x0220b6517590  {actionedWheels:table: 0x0220b538ed68, slotType:main, partOrigin:sunburst_ESC (more...)}
     30.93226|E|libbeamng.Lua.Exception|  tmpConfigs = table: 0x022081b82168  {1:table: 0x022081bbdcc0, 2:table: 0x022081bbd970, 3:table: 0x022081b821b0 (more...)}
     30.93227|E|libbeamng.Lua.Exception|  counter = number: 5
     30.93229|E|libbeamng.Lua.Exception|  statsObj = userdata: 0x0220bd77f9c8
     30.93230|E|libbeamng.Lua.Exception|  (*temporary) = nil
     30.93231|E|libbeamng.Lua.Exception|  (*temporary) = number: 3
     30.93233|E|libbeamng.Lua.Exception|  (*temporary) = string: "engine"
     30.93234|E|libbeamng.Lua.Exception|  (*temporary) = number: 70.0346
     30.93235|E|libbeamng.Lua.Exception|  (*temporary) = table: 0x0220bd77fa00  {_startingValue:0, a:0.0035087719298246, st:0}
     30.93237|E|libbeamng.Lua.Exception|  (*temporary) = table: 0x0220bd77fa00  {_startingValue:0, a:0.0035087719298246, st:0}
     30.93238|E|libbeamng.Lua.Exception|  (*temporary) = number: 1.15544e-311
     30.93239|E|libbeamng.Lua.Exception|  (*temporary) = table: 0x0220bd77fa00  {_startingValue:0, a:0.0035087719298246, st:0}
     30.93241|E|libbeamng.Lua.Exception|  (*temporary) = table: 0x022081af98e0  {reset:function: 0x022081ae3070, value:function: 0x022081af9a00, set:function: 0x022081afa088 (more...)}
     30.93242|E|libbeamng.Lua.Exception|  (*temporary) = number: 0.143733
     30.93243|E|libbeamng.Lua.Exception|  (*temporary) = boolean: false
     30.93245|E|libbeamng.Lua.Exception|  (*temporary) = string: "attempt to call field 'getDevicesByCategory' (a nil value)"
     30.93246|E|libbeamng.Lua.Exception|(3) Lua field 'initSecondStage' at file 'lua/vehicle/controller.lua:347'
     30.93247|E|libbeamng.Lua.Exception|  Local variables:
     30.93249|E|libbeamng.Lua.Exception|  (for generator) = C function: next
     30.93250|E|libbeamng.Lua.Exception|  (for state) = table: 0x0220bd726268  {1:table: 0x0220bd729418, 2:table: 0x0220bd74e840}
     30.93251|E|libbeamng.Lua.Exception|  (for control) = userdata: 0x7fff00000002
     30.93253|E|libbeamng.Lua.Exception|  _ = number: 1
     30.93254|E|libbeamng.Lua.Exception|  v = table: 0x0220bd729418  {stiffnessFront:0, isExisting:true, stiffnessRear:0, calibrationMeasurementReady:false (more...)}
     30.93255|E|libbeamng.Lua.Exception|(4) Lua global 'initSystems' at file 'lua/vehicle/main.lua:111'
     30.93256|E|libbeamng.Lua.Exception|(5) Lua function 'init' at file 'lua/vehicle/main.lua:259' (best guess)
     30.93258|E|libbeamng.Lua.Exception|  Local variables:
     30.93260|E|libbeamng.Lua.Exception|  path = string: "vehicles/sunburst/"
     30.93261|E|libbeamng.Lua.Exception|  partConfigData = string: "vehicles/sunburst/Sunburst FWD Plus 2.5 (A).pc"
     30.93263|E|libbeamng.Lua.Exception|  hp1 = userdata: 0x022081b1e560
     30.93264|E|libbeamng.Lua.Exception|  hp2 = userdata: 0x022081b1e5b8
     30.93265|E|libbeamng.Lua.Exception|--------------- << END <<
     30.93267|E|libbeamng.Lua.Exception|******************************************
     30.93269|E|libbeamng.Lua.Exception|*** DISABLING VEHICLE DUE TO EXCEPTION ***
     30.93270|E|libbeamng.Lua.Exception|******************************************
     30.93272|E|libbeamng.Lua.Exception|*** you have to reload the vehicle
     
  2. Kueso

    Kueso
    Expand Collapse

    Joined:
    Oct 14, 2016
    Messages:
    4,463
    Is the cars engine code up to .12 standards?
    because alot changed from .11 to .12
     
  3. Capkirk

    Capkirk
    Expand Collapse

    Joined:
    Nov 19, 2017
    Messages:
    673
    I'm no expert at reading these things, but that is definitely unhappy with some LUA, possibly the ESC code. What exactly does your mod add? have you tried disabling all other mods? A copy of the troublesome parts could also help.
     
    • Agree Agree x 1
  4. on3cherryshake

    on3cherryshake
    Expand Collapse

    Joined:
    May 12, 2015
    Messages:
    438
    It definitely isn't up to .12 standards, because I haven't the faintest idea how it's changed. It's also strange because my Gavril Engines mod is still working perfectly!

    All that I added were a couple of differentials, a new engine and a 5 and 6 speed automatic. Nothing crazy, it's merely supposed to mimic real life cars.
     

    Attached Files:

  5. terasect

    terasect
    Expand Collapse

    Joined:
    Mar 29, 2018
    Messages:
    106
    Problems I found with the engine:
    Missing ecu, intake, and engine internals slots, while having a radiator slot it should not.
    Sound config is calling FI4 sound blend when no such thing exists, should be I4.
    Should not have any intake flexbody.

    Problems with the transmissions:
    No ui name under gearbox.
    Also no gearbox node in the same place.
    The 'nodes' and 'beams' sections are missing alot, more so the beams.

    Problems with the diff:
    Missing torque reaction stuff.
    Flexbodies missing halfshaft breaking stuff.
    Under 'nodes', group is undefined.
    Another line for halfshaft missing under 'beams'.

    And the transfer case is missing ui name.

    This is all the stuff I could find with a quick look, likely the soundconfig and other stuff in the engine part is what is causing the main problem.
     
  6. on3cherryshake

    on3cherryshake
    Expand Collapse

    Joined:
    May 12, 2015
    Messages:
    438
    Sound config is my own, FI4 is correct. I forgot to mention that.

    I suppose I'll just redo the engine/diff with the new versions, but what should I do with the transmission? And why do my Gavril mods still work if they, too, are missing these things?
     
  7. terasect

    terasect
    Expand Collapse

    Joined:
    Mar 29, 2018
    Messages:
    106
    You can remake everything including the transmission with new versions, should fix any jbeam issues at least.
    I am not really sure why it is not working, could just be one of those little things causing a problem somewhere, I didn't investigate that far.
    Another thing that could be a problem is the .pc config itself, many values and things changed so maybe that is where the problem is?\
    Try remaking the jbeams and config and see if you still have issues. If you do, put the new file up and I'll try and find the issue.
     
  8. on3cherryshake

    on3cherryshake
    Expand Collapse

    Joined:
    May 12, 2015
    Messages:
    438
    UPDATE! My mod seems to have literally nothing to do with this problem. If I delete my mod, it still does not work. If I disable all other mods it DOES work. And if I keep ALL of the mods I have installed and get rid of Electronic Stability & Traction Control in the parts selector, the car works fine. With my engines, with my parts.
     
  9. RiFlech

    RiFlech
    Expand Collapse

    Joined:
    Jul 6, 2017
    Messages:
    464
    I have the same problem with the sunburst and etk-k, and it seems that a mod is causing it
     
  10. on3cherryshake

    on3cherryshake
    Expand Collapse

    Joined:
    May 12, 2015
    Messages:
    438
    It's the s!iren mod, I figured it out. The mod that adds things to the LUA and gives more sound effects haha.
     
  11. RiFlech

    RiFlech
    Expand Collapse

    Joined:
    Jul 6, 2017
    Messages:
    464
  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