Digital Paint Discussion Board

Development => Bugs, Feature Requests, and Feedback => Topic started by: sk89q on October 26, 2008, 11:56:49 PM

Title: Stdlog troubles: PlayerRename doesn't get logged
Post by: sk89q on October 26, 2008, 11: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
Title: Re: Stdlog troubles: PlayerRename doesn't get logged
Post by: sk89q on October 27, 2008, 12:33:06 AM
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).
Title: Re: Stdlog troubles: PlayerRename doesn't get logged
Post by: KnacK on October 27, 2008, 06:10:33 AM
Good testing.

Looks like Jits broke something on the last build maybe?
Title: Re: Stdlog troubles: PlayerRename doesn't get logged
Post by: b00nlander on October 27, 2008, 01:55:27 PM
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
Title: Re: Stdlog troubles: PlayerRename doesn't get logged
Post by: sk89q on October 27, 2008, 03:37:52 PM
That was a completely different problem, if I recall.
Title: Re: Stdlog troubles: PlayerRename doesn't get logged
Post by: jitspoe on October 27, 2008, 06: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.
Title: Re: Stdlog troubles: PlayerRename doesn't get logged
Post by: sk89q on October 27, 2008, 06: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)"
Title: Re: Stdlog troubles: PlayerRename doesn't get logged
Post by: T3RR0R15T on October 31, 2008, 03:12:36 PM
And please replace the funname codes with the 'normal' names...
Title: Re: Stdlog troubles: PlayerRename doesn't get logged
Post by: jitspoe on November 04, 2008, 04: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.
Title: Re: Stdlog troubles: PlayerRename doesn't get logged
Post by: sk89q on November 04, 2008, 07:12:28 PM
The name still gets changed though.
Title: Re: Stdlog troubles: PlayerRename doesn't get logged
Post by: jitspoe on November 05, 2008, 02:06:36 PM
The name still gets changed though.
Should be fixed in build 24 (which in turn broke the logging).