Skip to content
  • 0 Unread 0
  • 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 11.1k 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.
  • H3X1C H3X1C

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

    Drgn Offline
    Drgn 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.

    PrePix H3X1C 2 Replies Last reply
    1
    • Drgn 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.

      PrePix Offline
      PrePix Offline
      PrePix
      Banned
      wrote on last edited by
      #4

      Drgn That would be great!

      1 Reply Last reply
      0
      • Drgn 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.

        H3X1C Offline
        H3X1C Offline
        H3X1C
        Plutonium Staff
        wrote on last edited by
        #5

        Drgn that's what I meant by not working.

        1 Reply Last reply
        1
        • RektInator Offline
          RektInator 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.

          Xerxes 1 Reply Last reply
          1
          • RektInator 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.

            Xerxes Offline
            Xerxes 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.

            PrePix 1 Reply Last reply
            1
            • Xerxes 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.

              PrePix Offline
              PrePix 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
              • Ducxy Offline
                Ducxy 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 cue Offline
                  status cue 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

                  Ducxy 1 Reply Last reply
                  0
                  • status cue 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

                    Ducxy Offline
                    Ducxy 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 cue Offline
                      status cue 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 );
                      
                      Ducxy 1 Reply Last reply
                      1
                      • status cue 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 );
                        
                        Ducxy Offline
                        Ducxy 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 cue Offline
                          status cue Offline
                          status cue
                          wrote on last edited by
                          #14

                          will warn you, you will get crashes

                          Codgogo_ 1 Reply Last reply
                          0
                          • status cue status cue

                            will warn you, you will get crashes

                            Codgogo_ Offline
                            Codgogo_ 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

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            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
                            • Unread 0
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups
                            • Donate