Page 5 of 8 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 76

Thread: Dedicated Server Configuration - Sample - Weather + MultiClass REALLY FIXED! -2/25/18

  1. #41
    Kart Driver
    Join Date
    Nov 2011
    Location
    Sabadell (Spain)
    Posts
    9
    Platform
    PC
    Greetings. Finally I was able to solve the problem of ports thanks for the help.

    * Now something curious happens to me when I configure the dedicated server.

    It turns out that I have disabled the AI option, but curiously, when I enter the game I believe, I always see one of these AI, only one. Why can this be?

    Thank you.

  2. #42
    Kart Driver
    Join Date
    Nov 2011
    Location
    Sabadell (Spain)
    Posts
    9
    Platform
    PC
    There is no one who knows how to answer those doubts that I have?

  3. #43
    WMD Member
    Join Date
    Oct 2011
    Posts
    208
    Quote Originally Posted by Jhony1 View Post
    There is no one who knows how to answer those doubts that I have?
    Make sure in the server.cfg

    Your max player settings are the same (26/26 or 32/32) that way no bot slots are available.
    Gaming Rig: ASRock z77 Extreme4, Intel Core i5 3570K OC @ 4.6Ghz 1.23v, Samsung 840 PRO 250GB SSD, EVGA GTX 970 SSC ASX 2.0 4GB OC'd like a beast! +156 core, +406 mem +0mv, Corsair H100i, 16GB G.SKill Ripjaws X Series 10-10-10-30-2N DDR3, Lots-O-Fans
    Controller: Logitech G25 Steering Wheel
    Output: 55" LG 3D SmartTV
    Seat: Need to buy one or something....

  4. #44
    WMD Member
    Join Date
    Nov 2012
    Location
    bj
    Posts
    65
    The game allows 64 people in game, but there is no 64 grid track
    OS : Win 10 | CPU :I7 7700K| Memory : 16GB DDR4(8*2)| Graphics Card: GTX1080ti| Xbox 360 Controller|ClubSport Wheel v2.5

  5. #45
    Kart Driver Nicsos123's Avatar
    Join Date
    May 2016
    Posts
    23
    Platform
    PC
    Why are we able to set "RaceDateYear"? I mean, what does it change if i set 2005 instead of 2018?
    Project Cars 2 FFB Custom Settings for Thrustmaster T300/TX: download

  6. #46
    Kart Driver
    Join Date
    May 2018
    Posts
    6
    Platform
    PC
    Hi there,
    we've rented a Project Cars 2 server and now we've some trouble setting it up properly.
    Enabling LUA in server.cfg gives us errors, can anyone help us why?
    [2018-05-23 20:23:21] INFO: HttpApi started
    [2018-05-23 20:23:21] INFO: Loading LuaApi addon 'sms_base'...
    [2018-05-23 20:23:21] INFO: Loading LuaApi addon 'sms_rotate'...
    [2018-05-23 20:23:21] INFO: Loading LuaApi addon 'lib_rotate'...
    [2018-05-23 20:23:21] WARNING: Failed to parse data from file 'lua/sms_rotate/sms_rotate_default_config.json' with error -2
    [2018-05-23 20:23:21] ERROR: Failed to read addon config from 'lua/sms_rotate/sms_rotate_default_config.json'
    [2018-05-23 20:23:21] ERROR: Skipping addon 'sms_rotate' because its default config file 'lua/sms_rotate/sms_rotate_default_config.json' failed to load. Please contact the addon's author.
    [2018-05-23 20:23:21] INFO: Loading LuaApi addon 'sms_motd'...
    [2018-05-23 20:23:21] INFO: Loading LuaApi addon 'sms_stats'...
    [2018-05-23 20:23:21] INFO: LuaApi started
    [2018-05-23 20:23:21] INFO: Dedicated server is starting...
    [2018-05-23 20:23:22] INFO: Connection to Steam established
    [2018-05-23 20:23:22] INFO: Received public IP xx.xxx.xxx.xx
    [2018-05-23 20:23:22] INFO: Server logged in with Steam id xxxxxxx ; server is secure
    [2018-05-23 20:23:22] INFO: Server startup finished: AppId 378860, public IP xx.xxx.xxx.xx, Steam id xxxxxxx ; switching to running state
    The only way we can use it now is to use the http api and set it up there, but that doesn't allow us to set up more than one race after another.
    Can you help me? I can provide more data/files, I just need to know what you need to have.

    Thanks!
    Last edited by timekiller001; 24-05-2018 at 19:33.

  7. #47
    Superkart Pilot
    Join Date
    May 2017
    Posts
    100
    Platform
    PC
    @timekiller001: Let me guess, not a Windows-Server.

    Problem usually in this case, the file wasnt saved as UTF-8. Gave me the creeps in the beginning, too. Just open the file "sms_rotate_default_config.json" with an editor like NoteTab, and save it using the format UTF-8.

    If there is no error within the file, your server should work properly afterwards.
    Last edited by Racing4Life; 24-05-2018 at 18:48.
    The following 2 users likes this Post: F1_Racer68, timekiller001


  8. #48
    Kart Driver
    Join Date
    May 2018
    Posts
    6
    Platform
    PC
    I can't believe it - that was it! No wonder I couldn't find any errors in the code.
    Thank you very much!

  9. #49
    Kart Driver
    Join Date
    May 2018
    Posts
    6
    Platform
    PC
    Sorry for double post but there's another problem - the host player (me) can choose any GT3 car (as expected), but every other player (or bots) are forced to use the same car as me.
    Console says "[lib_rotate] ignoring force_same_vehicle_class flag". Any idea what's wrong? Or in which file I should look?
    In server.cfg "ServerControlsVehicleClass" : 1 and "ServerControlsVehicle" : 0 are set.

  10. #50
    Superkart Pilot
    Join Date
    May 2017
    Posts
    100
    Platform
    PC
    OK, I'd say your configuration is a lill messed up. :)

    In server.cfg use
    [code]sessionAttributes : {
    "ServerControlsTrack" : 1,
    "ServerControlsVehicleClass" : 1,
    "ServerControlsVehicle" : 0,
    "GridSize" : 30,
    "MaxPlayers" : 30,
    }[/code]
    and
    dont edit the "sms_rotate_default_config.json" within the folder "lua", work with the "sms_rotate_config.json" within the folder "lua_config" instead. In case you're already aware of this, I didnt write a single word about it.

    Edit: Ignore the BS I wrote first. I should read more carefully.

    In "sms_rotate_config.json" set "VehicleClassId" : "GT3" and check if maybe "FORCE_IDENTICAL_VEHICLE" is active under "Flags".
    Last edited by Racing4Life; 25-05-2018 at 10:42.

Similar Threads

  1. Dedicated Server configuration
    By Visceral_Syn in forum Multiplayer
    Replies: 328
    Last Post: 24-07-2018, 15:50
  2. Replies: 3
    Last Post: 28-10-2017, 11:29
  3. Replies: 21
    Last Post: 03-10-2017, 19:42
  4. Replies: 8
    Last Post: 25-04-2017, 23:52
  5. Replies: 12
    Last Post: 23-10-2015, 21:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •