Author Topic: Stdlog troubles: PlayerRename doesn't get logged  (Read 3212 times)

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Stdlog troubles: PlayerRename doesn't get logged
« on: October 26, 2008, 09:56:49 PM »
I think I've mentioned this to jit before.

On some setups, PlayerRename doesn't get logged to the Stdlog at all.

Code: [Select]
                PlayerConnect   name1   Red     45.5    127.0.0.1:6476
                Player  name1   Red     45.5
                PlayerLeft      name2         78.1

A name change occurred in there, but it's not logged.

I've always had this problem on my current setup on my server, and I'm now having it locally on my Windows box too.

The specs for these two environments are:
64-bit FreeBSD on dual dual-core 64-bit AMDs, build 21
32-bit Windows Vista on a quad-core 64-bit Intel, build 24

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Stdlog troubles: PlayerRename doesn't get logged
« Reply #1 on: October 26, 2008, 10:33:06 PM »
I downloaded the vanilla builds of 16, 18, 19, 20, 21, 23, 24 on my Windows system and tested the servers. Name changes were no longer noted in either the log or stdlog starting in build 24.

Not sure what the situation with the FreeBSD server is (that's build 21).

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: Stdlog troubles: PlayerRename doesn't get logged
« Reply #2 on: October 27, 2008, 04:10:33 AM »
Good testing.

Looks like Jits broke something on the last build maybe?

b00nlander

  • Autococker
  • Posts: 784
Re: Stdlog troubles: PlayerRename doesn't get logged
« Reply #3 on: October 27, 2008, 11:55:27 AM »
yeah, he "fixed" it ;)
didn't bain have some problem with PlayerRename in his stats parser years back? Might wanna search the forum for his thread

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Stdlog troubles: PlayerRename doesn't get logged
« Reply #4 on: October 27, 2008, 01:37:52 PM »
That was a completely different problem, if I recall.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Stdlog troubles: PlayerRename doesn't get logged
« Reply #5 on: October 27, 2008, 04:04:47 PM »
Odd - I fixed another issue with player renames in build 24, but I must have broken the logging somehow.  I'll look into it.

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Stdlog troubles: PlayerRename doesn't get logged
« Reply #6 on: October 27, 2008, 04:28:38 PM »
I was testing with build 23, and the name changes seem to stop getting logged after X number of changes. However, when I reconnect, it works again ...for X times.

I've tried it with sv_login as 1 and as 0.

Code: [Select]
[15:26:02] abxasd connected [127.0.0.1:7675]
[15:26:05] abxasd entered the game (build 24) [127.0.0.1:7675]
[15:26:06] *ACEBot_3 (Spyder SE) eliminated *ACEBot_1 (PGP).
[15:26:08] abxasd changed name to abxasdz,,,.
[15:26:10] abxasdz,,, changed name to abxasdz,,,..
[15:26:11] abxasdz,,,. changed name to abxasdz,,,...
[15:26:14] *ACEBot_3 (Spyder SE) eliminated *ACEBot_2 (Spyder SE).
[15:26:14] Red team wins the round!
Round started...
sv_login 0
[15:26:30] abxasdz,,,.....aa disconnected.
[15:26:32] 127.0.0.1:7675:reconnect
[15:26:32] abxasdz,,,.....aa connected [127.0.0.1:7675]
[15:26:32] *ACEBot_3 (PGP) eliminated *ACEBot_1 (Spyder SE).
[15:26:34] abxasdz,,,.....aa entered the game (build 24) [127.0.0.1:7675]
[15:26:36] abxasdz,,,.....aa changed name to z.
[15:26:37] z changed name to d.
[15:26:39] d changed name to l.
version
[15:26:53] "version" is "2.00 x86 May 27 2008 Win32 RELEASE (23)"

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: Stdlog troubles: PlayerRename doesn't get logged
« Reply #7 on: October 31, 2008, 01:12:36 PM »
And please replace the funname codes with the 'normal' names...

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Stdlog troubles: PlayerRename doesn't get logged
« Reply #8 on: November 04, 2008, 03:15:02 PM »
sk89q: Name changes are limited to 3 by default (so the login server doesn't get bombarded by people doing weird things with names/binds).

T3RR0R15T: funnames should be stripped in the console.  The stdlog stuff isn't really there to be human-readable, and some of the log parsers actually keep track of the name colors.

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Stdlog troubles: PlayerRename doesn't get logged
« Reply #9 on: November 04, 2008, 06:12:28 PM »
The name still gets changed though.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Stdlog troubles: PlayerRename doesn't get logged
« Reply #10 on: November 05, 2008, 01:06:36 PM »
The name still gets changed though.
Should be fixed in build 24 (which in turn broke the logging).