Outdated Beam Legal Racing - SLRR Inspired Hardcore Career Mod

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

  1. koolkei

    koolkei
    Expand Collapse

    Joined:
    Jan 15, 2024
    Messages:
    7
    Hello! i made this account just to post here. first of all, to say thank you. this mod has been amazing and so much more than i was expecting.i also have shared it around and got about 5 friends trying it out and we've been playing and comparing progress together.

    now, i also want to ask for some help. i can't start Track Events. i've got the right car setup, joined it. and then spawned into the right track. going up to the trigger point was fine. and then after loading. it just shows up an error, and all the UI says is 'nil'

    i tried reading through the error log myself, it seems like i'm missing any track mapdata completely. as in, in the beamLR/mapdata folder there's only 4 maps. which are west coast, east coast, italy, and utah. but no file for any of the track. did i miss something during installation?

    edit: error log attached
     

    Attached Files:

  2. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    594
    Just found out about a very annoying bug with the part selling, something I thought I fixed in a previous update but apparently didn't. When selling parts with missing jbeam values the player money still gets stuck on $nan which prevents any further transactions from working properly. It should now actually be fixed for next version, however as this is a game breaking issue this post contains a zip archive with the edited file needed to fix the problem until I release next version. File to replace is userfolder/ui/modules/apps/beamlrui/app.html.

    Quick tip for player money issues, you can set (and also cheat) money while playing using the lua console with this command: extensions.blrglobals.gmSetVal("playerMoney", 12345)
    Just replace 12345 with whatever amount of money you had before it bugged.

    Hey, I'm glad you like the mod! About your issue, I can't see what's wrong using the log file because the error happens in flowgraph and I can't see what node caused it from that log. Put the folder userfolder/beamLR in a zip archive and upload it here, that way I'll be able to get the same error and see what's going on.
     

    Attached Files:

    • Like Like x 1
  3. koolkei

    koolkei
    Expand Collapse

    Joined:
    Jan 15, 2024
    Messages:
    7
    got it, here it is attached.
    thanks for looking at this
     

    Attached Files:

    • Like Like x 1
  4. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    594
    Found the problem, I forgot to use the player name value from the options file for track events when I removed the dedicated playername file. So it bugs out when trying to load as the file doesn't exist. Players that updated the mod from an older version probably still have the file as it won't be deleted which means track events still work for them but if you installed the latest version in a clean userfolder (which is the case if this is your first time installing) then this file is missing.

    It'll be fixed for next version however you can fix it yourself by creating a file called playername in the beamLR folder, then inside that file write playerName=MyName replacing MyName with whatever name you want to show up in the leaderboard. Make sure the file name and left side of the equal sign inside the file are exactly as I've typed them since file loading and table lookup are case sensitive. Until next version releases this value won't update when you change your name in the options menu but it should allow you to do track events.

    Note that the UI and console will say there's an error because of gas station displays code looking for map data that isn't there, but you can safely ignore it as this isn't affecting the track event flowgraph. That error comes from a onSettingsChanged hook I added to change gas station display values when the unit is changed so this shouldn't prevent you from racing.

    Thanks for the bug report!
     
    • Like Like x 3
  5. koolkei

    koolkei
    Expand Collapse

    Joined:
    Jan 15, 2024
    Messages:
    7
    oh that was actually a bug. i thought i did something wrong. thank you for the mod still :)
     
    • Like Like x 1
  6. charge_1

    charge_1
    Expand Collapse

    Joined:
    Nov 11, 2020
    Messages:
    1,005
    hi! just got this its really fun, but my first car (the legran) halfshaft broke, making it undriviable, so I scrapped it. was gonna do some jobs as the unicycle, but a cop ran into me, then tried to get me to pay $1000 or they'll impound my vehicle. i only had ~400, so i clicked Impoud and thought i would just respawn. nope. now my save is broken and i need to reset it. i haven't even gotten past a day so its ok.
     
    • Like Like x 1
  7. SSRG

    SSRG
    Expand Collapse

    Joined:
    Jun 17, 2023
    Messages:
    4,333
    They impounded you :skull:
     
  8. charge_1

    charge_1
    Expand Collapse

    Joined:
    Nov 11, 2020
    Messages:
    1,005
    They pretty much stole me lol
     
  9. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    594
    Damn lol that's pretty funny, actually didn't even think it was possible for police to chase the unicycle but I guess it makes sense given that's considered to be a vehicle. I'll have to check for that condition in the pursuit UI so that cops don't send your save to jail. Thanks for the bug report and I'm glad you like the mod!
     
  10. charge_1

    charge_1
    Expand Collapse

    Joined:
    Nov 11, 2020
    Messages:
    1,005
    Ok, is there a way to reset save? Or do I need to reinstall it or something?
     
  11. koolkei

    koolkei
    Expand Collapse

    Joined:
    Jan 15, 2024
    Messages:
    7
    lmao this is all so ridicolous how it started


    how it's going


    btw. is it just me, or anyone else also experiencing that about 50% of the car won from pink slips just happens to be in the color range between purple and pink?
     
    • Like Like x 1
  12. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    594
    The mod's options menu has a button to reset your career, if it doesn't work because of your bugged save replace userfolder/beamLR with the beamLR folder from the zip file.
     
  13. charge_1

    charge_1
    Expand Collapse

    Joined:
    Nov 11, 2020
    Messages:
    1,005
    Ok, also I went to the west coast location and I got the unicycle back. I can try going back to Utah (where it happened)
     
  14. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    594
    Yeah I did notice that, it might have something to do with the random paint generation. I don't know the exact reason and might be wrong about this but I think because of how colors work when generating random RGB values the resulting color is more likely to be closer to a mix of two colors (magenta, cyan, yellow) than a single color (red, green, blue) or grayscale. It's possible that generating colors using HSV would be better, I'll have to experiment with it.
     
  15. Mattia83

    Mattia83
    Expand Collapse

    Joined:
    Dec 30, 2023
    Messages:
    6
    Hello


    Not sure is a bug, in garage at UTAH when I remove the suspension from the FCV the car “fell” and take damage so I can’t remount any parts without make repair before, the problem is that after the repair the car respawn and “fell” and retake damage so I cant mount anything, just repair but every time same problem, small damage so no possibility to edit car….no way to correct the problem in game, just reload the backup

    This occur me another time whit a D series dismounting only the bumper, but no give it attention or check because I’m selling it for money, so I stop to dismount part and sell as scrap whole car
     
  16. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    594
    Yeah this is not really a bug more of a problem with how car edits work in BeamNG. One workaround is to pause the game when you make edits. Unfortunately doing this will reset the odometer value and cause other issues due to frame delayed flowgraph not working if the game is paused. I might be able to fix that problem using a delay that isn't affected by pause.

    If that doesn't work, a potential solution would be to find a way to make vehicles temporarily indestructible, say for a few seconds after edits are made, so they can hit the ground without getting damaged. I looked it up and seems possible to do however only mods have done it so I don't know if this is through vanilla lua functions or if they edited jbeam to increase the strength of beams. So if that can't be done, maybe temporarily setting a low gravity could work to get the car down slowly enough to prevent damage. Also, maybe using nodegrab as "jacks" to hold the vehicle up, it's probably possible to add them through script but I don't know if that would work well, might cause damage as they spawn and pull on parts.
     
  17. Hitregistration

    Hitregistration
    Expand Collapse

    Joined:
    May 10, 2016
    Messages:
    6
    A current workaround I've found for this issue was to "Repair Selected" in the repair menu when it happens for the first time, as this resets the car in its current position and angle rather than hard resetting with "Repair All" and having it spawn in the air, making it fall and be damaged again.
    ex. Remove front wheel hubs, car falls and lands on its front bumper
    Instead of clicking repair all, check the box for the front bumper and repair selected, it'll stop it from falling from height after the repair.

    I've started leaving the bumpers or suspensions on car until I've removed every other part as a backup plan in the case it does fall.

    Unfortunately, this doesn't work if you damage the frame or body of a car and no other parts, or if you restart your BeamLR session as that can only be repaired with a hard reset.
     
  18. Mattia83

    Mattia83
    Expand Collapse

    Joined:
    Dec 30, 2023
    Messages:
    6
    sounds good....and is also realistic, if i have to disassemble the suspension i will start from wheel, then disk, hubs ecc...if i do in this way the frame or the body they don't should damaged
    --- Post updated ---
    ok thanks, yesterday i what to try different solution but i was not able to reproduce the problem whit the backup save‍♂️...i will try the next time if the problem come back, tanks to @Hitregistration for the great suggestion to how correct and avoid the problem
    --- Post updated ---
    another questions, is the "car configuration" save and load broken?i try so save and load different setup but always tell me that there are missing parts for the configuration.
    Also if i had save it just one second before the load.
    add to this the big problem is that fail to load a configuration will delete all the parts not mounted in the garage so is needed a backup restore.
     
  19. r3eckon

    r3eckon
    Expand Collapse

    Joined:
    Jun 15, 2013
    Messages:
    594
    Just checked and I don't get that problem. I previously fixed an issue that's pretty much the same as what you experience which would happen when playing without advanced vehicle building enabled but I checked and configs load for me with or without advanced vehicle building. Parts removed from inventory shouldn't happen, if that message shows up it means the inventory check for needed parts failed and it doesn't touch the inventory when that happens so that's very weird.

    I have to ask because this is a common issue: are you sure you installed correctly? If the mod is zipped it can cause a bunch of weird issues with file persistence, where the game gets confused between files in the userfolder root (which are created and updated by the mod as you play) and files in zip (which are always the same as with a fresh career, so inventory would be empty). Try installing in a clean userfolder, don't use any other mods and see if you still have that problem. If so, archive your beamLR folder and attach it to a post with steps you take to experience the problem so I can see what's going on.
     
  20. Mattia83

    Mattia83
    Expand Collapse

    Joined:
    Dec 30, 2023
    Messages:
    6
    could be,i will try to reinstall all this evening...pretty sure i do it well the first time but i have move all the steam and user folders to another disc recently, maybe these cause the problem
     
  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