Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[forums.alliedmods.net] [ND] Team Balancer


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 489
  • Lokalizacja:AMXX.PL
Offline

Napisano 10.03.2012 23:26

[NuclearDawn] Team Balancer
by databomb

This plugin overrides the in-game team balancer and provides a new balancer which looks at the rank of each player and makes sure the teams are even in skill.

How does it work?

Every 30 seconds a check is performed to see if the total skill level on each team is within an acceptable margin. If it's not then the least skilled and most skilled players are swapped. Allowances are given so players who are swapped once are less likely to be swapped in the future.

If the teams are of balanced skill then it next compares player count. If the count is unbalanced then it will swap the player with the least connection time.

Skill is determined by an exponential algorithm based on rank. This system is designed so a team of rank 59 and 1 would not be considered the same as a team of two rank 30s. (The default settings make it so a rank 59 and 1 would be equivalent to two rank 15s.)

Special Thanks:
Snivilous for explaining some initial pitfalls with compnerds's team balancer.
Kateana for testing and help.

Features:
Admin command (sm_stacked | !stacked) to check team skill levels.
Admin command (sm_swap | !swap) to manually swap players.
Light-weight algorithms quickly determine the relative skill of all players.
Warns a player they're about to be swapped in 30 seconds.
Provides visual feedback to the players who are swapped.

Future Plans:
Add cvars to fine-tune the balancing algorithms.
Add admin immunity.
Listen for feedback.

Change History:
v 1.0.0 Initial Release
v 1.0.1 Added admin commands to check skill and manually swap
v 1.0.2 Prevents stats hit from swapping, Displays spawn menu after swap, and Makes swapped players less likely to get swapped in the future
v 1.0.3 Added new check for unbalanced but unstacked condition and changed the least skilled algorithm

Attached Files Dołączona grafika Get Plugin or Get Source (unstacker.sp - 10.8 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych