Tremulous Forum

General => General Discussion => Topic started by: tjw on July 07, 2006, 08:07:37 pm

Title: trembot is dead
Post by: tjw 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)
Title: trembot is dead
Post by: The Chosen One on July 07, 2006, 08:09:00 pm
Good to know.
Title: trembot is dead
Post by: [EVIL]Unknown 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
Title: trembot is dead
Post by: tjw 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.
Title: trembot is dead
Post by: Chojin on July 08, 2006, 03:13:09 pm
Coooooool! Thanks a lot, TJW :)

Installed and running, works great! :D
Title: trembot is dead
Post by: Greudin 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 ;-)
Title: trembot is dead
Post by: Paradox on July 08, 2006, 05:31:18 pm
what do you mean by "Dead?"
Title: trembot is dead
Post by: Smokey on July 08, 2006, 06:22:15 pm
its not called trembot, so therefore trembot is dead. Its not called nothing :D
Title: trembot is dead
Post by: tjw 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/
Title: trembot is dead
Post by: Chojin 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
Title: trembot is dead
Post by: Paradox 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.
Title: trembot is dead
Post by: Chojin on July 10, 2006, 05:13:41 am
This (http://ipxserver.dyndns.org/downloads/tremulous-svn802-modified.patch) seems to work so far... What do you think, TJW?
Title: trembot is dead
Post by: tjw on July 10, 2006, 06:08:12 am
Quote from: "Chojin"
This (http://ipxserver.dyndns.org/downloads/tremulous-svn802-modified.patch) seems to work so far... What do you think, TJW?


Thanks, I'll add it.
Title: trembot is dead
Post by: rasz_pl on July 10, 2006, 11:42:59 am
is it allready on satgny? cos kickbans dont work there now :/
Title: trembot is dead
Post by: Chojin 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.
Title: trembot is dead
Post by: tjw on July 10, 2006, 03:08:32 pm
Quote from: "Chojin"
This (http://ipxserver.dyndns.org/downloads/tremulous-svn802-modified.patch) 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?
Title: trembot is dead
Post by: Dustin 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.
Title: trembot is dead
Post by: Paradox on July 10, 2006, 06:28:06 pm
thats why i say decon/destroy messages should be yellow.
Title: trembot is dead
Post by: Chojin 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...
Title: trembot is dead
Post by: tjw 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
Title: trembot is dead
Post by: Lava Croft on July 11, 2006, 02:37:12 pm
Good work TJW. Keep it up.
Title: trembot is dead
Post by: Paradox 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)
Title: trembot is dead
Post by: tjw 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).
Title: trembot is dead
Post by: Chojin 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.
Title: trembot is dead
Post by: tjw 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.
Title: trembot is dead
Post by: Paradox 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.
Title: trembot is dead
Post by: [EVIL]Unknown 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
Title: trembot is dead
Post by: Shafe 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
Title: trembot is dead
Post by: Shafe on July 13, 2006, 07:41:33 am
nevermind.. silly oversight on my part.. all is well.. disregard that.
Title: trembot is dead
Post by: Slajer 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...
Title: trembot is dead
Post by: Chojin on July 19, 2006, 12:33:58 am
Hmm.... I was just browsing the logs...

Decon: 8 1 0: X deconstructed overmind

How about adding:

Build: 8 1 0: X built overmind

This would make it easier to read the logs and if you add in-game messages it would safe people time writing "overmind is up" in teamchat. BTW, i suggest green as in-game message color ;) A future statistics parser would also benefit, i think.
Title: trembot is dead
Post by: vcxzet on July 19, 2006, 01:02:35 am
thanks it erased my valuable data, formated my harddisk and, burnt my cpu!:evil: :P

good work
Title: trembot is dead
Post by: tjw on July 19, 2006, 05:49:39 am
Quote from: "vcxzet"
thanks it erased my valuable data, formated my harddisk and, burnt my cpu!:evil: :P

good work


