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

Plutonium

  1. Home
  2. BO2 Server Hosting Support
  3. hello ..! I need a script to balance teams on my server...

hello ..! I need a script to balance teams on my server...

Scheduled Pinned Locked Moved BO2 Server Hosting Support
23 Posts 3 Posters 641 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
    Ghost420_
    replied to Resxt on Nov 16, 2022, 7:30 PM last edited by
    #8

    Resxt yes yes .. the server restarted it but it has no effect ..
    yes .. the server has bots .. but only 8 bots .. when it happens that the teams are unbalanced the bots are no longer .. only real players .. but the teams are not balanced .. =( .. what I see in other servers is that a message appears on the screen warning that in 15 seconds it will balance and then a player dies and is changed to another team.. that is not done by a script? thank you very much for your help! 😃

    undefined 1 Reply Last reply Nov 16, 2022, 10:14 PM
    0
    • undefined Offline
      undefined Offline
      Kalitos
      replied to Ghost420_ on Nov 16, 2022, 9:27 PM last edited by
      #9

      @Snoopy__ https://github.com/efinst0rm/PlutoBO2-Autobalance/blob/master/maps/mp/teams/_teams.gsc

      Compile the code into a file named "_teams.gsc" and place the compiled file in "plutonium\storage\t6\maps\mp\teams"
      It must be called "_teams.gsc" once compiled, otherwise it won't work

      undefined 3 Replies Last reply Nov 20, 2022, 6:42 AM
      1
      • undefined Offline
        undefined Offline
        Resxt Plutonium Staff
        replied to Ghost420_ on Nov 16, 2022, 10:14 PM last edited by
        #10

        @Snoopy__ well if you don't mention that you have Bot Warfare installed it's hard to help since it changes everything.

        You can try to use what Kalitos said or you can read below


        Did you install all of Bot Warfare? Including this
        https://github.com/ineedbots/pt6_bot_warfare/tree/master/raw/maps/mp/teams

        If yes then did you configure the related dvars properly to work as autofill? Not sure if it plays a role but certainly having bots changes the balance behavior
        https://github.com/ineedbots/piw5_bot_warfare#dvars

        undefined 5 Replies Last reply Nov 20, 2022, 6:43 AM
        1
        • undefined Offline
          undefined Offline
          Ghost420_
          replied to Kalitos on Nov 20, 2022, 6:42 AM last edited by
          #11

          Kalitos thanks brother !!! it is what he was looking for.. very good! eternally grateful 😃

          1 Reply Last reply
          0
          • undefined Offline
            undefined Offline
            Ghost420_
            replied to Resxt on Nov 20, 2022, 6:43 AM last edited by Ghost420_ Nov 20, 2022, 10:34 AM
            #12

            Resxt thanks brother !!! it is what he was looking for.. very good! eternally grateful 😃

            1 Reply Last reply
            0
            • undefined Offline
              undefined Offline
              Ghost420_
              replied to Resxt on Nov 21, 2022, 3:53 AM last edited by Ghost420_ Nov 21, 2022, 6:54 AM
              #13
              This post is deleted!
              1 Reply Last reply
              0
              • undefined Offline
                undefined Offline
                Ghost420_
                replied to Resxt on Nov 21, 2022, 9:35 AM last edited by Ghost420_ Nov 21, 2022, 11:38 AM
                #14

                Resxt

                if I had dvars configured... the truth is I don't know what caused the server to crash... I created the server from scratch and it works fine now... thank you very much for your help... on my behalf and that of all those who will join to our server! Cordial balances from Argentina Buenos Aires!!! 😃

                1 Reply Last reply
                0
                • undefined Offline
                  undefined Offline
                  Ghost420_
                  replied to Kalitos on Nov 21, 2022, 9:38 AM last edited by
                  #15

                  Kalitos
                  if I had dvars configured... the truth is I don't know what caused the server to crash... I created the server from scratch and it works fine now... thank you very much for your help... on my behalf and that of all those who will join to our server! Cordial balances from Argentina Buenos Aires!!! 😃

                  1 Reply Last reply
                  0
                  • undefined Offline
                    undefined Offline
                    Ghost420_
                    replied to Resxt on Nov 21, 2022, 2:12 PM last edited by Ghost420_ Nov 22, 2022, 12:36 AM
                    #16

                    Resxt
                    now it turns out that when there are several players the server crashes... I think it's when there are several players...
                    because it worked well with 8, 10 players but then more came in and it crashed..
                    I have 3 doubts..
                    The first is should I start the server with the "z_server.bat" file that comes inside the "bot warfare" mod or can I do it with "!start_mp_server.bat" ?
                    the second is if these dvars are good .. ?

                    set bots_manage_fill "8"
                    set bots_manage_fill_kick "1"
                    set bots_team_force "1"
                    set bots_skill "4

                    and the third is which of these two should I place ..
                    https://github.com/ineedbots/pt6_bot_warfare/tree/master/raw/maps/mp/teams
                    I just put the one that is compiled...that is, the "_teams.gsc"

                    z_server.bat: https://pastebin.com/aznAXhHd

                    !start_mp_server.bat: https://pastebin.com/JpD7SPnV

                    undefined 1 Reply Last reply Nov 22, 2022, 7:34 AM
                    0
                    • undefined Offline
                      undefined Offline
                      Resxt Plutonium Staff
                      replied to Ghost420_ on Nov 22, 2022, 7:34 AM last edited by Resxt Nov 22, 2022, 9:35 AM
                      #17

                      @Snoopy__ Bot Warfare provide an example bat and cfg don't use them, just keep your own. Only use them for reference

                      I highly doubt dvars could make the server crash

                      As for the GSC files it doesn't matter but to run you only need the compiled files so the files that don't end with -src

                      Do you have any plugin installed or other scripts?
                      Or did you recently install something new or change anything other than that?
                      Do you have t6-utils.dll?

                      undefined 2 Replies Last reply Nov 22, 2022, 8:21 AM
                      0
                      • undefined Offline
                        undefined Offline
                        Ghost420_
                        replied to Resxt on Nov 22, 2022, 8:21 AM last edited by Ghost420_ Nov 22, 2022, 10:28 AM
                        #18

                        Resxt
                        hello .. no i don't have that dll .. this is my server with bots .. if you feel like it or have time see what i have wrong

                        https://www.mediafire.com/file/kgbje0fttslcn3d/t6.rar/file
                        Let me know when you're here and I'll give you the password for the file..

                        I did not make any changes.. the warfare bot mod was the last

                        undefined 1 Reply Last reply Nov 22, 2022, 9:41 AM
                        0
                        • undefined Offline
                          undefined Offline
                          Resxt Plutonium Staff
                          replied to Ghost420_ on Nov 22, 2022, 9:41 AM last edited by
                          #19

                          @Snoopy__ I don't have time to look at your server files. Revert the changes or start from scratch idk

                          undefined 1 Reply Last reply Nov 22, 2022, 9:51 AM
                          1
                          • undefined Offline
                            undefined Offline
                            Ghost420_
                            replied to Resxt on Nov 22, 2022, 9:51 AM last edited by
                            #20

                            Resxt
                            XD ... anyway thank you very much for your great help !! good luck bro! 😃

                            1 Reply Last reply
                            0
                            • undefined Offline
                              undefined Offline
                              Ghost420_
                              replied to Resxt on Nov 22, 2022, 11:42 AM last edited by
                              #21
                              This post is deleted!
                              1 Reply Last reply
                              0
                              • undefined Offline
                                undefined Offline
                                Ghost420_
                                replied to Kalitos on Jun 4, 2023, 7:08 PM last edited by
                                #22

                                Kalitos

                                después de tanto tiempo pude solucionar este problema .. realmente me trajo un dolor de cabeza y era una tontería .. resulta que estaba compilando el "_teams.gsc" .. y va sin compilar .. estoy usando mod de bots en mi servidor ..asi que use "_teams.gsc " que viene en el mod ..

                                1 Reply Last reply
                                0
                                • undefined Offline
                                  undefined Offline
                                  Ghost420_
                                  replied to Resxt on Jun 4, 2023, 7:09 PM last edited by
                                  #23

                                  Resxt
                                  after so much time i was able to solve this problem .. it really gave me a headache and it was nonsense .. it turns out that i was compiling the "_teams.gsc" .. and it goes without compiling .. i am using bots mod on my server . .so use "_teams.gsc " that comes in the mod ..

                                  1 Reply Last reply
                                  0

                                  • 1
                                  • 2
                                  • Login

                                  • Don't have an account? Register

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