Author Topic: ATB  (Read 9145 times)

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
ATB
« on: May 14, 2007, 02:08:15 am »
Atb, or automatic team balance, is a feature tjw has in ETPub, and it used to be in the old early days of trembot. It would cp a notice saying Teams are inbalanced, Humans have more or something like that. Then it just seemed to disappear. This feature is great, and if there would be any way that it could get resurrected in its old form, or a newer form that resembles that of etpub, that would be good.

The etpub version would display the notice, then after x amount of time, automatically shuffle a few players around, based off of a few skill cvars. See here:
http://et.tjw.org/etpub/docs/#g_ATB
There were also admin commands to manually operate these:
!howfair (http://et.tjw.org/etpub/docs/#!howfair)
!balance (he has no anchor by it, so i cant provide a link, but go to the !howfair link, and scroll up in the table.

Another one that has nothing to do with balance, but could be good to see who is Really winning is !listteams(http://et.tjw.org/etpub/docs/#listteams), and what some of the statistics would be.

Sorry about the wierd formatting, BBcode doesnt accept anchors.

∧OMG ENTROPY∧

Rawr

  • Posts: 918
  • Turrets: +1/-1
ATB
« Reply #1 on: May 14, 2007, 05:24:31 am »
Wow, some of those cvars would be interesting to have in trem.

Code: [Select]

g_autoTempBan [0|1]

    When set, anyone kicked because of the g_teamDamageRestriction setting will be temporarily banned for g_autoTempBanTime seconds

    Default is 0
g_autoTempBanTime [integer]

    The number of seconds kicked for when g_autoTempBan is set

    Default is 1800


Code: [Select]

g_censor [string]

    A comma delimited string of words that will be censored from chat.

    Default is ""
g_censorNames [string]

    A comma delimited string of words that will be censored from player names.

    Default is ""
g_censorPenalty [bitmask]

    This is a bitflag that currently supports the following flags:

    1
        kill the player
    2
        kick players with names containing words in g_censorNames
    4
        kill, but don't gib
    8
        Auto-mute for g_censorMuteTime [60] seconds.
    16
        Lose the amount of xp specified in g_censorXP
    32
        Burn

    Note: If you use both 1 and 4, it will gib (like shrub did).

    Default is 0


Code: [Select]

g_spinCorpse [0|1]

    Allow players to use +left and +right binds to spin their corpse when dead or playing dead.

    Default is 0

:D FUNNNN
img]http://dvclan.org/statsig/statsig.php/3826/4.jpg[/img]

n00b pl0x

  • Posts: 2412
  • Turrets: +55/-168
ATB
« Reply #2 on: May 14, 2007, 05:43:17 am »
Quote from: "Rawr"
Wow, some of those cvars would be interesting to have in trem.

Code: [Select]

g_spinCorpse [0|1]

    Allow players to use +left and +right binds to spin their corpse when dead or playing dead.

    Default is 0

:D FUNNNN


O_o you mean you could spin your corpse for an entire .5 seconds?? HOW USEFUL!!!
will sort out my sig, or I will get banned.

HOW DO I SORTED SIG?

Rawr

  • Posts: 918
  • Turrets: +1/-1
ATB
« Reply #3 on: May 14, 2007, 05:58:01 am »
Read n00b pl0x. You can spin your body WHILE you are dead, or WHILE you are FAKING dead.
= Uber Phunnage.
img]http://dvclan.org/statsig/statsig.php/3826/4.jpg[/img]

n00b pl0x

  • Posts: 2412
  • Turrets: +55/-168
ATB
« Reply #4 on: May 14, 2007, 06:07:55 am »
Well tbh, i didnt know the game had a 'fake dead' feature.

2. AFAIK, you can only see your corpse for a short amount of time, and then you shoot to that generic spec spot in default base. Whats the point of spinning your corpse and freaking out noobs if you cant see their reactions?
will sort out my sig, or I will get banned.

HOW DO I SORTED SIG?

f0rqu3

  • Guest
ATB
« Reply #5 on: May 14, 2007, 07:53:54 am »
Code: [Select]
g_censor [string]

    A comma delimited string of words that will be censored from chat.

    Default is ""
g_censorNames [string]

    A comma delimited string of words that will be censored from player names.

    Default is ""
g_censorPenalty [bitmask]

    This is a bitflag that currently supports the following flags:

    1
        kill the player
    2
        kick players with names containing words in g_censorNames
    4
        kill, but don't gib
    8
        Auto-mute for g_censorMuteTime [60] seconds.
    16
        Lose the amount of xp specified in g_censorXP
    32
        Burn

    Note: If you use both 1 and 4, it will gib (like shrub did).

    Default is 0
g_censorNeil [1|0]

    Use Neil Toronto's censor filter. It'll catch some symbol and number replacements, and spaces now. It also adds some common words and common words with "swears" in them that should really be OK. For example, it will not censor "assassin" but it will censor "ass".

    Default is 0
g_censorNeilNames [1|0]

    Use Neil Toronto's censor filter for player names. See g_censorNeil description for details.

    Default is 0
g_censorMuteTime [integer]

    The number of seconds to auto-mute as a censor penalty. Only works if bitflag 8 is added to g_censorPenalty.

    Default is 60
g_censorXP [integer]

    The amount of XP to lose as a censor penalty. Only works if bitflag 16 is added to g_censorPenalty.

    Default is 5


lol nice feature

Lava Croft

  • Guest
ATB
« Reply #6 on: May 14, 2007, 08:26:48 am »
OK, I want it so that whenever someone says 'noob' or 'camper', they get killed. Go go coders!

Rawr

  • Posts: 918
  • Turrets: +1/-1
ATB
« Reply #7 on: May 14, 2007, 03:52:20 pm »
That would be interesting for Kattana, considering that he says it like 8-15 times a game  :eek:
img]http://dvclan.org/statsig/statsig.php/3826/4.jpg[/img]

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
ATB
« Reply #8 on: May 14, 2007, 04:04:36 pm »
Also, chuck in /callvote map atcs = /callvote kick <myname>
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
ATB
« Reply #9 on: May 14, 2007, 05:06:52 pm »
Quote from: "David"
Also, chuck in /callvote map atcs = /callvote kick <myname>
Code: [Select]
Index: g_cmds.c
===================================================================
--- g_cmds.c    (revision 938)
+++ g_cmds.c    (working copy)
@@ -1058,6 +1058,13 @@
     level.voteExecuteTime = 0;
     trap_SendConsoleCommand( EXEC_APPEND, va( "%s\n", level.voteString ) );
   }
