Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

DoD TeamManager (v1.4)

by Firestorm · 2006-07-09 · 71 replies · 47671 views · 1874 downloads

Read the thread (72 posts)

From the first post

DESCRIPTION:
rn
rnThis Plugin is for Day of Defeat ONLY!
rn
rnThis is a very effective (maybe even the most effective)
rnAutoTeamBlancer for Day of Defeat! Admins basically don't
rnhave to care about even (by number of players!) teams
rnanymore as it's all handled by the plugin.
rnFurthermore there's a bunch of nice features for team
rnmanagement included.
rn
rnFEATURES:
rn
rnAutoTeamBalancer:
rn- team checking independent from scoreboard
rn(sometimes DoD shows players in a team which
rnjust started to connect to the server)
rn- if the axis and allied team are even, a new player can
rnchoose any of both.
rn- if axis team has 1 player more than allied team, new player
rncan only join the allied team and vice versa.
rn- if the teams are even players can't switch teams
rn(don't we all hate those "winning-team-joiners?)
rn- "Auto-Assign" obeys locked teams
rn- new players that chose a locked team can automatically
rnbe assigned to the unlocked team
rn- the team "spectators" can be locked by default
rn- if a player leaves, the teams are checked and the next killed
rnplayer of the team with more players will be switched over
rnto balance the teams.
rn- admins can still manually switch players when the teams are uneven.
rn- ability to manually start a team check/balance after moving players
rn- admins can switch teams and join spectators
rn- admis are not auto-switched to balance the teams
rn(if dod_tm_adminimmunity is set to 1)
rn- if teams are even and an admin switches and makes the teams uneven,
rnanother non-admin player will automatically be switched to balance
rnagain.
rn- bots can be ignored, so only human players are counted/balanced
rn
rnAdditional Features:
rn- bots can completely be excluded from all actions
rn- no death when switching teams
rn- teams can be locked (Axis OR Allies) & Specatators
rn- admins can slay a team whole team
rn- teams can be swapped
rn- admins and public players can be devided into teams
rn- players can be switched independent from balancing
rnand can be locked/unlocked to/from teams
rn- teams can completely be kicked
rn- admins are immune to all (but the swapteam) command(s).
rn
rn
//rn// USAGE:rn// ======rn//rn//rn// CVARs:rn// ------rn//rn// dod_teammanager_autobalance <1/0>	=  enable/disable automatic balancingrn//rn// dod_teammanager_playerdiff 	=  sets amount of players that a teamrn//					   can have more than the other beforern//					   the plugin balances the teams!rn//					   (default is 1, so the plugin balancesrn//					   once there are 2 players difference)rn//rn// dod_teammanager_adminimmunity <1/0>	=  enable/disable admins' immunityrn//					   from being switched by AutoTeamBalancingrn//rn// dod_teammanager_ignorebots <1/0>	=  enable/disable excluding bots fromrn//					   all actionsrn//rn// dod_teammanager_autoteamjoin <1/0>	=  enable/disable auto assigning newrn//					   players to the smaller teamrn//rn// dod_teammanager_nochangedeath <1/0>	=  enable/disable "soft" killing ofrn//					   players that swith teamrn//					   (deaths won't be increased!)rn//rn// dod_teammanager_spectatorlock <1/0>	=  lock/unlock Spectators by defaultrn//rn// dod_teammanager_teamslayfx <1/0>	=  enable/disable special effectsrn//					   for teamslay (fire explosion)rn//rn//rn// ADMIN COMMANDs:rn// ---------------rn//rn// amx_teamlock        =  lock/unlock specified teamrn//rn// amx_axis              =  switch player to axisrn//rn// amx_allies            =  switch player to alliesrn//rn// amx_spec              =  switch player to specrn//rn// amx_lock              =  lock/unlock player to/fromrn//                                  his current teamrn//rn// amx_slayteam        =  slay specified teamrn//                                  (admins stay alive!)rn//rn// amx_adminteam       =  switch all admins to specifiedrn//                                  team and all public players torn//                                  the opposite team.rn//                                  (admin team will be auto-locked)rn//rn// amx_swapteams                 =  switch axis to allies and vice versarn//                                  (including admins!)rn//rn// amx_kickteam        =  kick all players of specified teamrn//                                  (admins excluded!)rn//rn// amx_balanceteams              =  remove team locks and balancern//

rn
rn
// CHANGELOG:rn// ==========rn//rn// - 25.11.2004 Version 0.5betarn//   Initial Releasern//rn// - 27.11.2004 Version 0.6betarn//   added features:rn//   - slay/respawn teamsrn//   - swap teamsrn//   - kick teamsrn//   - switch players with optionrn//     to lock themrn//   - all admins to one team,rn//     all public players to the otherrn//     and lock the admin teamrn//   generic changes:rn//   - DoDx module is required nowrn//   - name changed to "DoD TeamManager"rn//rn// - 29.11.2004 Version 0.7betarn//   added feature:rn//   - players don't get their deathsrn//     increased anymore when they switchrn//     teams as they don't really die beforern//     they change team.rn//   bug fixes:rn//   - kickteam is working nowrn//   - autoswitching of players shouldrn//     work fine as well nowrn//   generic changes:rn//   - changed team "spectators" to "spec"rn//     as it's faster to type in yourrn//     commands.rn//   - renamed command "amx_checkteams"rn//     to "amx_balanceteams" and changedrn//     the way it works.rn//     it now removes all locks from teamsrn//     and balances them.rn//     player specific locks stay active!rn//rn// - 01.12.2004 Version 0.8betarn//   added feature:rn//   - new players can automatically be sentrn//     to the unlocked team if they chose arn//     locked team.rn//     (new cvar: dod_tm_autojointeam <1/0>)rn//   bug fixes:rn//   - optimized swapteams and adminteam features,rn//     this should prevent the server from crashingrn//     when there are a lot of players as the processingrn//     load was decreased by 50%rn//   - fixed minor bugs with "Auto-Assign" handlingrn//rn// - 08.12.2004 Version 0.85betarn//   - players can't be switched to even thern//     teams two times in a row anymore.rn//rn// - 12.12.2004 Version 0.90betarn//   - optimized the swap teams feature againrn//   - fixed some minor bugsrn//rn// - 13.07.2005 Version 0.91betarn//   just a little update:rn//   - added cvar "dod_tm_autoteambalance" to enable/disablern//     automatic team balancing  rn//rn// - 08.08.2005 Version 0.95betarn//   * major upgrades:rn//     - bots can be excluded from all actionsrn//     - added special effects for slayteam commandrn//     - simplified/optimized all commands (review them!)rn//     - fixed bugs in slayteam commandsrn//     - added/changed cvars (review them!)rn//rn// - 17.08.2005 Version 0.95beta2rn//   just a little update:rn//   - added cvar "dod_tm_playerdiff" with what you canrn//     specify the amount of players that one team can havern//     more than the other before the plugin auto balancesrn//     (default is 1 player difference, so plugin balancesrn//      if one team has 2 players more)rn//   NOTE: this only applies for the auto balancer, so don'trn//         that players can still get on a team with morern//         players!rn//rn// - 22.04.2006 Version 1.0rn//   ( Thx goes to cadav0r )rn//   just little update:rn//   - added mutlilanguage supportrn//   - added admin show acitvityrn//   - fixed adressee messagern//rn// - 17.06.2007 Version 1.1 BETArn//   - optimized player-per-team calculationrn//     now using "dod_client_changeteam" to determinern//     the number of players per teamrn//   - now only dead players will be switched torn//     balance uneven teams with using "client_death"rn//     to check the teamsrn//   - now using "get_pcvar_num" instead of the oldrn//     "get_cvar_num"rn//   - minor code optimizationsrn//rn// - 19.06.2007 Version 1.2rn//   - first of all BIG thanks to diamond-optic for hisrn//     great help getting into scripting again a bit better!rn//   - changed from "dod_client_changeteam" to hookingrn//     the "PTeam"-Message again as bots weren't countedrn//   - optimized switching dead players with adding 0.1secondrn//     delay, so the game doesn't count a normal kill as teamkillrn//   - added complete recalculation of players on "dod_client_spawn"rn//     so the calculation cannot be messed up anymore with playersrn//     disconnecting without "client_disconnect" being calledrn//   - added new cvar "dod_tm_adminimmunity" to have the abilityrn//     to let the TeamManager Autobalance even switch admins torn//     balance the teamsrn//   - fixed command "amx_balanceteams", now the teams are balancedrn//     immediately no matter if players are dead or alive.rn//   - fixed some minor problems concerning botsrn//   - fixed switching players to a wrong teamrn//rn// - 21.06.2007 Version 1.3rn//   - once again thanks to diamond-optic for helping me out a bitrn//   - added team calculation & balancing on round end in additionrn//     to only switching killed players to balance.rn//   - player-per-team calculation should be bullet-proof nowrn//rn// - 02.07.2007 Version 1.4rn//   - added round state "Draw" to team balancing eventsrn//   - renamed all cvars, please review them!rn//   - added global tracking cvarrn//

Files

dod_teammanager.sma Plugin Source 47 KB 927 dl Download Compile
dod_teammanager.txt Config / Docs 12 KB 947 dl Download

Archived builds from the server loose

These compiled builds sat loose in the server's script folder rather than attached to a post. They are matched to this release by comparing their decompiled Pawn against the source published above, so treat the attribution as strong but not certain. Versions come from the register_plugin() call recovered from the bytecode.

dod_teammanager.sma v1.0 40 KB Download Compile
dod_teammanager.txt Docs 8 KB Download
dod_teammanager_213.txt Docs 8 KB Download
dod_teammanager_273.sma v1.0 40 KB Download Compile
dod_teammanager_437.sma v1.0 40 KB Download Compile
dod_teammanager_684.zip Archive 8 KB Download

The thread

All 72 posts from 32 people on DoD TeamManager (v1.4), kept as they were written.

F Firestorm
started this thread
Posts: 31
Threads: 30
Joined: Jul 2006
07-09-2006, 10:16 AM #1

DESCRIPTION:rnrnThis Plugin is for Day of Defeat ONLY!rnrnThis is a very effective (maybe even the most effective)rnAutoTeamBlancer for Day of Defeat! Admins basically don'trnhave to care about even (by number of players!) teamsrnanymore as it's all handled by the plugin.rnFurthermore there's a bunch of nice features for teamrnmanagement included.rnrnFEATURES:rnrnAutoTeamBalancer:rn- team checking independent from scoreboardrn(sometimes DoD shows players in a team whichrnjust started to connect to the server)rn- if the axis and allied team are even, a new player canrnchoose any of both.rn- if axis team has 1 player more than allied team, new playerrncan only join the allied team and vice versa.rn- if the teams are even players can't switch teamsrn(don't we all hate those "winning-team-joiners?)rn- "Auto-Assign" obeys locked teamsrn- new players that chose a locked team can automaticallyrnbe assigned to the unlocked teamrn- the team "spectators" can be locked by defaultrn- if a player leaves, the teams are checked and the next killedrnplayer of the team with more players will be switched overrnto balance the teams.rn- admins can still manually switch players when the teams are uneven.rn- ability to manually start a team check/balance after moving playersrn- admins can switch teams and join spectatorsrn- admis are not auto-switched to balance the teamsrn(if dod_tm_adminimmunity is set to 1)rn- if teams are even and an admin switches and makes the teams uneven,rnanother non-admin player will automatically be switched to balancernagain.rn- bots can be ignored, so only human players are counted/balancedrnrnAdditional Features:rn- bots can completely be excluded from all actionsrn- no death when switching teamsrn- teams can be locked (Axis OR Allies) & Specatatorsrn- admins can slay a team whole teamrn- teams can be swappedrn- admins and public players can be devided into teamsrn- players can be switched independent from balancingrnand can be locked/unlocked to/from teamsrn- teams can completely be kickedrn- admins are immune to all (but the swapteam) command(s).rnrn

//rn// USAGE:rn// ======rn//rn//rn// CVARs:rn// ------rn//rn// dod_teammanager_autobalance <1/0>	=  enable/disable automatic balancingrn//rn// dod_teammanager_playerdiff <amount >	=  sets amount of players that a teamrn//					   can have more than the other beforern//					   the plugin balances the teams!rn//					   (default is 1, so the plugin balancesrn//					   once there are 2 players difference)rn//rn// dod_teammanager_adminimmunity <1/0>	=  enable/disable admins' immunityrn//					   from being switched by AutoTeamBalancingrn//rn// dod_teammanager_ignorebots <1/0>	=  enable/disable excluding bots fromrn//					   all actionsrn//rn// dod_teammanager_autoteamjoin <1/0>	=  enable/disable auto assigning newrn//					   players to the smaller teamrn//rn// dod_teammanager_nochangedeath <1/0>	=  enable/disable "soft" killing ofrn//					   players that swith teamrn//					   (deaths won't be increased!)rn//rn// dod_teammanager_spectatorlock <1/0>	=  lock/unlock Spectators by defaultrn//rn// dod_teammanager_teamslayfx <1/0>	=  enable/disable special effectsrn//					   for teamslay (fire explosion)rn//rn//rn// ADMIN COMMANDs:rn// ---------------rn//rn// amx_teamlock <teamname>       =  lock/unlock specified teamrn//rn// amx_axis <player>             =  switch player to axisrn//rn// amx_allies <player>           =  switch player to alliesrn//rn// amx_spec <player>             =  switch player to specrn//rn// amx_lock <player>             =  lock/unlock player to/fromrn//                                  his current teamrn//rn// amx_slayteam <teamname>       =  slay specified teamrn//                                  (admins stay alive!)rn//rn// amx_adminteam <teamname>      =  switch all admins to specifiedrn//                                  team and all public players torn//                                  the opposite team.rn//                                  (admin team will be auto-locked)rn//rn// amx_swapteams                 =  switch axis to allies and vice versarn//                                  (including admins!)rn//rn// amx_kickteam <teamname>       =  kick all players of specified teamrn//                                  (admins excluded!)rn//rn// amx_balanceteams              =  remove team locks and balancern//
rnrn
// CHANGELOG:rn// ==========rn//rn// - 25.11.2004 Version 0.5betarn//   Initial Releasern//rn// - 27.11.2004 Version 0.6betarn//   added features:rn//   - slay/respawn teamsrn//   - swap teamsrn//   - kick teamsrn//   - switch players with optionrn//     to lock themrn//   - all admins to one team,rn//     all public players to the otherrn//     and lock the admin teamrn//   generic changes:rn//   - DoDx module is required nowrn//   - name changed to "DoD TeamManager"rn//rn// - 29.11.2004 Version 0.7betarn//   added feature:rn//   - players don't get their deathsrn//     increased anymore when they switchrn//     teams as they don't really die beforern//     they change team.rn//   bug fixes:rn//   - kickteam is working nowrn//   - autoswitching of players shouldrn//     work fine as well nowrn//   generic changes:rn//   - changed team "spectators" to "spec"rn//     as it's faster to type in yourrn//     commands.rn//   - renamed command "amx_checkteams"rn//     to "amx_balanceteams" and changedrn//     the way it works.rn//     it now removes all locks from teamsrn//     and balances them.rn//     player specific locks stay active!rn//rn// - 01.12.2004 Version 0.8betarn//   added feature:rn//   - new players can automatically be sentrn//     to the unlocked team if they chose arn//     locked team.rn//     (new cvar: dod_tm_autojointeam <1/0>)rn//   bug fixes:rn//   - optimized swapteams and adminteam features,rn//     this should prevent the server from crashingrn//     when there are a lot of players as the processingrn//     load was decreased by 50%rn//   - fixed minor bugs with "Auto-Assign" handlingrn//rn// - 08.12.2004 Version 0.85betarn//   - players can't be switched to even thern//     teams two times in a row anymore.rn//rn// - 12.12.2004 Version 0.90betarn//   - optimized the swap teams feature againrn//   - fixed some minor bugsrn//rn// - 13.07.2005 Version 0.91betarn//   just a little update:rn//   - added cvar "dod_tm_autoteambalance" to enable/disablern//     automatic team balancing  rn//rn// - 08.08.2005 Version 0.95betarn//   * major upgrades:rn//     - bots can be excluded from all actionsrn//     - added special effects for slayteam commandrn//     - simplified/optimized all commands (review them!)rn//     - fixed bugs in slayteam commandsrn//     - added/changed cvars (review them!)rn//rn// - 17.08.2005 Version 0.95beta2rn//   just a little update:rn//   - added cvar "dod_tm_playerdiff" with what you canrn//     specify the amount of players that one team can havern//     more than the other before the plugin auto balancesrn//     (default is 1 player difference, so plugin balancesrn//      if one team has 2 players more)rn//   NOTE: this only applies for the auto balancer, so don'trn//         that players can still get on a team with morern//         players!rn//rn// - 22.04.2006 Version 1.0rn//   ( Thx goes to cadav0r )rn//   just little update:rn//   - added mutlilanguage supportrn//   - added admin show acitvityrn//   - fixed adressee messagern//rn// - 17.06.2007 Version 1.1 BETArn//   - optimized player-per-team calculationrn//     now using "dod_client_changeteam" to determinern//     the number of players per teamrn//   - now only dead players will be switched torn//     balance uneven teams with using "client_death"rn//     to check the teamsrn//   - now using "get_pcvar_num" instead of the oldrn//     "get_cvar_num"rn//   - minor code optimizationsrn//rn// - 19.06.2007 Version 1.2rn//   - first of all BIG thanks to diamond-optic for hisrn//     great help getting into scripting again a bit better!rn//   - changed from "dod_client_changeteam" to hookingrn//     the "PTeam"-Message again as bots weren't countedrn//   - optimized switching dead players with adding 0.1secondrn//     delay, so the game doesn't count a normal kill as teamkillrn//   - added complete recalculation of players on "dod_client_spawn"rn//     so the calculation cannot be messed up anymore with playersrn//     disconnecting without "client_disconnect" being calledrn//   - added new cvar "dod_tm_adminimmunity" to have the abilityrn//     to let the TeamManager Autobalance even switch admins torn//     balance the teamsrn//   - fixed command "amx_balanceteams", now the teams are balancedrn//     immediately no matter if players are dead or alive.rn//   - fixed some minor problems concerning botsrn//   - fixed switching players to a wrong teamrn//rn// - 21.06.2007 Version 1.3rn//   - once again thanks to diamond-optic for helping me out a bitrn//   - added team calculation & balancing on round end in additionrn//     to only switching killed players to balance.rn//   - player-per-team calculation should be bullet-proof nowrn//rn// - 02.07.2007 Version 1.4rn//   - added round state "Draw" to team balancing eventsrn//   - renamed all cvars, please review them!rn//   - added global tracking cvarrn//
T testnumero
posted here
Posts: 3
Threads: 0
Joined: Jul 2006
07-15-2006, 07:00 AM #2

thanks you very much

B Brice
posted here
Posts: 3
Threads: 0
Joined: Apr 2006
07-17-2006, 10:35 AM #3

Hello Firestorm, thanks for your job, but I can't download the files sma and txt because there are no link :/rnCould I know why ??rnrnThanks ;)

D darkcola
posted here
Posts: 2
Threads: 0
Joined: Jul 2005
07-17-2006, 11:32 AM #4

i want dl too ><rnold version has bug when changelevel

D dannyowan
posted here
Posts: 54
Threads: 12
Joined: Aug 2005
07-17-2006, 01:08 PM #5
i want dl too ><rnold version has bug when changelevel
rn-_- ? why can not download the Attachments ??rnrnand can not reply by quickly-reply?

T testnumero
posted here
Posts: 3
Threads: 0
Joined: Jul 2006
07-17-2006, 01:51 PM #6

me too:confused:

B Brice
posted here
Posts: 3
Threads: 0
Joined: Apr 2006
07-18-2006, 02:35 PM #7

So is there anybody who can tell us how to do ?? ;)

D dannyowan
posted here
Posts: 54
Threads: 12
Joined: Aug 2005
07-19-2006, 03:51 AM #8
So is there anybody who can tell us how to do ?? ;)
rnThey may be update this plugin .. so turn off the download access