It also emailed me your PIN number FTW!
Title: trembot is dead
Post by: tjw on July 19, 2006, 05:54:18 am
The latest tremded.exe/tremded.x86 should prevent the client error:

Code: [Select]

CL_GetServerCommand: a reliable command was cycled out


when loading a new map on a server with lots of players.

See https://bugzilla.icculus.org/show_bug.cgi?id=2784
Title: trembot is dead
Post by: Chojin on July 20, 2006, 06:20:50 pm
Installed it this morning, but the fix doesn't seem to work: 2 guys told me, that now they get that error on every map change instead of on some map changes.
Title: trembot is dead
Post by: tjw on July 20, 2006, 06:52:12 pm
Quote from: "Chojin"
Installed it this morning, but the fix doesn't seem to work: 2 guys told me, that now they get that error on every map change instead of on some map changes.


Are you sure you replaced the tremded.exe or tremded.x86 file?  The fix was not in the game.qvm.

It certainly shouldn't make the problem any worse :)
Title: trembot is dead
Post by: Paradox on July 20, 2006, 09:09:03 pm
I still get it, but it is much less, and only occasionally when a map is nexmaped.
Title: trembot is dead
Post by: tjw on July 20, 2006, 09:20:52 pm
Quote from: "Paradox"
I still get it, but it is much less, and only occasionally when a map is nexmaped.


And you're absolutely sure you're running the server with the latest tremded.exe?  You really shouldn't get this error anymore if you are.  Maybe try re-downloading?   The md5 hash of the latest tremded.exe (the 2006-07-18 one) is 766c6afd2ec8d6eb81acbb878d4d815f if you have any way to verify it.
Title: trembot is dead
Post by: rasz_pl on July 20, 2006, 09:40:25 pm
Quote from: "tjw"
Quote from: "Paradox"
I still get it, but it is much less, and only occasionally when a map is nexmaped.


And you're absolutely sure you're running the server with the latest tremded.exe?  You really shouldn't get this error anymore if you are.  Maybe try re-downloading?   The md5 hash of the latest tremded.exe (the 2006-07-18 one) is 766c6afd2ec8d6eb81acbb878d4d815f if you have any way to verify it.


napkin has the same problem, few ppl get this error EVERY single map now, newest tremded build
Title: trembot is dead
Post by: Chojin on July 20, 2006, 10:32:22 pm
Quote
And you're absolutely sure you're running the server with the latest tremded.exe? You really shouldn't get this error anymore if you are. Maybe try re-downloading? The md5 hash of the latest tremded.exe (the 2006-07-18 one) is 766c6afd2ec8d6eb81acbb878d4d815f if you have any way to verify it.


Well, to be precise: no, I am not running the binary you compiled. I did a fresh download of the current source revision 802 from SVN, let your latest patch run over it, then patched it with my colored log-messages and then compiled it. But I double checked, that I have the fix
Code: [Select]
if( client->state < CS_PRIMED )
  return;
actually is in src/server/sv_main.c.

I myself have never seen the error in my client. Does the client offer a choice to reconnect?
Title: trembot is dead
Post by: tjw on July 21, 2006, 02:19:58 am
Quote from: "Chojin"

Well, to be precise: no, I am not running the binary you compiled. I did a fresh download of the current source revision 802 from SVN, let your latest patch run over it, then patched it with my colored log-messages and then compiled it. But I double checked, that I have the fix
Code: [Select]
if( client->state < CS_PRIMED )
  return;
actually is in src/server/sv_main.c.


And you're absolutely sure you're copying the tremded.x86 or tremulous.x86.exe that gets compiled to the proper place (not just the game.qvm file)?  

Sorry to be so daft, but this seems like such a straight forward fix and fixes the problem in my testing so I'm having a hard time believing it's not fixed.

Quote from: "Chojin"


I myself have never seen the error in my client. Does the client offer a choice to reconnect?


They do not get a recconnect button just "OK" on the error dialog and then they have to connect again using the Play menu (or by typing /reconnect)
Title: trembot is dead
Post by: Chojin on July 21, 2006, 02:52:45 am
I am pretty sure, I double checked date and size on both files. Anyways, to be absolutely sure I'm going to download your binary, try that one and report here then.

