HOW TO: Hosting with SteamCMD and Paid Content

Discussion in 'Hosting Help' started by Christopher Elliott, Aug 1, 2017.

  1. Richard Busch

    Richard Busch Member

    Joined:
    Oct 12, 2010
    Messages:
    250
    Likes Received:
    94
    Has anyone tried this way to host a server? I found it on a Steam posting for rF2 about hosting. It's a way to host with AWS.

    https://github.com/afloesch/rfactor2-server-setup

    I'm just tired of trying to setup and host a server for my friends and anyone else that wants to race.
     
    RealGT likes this.
  2. Juergen-BY

    Juergen-BY Registered

    Joined:
    Jun 16, 2012
    Messages:
    3,089
    Likes Received:
    440
    For me the solution was to get an IPv4 adress from my hoster.
     
  3. Alek

    Alek Registered

    Joined:
    Oct 6, 2010
    Messages:
    156
    Likes Received:
    8
    Hi,
    - the procedure in the 1st post isn't working anymore atm, there's another method in laset version of rf2?
    - I try AWS but when I insert the URL of S3 model give error!
    - But... is this service really free??
     
    Last edited: Aug 15, 2021
  4. Alek

    Alek Registered

    Joined:
    Oct 6, 2010
    Messages:
    156
    Likes Received:
    8
    ... so i have costs if i use some service, i hope no if i only register an account...
     
  5. Alek

    Alek Registered

    Joined:
    Oct 6, 2010
    Messages:
    156
    Likes Received:
    8
    so guys... do ServerKey is already necessary to run dedicated with paid contents? I can't find it in userdata folder :confused:
     
  6. Alek

    Alek Registered

    Joined:
    Oct 6, 2010
    Messages:
    156
    Likes Received:
    8
    issue fixed!
     
  7. Richard07

    Richard07 Registered

    Joined:
    Aug 24, 2021
    Messages:
    1
    Likes Received:
    0
    Hello I have configured a dedicated rfactor 2 server, it works well with free content but as soon as I get paid content (24h du mans)
    It starts the game on steam which prevents me from playing on my pc
    thanks in advance
     
  8. JuanitoRPM

    JuanitoRPM Registered

    Joined:
    Nov 1, 2010
    Messages:
    127
    Likes Received:
    21
    Yesterday and after some years without drive I gone to race online with two old and well knowed friends. Finally we move to race with Assetto Corsa...

    Marcel you know me and other two from the times of Sarthe 24hrs, review this and make it more easy... We need a process like "Create online race"--- "Select track"--- "Select cars"---- "edit parameters"---- "drive"....
     
    Adrian Blasco likes this.
  9. Aurel

    Aurel Registered

    Joined:
    May 11, 2022
    Messages:
    3
    Likes Received:
    0
    Hi guys, I followed the tutorial, put the ServerUnlock.bin file in the UserData folder (server) but I don't see the GTE (paid) that I put in the Packages folder. Only free content appears when I open ModMgr.exe. Do you have any idea what I'm doing wrong? Thanks
     
  10. guenther

    guenther Registered

    Joined:
    Oct 5, 2018
    Messages:
    136
    Likes Received:
    145
    Putting an UI on top of things is not always *that* straight forward as people always think. When adding an UI/ wizard/ process on top of an existing piece of code, you need to investigate several paths. For example:

    a) Opinionated path

    Basically this means, you skip options, preset values and so on on *your* (whatever that means) opionion. This results in a streamlined process, but tends to be more strict and cause some users to have the need to exceed these boundaries set by the process. This basically puts *some* features in a jail, rendering them on some situations not usable at all and require "logical backdoors" to manipulate them anyways.

    And adding these backdoors (not in a malicious way, more like a ripcord for extra features) makes things quite difficult to handle, especially when a user as a result mixes the streamline process and the ripcord.

    Example:
    You get an UI for the rfm files. But the UI allows you to edit rfm files also on your own. What will the software do when you set an option the UI and in the manual files? Overwrite them? Ignore the UI? Or does the UI does not allow own edits on config files at all? But what with the people relying on by-hand-edits of these files?

    b) UI of UI of UI (aka making things even more complicated...)

    You basically try to add an UI/ process for all mechanisms. This does not guarantee you reach user satisfaction as desired, as the nesting of steps/views/dialogs will make the whole process more complicated. Basically you end with an 1:n of the original process, which might be an by-hand thing, but at least is always the same scheme for most of the situations. Keeping these UI steps together in an user friendly way without ending in an UX nightmare is quite an challenge.

    Example:
    You need an UI for the "rules" (rfm, basically), but also one for the settings not present there (like weather, grip). Also you need content views, but as there is no mapping between steam workshop items and the actual content, you need some place do define this, that, for example the UI knows that Steam ID 705367165 contains Matsusaka 2015, with several layouts. Additional, this needs to be adapted constantly for each version. Also you have options which require to interact with the running server (e. g. content unlock), so you are not entirely finished with creating an "package" (not like rfcmp, more like a finished and ready-to-use-server) at all.

    c) You keep things at it is

    To make clear, the current process is way not perfect. But, when all required information are present, you can achieve the goal wanted. But the hardest task here is to get all the required information to know what steps are needed to achieve that goal. In the past, rF2 tend to lack crucial information, but nowadays for the most situations, there is documentation present. Somewhere. It is clear that people nowadays are used to software and apps abstracting all the nasty work below. And if the "below work" (like here for hosting) is missing, users have a steep learning curve to achieve the goals.

    Additional disclaimer I: Money
    To implement stuff like this you need quite a amount of PD do develop. And how should this be paid, as there are people that tend to complain about new paid content aswell? For people running servers *a lot* this is not interesting, as they are used to it and work with existing documentation. And I am quite sure that many of these people added their own tools to handle some of the process by themselves already. So based of the already quite small bubble of rF2 the effort required to implement these featureset for an even smaller subset of people I don't think this is desirable form an economic standpoint. Lets assume for a second such an UI/ process was implemented. What will be the "leading" process? Plain by hand or by UI? In the worst case, this results in two processes in need to be maintained. And everything needs documentation and updates.

    My two cents as a conclusion for this monologue
    And I can tell you: As somebody who invested almost three years in implementing *this process* (with some close-to-end-user-readiness results*), you have a high amount of effort needed to "translate" features from "by hand" to UI, with the need to leave *some* features out at all (e. g. content unlocking) which simply requires more steps than an (server side) UI can handle. I am quite sure that S397 is more willing to invest time nowadays more efficiently in topics with an higher urgency.

    ----
    *Off-Topic: That project failed horribly, as almost nobody used it. At the peak it had a single user. Even as it had (imo) quite an potential in supporting server admins in automating several steps of the whole process. Funny, it's almost on the day two years ago when I published that project...
     
  11. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,004
    Likes Received:
    1,058
    If anyone has a configurable batch file for doing this unlock process I'd appreciate it.

    I am doing things in the right order I think, but always seem to having blank vehicle filters when running a server.
     
  12. CCY0475

    CCY0475 Registered

    Joined:
    Apr 5, 2021
    Messages:
    8
    Likes Received:
    1
    Hi,
    I did not host a server since a year. I tried yesterday. Everything works fine (I updated running the steam command as per the guide). There is only one thing I could not do : After having dowloaded the 992 (steamcmd.exe +login anonymous +workshop_download_item 365960 2904331050 +quit), I could not install it with the Mod Manager. I click "install", and it does not install. I tried with the 330i, same. I tried with a paid track and it worked. It seems to be only with the cars. Any ideas?
    Thanks!
     
  13. DanRZ

    DanRZ Registered

    Joined:
    Aug 22, 2021
    Messages:
    716
    Likes Received:
    217
    SeverLock.bin need to be renewed.
     
    Last edited: Feb 26, 2023
  14. CCY0475

    CCY0475 Registered

    Joined:
    Apr 5, 2021
    Messages:
    8
    Likes Received:
    1
    thanks, it works now!
     
    DanRZ likes this.
  15. Hello

    As Fidgrove shut down their site support.fidgrove.com I like to ask how to download and install paid content / DLC to (SteamCMD based) rF2 dedicated server as I need them SteamIDs of the content to download it with
    Code:
    steamcmd +login anonymous +workshop_download_item 365960 <steamid>
    To be more precise: how and where to get them SteamIDs?

    I know I can query my own Steam inventory, but as I can download and install all paid content (also that I do not own) to a rF2 dedicated server it would be helpful to request / get that information from somewhere ...
     
  16. elgagon

    elgagon Registered

    Joined:
    Dec 21, 2022
    Messages:
    213
    Likes Received:
    139
    Deleted member 58016 likes this.
  17. I know about SteamDB, but assume I would like to set up a DS from scratch and to download and install all available (paid) content ... I would have to go through 130 items and copy & paste the ID.

    SteamDB does not offer any API, curl requests a little bit hard to generate and may lead to blocked IP according their disclaimer and terms of use ...

    Any other source?
     
  18. elgagon

    elgagon Registered

    Joined:
    Dec 21, 2022
    Messages:
    213
    Likes Received:
    139
    Sorry i didn't read your message correctly (the ALL part)
    I don't know how to do this, sorry.
     
    Deleted member 58016 likes this.
  19. No problem.

    As said, I am aware of SteamDB, but even if you manage to read information with curl, I have not managed it to "switch" sites, so I always get the first 50 results (you need to login to SteamDB, but that does not change the default layout :-( ).

    Same moment I try to read each items information by using a direct URL I get a warning to stop scraping ...
     
  20. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,405
    Likes Received:
    953
    I have some batch files to download paid content... I've broken them up into GT3's, GTE's, BTCC, Other cars and Tracks.
    Couple of things to do;
    for the stuff you want to download, you'll need to change the set ModDownload[0]=false line to true. Highlight what you want and CTRL+H to find and replace false with true.
    View attachment upload_2023-9-13_16-10-49.png

    The other thing to do is set your SteamCMD folder on line 317
    View attachment upload_2023-9-13_16-12-1.png
    Extract files to your SteamCMD folder before running

    https://www.dropbox.com/scl/fi/8j7r...tent.zip?rlkey=2r3pk8qbe39g0ii4kvqeh2fsm&dl=0
     
    Deleted member 58016 likes this.

Share This Page