Author Topic: trembot is dead  (Read 18787 times)

tjw

  • Posts: 210
  • Turrets: +10/-0
trembot is dead
« on: July 07, 2006, 08:07:37 pm »
...long live trembot.

As some know, I made a server modification for administration called "trembot".  This name is no longer used.  The cvars have been renamed g_admin* instead of g_trembot*.

I put up a new build with some new features and hopefully less bugs:

http://tjw.org/tremulous/

some new features:

1) name protection (g_adminNameProtect)
Running !setlevel on anyone will lock their current name to their cl_guid so nobody else can use it.   Also, players aren't allowed to change their name to the same as any other currently connected player.

2) name spam protection (g_maxNameChanges)
Limit the number of times a player can change his name during any match (defualt is 5)

3) name logging
name, cl_guid, and IP are all logged in the server log any time a player connects, disconnects, or changes his name.  A new command "!namelog" was added to show names and IP addresses for recentl players.   The !ban command uses this log so !ban can accept name or IP of a player who has already disconnected.

4) vote kicking improved
kicks are handled by clientNum so griefers no longer get protection by changing their name when a vote kick is called on them.  a vote kick carries a 2 minute temporary ban if g_admin is enabled.

5) added team-only deconstruct / destroyed messages
helps identify base deconners (stolen from R1CH)

The Chosen One

  • Posts: 10
  • Turrets: +0/-0
trembot is dead
« Reply #1 on: July 07, 2006, 08:09:00 pm »
Good to know.
img]http://img336.imageshack.us/img336/9859/chosen0ur.png[/img]

[EVIL]Unknown

  • Posts: 263
  • Turrets: +1/-1
    • http://www.evil-clan.com
trembot is dead
« Reply #2 on: July 08, 2006, 02:05:18 am »
sweet!!! gotta get shafe to put it on beergarden..

also can the namechange thing not apply to admins as i like to change my name from time to time..

yes im an alias whore
url=http://userbars.org][/url]


tjw

  • Posts: 210
  • Turrets: +10/-0
trembot is dead
« Reply #3 on: July 08, 2006, 03:12:27 am »
Quote from: "[EVIL
Unknown"]sweet!!! gotta get shafe to put it on beergarden..

also can the namechange thing not apply to admins as i like to change my name from time to time..

yes im an alias whore


As an admin, you can change your name at any time, you just can't change it to the name used by another admin or a name used by another player currently playing.

If you decide you want to start playing regularly with a new name, run !setlevel on yourself.  Then your current name will be locked to your cl_guid so nobody can steal it on you.

Chojin

  • Posts: 96
  • Turrets: +0/-0
    • http://wraths.dyndns.org
trembot is dead
« Reply #4 on: July 08, 2006, 03:13:09 pm »
Coooooool! Thanks a lot, TJW :)

Installed and running, works great! :D

Greudin

  • Posts: 131
  • Turrets: +1/-1
    • http://tremulous.bricosoft.com
trembot is dead
« Reply #5 on: July 08, 2006, 04:55:04 pm »
Thank you, merci, tjw for this tool, it's handy. Anyone got a script like pisg or  qstat for parsing ~/.tremulous/base/admin.log ? It's for www publishing purpose ;-)
url=http://tremulous.bricosoft.com][/url]

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
trembot is dead
« Reply #6 on: July 08, 2006, 05:31:18 pm »
what do you mean by "Dead?"

∧OMG ENTROPY∧

Smokey

  • Posts: 793
  • Turrets: +23/-58
    • Zilla Clan
trembot is dead
« Reply #7 on: July 08, 2006, 06:22:15 pm »
its not called trembot, so therefore trembot is dead. Its not called nothing :D

tjw

  • Posts: 210
  • Turrets: +10/-0
trembot is dead
« Reply #8 on: July 09, 2006, 08:48:47 am »
I've updated game.qvm with a minor fix: a player could change his name between connecting and entering the game and the second name would not show up in !namelog (this name could not be used for !ban either).

http://tjw.org/tremulous/

Chojin

  • Posts: 96
  • Turrets: +0/-0
    • http://wraths.dyndns.org
trembot is dead
« Reply #9 on: July 09, 2006, 09:51:56 am »
I know, probably not the right place to ask, but could you also make the team-only deconstruct/destroyed messages show up in the console?

Right now I have to spectate a player of a team to see those messages and it would be nice to follow those deconstructions/destructions in the console, too.

