[SOLVED] Server: Weather file ignored if +oneclick is used

Discussion in 'Bug Reports' started by guenther, Dec 30, 2020.

  1. guenther

    guenther Registered

    Joined:
    Oct 5, 2018
    Messages:
    81
    Likes Received:
    71
    Hello everybody,

    I'm currently facing the issue that the weather file won't be applied if the server is started using +oneclick.

    Configuration:

    On the track *.wet file, there is following situation configured:

    Code:
    [Practice Info]
    StartTime=(0)
    Duration=(30)
    Sky=(10)
    RainChange=(100)
    RainDensity=(2)
    Temperature=(12)
    Humidity=(30)
    WindSpeed=(5)
    WindDirection=(0)
    So it should rain from the beginning onwards.

    The server applies following settings:

    Code:
    playerFileName: "player"
    darkCloud: 0
    raining: 0
    ambientTemp: 29
    trackTemp: 29
    
    So the weather is basically ignored.

    If I go back to the track/ weather screen and just press save in the weather screen and start the session again, the changes are applied:

    Code:
    darkCloud: 0
    raining:    0.9946640175348344
    ambientTemp    :12.001984039831939
    trackTemp:    12.001984039831939
    Is for applying the weather using +oneclick something additional needed? Like settings in the *.ini file for the mod or another coimmand line switch?

    Thank you!
    greetings,
    g√ľnther
     
  2. guenther

    guenther Registered

    Joined:
    Oct 5, 2018
    Messages:
    81
    Likes Received:
    71
    NVM. found it out:
    Code:
    "Race Conditions": {
              "MULTI Weather": 5,
              "GPRIX Weather": 5
    }
    
    Sets the weather to "scripted", which is also set when the dialog is used.
     
    Alexandr Meshkov likes this.

Share This Page