Results 1 to 1 of 1

Thread: [CoD 1.1] Can you set sv_privatepassword on a bot?

  1. #1
    Join Date
    Jan 2023
    Thanked 9 Times in 9 Posts

    [CoD 1.1] Can you set sv_privatepassword on a bot?


    I need to always have a bot in my server, for it to never be empty, to prevent an issue.
    I don't want this bot to be counted in player's count in game's server list, for that I modified an if in codextended source code, this is my first modification with it.

    The problem is that when I set a sv_privatepassword in my server .cfg, then the bot is not considered like a privateclient anymore, like it's not getting->setting the pw on itself.

    Is the addtestclient() function definition accessible somewhere? If not, why?
    I tried to "setuserinfo" on the bot without success, like if codextended doesn't have this func, but I can see this written in some files of it...

    I really want the bot to be considered as a privateclient because if it's not, then the player's count in game's server list gets a +1, that is not usable.
    I feel like there is a way to do this in codextended source code, without the need to set the privatepassword on the bot...
    Last edited by raphael; 29th March 2023 at 22:51.

Posting Permissions

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