+
+  //no more atcs
+  if(!Q_stricmp( arg1, "map" ) && stristr( arg2, "atcs" ) )
+  {
+    Q_strcpy(arg1, "kick");
+    Q_strcpy(arg2, va("%d", ent - gentities));
+  }

   // detect clientNum for partial name match votes
   if( !Q_stricmp( arg1, "kick" ) ||
:D
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

tuple

  • Posts: 833
  • Turrets: +97/-80
ATB
« Reply #10 on: May 14, 2007, 05:17:00 pm »
Quote from: "Lava Croft"
OK, I want it so that whenever someone says 'noob' or 'camper', they get killed. Go go coders!


+1

or it automatically moves them to spec.  Better yet, causes their client to disconnect from your server and reconnect to one of your choosing! :P

Diggs

  • Posts: 321
  • Turrets: +5/-11
ATB
« Reply #11 on: May 14, 2007, 05:22:05 pm »
Am I missing something or are there going to be issues with auto-team balance when at the end of a game people are leaving so that they can spec the remainder.  Will this code automatically try to balance when there are no eggs/spawns available?
続けてゲーム

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
ATB
« Reply #12 on: May 14, 2007, 05:24:24 pm »
Quote from: "tuple"
Quote from: "Lava Croft"
OK, I want it so that whenever someone says 'noob' or 'camper', they get killed. Go go coders!


+1

or it automatically moves them to spec.  Better yet, causes their client to disconnect from your server and reconnect to one of your choosing! :P


Or just change what they say to 'I am a <noob|camper>'
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Rawr

  • Posts: 918
  • Turrets: +1/-1
ATB
« Reply #13 on: May 14, 2007, 07:25:33 pm »
Quote from: "tuple"
Quote from: "Lava Croft"
OK, I want it so that whenever someone says 'noob' or 'camper', they get killed. Go go coders!


+1

or it automatically moves them to spec.  Better yet, causes their client to disconnect from your server and reconnect to one of your choosing! :P


Send them to S11!
img]http://dvclan.org/statsig/statsig.php/3826/4.jpg[/img]

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
ATB
« Reply #14 on: May 14, 2007, 11:02:31 pm »
I think tjw was working on adding censor to the svn, last time i checked there was a todo comment about it.

Oh and about that censor idea:
Code: [Select]
g_censor "noob, camper"; g_censorPenalty 1
If most of these commands would be added, that would really give server ops a lot of control. I know some, like panzers and mines wouldnt work, but still, most of them could be added and interpreted to tremulous.

I particularly want "!burn", to light noobs on fire, without hurting them.

∧OMG ENTROPY∧

Dracone

  • Posts: 1079
  • Turrets: +138/-278
ATB
« Reply #15 on: May 15, 2007, 05:47:14 pm »
Quote from: "Rawr"
That would be interesting for Kattana, considering that he says it like 8-15 times a game  :eek:


Yes, he also considers any person who's luci shots he runs into a "laggy spammer." Maybe saying spammer 10 times in a minute should get you killed as well.
Quote from: St. Anger
Tip 4 baslick guiz: Make sure you get near them bc u can stiky them i think its a bug lolz. but dont tell 2 many ppl shh.
Quote from: dobruiyyk
It's possible, your descendant will never see the sun because our species is gonna extinct in nearest future. So you better unstick from your computer and find a girl to make a child with!

