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 639 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.
  • Ghost420_undefined Offline
    Ghost420_undefined Offline
    Ghost420_
    wrote on last edited by
    #1

    hello ..! I need a script to balance teams on my server... can someone help me with that please...? I have seen in other servers something like this... (image) .. from and to thank you very much for your answer 😃

    plutonium-bootstrapper-win32_2022_11_16_06_33_29_095.jpg

    Kalitosundefined 1 Reply Last reply
    0
    • Resxtundefined Offline
      Resxtundefined Offline
      Resxt Plutonium Staff
      wrote on last edited by Resxt
      #2

      Did you try setting gts autoTeamBalance to 1 in your gamemode(s) CFG?

      You have a huge list of commands for reference in your T6 storage in \gamesettings\gamesettings_defaults (REFERENCE ONLY)\MP
      I simply searched for "balance" and directly found this.

      https://github.com/xerxes-at/T6ServerConfigs/blob/master/localappdata/Plutonium/storage/t6/gamesettings/dom.cfg#L12


      Also since you're asking for help for your server next time post in server support, not in modding release because it has nothing to do with modding and it's not a release either

      Ghost420_undefined 4 Replies Last reply
      1
      • Ghost420_undefined Offline
        Ghost420_undefined Offline
        Ghost420_
        replied to Resxt on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • Ghost420_undefined Offline
          Ghost420_undefined Offline
          Ghost420_
          replied to Resxt on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • Ghost420_undefined Offline
            Ghost420_undefined Offline
            Ghost420_
            replied to Resxt on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • Ghost420_undefined Offline
              Ghost420_undefined Offline
              Ghost420_
              replied to Resxt on last edited by
              #6

              Resxt If I have that command in all the game mode files... it never works... I mean... when players leave a team... it never warns as I show in the image... and it doesn't pass anyone from one team to another ..
              Also, I already knew that commands files in "\gamesettings\gamesettings_defaults (REFERENCE ONLY)\MP" thanks anyway.

              regarding the section of my post ..sorry I was wrong ..it will not happen again ..thanks for moving it ..=)

              Resxtundefined 1 Reply Last reply
              0
              • Resxtundefined Offline
                Resxtundefined Offline
                Resxt Plutonium Staff
                replied to Ghost420_ on last edited by
                #7

                @Snoopy__ when you change a cfg you need to restart the entire server, both of the cmds opened, for it to apply I believe
                Also if you have bots it changes everything

                Ghost420_undefined 1 Reply Last reply
                1
                • Ghost420_undefined Offline
                  Ghost420_undefined Offline
                  Ghost420_
                  replied to Resxt on 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! 😃

                  Resxtundefined 1 Reply Last reply
                  0
                  • Kalitosundefined Offline
                    Kalitosundefined Offline
                    Kalitos
                    replied to Ghost420_ on 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

                    Ghost420_undefined 3 Replies Last reply
                    1
                    • Resxtundefined Offline
                      Resxtundefined Offline
                      Resxt Plutonium Staff
                      replied to Ghost420_ on 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

                      Ghost420_undefined 5 Replies Last reply
                      1
                      • Ghost420_undefined Offline
                        Ghost420_undefined Offline
                        Ghost420_
                        replied to Kalitos on last edited by
                        #11

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

                        1 Reply Last reply
                        0
                        • Ghost420_undefined Offline
                          Ghost420_undefined Offline
                          Ghost420_
                          replied to Resxt on last edited by Ghost420_
                          #12

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

                          1 Reply Last reply
                          0
                          • Ghost420_undefined Offline
                            Ghost420_undefined Offline
                            Ghost420_
                            replied to Resxt on last edited by Ghost420_
                            #13
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • Ghost420_undefined Offline
                              Ghost420_undefined Offline
                              Ghost420_
                              replied to Resxt on last edited by Ghost420_
                              #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
                              • Ghost420_undefined Offline
                                Ghost420_undefined Offline
                                Ghost420_
                                replied to Kalitos on 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
                                • Ghost420_undefined Offline
                                  Ghost420_undefined Offline
                                  Ghost420_
                                  replied to Resxt on last edited by Ghost420_
                                  #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

                                  Resxtundefined 1 Reply Last reply
                                  0
                                  • Resxtundefined Offline
                                    Resxtundefined Offline
                                    Resxt Plutonium Staff
                                    replied to Ghost420_ on last edited by Resxt
                                    #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?

                                    Ghost420_undefined 2 Replies Last reply
                                    0
                                    • Ghost420_undefined Offline
                                      Ghost420_undefined Offline
                                      Ghost420_
                                      replied to Resxt on last edited by Ghost420_
                                      #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

                                      Resxtundefined 1 Reply Last reply
                                      0
                                      • Resxtundefined Offline
                                        Resxtundefined Offline
                                        Resxt Plutonium Staff
                                        replied to Ghost420_ on last edited by
                                        #19

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

                                        Ghost420_undefined 1 Reply Last reply
                                        1
                                        • Ghost420_undefined Offline
                                          Ghost420_undefined Offline
                                          Ghost420_
                                          replied to Resxt on last edited by
                                          #20

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

                                          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