1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Dedicated Server - Dynamic Race Bot [DRB]

Discussion in 'Automobilista 2 - General Discussion' started by Svenny, Dec 25, 2023.

  1. Svenny

    Svenny Member

    Joined:
    Jul 25, 2023
    Messages:
    32
    Likes Received:
    29
    [DELETED]
     
    Last edited: Dec 29, 2024 at 6:23 AM
  2. Svenny

    Svenny Member

    Joined:
    Jul 25, 2023
    Messages:
    32
    Likes Received:
    29
    I'll make a start on that soon..

    Yes very strange, it works for me and Diesels...Silly question but are you updating the config values in the /lua_config/ams2_drb_config.json file?

    There is also a small bug...it's dymaically selecting the class count regardless of the config value. I'll add to the todo...

    Now this is going to be tricky...there will be a need for a full set a vehicle class params and track params, essentially need to select track and then select suitable classes. My first pass is to try and figure out how to extract new data from DS and update existing vehicle, classe and track lists then also get additional data in.. A good example is cars with headlights and night races...currently you couldn't do that without excluding all the vehicles/classes that don't have headlights and set the session start and end hours values in the config.

    It would be fantastic if this extra data was somehow available from within the DS instead of relying on manual ouside data (eg: AMS2 Car Info sheet).
     
    Last edited: Dec 29, 2024 at 11:11 AM
    • Like Like x 1
  3. Mikk Schleifer

    Mikk Schleifer Active Member AMS2 Club Member

    Joined:
    Nov 30, 2019
    Messages:
    197
    Likes Received:
    177

    Have to say thank you first for these great tools, got it working :)
    I am old, took some time to understand it, but now i am in for more!:cool:
     
    • Like Like x 1
  4. Svenny

    Svenny Member

    Joined:
    Jul 25, 2023
    Messages:
    32
    Likes Received:
    29
    Good news, I found the issue and I've put in safe guards from it occuring again. Bad news is I have a few more additions (Adding/Removing AI from sessions, updating vehicles, classes and tracks dynamically removing the need to update manually on new updates and maybe a inchat kick function) to add and test before the next release.
    In the meantime, one thing that might help you weather sceanrio is ensuring the below setting in the config matches one of the later weather options that has a weight (Foggy or HeavyFog). By default it's set to "LightRain" which isn't one that you've added a weight to.

    Defaults in config..
    Code:
    "dynamic_weather_forecast" : "LightRain",
    
    PS: Still haven't found the bug where no weather is found for Race Slot.....frustrating
    EDIT: I found the issue with the Race Slot not being applied....silly mistake...trying to assign a variable before it was assigned a value!!!:oops:
     
    Last edited: Dec 31, 2024 at 12:12 PM
    • Like Like x 1

Share This Page