@Developers about logfile


(NightCrawler) #1

Hi,

I’m writing on a logfile parser for Enemy Territory.
Can u tell me what the fields in this line mean!? Don’t know all the fields!

ClientUserinfoChanged: 6 n\WolfPlayer \3\c\0\r\0\m\0000000\s\0000000\dn\dr\0\w\3\lw\3\sw\0\mu\0\ref\0

I know that n\WolfPlayer is the name, t\3 = teamid, c\0 = classid but what are all the other fields? Can you help me?

Second i don’t know wich bitmask you use to do the WeaponStatistics in the server log. OSP developers released a readme for that:

WeaponStats: <player_id> <round_#> <weaponmask> <dmg_given> <dmg_rcvd> <team_dmg> [<weapon1 info> .. <weaponN info>]


	 player_id: Player's entity ID

	   round_#: Total rounds played

	weaponmask: Weapons tracked for a player.  This is a bitmask:

		     1 - Knife
		     2 - Luger
		     4 - Colt
		     8 - MP40
		    16 - Thompson
		    32 - Sten
		    64 - Sniper Rifle
		   128 - CrewGun
		   256 - Panzerfaust
		   512 - Venom
		  1024 - Flamethrower
		  2048 - Tesla
		  4096 - Grenade
		  8192 - Mortar
		 16384 - Dynamite
		 32768 - Airstrike
		 65536 - Artillary
		131072 - Syringe

	dmg_given: Total damage inflicted by the player

	 dmg_rcvd: Total damage received by the player

	 team_dmg: Total damage inflicted on teammates

	<weaponN info>: This entry (a set of 5 values) is describes after the above
                        values in the WeaponStats line.  The number of these entries
			depends on the number of set bits in the weaponmask.  The
			ordering of entries is in low bit format, so a Knife's set
			of values will appear before a Venom's set of values.  ONLY
			the weapons specified in the bitmask will have an entry.
			The format shown below is the set of values associated with
			each weapon specified in the <weaponmask> entry:

		<hits> <attempts> <kills> <deaths> <headshots>

Same for voteflags! Which bitmask do you use for voteflags?

Thanks and many regards
NightCrawler


(NightCrawler) #2

up again!


(dartagnan) #3

r[rank]
m[medals] 7 numbers in order
best battle sense
best ingeneer
best medic
best field ops
light weapon
soldat
cover ops

s[skill] 7 number (same as before)

dn[deguisement name]
dr[deguisement rank]

for the other five values i think it’s for the weapon stat…


(Awol) #4

Most of what you ask can be found in this forum do a search for it.


(thegnat) #5

Can someone plz clear up the following values?

\w\3
\lw\3
\sw\0
\mu\0

Thanks!