Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Client Support
  3. [BO2][MP] Some bots don't attack.

[BO2][MP] Some bots don't attack.

Scheduled Pinned Locked Moved BO2 Client Support
10 Posts 3 Posters 215 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined Offline
    undefined Offline
    wombBlaster
    wrote on May 11, 2024, 1:18 PM last edited by
    #1

    Creating a dedicated server and playing lan with my friends, sometimes some bots spawn which do not attack the whole game, only way i can fix is restarting or respawning the bots.

    It seems random.. no specific classes or maps are affected more than others..
    it may be one or more bots
    sometimes no bots.

    Basically i can stand in front of an enemy bot and it wont even knife..

    its super frustrating when we have a little tourny and cant rely on the scores because bots are not consistent.
    cant really find anything in the archives which describes my issue.. these Zero bots are a bit of a pita.

    any known issues ive missed?

    1 Reply Last reply
    0
    • undefined Offline
      undefined Offline
      Resxt Plutonium Staff
      wrote on May 11, 2024, 7:31 PM last edited by
      #2

      Try with(out) Bot Warfare depending on if you're already using it or not

      1 Reply Last reply
      0
      • undefined Offline
        undefined Offline
        wombBlaster
        wrote on May 12, 2024, 3:23 PM last edited by
        #3

        im using botwarfare, when i remove it my script stops working for spawning bots... am i being dumb here?

        setDvar("bots_manage_add",botAmount );

        undefined 1 Reply Last reply May 12, 2024, 11:43 PM
        0
        • undefined Offline
          undefined Offline
          Resxt Plutonium Staff
          replied to wombBlaster on May 12, 2024, 11:43 PM last edited by
          #4

          wombBlaster this is a Bot Warfare dvar

          undefined 1 Reply Last reply May 13, 2024, 3:33 PM
          0
          • undefined Offline
            undefined Offline
            wombBlaster
            replied to Resxt on May 13, 2024, 3:33 PM last edited by
            #5

            Resxt

            Indeed. Thanks for your suggestion.

            Is this a known problem with current bot warfare script or the inbuilts (which i thought were the same actually) or were you just guessing?

            Either way the problem persists.. any further advice how i could troubleshoot this issue to make bots consistent?

            all the best

            undefined 1 Reply Last reply May 13, 2024, 4:31 PM
            0
            • undefined Offline
              undefined Offline
              Resxt Plutonium Staff
              replied to wombBlaster on May 13, 2024, 4:31 PM last edited by
              #6

              wombBlaster no

              1 Reply Last reply
              0
              • undefined Offline
                undefined Offline
                wombBlaster
                wrote on May 14, 2024, 8:14 PM last edited by
                #7

                u dont have to be a dildo lol not long ago you were the one asking for (and getting) help

                undefined 1 Reply Last reply May 14, 2024, 8:30 PM
                0
                • undefined Offline
                  undefined Offline
                  Resxt Plutonium Staff
                  replied to wombBlaster on May 14, 2024, 8:30 PM last edited by
                  #8

                  wombBlaster you asked two questions that can be answered by yes or no, answer is no to both so I said "no"
                  You have to be pretty stupid to see this as me being a "dildo" whatever the fuck this means

                  1 Reply Last reply
                  0
                  • undefined Offline
                    undefined Offline
                    JezuzLizard Plutonium Staff
                    wrote on May 14, 2024, 9:34 PM last edited by
                    #9

                    Basically T6 was not designed to run on dedicated servers with bots joining first as client 0. Basically the engine does some specific stuff for client 0(which would be the host player in peer to peer), and it seems as if this is the reason for the bot being braindead. So solution don't allow bots in client 0.

                    undefined 1 Reply Last reply May 15, 2024, 4:40 PM
                    1
                    • undefined Offline
                      undefined Offline
                      wombBlaster
                      replied to JezuzLizard on May 15, 2024, 4:40 PM last edited by
                      #10

                      JezuzLizard

                      Great info thanks

                      so im gonna start with something like this.. im sure theres better ways but it seems to work for my use case... if it turns out not ill continue thread.Thanks a bunch!

                      main(){
                      //other bits
                      }
                      
                      init(){
                      
                      //..
                      
                      setdvar( "bots_main_firstIsHost", true );
                      level thread spawnBots(botAmount);
                      
                      }
                      
                      
                      spawnBots(amount)
                      {
                         
                      	 while(!isHost(level.players[0])){
                      	
                      	  wait(2); // Give some time
                      
                      	//quick check for players
                      	  playerPool = level.players.size;
                      	  println("There are "+level.players.size+" Players");
                      	
                      if(playerPool>0){
                      //someone is here..
                       if (isHost(level.players[0]))
                          {
                      	  println("Client 0 IS host, rain bots");
                      	   wait(2);
                      	     for (i = 0; i < amount; i++)
                              {
                                  addTestClient();  //< i think this is the way...
                              }
                      	  break;
                      	}else{
                      	 println("Client 0 IS NOT host");
                      	// maybe here i should kick bots and redo from start
                      	}
                      	}
                      	}
                        
                      
                      	  println("Bots done!");
                      	  
                      }
                      
                      1 Reply Last reply
                      0

                      8/10

                      May 14, 2024, 8:30 PM

                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      1 / 1
                      • First post
                        8/10
                        Last post
                      0
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Donate