H Hell Phoenix
posted here
Posts: 201
Threads: 17
Joined: Jan 2005
07-19-2006, 11:09 AM #9

The new site is broken untill Zor comes back and fixes it =( rnrnUntill then some plugins arent allowed to be downloaded. rnrnQuick reply works, you need to click the icon to the right of the quote button first.

B Brice
posted here
Posts: 3
Threads: 0
Joined: Apr 2006
07-19-2006, 09:58 PM #10

ok ok so i'll wait for him. rnrnThanks for your post ;)

R raphxyz
posted here
Posts: 28
Threads: 5
Joined: Sep 2005
07-29-2006, 02:29 PM #11

hi all,njust a council! Change this in the code.n nIn plugin_init() add the line:n

register_cvar("dod_tm_switchbytime","0") // < 0 - 1 >
nAnd change the functions:n
check_axis(){n new switchme = 0n if(get_cvar_num("dod_tm_switchbytime") == 0) {n  new finish = 0n  while(finish==0) {n   new maxslots = get_maxplayers()n   new nid = random_num(1,maxslots)n   if(!is_user_connected(nid)) continuen   if(get_user_flags(nid)&ADMIN_TEAM) continuen   if(!g_player_axis[nid]) continuen   if(g_player_locked[nid]) continuen   if(g_autoswitch_lock[nid]) continuen   finish = 1n   switchme = nidn  }n }n else {n  new maxslots = get_maxplayers()n  new playtime, unlimited = 0x7fffffffn  for(new i = 1; i <= maxslots; ++i){n   if(!is_user_connected(i)) continuen   if(get_user_flags(i)&ADMIN_TEAM) continuen   if(!g_player_axis[i]) continuen   if(g_player_locked[i]) continuen   if(g_autoswitch_lock[i]) continuen   playtime = get_user_time(i)n   if(unlimited > playtime){n    unlimited = playtimen    switchme = in   }n  }n }n return switchmen}ncheck_allies(){n new switchme = 0n if(get_cvar_num("dod_tm_switchbytime") == 0) {n  new finish = 0n  while(finish==0) {n   new maxslots = get_maxplayers()n   new nid = random_num(1,maxslots)n   if(!is_user_connected(nid)) continuen   if(get_user_flags(nid)&ADMIN_TEAM) continuen   if(!g_player_allies[nid]) continuen   if(g_player_locked[nid]) continuen   if(g_autoswitch_lock[nid]) continuen   finish = 1n   switchme = nidn  }n }n else {n  new maxslots = get_maxplayers()n  new playtime, unlimited = 0x7fffffffn  for(new i = 1; i <= maxslots; ++i){n   if(!is_user_connected(i)) continuen   if(get_user_flags(i)&ADMIN_TEAM) continuen   if(!g_player_allies[i]) continuen   if(g_player_locked[i]) continuen   if(g_autoswitch_lock[i]) continuen   playtime = get_user_time(i)n   if(unlimited > playtime){n    unlimited = playtimen    switchme = in   }n  }n }n return switchmen}
n nWhy?nIf the plugin switch the player by time his connected, it switch always the same player.n nExemple:n18 players are connected when a last player (John) connects himself and it choose the clan axis.nThen, 2 players allied leave the server -> (John) is switchednThen, 2 allied leave the server -> (John) is switchednThen 1 player change clan to axis by desire -> (John) is switchednThen John goes on another server!n nIt is not a good thing to transfer according to time's from connextion!

H Hell Phoenix
posted here
Posts: 201
Threads: 17
Joined: Jan 2005
07-29-2006, 04:01 PM #12

And when all that happens you dont think someone will have joined by then? I have been using this plugin for years and never had a problem like you describe.

R raphxyz
posted here
Posts: 28
Threads: 5
Joined: Sep 2005
07-29-2006, 10:18 PM #13

However it is logical! It is not really a bug!nThe lasted connected is switched

tegu
posted here
Posts: 191
Threads: 11
Joined: Aug 2006
08-30-2006, 02:08 PM #14

The last connected would be the one who would have the lowest cap/frag count and therefore be the logical one to switch. nnnBTW where do I put the txt file? In the config folder?

PenDragon
posted here
Posts: 58
Threads: 8
Joined: Sep 2004
08-30-2006, 07:37 PM #15
BTW where do I put the txt file? In the config folder?
nndod/addons/amxmodx/data/lang

B Boule
posted here
Posts: 5
Threads: 0
Joined: Jul 2005
09-13-2006, 08:58 AM #16

With this version, i have a problem:rnplayers with slot reserved are swichted !rnrnwith version 0.95beta2 there is no problem.rnrnIn version 1.0, can we delete the line:

#define ADMIN_TEAM ADMIN_IMMUNITY
rnrnand replace all
ADMIN_TEAM
rnby:
ADMIN_RESERVATION
?

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
09-13-2006, 12:10 PM #17
With this version, i have a problem:nplayers with slot reserved are swichted !n nwith version 0.95beta2 there is no problem.n nIn version 1.0, can we delete the line:
#define ADMIN_TEAM ADMIN_IMMUNITY
n nand replace all
ADMIN_TEAM
nby:
ADMIN_RESERVATION
?
n num you change the ADMIN_IMMUNITY in the define to ADMIN_RESERVATION and yes, that would work.... you dont have to replace ALL, that is the purpose of the coder putting in the define... make the change their... leave ADMIN_TEAM aloone but change the ADMIN_IMMUNITY to the flag you want...

B Boule
posted here
Posts: 5
Threads: 0
Joined: Jul 2005
09-13-2006, 04:14 PM #18

ok so i will write:rnrn

#define ADMIN_TEAM ADMIN_RESERVATION
rnrnThanks again TatsuSaisei

S SyNeRgY
posted here
Posts: 1
Threads: 0
Joined: Dec 2006
01-10-2007, 03:58 PM #19

i im french so sorry for my english XD ! how do for admin inmunity ON ? Thanks

OnkelBazi
posted here
Posts: 2
Threads: 0
Joined: Aug 2006
02-02-2007, 08:18 PM #20

Hi rnrnsince 2 Days the Team Manahger doenst work any morernrnGive it Probems with the Steam Update or anything? rnrnSory for my bad english

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
02-03-2007, 12:15 AM #21

like it loads ok but just doesnt do anything, like the auto-balance or anything?nni havent played on my server much lately so i havent noticed but if i play soon ill see if its working on mine..

Ba5ic
posted here
Posts: 181
Threads: 26
Joined: Nov 2005
03-23-2007, 04:33 AM #22
// DESCRIPTION:rn// ============rn//rn// This Plugin is for Day of Defeat ONLY!rn//rn// This is a very effective (maybe even the most effective)rn// AutoTeamBlancer for Day of Defeat! Admins basically don'trn// have to care about even (by number of players!) teamsrn// anymore as it's all handled by the plugin.rn// Furthermore there's a bunch of nice features for teamrn// management included.rn//rn//rn// FEATURES:rn// =========rn//rn// AutoTeamBalancer:rn// - team checking independent from scoreboardrn// (sometimes DoD shows players in a team whichrn// just started to connect to the server)rn// - if the axis and allied team are even, a new player canrn// choose any of both.rn// - if axis team has 1 player more than allied team, new playerrn// can only join the allied team and vice versa.rn// - if the teams are even players can't switch teamsrn// (don't we all hate those "winning-team-joiners?)rn// - "Auto-Assign" obeys locked teamsrn// - new players that chose a locked team can automaticallyrn// be assigned to the unlocked teamrn// - the team "spectators" can be locked by defaultrn// - if a player leaves, the teams are checked and the freshestrn// player of the team with more players will be switched overrn// to balance the teams.rn// - admins can still manually switch players when the teams are uneven.rn// - ability to manually start a team check/balance after moving playersrn// - admins with a reserved slot can switch teams and join spectatorsrn// - admis with a reserved slot are not auto-switched to balancern// the teamsrn// - if teams are even and an admin switches and makes the teams uneven,rn// another non-admin player will automatically be switched to balancern// again.rn// - bots can be ignored, so only human players are counted/balancedrn//rn// Additional Features:rn// - bots can completely be excluded from all actionsrn// - no death when switching teamsrn// - teams can be locked (Axis OR Allies) & Specatatorsrn// - admins can slay a team whole teamrn// - teams can be swappedrn// - admins and public players can be devided into teamsrn// - players can be switched independent from balancingrn// and can be locked/unlocked to/from teamsrn// - teams can completely be kickedrn// - admins with a reserved slot are immune to allrn// but the swapteam command(s).
rnrnrnHey GuysrnrnI've just started using this plugin again. What i want is for only team members to join spectators and not the general public - i know it can be done because i used to use but i can't for the life of me figure it out!.rnrnI have this set in my amxx.cfg :- dod_tm_spectatorlock 1 rnrnI can join spectators but my fellow admins can't - i'm just guessing but does the spec lock only work on flag "A" as i am the only member to have this access?.rnrnIf so how can i change it to flag access "B" reserved slot status. rnrnSorry for the stupid question but i'm getting old :)rnrnMany Thanks

T TooLz
posted here
Posts: 96
Threads: 11
Joined: Oct 2005
03-23-2007, 07:16 AM #23

Looks like they have to have immunity to me, which is flag A, you can pretty easily change that here:rnrn

#define ADMIN_TEAM ADMIN_IMMUNITY
rnrnClose to the top of the code after all of the comments, just change that to:rnrn
#define ADMIN_TEAM ADMIN_RESERVATION
rnrnThat is anyone with the B flag, also known as Reservation flag. That should solve your problem :)rnrnCya

