Dedicated server 20 laps keeps adding laps 29/35 etc.

Discussion in 'Hosting Help' started by Steve Cunningham, Dec 24, 2022.

  1. Steve Cunningham

    Steve Cunningham Registered

    Joined:
    Aug 14, 2021
    Messages:
    116
    Likes Received:
    23
    Server is up for about 20+ hours now and cycles my single car and track for 20 lap races. At least I assumed it was cycling but now I'm not sure.

    I entered the server to test drive and the race doesn't seem to end. Keeps adding laps. Yellow full cautions occur and we get restarts, never gets to a checkered flag. The HUD shows number of laps and I thought it should be 20/20 and checkered flag or something but it seems to keep counting laps 25/31 29/35 etc. and never gets a checkered flag or ends the race.

    Is there a setting I'm missing that causes this ?
     
  2. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,345
    Likes Received:
    6,572
    Yeah, there's a setting possibly in the rfm that determines whether laps are added under caution periods.

    You really are entering a rabbithole when you enable safety cars, there's a lot to configure and it'll never work perfectly.
     
    davehenrie likes this.
  3. JimmyT

    JimmyT Registered

    Joined:
    Jan 16, 2012
    Messages:
    924
    Likes Received:
    578
    In the rfm file you will find this line.
    CountCautionLaps = 1 // Whether caution laps are counted towards the total number of laps; default=0, possible values 0 or 1.

    0= won't count (keeps adding laps)
    1= will count (so race ends at the right number of laps)
     
  4. Steve Cunningham

    Steve Cunningham Registered

    Joined:
    Aug 14, 2021
    Messages:
    116
    Likes Received:
    23
    Thanks,
    How do I edit this file ?
     
    Last edited: Dec 26, 2022
  5. JimmyT

    JimmyT Registered

    Joined:
    Jan 16, 2012
    Messages:
    924
    Likes Received:
    578
    open it with notepad
     
    Steve Cunningham likes this.

Share This Page