1. Trouble with the game?
    Try the troubleshooter!

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

    Dismiss Notice

0.36 Discussion Thread

Discussion in 'General Discussion' started by Leeloo, Jun 17, 2025.

  1. Im_a_Lefty

    Im_a_Lefty
    Expand Collapse

    Joined:
    Jul 11, 2018
    Messages:
    270
    delet
     
    • Staff Pick Staff Pick x 1
  2. LegThePeg

    LegThePeg
    Expand Collapse

    Joined:
    Jun 4, 2022
    Messages:
    3,778
    Damn whatever you said gave you a staff pick
     
  3. MarcDoesRacing

    MarcDoesRacing
    Expand Collapse

    Joined:
    Dec 21, 2022
    Messages:
    814
     
    • Agree Agree x 4
  4. DarkAngelMVP

    DarkAngelMVP
    Expand Collapse

    Joined:
    Monday
    Messages:
    1
    Does anyone else get this sudden lag in Johnson Valley? and if anyone else gets it, can someone give me a solution for it? the map is unplayable!!!
     
  5. GavrilMan2973

    GavrilMan2973
    Expand Collapse

    Joined:
    Sep 21, 2023
    Messages:
    966
    This Plate Spoiler on the Gavril Grand Marshal looks new, I don't recall seeing it in prior updates. Plus it wasn't mentioned in the patch notes at all, which could mean something new is on the way... Cheers! :)
    screenshot_2025-08-17_20-57-40.png
     
    • Like Like x 3
  6. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    642
    Instead of limiting log files to 15000 entries could it be limited by file size instead? I've ran into problems with that limit while trying to dump the state of relatively large tables before/during/after performing some actions and constantly had to delete the log and restart the game because of how fast I would hit that limit, but the log file was barely hitting 2.5 MB so I could afford to let it keep getting quite a bit bigger. I don't know if the numbered logs are supposed to start being written to if the entry limit is hit in the previous log but I don't think that happened when I was having that problem, I could only get the game to start writing log entries by clearing the file and restarting the game. If we're talking about reasonable entries I think that limit could probably be like 10 times bigger. Or just make it possible to change the limit with a setting (doesn't have to be shown in game, just inside a .ini file or something), which would probably work well with a file size limit so you can allocate whatever amount of space you can afford for log files.

    This isn't a big deal, just a bit annoying to deal with when you manage to recreate a bug and the log file gets cut off by the limit because you forgot to clear it. While I'm on this topic I think a log file that gets cleared when the game launches could be nice, so it only contains stuff from the last session. That way players don't have to worry about clearing log files manually and devs get bug reports with a log that's specific to a session where a bug happened.
     
    • Like Like x 1
  7. stenyak

    stenyak
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 6, 2012
    Messages:
    2,035
    Unfortunately the current choice of limiting by entries instead of size was intentional (my original goal was to use size instead). Due to code complexity, performance and my available dev time to work on this, and being such a fundamental part of the game engine, made me resort to entries instead.
     
    • Agree Agree x 2
  8. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    642
    Yeah I kinda figured using file size might be less performant than entry count. Still if there's a simple way to make it an option without decreasing performance it would be nice to be able to increase that limit as needed. I tried to work around it but my two solutions were not ideal.

    First was logging only prints with a large amount of entries to another file and add a line that points to that specific print in the main log file to know when it happens in relation to any errors or other normal logs. Somewhat annoying to deal with two log files and you can still hit the limit pretty quickly if something starts spamming errors but that's usable enough overall.

    Second was overwriting the log function itself to add code that copies all logs to another file before calling Lua:log() to keep the original logs working. That worked for gelua and vlua but I couldn't get CEF logs working (like console.log lines in js), it added some noticeable delay when printing in large amounts and was overall incredibly hacky. So I gave up on that option even though I liked being able to see everything in one file and was also able to customize the log format to add date and time to entries.
     
  9. stenyak

    stenyak
    Expand Collapse
    Programmer
    BeamNG Team

    Joined:
    Aug 6, 2012
    Messages:
    2,035
    Forgot to reply to this. I don't know what you mean by "clearing". The log files already get rotated, storing up to 4 independent game runs, one file each?
     
  10. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    642
    Oh wow I actually never noticed that's how the numbered logs worked, now I feel stupid. By clearing I meant a log file that always gets deleted when the game starts so that log file only represents the last session but now I realize that's basically how the main log file works. I haven't been paying much attention to numbered logs because usually when I'm chasing a bug it's gonna be within the same session the bug happened and if I had to restart the game I usually just deleted all the logs to get a clean slate because I wrongly assumed the game would just keep writing to the main log file until it reached some limit and that once that limit was reached it wouldn't keep writing to it even after restarting unless I cleared the contents myself.
     
    • Like Like x 1
  11. beamn driver

    beamn driver
    Expand Collapse

    Joined:
    Aug 22, 2021
    Messages:
    537
    у hirochi sunburst в конфигурации itasha проблема с fbb. при нажатии на газ руль тянет в сторону поворота, на других конфигурацияхх этого нет.
     
  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