Ba5ic
posted here
Posts: 181
Threads: 26
Joined: Nov 2005
03-23-2007, 07:55 AM #24
Looks like they have to have immunity to me, which is flag A, you can pretty easily change that here:rnrn
#define ADMIN_TEAM ADMIN_IMMUNITY
rnrnClose to the top of the code after all of the comments, just change that to:rnrn
#define ADMIN_TEAM ADMIN_RESERVATION
rnrnThat is anyone with the B flag, also known as Reservation flag. That should solve your problem :)rnrnCya
rnrnThanks Toolz, worked a treat - great support as always. :p

T TooLz
posted here
Posts: 96
Threads: 11
Joined: Oct 2005
03-23-2007, 08:10 AM #25

hehe, no problem at all. Let me know if ya need anything else.rnrnCya

J jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
04-25-2007, 10:22 PM #26

I have been seeing some unwanted activity from this plugin.rnrnI run a linux server with shrikebots and i do not have the bot balancing turned on because i use this plugin to balance the teams.rnrnThis plugin has switched two players from allies to axis all day long. Unbalancing the teams by two in favour of the axis.rnit is also letting players join the stonger team making the teams uneven by 3 players at times.rnrnHere is what i have in my amx.cfgrn//dod_teammanager cvarsrndod_tm_autoteambalance 1rndod_tm_autoteamjoin 1rndod_tm_playerdiff 1rndod_tm_nochangedeath 1rndod_tm_ignorebots 0rn--------------------rnrnalso here are the plugins i'm running.rn [ 1] Admin Base 1.76c AMXX Dev Team admin.amxx running rn [ 2] Admin Commands 1.76c AMXX Dev Team admincmd.amxx running rn [ 3] Admin Help 1.76c AMXX Dev Team adminhelp.amxx running rn [ 4] Menus Front-End 1.76c AMXX Dev Team menufront.amxx running rn [ 5] Commands Menu 1.76c AMXX Dev Team cmdmenu.amxx running rn [ 6] Players Menu 1.76c AMXX Dev Team plmenu.amxx running rn [ 7] Maps Menu 1.76c AMXX Dev Team mapsmenu.amxx running rn [ 8] Admin Chat 1.76c AMXX Dev Team adminchat.amxx running rn [ 9] Info. Messages 1.76c AMXX Dev Team imessage.amxx running rn [ 10] Admin Votes 1.76c AMXX Dev Team adminvote.amxx running rn [ 11] NextMap 1.76c AMXX Dev Team nextmap.amxx running rn [ 12] TimeLeft 1.76c AMXX Dev Team timeleft.amxx running rn [ 13] Stats Configuration 1.76c AMXX Dev Team statscfg.amxx running rn [ 14] DoD Stats 1.76c AMXX Dev Team stats.amxx running rn [ 15] DoD Sounds Precache 1.76c AMXX Dev Team statssounds.amx running rn [ 16] Stats Logging 1.76c AMXX Dev Team stats_logging.a running rn [ 17] Loading Sound 1.0 Amxx User loadingsound.am running rn [ 18] DoD Random Skymap 1.2 AMXX DoD Team dod_random_skym running rn [ 19] Ultimate Gore 1.5 JTP10181 amx_gore_ultima running rn [ 20] DoD Melee Bonus 0.6beta AMXX DoD Team dod_meleebonus. running rn [ 21] DoD TeamManager 1.0 AMXX DoD Team dod_teammanager running rn [ 22] DoD Say Ratio 0.2 AMXX DoD Team dod_say_ratio.a running rn [ 23] admin alltalk 0.1 GORT admin_alltalk.a running rn [ 24] DoD AFK Kicker 0.9.4 Fractal dod_anti_afk.am running rn [ 25] Simple Slots 2.1 DynAstY simpleslots.amx running rn [ 26] SlowHack 1.19 Unkind slowhack.amxx running rn [ 27] Connect Announce 0.2 v3x connect_announc running rn [ 28] Exec 1.0 ToXiC amx_exec.amxx running rn [ 29] DoD EvilAdmin 0.5beta AMXX DoD Team dod_eviladmin.a running rn [ 30] Aim Bot Detector 0.1d Amxmodx DoD Comm amx_aimbotdetec running rn [ 31] Player Disconnect Info 0.2 v3x disconnect_info running rn [ 32] DoD Reset at 255 0.4 AMXX DoD Plugins dod_xkills.amxx running rn [ 33] DoD Tackle 1.2b AMXX DoD Team dod_tackle.amxx running rn [ 34] Secret Spectate 1.0 29th ID dod_secretspect running rn34 plugins, 34 runningrnrnrnI dont know were to begin searching in the code to try to fix this but was wondering if you all might?.

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
04-25-2007, 10:26 PM #27

