Page 1 of 1

[MP][LOGGER] Log player's nicknames

Posted: Mon Sep 05, 2016 7:49 pm
by yfcz
Hello,

it would be nice if player's nicknames would be logged when they are connected to game.

For an example this line:

Code: Select all

235.034 Info ServerSynchronizer.cpp:504: nextHeartbeatSequenceNumber(5438) adding peer(4)
would look like this:

Code: Select all

235.034 Info ServerSynchronizer.cpp:504: nextHeartbeatSequenceNumber(5438) adding peer(4)(FluffyNickname)
or even better — with IP address:

Code: Select all

235.034 Info ServerSynchronizer.cpp:504: nextHeartbeatSequenceNumber(5438) adding peer(4)(192.168.0.1:12345)(FluffyNickname)
At current state I find it nearly impossible to determine player's nickname in order to e.g. ban them if they don't use chat. Even if they use chat it's quite hard task.