Dedicated Server Multi Class Races

Discussion in 'Automobilista 2 - Help & Support' started by SoulMaTriX, May 17, 2021.

  1. SoulMaTriX

    SoulMaTriX New Member

    Joined:
    Oct 31, 2020
    Messages:
    22
    Likes Received:
    0
    All,
    Is there a way to directly contact Reiza?

    Otherwise, trying to set up a multi class race on the dedicated server with the following lines:

    // Initial session settings, see /api/list/attributes/session for the full list.
    sessionAttributes : {
    // Whether the server controls track selection. (0/1)
    "ServerControlsTrack" : 1,

    // Whether the server controls the vehicle class selection. (0/1)
    // Flag FORCE_SAME_VEHICLE_CLASS (1024) should be also set for this to make sense.
    "ServerControlsVehicleClass" : 1,

    // Whether the server controls car individual vehicle selection. (0/1)
    // Flag FORCE_IDENTICAL_VEHICLES (2) should be also set for this to make sense.
    "ServerControlsVehicle" : 0,

    // Race flags - bitfield consisting of many flags. Add flag values to get overall number required here.
    // See /api/list/flags/session in HTTP API for the full list. (-1610087912)
    "Flags" : -1722909976,

    // Grid size & number of slots reserved for players. Remaining will be populated with AI. 32 is the max setting.
    "GridSize" : 6,
    "MaxPlayers" : 5,

    // TRACK. See /api/list/tracks/ in HTTP API.
    "TrackId" : 1080325116,

    "MultiClassSlots" : 2,
    "MultiClassSlot1" : 1347575036,
    "MultiClassSlot2" : -1710882048,

    But nothing happens. Which ever class the host selects is the only available class to other drivers. I believe I have the server controls track and class appropriately.

    Thanks
     
  2. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    873
    Likes Received:
    1,124
    Sorry I missed this @SoulMaTriX There;s a dedicated thread for the dedi which will get the attention of folks who can help with these more readily here -> AMS2 Dedicated Server Tool / SteamCMD

    I'd double check that your flags value does not include the FORCE_SAME_VEHICLE_CLASS value
     

Share This Page