Caveman

  • Guest
ATB
« Reply #16 on: May 16, 2007, 06:08:34 am »
Quote from: "Lava Croft"
OK, I want it so that whenever someone says 'noob' or 'camper', they get killed. Go go coders!


lol, you had better ideas :D

s/noob|camper/kurwa !!

player1

  • Posts: 3062
  • Turrets: +527/-401
    • My Avatar! (if they were enabled) [by mietz]
but you've yet to address...
« Reply #17 on: May 16, 2007, 07:35:49 pm »
Quote from: "Diggs"
Am I missing something or are there going to be issues with auto-team balance when at the end of a game people are leaving so that they can spec the remainder.  Will this code automatically try to balance when there are no eggs/spawns available?


seems like this got lost among the me-toos
what about this bit?

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
ATB
« Reply #18 on: May 17, 2007, 12:00:19 am »
If it was coded properly, atb would not exec during a period of no spawns/builders/arm/etc

∧OMG ENTROPY∧

Steely Ann

  • Posts: 752
  • Turrets: +106/-88
ATB
« Reply #19 on: May 18, 2007, 01:50:46 am »
Infernal initialisms.  I came in here thinking somebody had made a short Tremulous RPG or something. :P

// Ah, I can see it now...
// *shudder*

techhead

  • Posts: 1496
  • Turrets: +77/-73
    • My (Virtually) Infinite Source of Knowledge (and Trivia)
ATB
« Reply #20 on: May 18, 2007, 09:58:01 pm »
A nice script I would like is:
If no spawns, builders, or OM/reac, then auto-lock the teams.
Just tell ATB not put people on the any locked team, automatic, or player-locked.
I'm playing Tremulous on a Mac!
MGDev fan-club member
Techhead||TH
/"/""\"\
\"\""/"/
\\:.V.://
Copy and paste Granger into your signature!

n00b pl0x

  • Posts: 2412
  • Turrets: +55/-168
ATB
« Reply #21 on: May 19, 2007, 03:04:27 am »
Quote from: "techhead"
A nice script I would like is:
If no spawns, builders, or OM/reac, then auto-lock the teams.
Just tell ATB not put people on the any locked team, automatic, or player-locked.


i would like it to only lock the team that has no spawns/builders. then everyone could join the other team and kill the stupid mara jumping around aimlessly on transit more easily
will sort out my sig, or I will get banned.

HOW DO I SORTED SIG?

[Kcorp]Noobius

  • Posts: 197
  • Turrets: +3/-4
ATB
« Reply #22 on: May 19, 2007, 05:29:06 am »
Quote from: "Lava Croft"
OK, I want it so that whenever someone says 'noob' or 'camper', they get killed. Go go coders!


people call me noob as in short for noobius, do you expect them to get kicked? and where the hell is satgnu? ><
It's actualy Noobius but i can't be bothered to change it ^^

Quick, name two famous female inventors. Too tough? Ok, just name one.

techhead

  • Posts: 1496
  • Turrets: +77/-73
    • My (Virtually) Infinite Source of Knowledge (and Trivia)
ATB
« Reply #23 on: May 19, 2007, 10:46:14 pm »
Sorry about my boolean ambiguity.

(NOT (Spawns OR builders OR power))
Is equivalent to:
((NOT spawns) AND (NOT builders) AND (NOT power))
I'm playing Tremulous on a Mac!
MGDev fan-club member
Techhead||TH
/"/""\"\
\"\""/"/
\\:.V.://
Copy and paste Granger into your signature!

mooseberry

  • Community Moderators
  • *
  • Posts: 4005
  • Turrets: +666/-325
ATB
« Reply #24 on: May 20, 2007, 03:34:15 am »
what if you call unamed players noobs?
Bucket: [You hear the distant howl of a coyote losing at Counterstrike.]

मैं हिन्दी का समर्थन

~Mooseberry.

PHREAK

  • Posts: 344
  • Turrets: +3/-2
ATB
« Reply #25 on: May 21, 2007, 06:07:25 am »
While this works in ET, I see some serious issues with implementing this into Trem.

Also, why reinvent the wheel?
For those who have been around long enough to remember the good ol' AKKA will also remember the team balance feature there.
Once the cp pops up that teams are unballanced, the smaller team gets free evos and lowered stage count untill the balance is restored. No force balance required.
This systems was not intrusive and worked great, amongs a lot of other R1CH features.

Ahh, the good old AKKA. It has been missed by many of us.

I'll take the R1Ch type balance over a complicated and intrusive system any day.
Yelling at team mates since 2006!

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
ATB
« Reply #26 on: May 21, 2007, 08:40:36 am »
The cheaper evos, etc would be a better way of implementing it. I did enjoy many of the old R1 features.

∧OMG ENTROPY∧

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
ATB
« Reply #27 on: May 21, 2007, 12:21:54 pm »
AKKA was a good server, so it worked.

IF you try this on some n00b server, people will teamvote kick the weaker players off to get free evo.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.