Outdated Beam Legal Racing - SLRR Inspired Hardcore Career Mod

Discussion in 'Content Creation' started by r3eckon, Aug 4, 2022.

  1. ZL18k

    ZL18k
    Expand Collapse

    Joined:
    Sep 14, 2024
    Messages:
    10
    I had this LUA issue as soon as I started BeamLR mode.
    I'm on a new save, on the most updated version, these were the log records I got.
     

    Attached Files:

    • Screenshot_5.png
    • Screenshot_6.png
    • Screenshot_7.png
  2. 5o5

    5o5
    Expand Collapse

    Joined:
    Sep 2, 2024
    Messages:
    19
    Is your mod installed correctly?
     
  3. shadow101

    shadow101
    Expand Collapse

    Joined:
    May 5, 2024
    Messages:
    41
    That damned lua line is breaking the game 161 from blrutill got error after tried to remove exhaust manifold on classical engine pack even got duplicated item using latest version with clean save
     
  4. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    593
    What do you mean you "unpacked" blrutils? The mod is supposed to be unzipped when installed so nothing should be "packed".

    Error says it couldn't load a data file, but that file is right there in the mod and there's no reason it couldn't find it if everything is installed correctly. Most likely you're not installed correctly, or you have the mod as a zip also in the userfolder, or something else causing conflicts. Follow the troubleshooting guide on github, backup userfolder, delete it, start game to create a new one then finally carefully follow install instructions.

    No that line isn't breaking anything, that function works perfectly when it receives valid data. It just means something else isn't working correctly. Listen, I don't wanna be rude but I really don't care about the classical engine pack right now. If you're deleting lines of code and changing stuff without knowing what it does obviously you're gonna break things. I can't deal with bugs relating to a mod until BeamLR is stable with vanilla parts. So right now your bug reports aren't helping if you're using other mods. You know how devs ask for safe mode before reporting bugs? Well safe mode for BeamLR is a clean userfolder without any other mods present. If that's not the state of your userfolder, I'm sorry but I can't help you.
     
    • Like Like x 1
  5. shadow101

    shadow101
    Expand Collapse

    Joined:
    May 5, 2024
    Messages:
    41
    i deleted that line thinking that would enable me to edit car with out lua error yet that disabled engine so i extracted from other partition mod file but now i know i get it why it can have that error it happens i think when trying to install same type of part be it vanilla or modded like script is not taking into parts odometer thats my guess and am sorry if i come across bit rude

    Edit: and now i know why it happens its not same part it works fine used starter D series bought same 2 parts with different odometer no error my bad it was just a guess tho i found that if i use 114 seed and go to Belasco auto hopper breaks roof lights it gets in config sometimes i get to shop not spawning right no error clean reset just camera gets stuck on empty lot cone i can switch cars yet after i leave shop cars don't despawn
     
    #1145 shadow101, Sep 15, 2024
    Last edited: Sep 15, 2024
  6. To1nho

    To1nho
    Expand Collapse

    Joined:
    Sep 15, 2024
    Messages:
    2
    as i told before, here it is the fix for lua error, its in portuguese (my main language) but if you follow what i do on the screen you will be able to fix it. i hope the dev can do like an script for fix this, my part is done, hope u guys can solve too :)

    https://www.youtube.com/@to1nho
     
    • Like Like x 1
  7. ZL18k

    ZL18k
    Expand Collapse

    Joined:
    Sep 14, 2024
    Messages:
    10
    I installed the mod correctly, I'm on the most updated version of the mod and I'm not playing with mods. I won a 200sx in a pink slip race, and when I went to pick it up at the garage to sell it, this error simply appeared and the car came without any parts. When analyzing the car file in the "beamLR/garage" folder, there were no parts files, just the car in the garage, it came completely bugged.
    This LUA error kept repeating itself in the log over and over.
    PS: I managed to save my save by deleting the car file from my garage folder.
     

    Attached Files:

    • Screenshot_3.png
    • Screenshot_6.png
    • Screenshot_7.png
    • Like Like x 1
  8. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    593
    Thanks for the report, I was trying to recreate this issue with pink slips for a bit but couldn't do it, turns out the BX-series specifically was the issue. Config file paths in drag race clubs are incorrect so when it tries to copy the config file to your garage it doesn't work. I've fixed the incorrect configs and even added code that checks for missing configs and avoids trying to add the car to your garage. I've also added a monetary compensation for the issue since you won the race but aren't getting a car. The game will also show an error in the message app and it'll print the missing config path in console so the bug can be reported.

    This type of issue usually only happens when a new BeamNG version releases that remasters configs but I think the issue went unnoticed for a while because the game still spawns the opponent car with a default config. And prior to the new inventory system, the car would also spawn from garage with the same default config with no issue, so nothing seemed wrong.

    As for the gas station bug you got, I still don't see how that can happen with a correct install. It's looking for the file userfolder/beamLR/mapdata/west_coast_usa/triggerData/gasStationE so if you have that file at that path there's no reason why it couldn't read it. The code builds this path using the level parameter which in your error screenshot is correctly west_coast_usa and the second parameter of csplit which once again is correctly gasStationE. The rest of the path doesn't change and both variables are correct. The only way this can fail to load the file is if it doesn't exist at that location or something is preventing it from being read. Are you absolutely sure you installed the mod correctly? If you didn't follow the github instructions or my tutorial video chances are you didn't install properly.
     
    • Like Like x 2
  9. shadow101

    shadow101
    Expand Collapse

    Joined:
    May 5, 2024
    Messages:
    41
    Huh with junkyard cars having 0 on odometer it makes it ez to exploit them for fast profit up to 10k+ even when starting on hard its especially true for those who have body on frame like moonhawk body costs almost 8k alone could you add high odometer to those cars?
     
    #1149 shadow101, Sep 16, 2024
    Last edited: Sep 16, 2024
  10. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    593
    The gas tiers are like a multiplier on torque, most starter cars have such low torque that even with the 20% increase from premium gas it doesn't exceed what the engine can handle. Bigger engines have more torque which means a bigger increase when multiplied which means more likely to be over the limit. When you see the over torque "risk" message your engine is actually taking damage because of over torque. How it works behind the scenes is that as your engine takes over torque damage the game does RNG rolls to decide if you blow the engine, the more damaged the engine the higher the chance.

    I'm probably gonna decrease the gas torque multiplier because the current values are too much in my opinion, the premium gas is too OP considering the price vs added torque. Maybe up to 5% would be more reasonable.
    --- Post updated ---
    Yeah someone else mentioned this before, I'll probably add higher odometer values to junkyard cars.
     
  11. shadow101

    shadow101
    Expand Collapse

    Joined:
    May 5, 2024
    Messages:
    41
    i just did that on my own just copied values from derby cars to them are we good the prices i mean i bet fuel value is in script

    Edit: yup worked like a charm now money earned is much lower
     
    #1151 shadow101, Sep 16, 2024
    Last edited: Sep 16, 2024
  12. 5o5

    5o5
    Expand Collapse

    Joined:
    Sep 2, 2024
    Messages:
    19
    Or just make it much pricier

    P.S. Btw most of the top-tier cars are undrivable in races on premium gas, too much torque
     
    #1152 5o5, Sep 16, 2024
    Last edited: Sep 16, 2024
  13. Demon Shot

    Demon Shot
    Expand Collapse

    Joined:
    Sep 16, 2024
    Messages:
    1
    Help me, the game is all black the problem is the mod because without him the game works fine

    upload_2024-9-16_16-50-30.png
     
  14. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    593
    You're on version 0.32.2, the level files are outdated, my edits are made in version 0.32.5. This is either a pirated version or you haven't updated your game in a while.
    --- Post updated ---
    I know, this is exactly why I'm gonna reduce the torque scaling for premium gas. If devs ever implement octane rating requirements in jbeam I'll change that system so that cars that can adapt to higher octane fuel get the performance boost, while cars that must use high octane get a performance decrease, engine knock, etc. when using regular.
     
    • Like Like x 1
  15. shadow101

    shadow101
    Expand Collapse

    Joined:
    May 5, 2024
    Messages:
    41
    Could you tell me which west coast drag club belongs to drag strip i know that drag club C is high stakes night only I'm asking since i changed to more custom configs and drag races are fixed on cars not like street that use list to randomize cars?
     
  16. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    593
    It's club B. And yeah drag clubs are using fixed cars for each race file so we have to beat every car to progress. If you want to add more configs copy the race files and change the opponent config.
     
  17. ali wali

    ali wali
    Expand Collapse

    Joined:
    Sep 7, 2024
    Messages:
    24
    will there ever be a list of opponents you can choose from? or bet individually and make the bets up to them to agree or decline? i feel like this would be a big speed up in the process of progressing leagues but youd also need more powerful cars for each league's podium
     
  18. rapturereaperALEX

    rapturereaperALEX
    Expand Collapse

    Joined:
    Nov 28, 2021
    Messages:
    341
    I have a paid mod (dyno wheels) works just fine. Also a apps for power and whatever you want in freeroam.
    --- Post updated ---
    So, beamng is really forgiving. Let me explain. I fixed the camera game breaking bug. Ran a clean user folder and beamlr. But copied some files from the old settings folder to the fresh. Tested swapped cars, it works. Great ! No mods so far. But then, I got my collection of almost 400 mods, (some are scenarios and maps) and tested. Guess what ? it works just fine ! lol Dealers fine, races, camera, 100% ! lmfao

    I also thought of other features ! Dynamic tow prices based on distance to a location, home/garage, and a special zone where you can spawn every car you have ! Not sure if it's easy with your current project flowgraph.
     
  19. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    593
    It's a good manual fix for broken files but the fact that the ECU is attached to this car without the inventory knowing means Advanced Vehicle Building isn't working properly. What did you do to this car, did you swap the engine and it already came with all the parts attached? I already fixed an issue with part edit safe mode that caused this but I see you aren't using it in this video.
    --- Post updated ---
    The random opponents are on purpose so no, otherwise you could just always pick the cars you know you can beat. I'm actually going to have the RNG for race clubs work with a seed like car shops, so you can't just keep re-rolling to get pink slips. Like in SLRR when you run into an opponent you can't beat it's time to go upgrade your car. Also I think a big list of opponents would suck in tiny imgui windows.

    Dynamic tow prices should be possible, idk if it adds much but I'll keep it in mind. Spawning every car is technically possible but I suspect would introduce a ton of bugs, also lag. If anything I could add a freeroam app that spawns your BeamLR garage in freeroam, that way it has no chance to break anything and would let you see your whole garage which I'm assuming would be the main point of such a feature.
     
    • Agree Agree x 2
  20. ali wali

    ali wali
    Expand Collapse

    Joined:
    Sep 7, 2024
    Messages:
    24
    what if they're randomized each time and the top idk 5 match your horsepower? if you dont know their cars you cant pick the ones you know you'd win, ur right about the imgui
    the pink slips rerolling is really overpowered, i made 100k just racing on the bridge in the silver league in like 20 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