News:

Come Chat with us live! Learn how HERE!

Main Menu

trembot is dead

Started by tjw, July 07, 2006, 08:07:37 PM

tjw

...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)


[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
url=http://userbars.org][/url]


tjw

Quote from: [EVIL]Unknownsweet!!! 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

Coooooool! Thanks a lot, TJW :)

Installed and running, works great! :D

Greudin

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 ;-)

Paradox

what do you mean by "Dead?"

∧OMG ENTROPY∧

Smokey

its not called trembot, so therefore trembot is dead. Its not called nothing :D

tjw

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

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

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

This seems to work so far... What do you think, TJW?

tjw

Quote from: ChojinThis seems to work so far... What do you think, TJW?

Thanks, I'll add it.

rasz_pl

is it allready on satgny? cos kickbans dont work there now :/

Chojin

@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

Quote from: ChojinThis 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

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

thats why i say decon/destroy messages should be yellow.

∧OMG ENTROPY∧

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...

tjw

Quote from: ChojinTEAMMATE 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

Good work TJW. Keep it up.

Paradox

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

Quote from: ParadoxOne 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

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

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

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

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

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

Shafe

nevermind.. silly oversight on my part.. all is well.. disregard that.

Slajer

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...