hello ..! I need a script to balance teams on my server...
-
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.
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
-
This post is deleted!
-
This post is deleted!
-
This post is deleted!
-
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 ..=)
-
@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 -
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! -
@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 -
@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/teamsIf 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 -
Kalitos thanks brother !!! it is what he was looking for.. very good! eternally grateful
-
Resxt thanks brother !!! it is what he was looking for.. very good! eternally grateful
-
This post is deleted!
-
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!!!
-
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!!! -
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 "4and 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
-
@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? -
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 wronghttps://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
-
@Snoopy__ I don't have time to look at your server files. Revert the changes or start from scratch idk
-
Resxt
XD ... anyway thank you very much for your great help !! good luck bro! -
This post is deleted!