Best regards,
Marc

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
trembot is dead
« Reply #10 on: July 09, 2006, 08:05:02 pm »
One last request, to make it easier to find decon notices/destroy notices, could you make the destroyed text yellow or purple? Teamkills are red.

Finally one last request, a feature that is !adminlist. This feature would list all admins like !showbans, and it would allow you to deadmin players, even wehn they arent online.

∧OMG ENTROPY∧

Chojin

  • Posts: 96
  • Turrets: +0/-0
    • http://wraths.dyndns.org
trembot is dead
« Reply #11 on: July 10, 2006, 05:13:41 am »
This seems to work so far... What do you think, TJW?

tjw

  • Posts: 210
  • Turrets: +10/-0
trembot is dead
« Reply #12 on: July 10, 2006, 06:08:12 am »
Quote from: "Chojin"
This seems to work so far... What do you think, TJW?


Thanks, I'll add it.

rasz_pl

  • Guest
trembot is dead
« Reply #13 on: July 10, 2006, 11:42:59 am »
is it allready on satgny? cos kickbans dont work there now :/

Chojin

  • Posts: 96
  • Turrets: +0/-0
    • http://wraths.dyndns.org
trembot is dead
« Reply #14 on: July 10, 2006, 11:59:54 am »
@TJW: Cool :)

@rasz_pl: It's running on Alien's Wrath and !kick and !ban and kick-votes do work. So it should be a different problem on SatGNU.

tjw

  • Posts: 210
  • Turrets: +10/-0
trembot is dead
« Reply #15 on: July 10, 2006, 03:08:32 pm »
Quote from: "Chojin"
This seems to work so far... What do you think, TJW?


Instead of the message:

tjw deconstructed an Overmind

Perhaps it should be like the tk messages:

Overmind deconstructed by TEAMMATE tjw

The "teammate" part is redundant of course, but it would make these types of messages consistent.  Opinions?

Dustin

  • Posts: 111
  • Turrets: +0/-0
    • http://alaric.ath.cx/~dustin/cms/index.php
trembot is dead
« Reply #16 on: July 10, 2006, 03:21:10 pm »
People who just scan messages may just see TEAMMATE in red and pass it off as another TK. "Deconstructed" should be hilighted there, in my opinion. Draws attention to it.

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
trembot is dead
« Reply #17 on: July 10, 2006, 06:28:06 pm »
thats why i say decon/destroy messages should be yellow.

∧OMG ENTROPY∧

Chojin

  • Posts: 96
  • Turrets: +0/-0
    • http://wraths.dyndns.org