sometimes this does get a little wierd on me and it makes the teams uneven... but its not that often and is usually fixed by a restart/changelevelnn..ive also noticed it happen both while running bots and also while not running them..nndont really have any idea why lol

J jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
04-25-2007, 10:31 PM #28
sometimes this does get a little wierd on me and it makes the teams uneven... but its not that often and is usually fixed by a restart/changelevelrnrn..ive also noticed it happen both while running bots and also while not running them..rnrndont really have any idea why lol
rnrnHmm rats. Ok thanks for the quick reply dude.rnrnone other question, how do i allow it to switch my admins as well ?.rnwhat would i have to change to do this.rni think allowing this may solve the problem.

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
04-25-2007, 10:39 PM #29

hmm well it would be places where "ADMIN_RESERVATION" is used...nnnbut theres quite a few of them in the code and im not sure (without really looking at it in detail) which ones exactly would affect the auto balancennmaybe in the 'check_allies', 'check_axis', and maybe the 'handle_teamjoin' function too... (i think all 3 should be towards the bottom of the plugin source.. tho im not entirely sure cause i know the one i have i chopped up a bit here and there :p)nnnso you could try changing those to like ADMIN_IMMUNITY or something that most (if not all) of your admins lack access to

J jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
04-25-2007, 10:43 PM #30

