Alert when someone joins an idle server

Discussion in 'General Discussion' started by Seven Smiles, Aug 17, 2017.

  1. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    I'm thinking of writing a simple app that watches the status of a selected server and pops up an alert when someone starts racing on the server so you can join them. Firstly, does anything like this exist? Secondly, I haven't managed to find anything about the API, has anyone got any tips to help me make a start?

    https://forum.studio-397.com/index.php?threads/rfactor2-server-browser.46207 seems quite similar but the thread has died.
     
    Mauro, Jon and Pauli Partanen like this.
  2. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    Well, I have hacked a prototype together that works for me, now "all" I have to do is tidy it up and add some kind of notification...

    Code:
    F1_1979_Official_Server_1 is idle
    F1_1979_Official_Server_1 is idle
    F1_1979_Official_Server_1 is idle
    F1_1979_Official_Server_1 is idle
    F1_1979_Official_Server_1 is idle
    F1_1979_Official_Server_1 is idle
    F1_1979_Official_Server_1 is idle
    F1_1979_Official_Server_1 is ACTIVE
    server_name:'F1_1979_Official_Server_1' bots:1 player_count:1
    response_type 73
    protocol 17
    server_name F1_1979_Official_Server_1
    map zolder79
    folder rFactor 2
    game rFactor 2
    app_id 0
    player_count 1
    max_players 29
    bot_count 1
    server_type Non-Dedicated
    platform Windows
    password_protected 0
    vac_enabled 0
    version 11108
    Player: Seven Smiles
     
    Last edited: Aug 18, 2017
    Mauro and Pauli Partanen like this.
  3. Pauli Partanen

    Pauli Partanen Registered

    Joined:
    May 15, 2012
    Messages:
    1,091
    Likes Received:
    1,748
    This is really great idea! Keep up the good work.
     
  4. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    It's a bit closer to a finished product now though I'm having trouble with my Python install and can't package it into an .exe at present.

    rF2_serverNotify.JPG
     
    Last edited: Aug 19, 2017
    Mauro, Ari Antero and Pauli Partanen like this.
  5. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    Mauro, SPASKIS and Ari Antero like this.
  6. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152

Share This Page