trembot is dead
« Reply #18 on: July 10, 2006, 06:54:47 pm »
TEAMMATE and grammar (deconstructor's name at the end of the sentence) is good as long it's not red.

Another thing... So far I have made the log show this (to make it a little consistent with the Kill-messages):
Decon: N: Napkin deconstructed an Overmind.

N is the slot number, because sometimes there happen to be more than one player with the name Unnamed Player. Admins that don't watch the log closly might not be sure which one to kick. Should we maybe also show that slot-number in the in-game team-messages? I know, it'll probably look ugly...

tjw

  • Posts: 210
  • Turrets: +10/-0
trembot is dead
« Reply #19 on: July 10, 2006, 09:15:19 pm »
Quote from: "Chojin"
TEAMMATE and grammar (deconstructor's name at the end of the sentence) is good as long it's not red.

Another thing... So far I have made the log show this (to make it a little consistent with the Kill-messages):
Decon: N: Napkin deconstructed an Overmind.

N is the slot number, because sometimes there happen to be more than one player with the name Unnamed Player. Admins that don't watch the log closly might not be sure which one to kick. Should we maybe also show that slot-number in the in-game team-messages? I know, it'll probably look ugly...


I'm changing the log message to:

Decon: N I 0: somebody deconstructed something
Decon: N I M: somebody destroyed something by MOD_SOMETHING

N - clientNum
I - buildable modelIndex
M - MeansOfDeath (0 for granger/ckit)

This makes it more like the "Kill: " log messages and adds more detail in case someone ever makes a statistics program for Trem.  BTW,
Kill is:

Kill: A V M: somebody killed somebody by MOD_SOMETHING

A - attacker clientNum
V - victim clientNum
M - MeansOfDeath

Lava Croft

  • Guest
trembot is dead
« Reply #20 on: July 11, 2006, 02:37:12 pm »
Good work TJW. Keep it up.

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
trembot is dead
« Reply #21 on: July 11, 2006, 05:18:46 pm »
While your on that, can we get the ingame messages in yellow?

Also, could we get some of the tyrrany commands from shrubbot? I mean like gib, slap, burn, warn, lol (just plain funny), pip, pop, throw, disorient/orient, resetcred (like resetxp, but clears their credits)

∧OMG ENTROPY∧

tjw

  • Posts: 210
  • Turrets: +10/-0
trembot is dead
« Reply #22 on: July 12, 2006, 05:33:56 pm »
Quote from: "Paradox"
One last request, to make it easier to find decon notices/destroy notices, could you make the destroyed text yellow or purple? Teamkills are red.

Finally one last request, a feature that is !adminlist. This feature would list all admins like !showbans, and it would allow you to deadmin players, even wehn they arent online.


http://tjw.org/tremulous/

New version has a !listadmins command that works like !showbans.  Unlike !showbans, you can  optionally give !listadmins a search string to show only admins who have the search string in their name (e.g. '!listadmins killaz').

The !setlevel command also has the added functionality of searching existing admins as well as connected players.  For example, you could do '!setlevel tjw 0' to remove tjw as an admin even if I'm not connected.  You can also use the "admin number" shown in the output of !listadmins instead of name for this (or slot number if the player is connected).

Chojin

  • Posts: 96
  • Turrets: +0/-0
    • http://wraths.dyndns.org
trembot is dead
« Reply #23 on: July 12, 2006, 05:57:36 pm »
Cool :)

On the other hand you didn't like the colored messages in console with ttycon_ansicolor 1, did you? They make it pretty easy to spot them.

tjw

  • Posts: 210
  • Turrets: +10/-0
trembot is dead
« Reply #24 on: July 12, 2006, 07:40:43 pm »
Quote from: "Chojin"

On the other hand you didn't like the colored messages in console with ttycon_ansicolor 1, did you? They make it pretty easy to spot them.


I just tried to make them as close to the "Kill:" log entries as possible for consistency's sake.

I have this "Decon:" log entry printing for every buildable destroyed by a client (friendly or otherwise) in hopes that someone will write a log analyzer stat program for trem.  So having them all a different color probably wouldn't do you much good.

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
trembot is dead
« Reply #25 on: July 12, 2006, 08:06:20 pm »
A few other admins and i are working on a log analyzer, but this would also be like rcon unlimited, letting you manage your server, without the load of running the came, similar to sittting in front of a console.

∧OMG ENTROPY∧

[EVIL]Unknown

  • Posts: 263
  • Turrets: +1/-1
    • http://www.evil-clan.com
trembot is dead
« Reply #26 on: July 12, 2006, 10:21:53 pm »
paradox i love u.... now i dont have to worry about not being able to admin when im on my shitty dial up
url=http://userbars.org][/url]


Shafe

  • Posts: 75
  • Turrets: +0/-0
trembot is dead
« Reply #27 on: July 13, 2006, 07:33:55 am »
I tried to install the newest @ http://www.tjw.org/tremulous/
and here's the error I'm getting.. any ideas?



readconfig: loaded 6 levels, 6 admins, 19 bans, 0 commands
********************
ERROR: G_ParseSpawnVars: found  when expecting {
********************
----- Server Shutdown (Server crashed: G_ParseSpawnVars: found  when expecting {) -----
Resolving master.tremulous.net
URL=http://www.beer-garden.org/bg2/][/URL]

Shafe

  • Posts: 75
  • Turrets: +0/-0
trembot is dead
« Reply #28 on: July 13, 2006, 07:41:33 am »
nevermind.. silly oversight on my part.. all is well.. disregard that.
URL=http://www.beer-garden.org/bg2/][/URL]

Slajer

  • Posts: 48
  • Turrets: +0/-0
trembot is dead
« Reply #29 on: July 13, 2006, 10:28:41 am »
Wouldn't hurt to say how did you fix that :)

Why not just use game.qvm in tremulous/tjw and run it as a mod instead of base ?

I'm not sure how to make it work otherwise.
I don't really know that much about linux but if i install tremulous under:
/home/slajer/tremulous/ then what does the ".tremulous" thing mean? :)


Edit: ok finally found out about it..dunno why it didn't work before...