Ok ill try futtzing around with it , But i also have the original plugin around here somewere and i thought it just had a cvar you could change in the amx.cfg. rnOnce again thanks for the quick reply. :)

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
04-25-2007, 11:12 PM #31

ehh the plugin should probably be cleaned up a bit and such (sorry zor lol) and that admin level should def be set thru a define :-

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
06-20-2007, 03:46 PM #32
//rn// - 19.06.2007 Version 1.2rn//   - first of all BIG thanks to diamond-optic for hisrn//     great help getting into scripting again a bit better!rn//   - changed from "dod_client_changeteam" to hookingrn//     the "PTeam"-Message again as bots weren't countedrn//   - optimized switching dead players with adding 0.1secondrn//     delay, so the game doesn't count a normal kill as teamkillrn//   - added complete recalculation of players on "dod_client_spawn"rn//     so the calculation cannot be messed up anymore with playersrn//     disconnecting without "client_disconnect" being calledrn//   - added new cvar "dod_tm_adminimmunity" to have the abilityrn//     to let the TeamManager Autobalance even switch admins torn//     balance the teamsrn//   - fixed command "amx_balanceteams", now the teams are balancedrn//     immediately no matter if players are dead or alive.rn//   - fixed some minor problems concerning botsrn//   - fixed switching players to a wrong teamrn//
rnrnNew Version is up now, be sure to grab and injoy it!rnBig thanks to diamond-optic for introducing me againrnafter a long time without touching any plugin!rnrnLet me know if you experience any problems!rnrnThe updated Version (v1.2) can be downloaded in the first post!rnrnStefan

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
06-20-2007, 07:48 PM #33

