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.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H3X1Cundefined H3X1C

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

    Drgnundefined Offline
    Drgnundefined Offline
    Drgn
    Plutonium Staff
    wrote 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
    • Drgnundefined Drgn

      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 Offline
      PrePixundefined Offline
      PrePix
      Banned
      wrote on last edited by
      #4

      Drgn That would be great!

      1 Reply Last reply
      0
      • Drgnundefined Drgn

        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.

        H3X1Cundefined Offline
        H3X1Cundefined Offline
        H3X1C
        Plutonium Staff
        wrote 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
          • RektInatorundefined RektInator

            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 Offline
            Xerxesundefined Offline
            Xerxes
            Plutonium Staff
            wrote 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
            • Xerxesundefined Xerxes

              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 Offline
              PrePixundefined Offline
              PrePix
              Banned
              wrote 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
                  • status cueundefined status cue

                    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 Offline
                    Ducxyundefined Offline
                    Ducxy
                    wrote 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
                      • status cueundefined status cue

                        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 Offline
                        Ducxyundefined Offline
                        Ducxy
                        wrote 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
                          • status cueundefined status cue

                            will warn you, you will get crashes

                            Codgogo_undefined Offline
                            Codgogo_undefined Offline
                            Codgogo_
                            wrote 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
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

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