Wednesday, 6 July 2016

Call of Duty Log File Deciphered

Recently I have been building a new style of Rcon for Call of Duty servers. One the required things is to read the log file to determine who killed who. Searching the net I was unable to find an explanation of the log file meanings, so bit by bit I have figured it out and wanted to share my knowledge.

Most lines are separated into parts using a semicolon ";". The only exception to this is the InitGame line. These are separated with a backslash "\". The first part of each line consists of a timestamp and a log code to determine what is happening. Lets look at each of the codes. Anything underlined, I am unsure of.


1467788346 ------------------------------------------------------------
This line I believe is to make the log file more readable. It comes at the beginning and end of each game.

1467788346 InitGame: \com_maxclients\19\g_gametype\... etc etc
This line contains all the details of the server for this game. It comes up twice. The second time showing one extra part "g_logTimeStampInSeconds\1". To be honest I do not know why its twice.

1467800872 ExitLevel: executed
1467800873 ShutdownGame:

These are when the game ends.

1467790500 J;49289532;5;smizajb
1467790501 Q;16065554;8;CuBoy
This is when someone Joins or Quits the server.
[timestamp][code][Player Guid][Server Slot][Name]

1467790518 K;58546612;3;axis;44 Mag;130326688;4;allies;BoW- b0yb0y07;kiparis_grip_extclip_mp;30;MOD_RIFLE_BULLET;torso_upper
This is a kill
[timestamp][Code][Dead Players Guid][Dead Players Server Slot[Dead Players Team][Dead Players Name][Attacker Guid][Attacker Server Slot][Attacker Team][Attacker Name][Gun Used][Damage][The thing that killed the player][Where that thing hit]

1467790520 D;69633548;1;allies;clarkymagpie;73534678;7;axis;WSPh3A;spectre_rf_mp;24;MOD_PISTOL_BULLET;torso_lower
This is damage, could be a death as well, but does not count towards any players kills. For example, this is used when a player falls off the map.
[timestamp][Code][Damaged Player Guid][Damaged Players Server Slot][Damaged Players Team][Damaged Players Name][Attacker Guid][Attacker Server Slot][Attacker Team][Attacker Name][Gun Used][Damage][The thing that damaged the player][Where that thing hit]

1467790537 Weapon;105885919;10;iFinishInside;spectre_rf_mp
This one I am unsure of. I think it's when the player picks up a weapon or reloads their weapon.
[timestamp][code][Player Guid][Player Slot][Player Name][Weapon Picked Up or Reloaded] 
My guess being picked up a weapon is this line
1467790705 Weapon;191086122;8;The Dan-kest;scavenger_item_mp 
By the looks of it, the player picked up some ammo using scavenger perk. My guess being reloading is these lines.
1467785832 Weapon;156430714;2;SniperSkillz;famas_dualclip_mp
1467785833 Weapon;156430714;2;SniperSkillz;famas_dualclip_mp
1467785834 Weapon;156430714;2;SniperSkillz;famas_dualclip_mp
1467785834 Weapon;156430714;2;SniperSkillz;famas_dualclip_mp
These are all done in a row in my log file. There's like 20 of them. I would assume there couldn't be that much ammo laying on the ground, so my guess is this player is playing with their ammo clip. Starting the reload process and cancelling it.

1467792113 say;64153711;1;FC.BellSigh; gg
1467800021 sayteam;59516882;3;r$k_nz; sry
This is when someone says something.
[timestamp][Code][Player Guid][Player Slot][Player Name][What They Said]

1467800169 VD;266;;7473421;5;axis;Special Forces P;commando_extclip_silencer_mp;30;MOD_RIFLE_BULLET;none
This one I haven't figure out just yet. If you know it please comment below.

So that's it guys and girls. I hope this helps. If you know of any things I have gotten wrong then please comment below and I will update them.

No comments:

Post a Comment