lol one more thing bout dod_client_spawn..nnunless you use the beta modules or until the next amxx release.. the forward isnt fired on the 'respawning' after a round is won lolnnas a temporary fix for this in a lot of my plugins.. i hook the ResetHud message to call the function but i also hook the fullupdate client command and have it return PLUGIN_HANDLED to block the command so clients cant force a hud reset.. tho technically it doesnt seem like it would matter if clients used fullupdate as the function wouldnt really cause any harm being run..nnbut it might not be totally important & you can get away with skipping the function one those occasionsnnnanothing thing i noticed.. you could probably take out the PTeam function stuff.. if your going to calculate the actual team counts on client spawn.... tho i suppose if say a client spawns and it sets the team counts then a player joins or something and teams end up uneven that the player count could be wrong when someone dies..nnit might actually be easier to just take out the PTeam stuff, and the dod_client_spawn stuff (and probably even like client disconnect stuff.. like anywhere you ++ or -- team counts).. and just calculate the team counts in the death forward function.. because your calculating them afterwards anyway.. might cut down a bit of stuff going on to just take care of it in one place and then you have a 99.9% correct team count right before any possible team switch...nthen also have it calculate the team counts when using the amx_balanceteams commandn** ehh i was just thinking.. if you did that then you'd probably have to calculate the team count all over (like jointeam function and all) tho could easily write a little stock to get team counts.. so you dont have to put the actual code in all the places.. but idk.. whatever lol

H Hell Phoenix
posted here
Posts: 201
Threads: 17
Joined: Jan 2005
06-20-2007, 08:38 PM #34

If you dont block the fullupdate command people can crash your server ;)

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
06-21-2007, 01:55 AM #35

