SOLVED Problem with particular IA pilot name in dedicated server

Discussion in 'General Discussion' started by Nicolas Cortes, May 20, 2022.

  1. Nicolas Cortes

    Nicolas Cortes Registered

    Joined:
    Dec 24, 2020
    Messages:
    41
    Likes Received:
    17
    HI, I have a problem wiht the dedicated server when I host sessions including AI pilots.

    Mod works fine playing directly from my client using a local single player session including AI drivers. All names , textures, appears correctly and the behaviour is as expected.

    So I copy and install the mod in the dedicated server and start a session. Everything starts OK to the moment when I add AI pilots. I start adding the firsts and everything is OK, still, to the moment a particular one pilot (always the same name) is choosen by the random proccess. This pilot when enter iun the game enters as "unknow" class and taking the same livery that the human player is using. Once this problem appears every new AI pilot I add appears as this first one as class "unknow" and withe the same livery.

    If I boot all this pilots and I add another ones, everything is OK untill the same pilot is choosen again. So is a problem with him in particular.

    I have revised .veh, textures, all looks good and works without problems in the client locally.

    Any idea ?
     
  2. davehenrie

    davehenrie Registered

    Joined:
    Jul 6, 2016
    Messages:
    7,482
    Likes Received:
    4,396
    Not an idea, but a first step to investigate. rF2 was originally coded by a small crew of American's and they did not make provisions for special characters that many languages use. The dictionary file is supposed to allow for unique words/names, do the offending AI driver have any of those unique charactërs?
     
  3. Nicolas Cortes

    Nicolas Cortes Registered

    Joined:
    Dec 24, 2020
    Messages:
    41
    Likes Received:
    17
    No, actually is Nico Rosberg, writed just like this
     
  4. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,008
    Likes Received:
    2,875
    @Nicolas Cortes Can you tell us the veh File Name of the not working and a working Car and post the whole Content of both veh Files?
    And also a Trace File from a Session where the Problem appears might help.
     
  5. Nicolas Cortes

    Nicolas Cortes Registered

    Joined:
    Dec 24, 2020
    Messages:
    41
    Likes Received:
    17
    This is non working file: 593_WilliamsF1_16.veh
    content is as follows:

    DefaultLivery="593_WilliamsF1_16.dds"

    HDVehicle=Server.hdv
    Graphics=WilliamsF1.gen
    Spinner=WilliamsF1_Spinner.gen
    GenString= // Used to generate GMT names in *.gen file
    Cameras=WilliamsF1_cams.cam // Defaults to cams.cfg in UserData directory
    Sounds=FSONEWILLIAMS.sfx
    HeadPhysics=headphysics_09.ini // Affects driver eyepoint only
    Cockpit=WilliamsF1_cockpitinfo.ini
    Upgrades=WilliamsF1_Upgrades.ini

    BaseVehiclePrice=0
    UnlockExperience=0

    //////////////////////////TEAM HISTORY AND INFORMATION///////////////////////////////////////////


    Number=16
    Team="AT&T Williams"
    PitGroup="Group8"
    Driver="Nico Rosberg"
    Description="AT&T Williams #16"
    Engine="Toyota"
    Manufacturer="FW31"
    Classes="F1_2009"

    FullTeamName="AT&T Williams F1 Team"
    TeamFounded=2009
    TeamHeadquarters="Leafield, England"
    TeamStarts=0
    TeamPoles=0
    TeamWins=0
    TeamWorldChampionships=0

    Category="Formula 1,2009,AT&T Williams F1 Team"


    ---
    and The team mate, Nakajima, with .veh file as 593_WilliamsF1_17.veh

    is working fine with content as follows (fairly the same):

    DefaultLivery="593_WilliamsF1_17.dds"

    HDVehicle=Server.hdv
    Graphics=WilliamsF1.gen
    Spinner=WilliamsF1_Spinner.gen
    GenString= // Used to generate GMT names in *.gen file
    Cameras=WilliamsF1_cams.cam // Defaults to cams.cfg in UserData directory
    Sounds=FSONEWILLIAMS.sfx
    HeadPhysics=headphysics_09.ini // Affects driver eyepoint only
    Cockpit=WilliamsF1_cockpitinfo.ini
    Upgrades=WilliamsF1_Upgrades.ini

    BaseVehiclePrice=0
    UnlockExperience=0

    //////////////////////////TEAM HISTORY AND INFORMATION///////////////////////////////////////////


    Number=17
    Team="AT&T Williams"
    PitGroup="Group8"
    Driver="Kazuki Nakajima"
    Description="AT&T Williams #17"
    Engine="Toyota"
    Manufacturer="FW31"
    Classes="F1_2009"

    FullTeamName="AT&T Williams F1 Team"
    TeamFounded=2009
    TeamHeadquarters="Leafield, England"
    TeamStarts=0
    TeamPoles=0
    TeamWins=0
    TeamWorldChampionships=0

    Category="Formula 1,2009,AT&T Williams F1 Team"
     
  6. Nicolas Cortes

    Nicolas Cortes Registered

    Joined:
    Dec 24, 2020
    Messages:
    41
    Likes Received:
    17
    Solved. I found the problem.

    Some file names were too long. Works well in my client SO, but not so in the server.
     
    redapg likes this.

Share This Page