Quote
Sorry to be so daft

No need.
Title: trembot is dead
Post by: DIGI_Byte on July 21, 2006, 04:02:50 am
i recently played starwars battle front and the server had auto kick for teamkill i placed a mine that took out 4 enemies and one team mate and i got kicked automatically that feature should be removed from every game does this game have that feature in the kicking menu?? plz e-me at digimbyte@hotmail.com as it is a very touchy subject for me   :evil:    


 :cry:
Title: trembot is dead
Post by: Glunnator on July 21, 2006, 10:07:56 pm
Quote from: "tjw"
Code: [Select]

CL_GetServerCommand: a reliable command was cycled out


OH NOSE!!! (or was that 'oh noes'?)
Take it away! take it AWAY!! it's that nasty error message i get on my mac everytime i'm on Napkin's (Chojin's) server when it changes map! Take it AWAAAAAY!!! :eek:  :eek:  :eek: That darn error keeps ruining my fun!
Mind you, my ping  is starting to play up now too...I HATE THAT ERROR MESSAGE! My entire Mac does, too! PLEEEASE fix it for mac!

...please? :(
Title: trembot is dead
Post by: Chojin on July 22, 2006, 01:32:36 am
Haven't seen many "entered the game" followed by an immediate "disconnected" since the fix. Only Glunnator and Rougebrik was his name i think. Maybe he was using a Mac, too?
Title: trembot is dead
Post by: Paradox on July 22, 2006, 04:58:18 am
yep, latest.
Title: trembot is dead
Post by: Glunnator on July 22, 2006, 10:45:41 am
*sniff* My poor Mac and me... :cry:
Title: trembot is dead
Post by: tjw on July 28, 2006, 09:46:43 pm
http://tjw.org/tremulous/

I put up new versions of tremded.exe and tremded.x86.  I think these should do a better job at preventing the "reliable command cycled out" error on larger servers.  Let me know.
Title: trembot is dead
Post by: tjw on July 28, 2006, 10:47:12 pm
Quote from: "tjw"
http://tjw.org/tremulous/

I put up new versions of tremded.exe and tremded.x86.  I think these should do a better job at preventing the "reliable command cycled out" error on larger servers.  Let me know.


Nevermind, that change caused other probs.  Reverted.
Title: trembot is dead
Post by: Shaydee on July 29, 2006, 02:52:41 am
thanks a lot, tjw. :)
Title: trembot is dead
Post by: Chojin on July 29, 2006, 04:06:43 pm
Code: [Select]
-#define LEVEL3_POUNCE_RANGE         72.0f
+#define LEVEL3_POUNCE_RANGE         96.0f


?? or is it too early to ask?
Title: trembot is dead
Post by: Thorn on August 01, 2006, 03:03:23 am
Code: [Select]
********************
ERROR: G_ParseSpawnVars: found  when expecting {
********************
----- Server Shutdown (Server crashed: G_ParseSpawnVars: found  when expecting {) -----
Title: trembot is dead
Post by: tjw on August 01, 2006, 05:14:20 am
Quote from: "Thorn"
Code: [Select]
********************
ERROR: G_ParseSpawnVars: found  when expecting {
********************
----- Server Shutdown (Server crashed: G_ParseSpawnVars: found  when expecting {) -----


I think this is the error you get when tremded is not finding the correct game.qvm file.  Review the install instructions at:
http://tjw.org/tremulous/INSTALL.txt
If you put the game.qvm file in the main base/vm dir, it gets ignored.
Title: trembot is dead
Post by: BunnyFooFoo on August 02, 2006, 07:23:00 pm
I get a 404 error on the /tremulous directory on your server, TJW.  Anyone else?
Title: trembot is dead
Post by: Chojin on August 03, 2006, 02:30:33 am
Yes, this is the correct link: http://tjw.org/tremulous/SETUP.txt