is there anything working at all in the current amxx????? :eek: rnrnwell, as for the player calculation only after spawning:rnwhen the map is changed and people choose their teamrnonce thje next map is loaded, it 's possible that ALL peoplerngo either axis or allies as no calculation was made at that point.rnrncalculating the way it works at the moment is not perfect (because of knwonrnclient_disconnect issue), but the respawn re-calculation corrects it ifrnit has wrong values.rnrni'll think about a better solution, but as for now it seems to be the best to use.

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
06-21-2007, 02:19 AM #36

just had an idea for the spawn-after-round-won problem:rnrni'll just hook the "RoundState" message and will let it immediatelyrnbalance the teams if the round is finished by one of the teams.rnrnthat way i can be sure that players aren't in a firefight and can simplyrnswitch them over.rnrni'll implement that after i get home from work!

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
06-21-2007, 03:29 PM #37
//rn// - 21.06.2007 Version 1.3rn//   - once again thanks to diamond-optic for helping me out a bitrn//   - added team calculation & balancing on round end in additionrn//     to only switching killed players to balance.rn//   - player-per-team calculation should be bullet-proof nowrn//
rnrnLike always, please let me know about any problems that might occur!

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
06-21-2007, 08:13 PM #38

ya thats fine.. maybe ill play around with different methods and see what works the best if i ever have time hehe..nnand lol.. another thing thats definitly not important.. but should probably be added for a future update release.. in the RoundState message.. you might also want to use "1=5" for round draws.. tho not really common anymore.. there are still maps floating around that use the timer.. but again.. not a rush on that tho..

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
07-02-2007, 05:27 PM #39
//rn// - 02.07.2007 Version 1.4rn//   - added round state "Draw" to team balancing eventsrn//   - renamed all cvars, please review them!rn//   - added global tracking cvarrn//
rnrnAs always, please report bugs with the new version immediately!rnrnEnjoy!

J jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
08-10-2007, 09:28 PM #40

I'm seeing this in chat messages and in console.rnAnyone know why this might be happening.rnrn[DoD TeamManager] ML_NOTFOUND: AUTOSWITCHALLIED

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
08-11-2007, 02:09 AM #41
I'm seeing this in chat messages and in console.rnAnyone know why this might be happening.rnrn[DoD TeamManager] ML_NOTFOUND: AUTOSWITCHALLIED
rnrnDid you install the dictionary-file (dod_teammanager.txt) correctly?rn- please look for it inside the folder "addons/amxmodx/data/lang/"rnrnIs that the only message that you get and the rest of the messages works?

T tom jones
posted here
Posts: 8
Threads: 0
Joined: Nov 2007
11-06-2007, 10:19 AM #42

I've loaded the sma. file and the txt file in the data/lang folder but am i missing an amxx file? in the plugins config i have dod_teammanager and tried .amx,,, .amxx,,,, .txt ????? i think i'm missing something,,, any advice??? thanks...TJ

K knife108
posted here
Posts: 108
Threads: 10
Joined: Apr 2006
11-06-2007, 11:33 AM #43
I've loaded the sma. file and the txt file in the data/lang folder but am i missing an amxx file? in the plugins config i have dod_teammanager and tried .amx,,, .amxx,,,, .txt ????? i think i'm missing something,,, any advice??? thanks...TJ
rnrnu should compile the sma file and then u will get the amxx file need to be loaded :cool:

T tom jones
posted here
Posts: 8
Threads: 0
Joined: Nov 2007
11-06-2007, 11:55 AM #44

Thank you very much..... Just starting out and thats exactly what it needed,,,,, TJ

S SgtDome1980
posted here
Posts: 3
Threads: 0
Joined: Dec 2007
12-14-2007, 09:13 AM #45

Hi guys, Today I downloaded and installed this on my dod server. It works great, I just ave a couple questions.rnI Have AMXXMOD and the only other plugin i have is DOD_BOTCLASS.rnrnI have HLTV always in spec, I have SHRIKEBOT and I have the max_bots set to 15. So when people or bots are on the server its 7 on 7.rnrnWhen I log on and I go into Spectate, its just me and the HLTV.rnso when im in spectate why do the teams go and stay on 6 on 7. I would like it if me or others were in Spectate, than a bot would be added on the team with 6.rnIf that can be fixed, How do I fix that?rnrnAnd I want real people to take priority over the bots. so if someone if the teams are 7 on 7 and a person wants to switch teams thay can, and then a bot will just fill the spot that the person left.rnrnI might be able to figure this out by myself, but It would take MUCH less time if I asked you guys. THANKS ALOT :D

S SgtDome1980
posted here
Posts: 3
Threads: 0
Joined: Dec 2007
12-26-2007, 04:23 AM #46

Since I made the abouve post I just turned off AUTOBALANCE. Ill just manualy do it.rnBut if anyone know the answer to the above question id sure like to know it. If not Its okay I guess. All I gatta say is I love this plugin, especially the additional features!rn:)

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
12-29-2007, 02:04 PM #47

Started using this plugin a week ago and it works exactly as designed !! I only have one minor complaint about an "issue" it has... every so often it gets "stuck" on a player and spends the next few minutes changing the poor guy from one team back to the other ... over and over until the guy finally quits out of the server....n nThis only happens rarely, so it is not MAJOR.... yet.... just thought I would let you know....n nOtherwise, the plugin is excellent and worth adding if you have trouble keeping teams balanced AND use bots !!!

S SgtDome1980
posted here
Posts: 3
Threads: 0
Joined: Dec 2007
01-04-2008, 04:06 AM #48

i know what your talking about, It happens on my server also, unfortunatly I cannot tell you how to fix that, but I can tell you what ive done to stop it... rnThe plugin comes with some cool commands. and yes it works just like it is supose to, but I personaly dont think there is a way to fix your problem, so what i did was simply turn AUTO TEAM BALANCE OFF, and just made a bind for it, so I can do it manually, that works for me.

johnnyskid
posted here
Posts: 66
Threads: 14
Joined: Aug 2006
05-02-2008, 05:24 PM #49

when you make ur bind.. how do you?

meathead
posted here
Posts: 337
Threads: 23
Joined: Aug 2007
05-08-2008, 07:42 AM #50

either edit your config file and bind a key to amx_balanceteams nor use your console and type,n bind "F6" "amx_balanceteams "n to bind it to the F6 button.

C CLICKBOOM
posted here
Posts: 15
Threads: 1
Joined: Dec 2007
05-13-2008, 08:55 PM #51

Hi i use a few of the plugins posted here.rnrnI am currently trying to get the teammanager working. Is there a more descriptive post on the installation of this plugin. None of the commands are working. i put the .sma folder with the others in my ftp n the text folder went in data/lang. I would appreciate any help.

