r4385 - in trunk: Docs data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Sep 6 15:33:14 EDT 2008
Author: div0
Date: 2008-09-06 15:33:14 -0400 (Sat, 06 Sep 2008)
New Revision: 4385
Modified:
trunk/Docs/eventlog.txt
trunk/data/qcsrc/server/cl_client.qc
Log:
also add the IP address
Modified: trunk/Docs/eventlog.txt
===================================================================
--- trunk/Docs/eventlog.txt 2008-09-06 19:24:06 UTC (rev 4384)
+++ trunk/Docs/eventlog.txt 2008-09-06 19:33:14 UTC (rev 4385)
@@ -23,8 +23,8 @@
a no_ prefix if the cvar is 0)
:gameinfo:end
- :join:<ID>:player:<slot>:<nickname>
- :join:<ID>:bot:<slot>:<nickname>
+ :join:<ID>:<slot>:<ip>:<nickname>
+ :join:<ID>:<slot>:bot:<nickname>
:name:<ID>:<nickname>
:part:<ID>
:team:<ID>:<team>
Modified: trunk/data/qcsrc/server/cl_client.qc
===================================================================
--- trunk/data/qcsrc/server/cl_client.qc 2008-09-06 19:24:06 UTC (rev 4384)
+++ trunk/data/qcsrc/server/cl_client.qc 2008-09-06 19:33:14 UTC (rev 4385)
@@ -1093,10 +1093,9 @@
if(cvar("sv_eventlog"))
{
if(clienttype(self) == CLIENTTYPE_REAL)
- s = "player";
+ GameLogEcho(strcat(":join:", ftos(self.playerid), ":", ftos(num_for_edict(self)), ":", self.netaddress, ":", self.netname));
else
- s = "bot";
- GameLogEcho(strcat(":join:", ftos(self.playerid), ":", s, ":", ftos(num_for_edict(self)), ":", self.netname));
+ GameLogEcho(strcat(":join:", ftos(self.playerid), ":", ftos(num_for_edict(self)), ":bot:", self.netname));
s = strcat(":team:", ftos(self.playerid), ":");
s = strcat(s, ftos(self.team));
GameLogEcho(s);
More information about the nexuiz-commits
mailing list