Outdated Beam Legal Racing - SLRR Inspired Hardcore Career Mod

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

  1. 5o5

    5o5
    Expand Collapse

    Joined:
    Sep 2, 2024
    Messages:
    19
    I cleared my cache and it's working fine now, lol (I did a clean instal before, 0 mods)

    Also I provided with the wrong backup saves but it doesn't matter I guess. There 100% was a steering wheel in my covet, but I remember wanting to take it off and couldn't find it in the parts menu. I'll play some more and try to stumble on the bug once again. Maybe it's some sort of save corruption?

    P.S. If it's important, after that very bug I also ccouldn't abandon the scenario
     
  2. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    594
    That would mean the steering wheel was already missing from inventory for some reason which doesn't make sense because the ID value is skipped meaning at some point it was in there. The inventory parts for a new vehicle get created the first time it's loaded, and the config file gets a list of links to inventory IDs for every part on the vehicle. It's also the only part on the vehicle that config inventory links claim was added at an odometer value above 0 which doesn't make sense unless you removed and added it at least once, because the scrapyard covet comes with a steering wheel already attached. If you never removed and sold it I don't know how any of that could happen. I wish I were able to recreate this issue myself, I fully expected the new inventory system to have some bugs left but this type of random bug I can't seem to get is the worst type, especially one that breaks saves.

    Not being able to abandon the scenario doesn't mean anything, once lua errors happen it pretty much breaks everything. In this case it probably can't get past vehicle saving so it never reaches the node that stops the scenario.
     
    • Like Like x 1
  3. 5o5

    5o5
    Expand Collapse

    Joined:
    Sep 2, 2024
    Messages:
    19
    I managed to get something, finally. Attaching my whole beamLR folder (so I won't mess up this time) with a backup save to recreate. Also a video, basically what I do is I melt the engine by taking it off and putting back on, repair it in the garage, tow back home and try to take it off again.

     

    Attached Files:

  4. ali wali

    ali wali
    Expand Collapse

    Joined:
    Sep 7, 2024
    Messages:
    24
    i just got back on pc after 2 days sorry for not updating
    it doesnt happen when im playing windowed but it always does right away on fullscreen, also, that part equip bug happened to getaway aswell, the brazilian youtuber whos making big videos on your mod
    i literally get 0 errors while playing windowed and building cars and stuff, i dont know how that would make any sense
     
    #1084 ali wali, Sep 10, 2024
    Last edited: Sep 10, 2024
  5. Harben

    Harben
    Expand Collapse

    Joined:
    Feb 13, 2024
    Messages:
    6
    class c automation test track competition has class d cars as rivals
     

    Attached Files:

    • upload_2024-9-10_11-15-7.png
    • race4.png
  6. ali wali

    ali wali
    Expand Collapse

    Joined:
    Sep 7, 2024
    Messages:
    24
    put the game on hard and they'll be fast enough or at least a little bit faster,i feel like normal difficulty is too easy right now
    imo these low league racers should have proper suspensions, engine swaps or at least aesthetic upgrades, most of them have stock cars
     
  7. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    594
    I finally got the issue with your backup. Thanks for the help, I should hopefully be able to figure out what causes the problem with this save.

    If you feel like it, it would be a huge help if you can find specific steps that cause this issue from a brand new career, in case it turns out the save files are already corrupted if I can follow exact steps that lead to the issue then I'll definitely be able to find exactly where it goes wrong. If you do it make sure to include the seed so I can have the same start condition.

    The event file says class:C so I don't know how they would be there. The performance class file for C class contains variants of every car I can see in your screenshot. I think you should be able to see the config file for AI cars in world editor, you should be able to find the configs in the C performance class file (beamLR/performanceClass/C). That being said the AI is very bad and slow at track races so that could be why you feel like they're D class lol.

    The difficulty in options menu doesn't affect AI at all, it only changes the amount of money you get at career start. You're right about the configs being trash, I'm using vanilla configs and automatically sorting them in performance classes using power to weight ratio. It would be better to have a bunch of custom made configs for each class that at least have slicks to help the AI with handling. Unfortunately this is quite time consuming and I have more important stuff to work on. I tried outsourcing config making to players for the "Race of Heroes" event and only got a single config. But those didn't require specific performance classes, if players wanted to create performance class specific configs outside the mod it would be necessary for me to release a standalone performance class UI app.
     
    • Like Like x 1
  8. ali wali

    ali wali
    Expand Collapse

    Joined:
    Sep 7, 2024
    Messages:
    24
    would increasing traffic aggressiveness help with the difficulty or is that just for traffic? i thought raising difficulty made the ai faster cause i got a crazy fast piccollino at the bridge after i changed it lol
     
  9. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    594
    It's also a parameter for non-traffic AI but the thing is it's already pretty much as high as it can be. Any higher and they just can't take corners because of how late they brake. I actually have to help the AI by defining braking zones, basically waypoints with decreasing target speeds just before corners. The worst I've seen yet is on west coast, island races that have a turn right after the bridge. The AI is basically going at max speed and has to take a 90 degree turn. It took 3 braking waypoints for the AI to finally be able to take that corner without overshooting. The right hand turn before the highway bridge on Utah is also problematic, depending on what car it's running the AI will still crash into a rock at that spot. I don't have enough time to test every single AI car so I just force a "mid tier" handling car when defining braking zones and tweak the target speeds until that car can complete the race.
     
    • Agree Agree x 1
  10. 5o5

    5o5
    Expand Collapse

    Joined:
    Sep 2, 2024
    Messages:
    19
    I finally found it. Made a video with comments. Basically the problem is the Safe Mode. Feel free to put it on 2x speed.

     
  11. s11

    s11
    Expand Collapse

    Joined:
    May 14, 2014
    Messages:
    33
    Hey
    Brilliant work with this!
    It's basically a whole new game. Been fiddling about with it for the past few weeks and have a pile of ideas but I'll try to refine them and learn a bit more about both the game and the mod before I propose something that would change too much as the overall vibe is really good.

    Sure, there have been a few bugs and errors that others have mentioned but nothing too major.
    Cheers and keep up the good work!

    I'll try and look into this.
    I guess just saving the configs I build while playing and adding them to respective file in beamLR\performanceClass\ would work..?
     
    • Like Like x 1
  12. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    594
    Annnd I just fixed it. The bug indeed happens when exiting safe mode. Advanced Vehicle Building wasn't being enabled and unlike a vehicle repair which only resets the vehicle but keeps the same jbeam, when exiting safe mode it reloads the jbeam for the vehicle (like hitting CTRL+R) to restore the normal beam strengths. When jbeam is reloaded if Advanced Vehicle Building isn't enabled it'll load default parts which don't exist in the part inventory. After removing and re-adding the engine you can see the default exhaust appear after exiting safe mode. I actually tested safe mode initially but with wheels, however I had added tires back on the wheels before exiting safe mode meaning it didn't load default parts so didn't notice anything wrong.

    It's a one line fix, turning on the AVB flag before reloading jbeam when exiting safe mode. This should hopefully no longer be a problem in next version, unless there's something else causing the same issue. Before releasing it I want to take a look at why the engine melts when removing and adding, which isn't supposed to happen. Until then, don't use part edit safe mode.

    Thank you and @ali wali for helping me fix this issue!
     
    • Like Like x 2
  13. catchow1977

    catchow1977
    Expand Collapse

    Joined:
    Jun 2, 2022
    Messages:
    1,680
    I wish the devs would include some of the features from this into career mode like the beam state thing
     
  14. shadow101

    shadow101
    Expand Collapse

    Joined:
    May 5, 2024
    Messages:
    41
    r3eckon could you tune car edit lua or script to be able editing car that uses classic engine expansion pack since its fine in shop inventory but not in edit it just shows classic engine expansion pack and not the engine installed also advanced repair UI does not work for me i cant select or deselect what to repair took screenshot yet it does not show any UI
     
  15. 水 AKASHI MONSTRO 水

    水 AKASHI MONSTRO 水
    Expand Collapse

    Joined:
    Jun 21, 2022
    Messages:
    3
    Hey what's up, a friend of mine who is on YT is having this lua error happening to him all the time. It seems like when he buys a new part and tries to put it on, he gets this error (this only happens on the BX). Here are some screenshots of the error.
     

    Attached Files:

    • image2.png
  16. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    594
    Maybe they will if they eventually fix it. It's been broken since 0.28 because of advanced couplers (openable doors).

    I don't have enough time to deal with mod specific issues right now, something about this mod must be weird because I know a bunch of part mods that do work properly. If the jbeam structure is similar to vanilla parts it should work.

    This should be fixed in next version assuming this is the same bug I just fixed.
     
    • Like Like x 1
  17. shadow101

    shadow101
    Expand Collapse

    Joined:
    May 5, 2024
    Messages:
    41
    I got it figured out its engine pack price it stays at 0 that makes your mod glitch in terms of not having engine list after i changed from vanilla engines but what about advanced repair UI boxes being grayed out cant even select what to repair and i know it worked on older mod version
     
    #1097 shadow101, Sep 11, 2024
    Last edited: Sep 11, 2024
  18. fihre boy

    fihre boy
    Expand Collapse

    Joined:
    Jun 21, 2021
    Messages:
    114
    how can i remove a car from my save file?
    i won a bx-series in pink slips and its broken, and so i cant play anymore bcz i just stay frozen
    upload_2024-9-11_13-14-35.png
    it just gets frozen at that screen and i cant do anything anymore
     
  19. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    594
    Version 1.16.2 has been released, this update should hopefully fix the part edit safe mode bug some players were experiencing. I've also tweaked a few things, most notably the starting cars now have an odometer value of 300,000 km while the part odometer based integrity decrease has been changed to start at 150,000 km and max out at 450,000 km. Most of the low end used cars have had their odometer and price ranges tweaked, so the minimum prices are lower and the maximum odometers are higher.
    • Fixed old "coupe" model in police spawngroups (replaced with BX-Series)
    • Fixed fallback part price not used causing null sell/buy prices
    • Fixed part buy layout bug with fallback value (missing line break)
    • Fixed AVB bug when exiting Part Edit Safe Mode (game breaking inventory bug)
    • Fixed engine immediately melting when added with no oil (bug in combustionEngineThermals.lua)
    • Fixed race start markers staying active after giving up (allowed starting race in loss state)
    • Increased base odometer value for starter cars to 300,000 km
    • Tweaked odometer based part integrity decrease (starts at 150,000 km, maxes out at 450,000 km)
    • Tweaked low end used cars odometer & price (decreased min value, increased max odometer)
    • Removed option to disable Advanced Vehicle Building (necessary for new part inventory)
    Those checkboxes can't be grayed out, I didn't add code that would make that possible. Maybe you have an invisible UI app on top of the repair app with z-index preventing mouse input to the repair app. Try moving the repair app somewhere else and see if it works.
    Open the file beamLR/mainData in a text editor and change carUsed to a different value. I think if you set it to -1 it should spawn you on foot and let you pick a different car, otherwise check inside the garage folder and pick the number at the end of a car file that isn't the bugged car. What happened though, did you just win it and first time you tried to use it the game bugged?
    Yeah it should, if you want to test you can temporarily remove everything from a class file and add just the config you want to check. It should only spawn that car for opponents.
     
    • Like Like x 4
  20. ali wali

    ali wali
    Expand Collapse

    Joined:
    Sep 7, 2024
    Messages:
    24
    beamlr update lets goo
     
  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