No UpdateScoring when Pause While Zero Players="1"

Discussion in 'Plugins' started by stevo.zilik, Jun 11, 2013.

  1. stevo.zilik

    stevo.zilik Registered

    Joined:
    Jan 27, 2013
    Messages:
    34
    Likes Received:
    0
    Hi,

    With setting (multiplayer.ini)

    Pause While Zero Players="1"

    after the game starts (before anyone connects), we don't get any 'UpdateScoring' calls. All the info about current session is delivered via this call, which means we don't know what session/server started until a human player actually joins the game.

    Is there a workaround I'm missing?

    Can you change this so we at least get 1 call of 'UpdateScoring' so we can report on what server (track, mod, etc..) is actually running.

    This is really a pain as we can't report servers started until someone joins, and people are not likely to join if they don't see the server. (chicken and egg problem)

    Thanks,
    Stevo
     
  2. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
  3. hockel

    hockel Registered

    Joined:
    Jan 11, 2012
    Messages:
    38
    Likes Received:
    0
    +1

    totally agree
     
  4. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,345
    Likes Received:
    6,572
    Yep, not aware of any workaround.
     
  5. DuRiN

    DuRiN Registered

    Joined:
    Oct 12, 2010
    Messages:
    44
    Likes Received:
    14
  6. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Unless query server works with rF2. I tried it but not working. If it works, at least we can query the server and get some data. Anyone knows if Query Server works with rF2?

    Cheers
     
  7. Frank Geyer

    Frank Geyer Registered

    Joined:
    Oct 5, 2010
    Messages:
    222
    Likes Received:
    3
    Hi stevo,

    Would it help if you set Pause While Zero Players="0".

    While no driver is connected to the server, your plugin just don't care.

    In case the 1st driver joins, defined by mNumVehicles changes from 0 to 1, while mNumVehicles was 0 before the change, initiate a Restart Weekend automatically by your plugin?

    Cheers
    Frank
     
  8. stevo.zilik

    stevo.zilik Registered

    Joined:
    Jan 27, 2013
    Messages:
    34
    Likes Received:
    0
    Hi Frank,

    I'm not sure what you mean by Restart Weekend.

    What we need is rFactor 2 providing data about session even when Pause While Zero Players="1" and before any players have joined, in order to display the server as 'live' and available to join.
     
  9. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,345
    Likes Received:
    6,572
    Frank is suggesting you don't pause while there are zero players, just report Practice when there are none, and as soon as someone does join restart the weekend so they join at the beginning of practice just like they would if the server did pause while it was empty.

    I guess it's the closest thing to a workaround...
     
  10. Frank Geyer

    Frank Geyer Registered

    Joined:
    Oct 5, 2010
    Messages:
    222
    Likes Received:
    3
    Thx Lazza for clarifying! :)
     

Share This Page