SOLVED Struggling with Dedicated Server

Discussion in 'Technical & Support' started by meadowsad, Dec 31, 2021.

  1. meadowsad

    meadowsad Registered

    Joined:
    Dec 31, 2021
    Messages:
    4
    Likes Received:
    1
    I have read all the guides, watched all the videos but I still struggle with allowing my client to download from the server.

    I went in to the multiplayer.json file and set "Enabled Autodownloads" to true but when I connect tot he server it says it failed to install/download the mod. I verified I can connect to other servers with my client and download content.

    If I take the .rfmod file from the server and put it on my PC and use the mod manager to install it I am able to join the server. Am I missing something else on the server to make this work correctly?
     
  2. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,010
    Likes Received:
    1,071
    Are your rfmods and rfcmps in your packages folder of your server?
     
  3. meadowsad

    meadowsad Registered

    Joined:
    Dec 31, 2021
    Messages:
    4
    Likes Received:
    1
    Thanks for responding!

    Yes the files are in the packages folder on the server. I even copied the files from my PC in to the packages folder and used the mod manager to install them just to make sure they were identical.

    Once I did that I opened the MAS tool and created the package which was created withing the packages folder.

    For the life of me I can't figure out what I am missing.
     
  4. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,382
    Likes Received:
    6,600
    Is your .rfmod a basically empty event pointing to other content (so unticked on the left when creating the package), or does it have components included in it? (ie ~5kB vs 200+ megs...)

    (the first is the best option normally)
     
  5. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,006
    Likes Received:
    2,875
    @meadowsad What is your Configuration?
    Are Server and Client on the same Machine or do you use 2 different Machines or is the Server a rented one?
    And is there any Anti-Virus Software running on the Servers Machine?
    Is the, for the Download used Port opened in the Firewall(s)?
    Is it the same for someone else, that tries to join your Server?
    How do you join the Server, with a direct Link or selecting from the Server List?
    And do you use a Password to join the Server?
     
  6. meadowsad

    meadowsad Registered

    Joined:
    Dec 31, 2021
    Messages:
    4
    Likes Received:
    1
    Sorry for the delay in getting back to you!

    I checked the rfmod file and it is 2gb! I am not sure what you mean by unticked on the left? Do you mean when the location and vehicle list is shown?

    As far as the server itself goes;

    Server is another Windows 10 machine and I set it up using steamcmd.

    The firewall is turned off and other than the built in AV there isn't any thing else.

    I am using the defaults in the files so I just looked up a port list and have a NAT rule and ACL that allows the traffic through the firewall. Should I be looking in the multiplayer.json for ports to confirm what I have is accurate? Not entirely sure where to find them in the configs.

    Here are the ports I allowed:

    UDP+TCP 54297
    TCP 64297
    UDP 64298
    UDP 64299

    I haven't had anyone test join the server yet.

    I join the server through the server list.

    I have tried the server with and without a password and get the same result.

    Thanks for the replies and trying to help me through this problem.
     
  7. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,006
    Likes Received:
    2,875
    When your rfmod File is 2 GB, i would say that the Problem is it's Size.
    The default Setting in the Multiplaer.JSON is 500 MB:
    "HTTP Server Max File Size":500,
    As @Lazza has said already, when you build the rfmod, you only have to have the Layouts and Cars being checked, if you reference installed Components.
    In that Way, the rfmod will have only a few KB of Size.
    Try that, if that solves the Problem or set the Max file Size to 2500, to test it.
     
  8. nonamenow

    nonamenow Registered

    Joined:
    May 3, 2017
    Messages:
    1,284
    Likes Received:
    570
    Make sure the checkboxes on the left remain unchecked.
     

    Attached Files:

  9. meadowsad

    meadowsad Registered

    Joined:
    Dec 31, 2021
    Messages:
    4
    Likes Received:
    1
    Thanks everyone for all your help, I am all set now. I saw it mentioned somewhere to have "the left unchecked" but I was confused. This clears things up and makes this whole process less daunting than I expected.
     
    redapg likes this.

Share This Page