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

Plutonium

  1. Home
  2. BO2 Server Hosting Support
  3. How do i add bots in my server?

How do i add bots in my server?

Scheduled Pinned Locked Moved BO2 Server Hosting Support
15 Posts 8 Posters 6.5k 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.
  • H3X1Cundefined Offline
    H3X1Cundefined Offline
    H3X1C Plutonium Staff
    wrote on last edited by
    #2

    Bots aren't currently working correctly in dedicated servers. Hopefully this can be resolved in the future.

    Drgnundefined 1 Reply Last reply
    1
    • Drgnundefined Offline
      Drgnundefined Offline
      Drgn Plutonium Staff
      replied to H3X1C on last edited by
      #3

      H3X1C There was a script made by someone who I will not mention that spawns bots, but they are stupid. I could send it if you feel if its important enough.

      PrePixundefined H3X1Cundefined 2 Replies Last reply
      1
      • PrePixundefined Offline
        PrePixundefined Offline
        PrePix Banned
        replied to Drgn on last edited by
        #4

        Drgn That would be great!

        1 Reply Last reply
        0
        • H3X1Cundefined Offline
          H3X1Cundefined Offline
          H3X1C Plutonium Staff
          replied to Drgn on last edited by
          #5

          Drgn that's what I meant by not working.

          1 Reply Last reply
          1
          • RektInatorundefined Offline
            RektInatorundefined Offline
            RektInator Plutonium Admin
            wrote on last edited by
            #6

            Bots ARE working but you need to initialize the bot system. This means that the bot configuration needs to be loaded. Xerxes can tell you more about it.

            Xerxesundefined 1 Reply Last reply
            1
            • Xerxesundefined Offline
              Xerxesundefined Offline
              Xerxes Plutonium Staff
              replied to RektInator on last edited by
              #7

              RektInator
              They need certain dvars to be set, I tried to do that via GSC which failed, then shortly after I got to talk to RektInator I lost access to the source code before I could try to force change the dvars.
              So yeah, set a few dvars and you are good to go.

              PrePixundefined 1 Reply Last reply
              1
              • PrePixundefined Offline
                PrePixundefined Offline
                PrePix Banned
                replied to Xerxes on last edited by
                #8

                Xerxes said in How do i add bots in my server?:

                Do you know wich ones?

                1 Reply Last reply
                0
                • Ducxyundefined Offline
                  Ducxyundefined Offline
                  Ducxy
                  wrote on last edited by
                  #9

                  @oMattify has bots in his server by using custom commands in GSC, admin types spawnbot in console and they will spawn.

                  1 Reply Last reply
                  0
                  • status cueundefined Offline
                    status cueundefined Offline
                    status cue
                    wrote on last edited by
                    #10

                    bots are possible but they are crashing servers. ive a script which spawns them in and calculates it perfectly so its only 17 players. still server crashes after 30mins-1h.. wait for pluto update and try ur best

                    Ducxyundefined 1 Reply Last reply
                    0
                    • Ducxyundefined Offline
                      Ducxyundefined Offline
                      Ducxy
                      replied to status cue on last edited by
                      #11

                      Cue Could you shoot me the script? I need bots for testing weapon damage and cant get them working on my server properly

                      1 Reply Last reply
                      0
                      • status cueundefined Offline
                        status cueundefined Offline
                        status cue
                        wrote on last edited by
                        #12

                        Won't send you the whole script because it kinda took time for me

                        dobots(a)
                        {
                            for(i = 0; i < a; i++)
                            {
                            	wait 1;
                                thread maps\mp\bots\_bot::spawn_bot("autoassign");
                            }
                            wait 0.01;
                        }
                        

                        thread it like this: self thread doBots(6);
                        ^ 6 would spawn
                        or put it in your menu as example on my base:

                         addFunction("adminMenu", "Spawn 6 Bots",::doBots, 6 );
                        
                        Ducxyundefined 1 Reply Last reply
                        1
                        • Ducxyundefined Offline
                          Ducxyundefined Offline
                          Ducxy
                          replied to status cue on last edited by
                          #13

                          Cue thanks, I was thinking of adding in a GSC menu for admins only to do things like this and give it to only admins from their ID.

                          1 Reply Last reply
                          1
                          • status cueundefined Offline
                            status cueundefined Offline
                            status cue
                            wrote on last edited by
                            #14

                            will warn you, you will get crashes

                            Codgogo_undefined 1 Reply Last reply
                            0
                            • Codgogo_undefined Offline
                              Codgogo_undefined Offline
                              Codgogo_
                              replied to status cue on last edited by
                              #15

                              @ice-sts-cue got a problem spawn_bot" with 1 parameters in "_bot" at line 1

                              1 Reply Last reply
                              1

                              • Login

                              • Don't have an account? Register

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