rFactor2 Dedicated doesnt work, whats wrong?

Discussion in 'Technical & Support' started by Leonardo1962, Apr 1, 2018.

Tags:
  1. Leonardo1962

    Leonardo1962 Registered

    Joined:
    Feb 12, 2012
    Messages:
    172
    Likes Received:
    27
    rFactor2 Dedicated.exe is starting from rFactor 2 Launcher, then a "cmd window" pops up
    with one "< chat >:" line at the top,
    but nothing happens.
    Any entered line quit's with
    "ERROR: HeadlessServerCommandParser:: ExecuteJSON root node isn't an array"
    What's wrong? My rFactor2 version is current.

    Starting rFactor2 Dedicated.exe f.e. from BIN64 folder doesn't find any mods. it tells:
    "No mod or installed mods found.
    Unable to continue. Please download and install at least one mod."
    What's wrong (I've many mods)? :-(

    any ideas?

    Leonardo (Peter)
     
    Last edited: Apr 1, 2018
  2. McFlex

    McFlex Registered

    Joined:
    Feb 23, 2012
    Messages:
    672
    Likes Received:
    126
    The issue here is that you need at least one rfmod (containing one track and one car)
     
  3. JimmyT

    JimmyT Registered

    Joined:
    Jan 16, 2012
    Messages:
    539
    Likes Received:
    299
  4. Leonardo1962

    Leonardo1962 Registered

    Joined:
    Feb 12, 2012
    Messages:
    172
    Likes Received:
    27
    Ok, i managed this issue. Now I have enough mod's installed.
    I also reinstalled all related multiplayer files and now it opens the wanted session with "rFactor2 Dedicated.exe"
    :) > First item fixed, thanks for support.

    Next, I also opened all needed ports
    TCP 54297, 64297 and
    UDP Ports 54297, 64298-64299
    .. in my Fritzbox 7490 and also in McAfee Firewall

    :( > but i still do not get connections but this:
    > On Laptop, I can see my own Server, but I can not join.
    > On Desktops, I can not see my own Server, and therefore i can not join.
    > :( Local multiplayer with rFactor2 still not possible for me.

    [​IMG]
    I get this timeout message, if i try to login from desktop in a visible laptop session.

    o_O I don't think that i am a beginner, but playing rFactor2 in LAN multiplayer is very very hard since steam.

    How can I hosting and joining at the same PC ?
    Thanks for any further hints?
     
    Last edited: Apr 8, 2018
  5. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    6,444
    Likes Received:
    2,357
  6. Leonardo1962

    Leonardo1962 Registered

    Joined:
    Feb 12, 2012
    Messages:
    172
    Likes Received:
    27
    my "Multiplayer.JSON" shows:
    "HTTP Server Port":64297,
    "Simulation Port":54297,
    I recheck the correct port- Values and try again
     
  7. Leonardo1962

    Leonardo1962 Registered

    Joined:
    Feb 12, 2012
    Messages:
    172
    Likes Received:
    27
    Thanks Lazza, that was the right trace: (check the correct open ports)

    I rechecked the correct port- Values in my router and indeed I found typing mistakes and wrong port numbers for my desktop, like 64267 instead of 64297. (That was the reason for different behaviour).
    :) > Second item fixed, thanks for support.
    With correct port router values i was able to connect and joining with different PCs.
    I can see, join, drive, vote, but i can't see the any opponent cars: not finished yet

    The sucessful connections are very rare and not very reproducible. Connection is lost very often.
    It took hours and hours and is very frustrating and not possible to setup a LAN session. Very sad.
     
    Last edited: Apr 7, 2018
  8. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    6,444
    Likes Received:
    2,357
    The thread I linked to has one reply, saying the http server port should be in the range 27013 to 27018. Did you try that?

    (I don't know if that will fix your problem, but it's something that's mentioned for lan play)
     
  9. Leonardo1962

    Leonardo1962 Registered

    Joined:
    Feb 12, 2012
    Messages:
    172
    Likes Received:
    27
    Hi Lazza,

    thanks for your support, that helps really a lot.
    I double checked and changed Router Port settings additional needed LAN Ports 27013.
    (don't know, if IPv6 Ports are also needed, will try and edit here)

    [​IMG]

    and inserted ports in firewall (, will try and edit here, if this is necessary)
    [​IMG]

    After that the rFactor2 Dedicated server : responded with invalid data (help) :(
    So i edited Multiplayer.JSON and changed
    "Announce Host":false, to "Announce Host":true,
    ( // Whether servers will attempt to register with the matchmaking service) and
    "HTTP Server Port":64297, to "HTTP Server Port":27013,

    After that on my Laptop, i was able to see my rF2 server, join and drive on same PC with very good performance > great > :)

    :) > Third item fixed, thanks for support.
    With additional port router values 27013 and changing Multiplayer.JSON i was able to connect and joining on one (same) PC.
    [​IMG]
    With that Multiplayer.JSON configuration, it is necessary to switch to LAN to see the server.
     

Share This Page