rf2 bug the AI crashes the server

Discussion in 'Technical & Support' started by lokcy le maoul, Jul 3, 2023.

  1. lokcy le maoul

    lokcy le maoul Registered

    Joined:
    May 1, 2022
    Messages:
    53
    Likes Received:
    8
    hello,
    since yesterday impossible to launch the server with AI the server closes, I reinstalled everything and the problem persists. the server and locally on my machine where I play, and I have the message about the mods created with mas2 type=mod installed=no not installable unknow base cmp for .. and I have the name of the gt3 aston v3.59 missing virtual cmp--audi - bmw etc..
    if you could help me please? I specify that if I start without AI and that in the options once the server is launched, I can add the AI by 5 ...
    no message error when it crash, just close the windows and nothing.

    thanking you cordially
     

    Attached Files:

  2. lokcy le maoul

    lokcy le maoul Registered

    Joined:
    May 1, 2022
    Messages:
    53
    Likes Received:
    8
    I just created other than gt3 and it does the same?
    and it crashes and closes when I load track? :(
     

    Attached Files:

  3. DanRZ

    DanRZ Registered

    Joined:
    Aug 22, 2021
    Messages:
    724
    Likes Received:
    222
    Working dir is wrong in the ModMgr screenshot ...
    Remove Bin64 from Working Dir.

    Add maybe redo the mod with the MAS Tool.
     
    lokcy le maoul likes this.
  4. lokcy le maoul

    lokcy le maoul Registered

    Joined:
    May 1, 2022
    Messages:
    53
    Likes Received:
    8
    yes great that's good, but the server still crashes? and the modMgr is empty in create?
    That's why I reset everything. o_O
     

    Attached Files:

  5. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,393
    Likes Received:
    6,608
    Show the main window again.

    General question: should there be a "keys loaded" in the title bar?
     
  6. lokcy le maoul

    lokcy le maoul Registered

    Joined:
    May 1, 2022
    Messages:
    53
    Likes Received:
    8
    I redid a mas but as soon as I put AI the server crashes, if I put 0 AI no problem it starts?
     

    Attached Files:

  7. lokcy le maoul

    lokcy le maoul Registered

    Joined:
    May 1, 2022
    Messages:
    53
    Likes Received:
    8
    next :
     

    Attached Files:

    • imo.png
      imo.png
      File size:
      29 KB
      Views:
      52
  8. lokcy le maoul

    lokcy le maoul Registered

    Joined:
    May 1, 2022
    Messages:
    53
    Likes Received:
    8
    ah yes that's good I redid the cmd
    steamcmd +login anonymous +force_install_dir ../rFactor2-Dedicated +app_update 400300 +quit

    the track and cars are back ok ;)

    i do that create mod :
     

    Attached Files:

  9. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,787
    Likes Received:
    2,245
    For your first post, the mod manager doesn't say keys loaded, you need to copy ServerUnlock.bin from your rFactor 2\UserData to the servers rFactor 2\UserData, then you'll be able to install paid content.
     
  10. lokcy le maoul

    lokcy le maoul Registered

    Joined:
    May 1, 2022
    Messages:
    53
    Likes Received:
    8
    Hi, so the modmanager is working now, but as soon as I put AI on the server window closes and nothing happens? do you have any idea about this problem?
     
  11. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,072
    Post a trace file for the server?
     
  12. lokcy le maoul

    lokcy le maoul Registered

    Joined:
    May 1, 2022
    Messages:
    53
    Likes Received:
    8
    how can i do this pls?
     
  13. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,787
    Likes Received:
    2,245
    lokcy le maoul likes this.
  14. lokcy le maoul

    lokcy le maoul Registered

    Joined:
    May 1, 2022
    Messages:
    53
    Likes Received:
    8
  15. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,787
    Likes Received:
    2,245
    Is that from your game, or the server?
     
  16. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,407
    Likes Received:
    957
    Looks to me that you've got a couple of things confused, firstly you say you've used steamCMD to setup your server in ../rFactor2-Dedicated yet the screenshot of your modmanager is the game one. Same for the mas2 tool, you look to be using the ingame one.
    ok now to sort things out, firstly navigate to ../rFactor2-Dedicated/Bin64 and right click on rFactor2 Dedicated.exe and select "send to desktop".
    On your desktop you'll now have a shortcut to start the server, right click on it and select properties. You should now see this;
    upload_2023-7-6_8-39-31.png

    Click at the end of the Target line, add a space then +trace=2.
    In the Start in box delete the \Bin64 bit, so it should now look like;
    upload_2023-7-6_8-42-12.png

    That should create a server trace file in ../rFactor2-Dedicated/UserData\Log folder.

    Now for the Mod Manager, navigate to ../rFactor2-Dedicated/Bin64 and right click on ModMgr.exe and select send to desktop. On the newly created shortcut right click and select properties and in the Start in box remove the /Bin64 bit
    upload_2023-7-6_9-7-14.png
    Removing the Bin64 bit should ensure when you open the servers mod manager it'll have the correct Working and Packages directories...check to make sure.
    Now for the Mas2 Tool, navigate to ../rFactor2-Dedicated\Support\Tools, right click on MAS2.exe and select send to desktop. Double click the newly created shortcut and on the ribbon at the top click on the one that looks like a filing cabinet
    upload_2023-7-6_8-54-22.png
    Then set the packages folder to ../rFactor2-Dedicated\Packages.

    Now navigate to your Games userdata folder and copy ServerUnlock.bin to your server's userdata folder ie ../rFactor2-Dedicated/Userdata. That should now show "Keys loaded" at the top of your mod manager
    upload_2023-7-6_8-58-12.png

    Now you should be good to create your mod and install using the new shortcuts we've just created.

    A couple of things to note. Seeing as the server is on the same computer as your game, to start the server, close Steam first then start the server, then you can start steam and the rF2 and try and join your server.
    Also in your server's Player.json file find the line;
    Code:
    "WebUI port":5397,
    and change the port number, mine's is 5398
     

    Attached Files:

    lokcy le maoul likes this.
  17. lokcy le maoul

    lokcy le maoul Registered

    Joined:
    May 1, 2022
    Messages:
    53
    Likes Received:
    8
    hi ha the error is indeed that of the game I put back that of the server later
     
  18. lokcy le maoul

    lokcy le maoul Registered

    Joined:
    May 1, 2022
    Messages:
    53
    Likes Received:
    8
    hi, yes I followed a video, it had been working like this for 6 months, and overnight it stopped working so I'll do all the steps you left me. I have to use a translator because I speak English very very badly. Sorry I'll take care of that during the day. Anyway there is a problem because when I created the RF2serv folder with steamcmd inside, it created a second file named rf2 dedicated server… with the same thing. there on the shortcut I added the path .. I will come back to you once all the steps have been completed. a big thank you to you for your answer
     
    Goanna likes this.
  19. lokcy le maoul

    lokcy le maoul Registered

    Joined:
    May 1, 2022
    Messages:
    53
    Likes Received:
    8
    I have followed the steps now the farmhouse is empty is there anything in it?
     

    Attached Files:

  20. lokcy le maoul

    lokcy le maoul Registered

    Joined:
    May 1, 2022
    Messages:
    53
    Likes Received:
    8
    and now when i start the server it gives an error..:(

    what I don't understand is that it will work very well and with the AI a week ago, and hop overnight for no reason, the AI crash the server, and nothing works anymore now.. I am lost lol

    the tutorial i followed in fr
     

    Attached Files:

    Last edited: Jul 6, 2023

Share This Page