meathead
posted here
Posts: 337
Threads: 23
Joined: Aug 2007
05-14-2008, 07:52 AM #52

Did you compile it and put the .amxx file in the plugins directory?nThen enable it in your plugins.ini file?

W winice
posted here
Posts: 17
Threads: 0
Joined: Sep 2006
05-20-2008, 05:42 PM #53

hello !rnThe admins can't join any team they wants if the team is full what can i place in the .sma for what the admins can join any team they wants , and any players they are in the team ,thanks !!!!

P Private Dyin
posted here
Posts: 13
Threads: 1
Joined: Sep 2005
08-19-2008, 10:21 PM #54

Is anyone still doing anything with this plugin? I get the most complaints when the server is full of people and they get switched back and forth. The time this plugin is really needed is when there are bots on the server. Without the plugin we would always get teams of 7 humans vs 2 humans with bots filling up the rest of the teams. With the plugin it keeps the number of humans even. When there aren't any bots on the server we don't need any balancing. So is it possible for someone to add something where it checks if there are any bots before switching players?rnrnThanks

meathead
posted here
Posts: 337
Threads: 23
Joined: Aug 2007
08-20-2008, 01:03 AM #55

// dod_teammanager_adminimmunity <1/0> = enable/disable admins' immunityn// from being switched by AutoTeamBalancingn//n// dod_teammanager_ignorebots <1/0> = enable/disable excluding bots fromn// all actions

P Private Dyin
posted here
Posts: 13
Threads: 1
Joined: Sep 2005
08-20-2008, 01:10 AM #56

Its regular players who get switched back and forth when the server has no bots. Admin immunity isn't an issue.rnrnI wish it would turn off when there aren't any bots on the server. I already ignore the bots in actions.

meathead
posted here
Posts: 337
Threads: 23
Joined: Aug 2007
08-20-2008, 01:21 AM #57

Ok, then the only thing I know to do is turn it off when you don't want it on. rnI have fuerstorms plugin for rand weapons set up this way. I have a file called randomon.cfg and randomoff.cfg in my main server dir. Then added this to the configs.ini menu.rn"Random off" "exec dodrandomoff.cfg;servercfgfile ''" "a" "h" rnrnSo when admins with the right settings hit the config menu they can turn it off or on.

P Private Dyin
posted here
Posts: 13
Threads: 1
Joined: Sep 2005
08-20-2008, 01:24 AM #58

I don't think that would work well for us. Thanks anyways.

meathead
posted here
Posts: 337
Threads: 23
Joined: Aug 2007
08-20-2008, 01:35 AM #59
The time this plugin is really needed is when there are bots on the server
rnrn
Its regular players who get switched back and forth when the server has no bots.
rnrnThats kind of hard to tell what you need.

P Private Dyin
posted here
Posts: 13
Threads: 1
Joined: Sep 2005
08-20-2008, 01:38 AM #60

Sorry maybe I wasn't explaining it very clearly. I only want the plugin to balance if there are non-human players. If there are only human players then I want the plugin to do nothing.

meathead
posted here
Posts: 337
Threads: 23
Joined: Aug 2007
08-20-2008, 01:49 AM #61
// dod_teammanager_ignorebots <1/0> = enable/disable excluding bots fromrn// all actionsrn_________________
rnSo this doesn't work?rnIf you have shrikebot, make sure you havernbot_team_balance on/off turned to off , or they could just switch over to balance it out.

P Private Dyin
posted here
Posts: 13
Threads: 1
Joined: Sep 2005
08-20-2008, 01:53 AM #62

When we have all humans on the server we can balance it ourselves. We don't need the help.

FeuerSturm
posted here
Posts: 166
Threads: 15
Joined: Jun 2007
08-20-2008, 01:54 AM #63

I will take a look at that problem!rnrnand hand out a version that checks if bots are on the server and thenrndoesn't balance at all.

P Private Dyin
posted here
Posts: 13
Threads: 1
Joined: Sep 2005
08-20-2008, 01:56 AM #64
I will take a look at that problem!rnrnand hand out a version that checks if bots are on the server and thenrndoesn't balance at all.
rnrnThanks FeuerSturm! :D

meathead
posted here
Posts: 337
Threads: 23
Joined: Aug 2007
08-20-2008, 01:58 AM #65

Got ya, but you cant have it both ways. You will just have to turn it on /off. It's always running, and balancing your teams when on. Thats what it does. The only way to stop that, is to manually turn it off and on. Add it in to your cfg.s as I said earlier. Thats the only way as is. Otherwise, we both have to learn how to write our own plugins!nnFeuer is the man.

N noddy
posted here
Posts: 250
Threads: 19
Joined: Oct 2004
11-09-2009, 07:57 PM #66

I have had several people complain that when they are swopped they spawn with no weapons, anyone know of a fix for this ?

7 707.NoSIR
posted here
Posts: 1
Threads: 0
Joined: Jul 2013
10-30-2014, 05:26 PM #67

Im new to scripting. I have an issue with low ranking admins being switched because they do not have the b flag. would like to change it to the "C" flag instead so all my admins are immune. rnrnHope some1 see's this, cause i can't figure it out, thank you! :D

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
11-01-2014, 04:19 AM #68

Probably easier to change your admins...

S sparky99
posted here
Posts: 263
Threads: 49
Joined: Jan 2006
11-02-2014, 05:06 AM #69

g_dod_teammanager_adminimmunity = register_cvar("dod_teammanager_adminimmunity","1")

Zor
posted here
Posts: 688
Threads: 75
Joined: Jun 2006
11-02-2014, 11:33 AM #70

Yes there is, but its a hard coded immunity. It's actually ADMIN_RESERVATION, so if he adds all his admins to the ADMIN_RESERVATION in amxmodx he will not have to have this plugin modified. And I wouldn't do it as this is the reason for such a cvar...this is a team based plugin, why there is no better cvar than ADMIN_RESERVATION for it!rnrnSo 707.NoSIR you should add the 'b' to all of your admins. This is for reserve slots anyway, and I am sure you want your admins to have reserve slots!rnrnCheers!

G Grimm.org
posted here
Posts: 3
Threads: 0
Joined: Apr 2005
01-15-2023, 01:24 PM #71

Does anyone have a working version of this plugin for AMXX? I'd be grateful if you could post it!! :D nNot sure why it's not pulling up in the AMXX plugin forum..

R RoboCop
posted here
Posts: 12
Threads: 5
Joined: Dec 2010
08-03-2023, 12:23 PM #72

Yes well I think this plugin doesn't appear to be working on my side atm!

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 29 Aug 2026 20:21 UTC