tf2_line_parser 0.6.5 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/tf2_line_parser/events/carry_object.rb +11 -0
- data/lib/tf2_line_parser/events/disconnect.rb +1 -1
- data/lib/tf2_line_parser/events/drop_object.rb +11 -0
- data/lib/tf2_line_parser/events/event.rb +2 -2
- data/lib/tf2_line_parser/events/game_paused.rb +11 -0
- data/lib/tf2_line_parser/events/game_unpaused.rb +11 -0
- data/lib/tf2_line_parser/events/headshot_damage.rb +11 -3
- data/lib/tf2_line_parser/events/intermission_win_limit.rb +1 -1
- data/lib/tf2_line_parser/events/killed_object.rb +5 -4
- data/lib/tf2_line_parser/events/loading_map.rb +22 -0
- data/lib/tf2_line_parser/events/log_file_closed.rb +19 -0
- data/lib/tf2_line_parser/events/log_file_started.rb +24 -0
- data/lib/tf2_line_parser/events/map_started.rb +23 -0
- data/lib/tf2_line_parser/events/match_pause.rb +22 -0
- data/lib/tf2_line_parser/events/match_unpause.rb +22 -0
- data/lib/tf2_line_parser/events/medigun_pickup.rb +26 -0
- data/lib/tf2_line_parser/events/meta_data.rb +36 -0
- data/lib/tf2_line_parser/events/name_change.rb +25 -0
- data/lib/tf2_line_parser/events/object_detonated.rb +11 -0
- data/lib/tf2_line_parser/events/object_event.rb +24 -0
- data/lib/tf2_line_parser/events/pause_length.rb +19 -0
- data/lib/tf2_line_parser/events/round_overtime.rb +11 -0
- data/lib/tf2_line_parser/events/server_cvar.rb +23 -0
- data/lib/tf2_line_parser/events/steam_userid_validated.rb +22 -0
- data/lib/tf2_line_parser/line.rb +19 -1
- data/lib/tf2_line_parser/version.rb +1 -1
- data/lib/tf2_line_parser.rb +1 -0
- data/spec/fixtures/logs/pause_chat.log +12 -0
- data/spec/fixtures/logs/supstats2_3.log +879 -0
- data/spec/lib/tf2_line_parser/parser_spec.rb +271 -3
- metadata +25 -2
|
@@ -757,7 +757,7 @@ module TF2LineParser
|
|
|
757
757
|
objectowner_uid = '24'
|
|
758
758
|
objectowner_steam_id = '[U:1:161147993]'
|
|
759
759
|
objectowner_team = 'Blue'
|
|
760
|
-
expect(Events::KilledObject).to receive(:new).with(anything, player_name, player_uid, player_steam_id, player_team, object, weapon, objectowner_name, objectowner_uid, objectowner_steam_id, objectowner_team)
|
|
760
|
+
expect(Events::KilledObject).to receive(:new).with(anything, player_name, player_uid, player_steam_id, player_team, object, weapon, objectowner_name, objectowner_uid, objectowner_steam_id, objectowner_team, nil)
|
|
761
761
|
parse(line)
|
|
762
762
|
end
|
|
763
763
|
|
|
@@ -779,10 +779,225 @@ module TF2LineParser
|
|
|
779
779
|
parse(line)
|
|
780
780
|
end
|
|
781
781
|
|
|
782
|
+
it 'recognizes assisted killed object' do
|
|
783
|
+
result = parse('L 06/15/2026 - 19:56:47: "Jib<3><[U:1:111]><Red>" triggered "killedobject" (object "OBJ_SENTRYGUN") (objectowner "Owner<22><[U:1:222]><Blue>") (assist "1") (assister_position "-2268 2938 -255") (attacker_position "-2263 2869 -255")')
|
|
784
|
+
expect(result).to be_a(Events::KilledObject)
|
|
785
|
+
expect(result.player.name).to eq('Jib')
|
|
786
|
+
expect(result.object).to eq('OBJ_SENTRYGUN')
|
|
787
|
+
expect(result.objectowner.steam_id).to eq('[U:1:222]')
|
|
788
|
+
expect(result.weapon).to be_nil
|
|
789
|
+
expect(result.assist).to be(true)
|
|
790
|
+
end
|
|
791
|
+
|
|
792
|
+
it 'does not mark killed object by the killer as assisted' do
|
|
793
|
+
result = parse('L 06/15/2026 - 19:56:47: "Jib<3><[U:1:111]><Red>" triggered "killedobject" (object "OBJ_SENTRYGUN") (weapon "tf_projectile_rocket") (objectowner "Owner<22><[U:1:222]><Blue>") (attacker_position "0 0 0")')
|
|
794
|
+
expect(result.weapon).to eq('tf_projectile_rocket')
|
|
795
|
+
expect(result.assist).to be(false)
|
|
796
|
+
end
|
|
797
|
+
|
|
798
|
+
it 'recognizes team intermission win limit without a reason' do
|
|
799
|
+
result = parse('L 06/15/2026 - 22:07:11: Team "RED" triggered "Intermission_Win_Limit"')
|
|
800
|
+
expect(result).to be_a(Events::IntermissionWinLimit)
|
|
801
|
+
expect(result.team).to eq('RED')
|
|
802
|
+
expect(result.reason).to be_nil
|
|
803
|
+
end
|
|
804
|
+
|
|
805
|
+
it 'recognizes disconnects whose reason continues on the next line' do
|
|
806
|
+
result = parse('L 06/15/2026 - 19:05:27: "Jib<3><[U:1:111]><Red>" disconnected (reason "Client left game (Steam auth ticket has been canceled)' + "\n")
|
|
807
|
+
expect(result).to be_a(Events::Disconnect)
|
|
808
|
+
expect(result.player.name).to eq('Jib')
|
|
809
|
+
expect(result.message).to eq('Client left game (Steam auth ticket has been canceled)')
|
|
810
|
+
end
|
|
811
|
+
|
|
812
|
+
it 'keeps quotes inside a complete disconnect reason' do
|
|
813
|
+
result = parse('L 06/15/2026 - 19:05:27: "Jib<3><[U:1:111]><Red>" disconnected (reason "Kicked "x") by admin")' + "\n")
|
|
814
|
+
expect(result.message).to eq('Kicked "x") by admin')
|
|
815
|
+
end
|
|
816
|
+
|
|
817
|
+
it 'recognizes server cvar changes' do
|
|
818
|
+
result = parse('L 02/22/2026 - 13:42:46: server_cvar: "mp_timelimit" "30"')
|
|
819
|
+
expect(result).to be_a(Events::ServerCvar)
|
|
820
|
+
expect(result.name).to eq('mp_timelimit')
|
|
821
|
+
expect(result.value).to eq('30')
|
|
822
|
+
end
|
|
823
|
+
|
|
824
|
+
it 'recognizes server cvar changes with an empty value' do
|
|
825
|
+
expect(parse('L 02/22/2026 - 13:42:46: server_cvar: "sv_contact" ""').value).to eq('')
|
|
826
|
+
end
|
|
827
|
+
|
|
828
|
+
it 'recognizes picking up a building' do
|
|
829
|
+
result = parse('L 06/15/2026 - 21:53:08: "Jib<3><[U:1:111]><Red>" triggered "player_carryobject" (object "OBJ_SENTRYGUN") (position "-804 663 544")')
|
|
830
|
+
expect(result).to be_a(Events::CarryObject)
|
|
831
|
+
expect(result.player.name).to eq('Jib')
|
|
832
|
+
expect(result.object).to eq('OBJ_SENTRYGUN')
|
|
833
|
+
expect(result.position).to eq('-804 663 544')
|
|
834
|
+
end
|
|
835
|
+
|
|
836
|
+
it 'recognizes dropping a carried building' do
|
|
837
|
+
result = parse('L 06/15/2026 - 21:53:08: "Jib<3><[U:1:111]><Red>" triggered "player_dropobject" (object "OBJ_SENTRYGUN") (position "-804 663 544")')
|
|
838
|
+
expect(result).to be_a(Events::DropObject)
|
|
839
|
+
expect(result.player.name).to eq('Jib')
|
|
840
|
+
expect(result.object).to eq('OBJ_SENTRYGUN')
|
|
841
|
+
expect(result.position).to eq('-804 663 544')
|
|
842
|
+
end
|
|
843
|
+
|
|
844
|
+
it 'recognizes detonating a building' do
|
|
845
|
+
result = parse('L 06/15/2026 - 21:53:08: "Jib<3><[U:1:111]><Red>" triggered "object_detonated" (object "OBJ_SENTRYGUN") (position "-804 663 544")')
|
|
846
|
+
expect(result).to be_a(Events::ObjectDetonated)
|
|
847
|
+
expect(result.player.name).to eq('Jib')
|
|
848
|
+
expect(result.object).to eq('OBJ_SENTRYGUN')
|
|
849
|
+
expect(result.position).to eq('-804 663 544')
|
|
850
|
+
end
|
|
851
|
+
|
|
852
|
+
it 'recognizes steam userid validation' do
|
|
853
|
+
result = parse('L 02/02/2014 - 22:10:19: "A "fake" name<21><[U:1:111]><>" STEAM USERID validated')
|
|
854
|
+
expect(result).to be_a(Events::SteamUseridValidated)
|
|
855
|
+
expect(result.player.name).to eq('A "fake" name')
|
|
856
|
+
expect(result.player.steam_id).to eq('[U:1:111]')
|
|
857
|
+
end
|
|
858
|
+
|
|
859
|
+
it 'recognizes log file started' do
|
|
860
|
+
result = parse('L 02/07/2013 - 21:21:08: Log file started (file "logs/L0207006.log") (game "/home/tf2/tf") (version "5198")')
|
|
861
|
+
expect(result).to be_a(Events::LogFileStarted)
|
|
862
|
+
expect(result.file).to eq('logs/L0207006.log')
|
|
863
|
+
expect(result.game).to eq('/home/tf2/tf')
|
|
864
|
+
expect(result.version).to eq('5198')
|
|
865
|
+
end
|
|
866
|
+
|
|
867
|
+
it 'recognizes log file closed' do
|
|
868
|
+
expect(parse('L 02/22/2026 - 13:42:56: Log file closed.')).to be_a(Events::LogFileClosed)
|
|
869
|
+
end
|
|
870
|
+
|
|
871
|
+
it 'recognizes log file closed without a trailing period' do
|
|
872
|
+
expect(parse('L 02/07/2013 - 21:56:13: Log file closed')).to be_a(Events::LogFileClosed)
|
|
873
|
+
end
|
|
874
|
+
|
|
875
|
+
it 'recognizes loading map' do
|
|
876
|
+
result = parse('L 06/15/2026 - 21:32:52: Loading map "cp_process_f12"')
|
|
877
|
+
expect(result).to be_a(Events::LoadingMap)
|
|
878
|
+
expect(result.map).to eq('cp_process_f12')
|
|
879
|
+
end
|
|
880
|
+
|
|
881
|
+
it 'recognizes started map' do
|
|
882
|
+
result = parse('L 06/15/2026 - 21:32:52: Started map "cp_process_f12" (CRC "df0d50ef")')
|
|
883
|
+
expect(result).to be_a(Events::MapStarted)
|
|
884
|
+
expect(result.map).to eq('cp_process_f12')
|
|
885
|
+
expect(result.crc).to eq('df0d50ef')
|
|
886
|
+
end
|
|
887
|
+
|
|
888
|
+
it 'does not report started map as an unknown event' do
|
|
889
|
+
result = parse('L 06/15/2026 - 21:32:52: Started map "cp_process_f12" (CRC "df0d50ef")')
|
|
890
|
+
expect(result).not_to be_a(Events::Unknown)
|
|
891
|
+
end
|
|
892
|
+
|
|
893
|
+
it 'does not parse chat mentioning a started map as a map start' do
|
|
894
|
+
expect(parse('L 06/15/2026 - 21:32:52: "Jib<3><[U:1:111]><Red>" say "Started map "cp_reset" (CRC "abc")"')).to be_a(Events::Say)
|
|
895
|
+
end
|
|
896
|
+
|
|
897
|
+
it 'recognizes meta data' do
|
|
898
|
+
result = parse('L 06/15/2026 - 21:55:48: World triggered "meta_data" (map "cp_process_f12")')
|
|
899
|
+
expect(result).to be_a(Events::MetaData)
|
|
900
|
+
expect(result.key).to eq('map')
|
|
901
|
+
expect(result.value).to eq('cp_process_f12')
|
|
902
|
+
end
|
|
903
|
+
|
|
904
|
+
it 'recognizes meta data with quotes in the value' do
|
|
905
|
+
result = parse('L 06/15/2026 - 21:55:48: World triggered "meta_data" (title "BLU vs "RED"")')
|
|
906
|
+
expect(result).to be_a(Events::MetaData)
|
|
907
|
+
expect(result.key).to eq('title')
|
|
908
|
+
expect(result.value).to eq('BLU vs "RED"')
|
|
909
|
+
end
|
|
910
|
+
|
|
911
|
+
it 'recognizes meta data with several properties' do
|
|
912
|
+
result = parse('L 11/20/2026 - 21:55:48: World triggered "meta_data" (plugin_version_supstats2 "3.0.0") (plugin_version_medicstats "2.0.0")')
|
|
913
|
+
expect(result).to be_a(Events::MetaData)
|
|
914
|
+
expect(result.key).to eq('plugin_version_supstats2')
|
|
915
|
+
expect(result.value).to eq('3.0.0')
|
|
916
|
+
expect(result.properties).to eq('plugin_version_supstats2' => '3.0.0', 'plugin_version_medicstats' => '2.0.0')
|
|
917
|
+
end
|
|
918
|
+
|
|
919
|
+
it 'exposes single meta data as properties too' do
|
|
920
|
+
result = parse('L 06/15/2026 - 21:55:48: World triggered "meta_data" (map "cp_process_f12")')
|
|
921
|
+
expect(result.properties).to eq('map' => 'cp_process_f12')
|
|
922
|
+
end
|
|
923
|
+
|
|
924
|
+
it 'does not split a title that looks like several properties' do
|
|
925
|
+
result = parse('L 06/15/2026 - 21:55:48: World triggered "meta_data" (title "a") (b "c")')
|
|
926
|
+
expect(result.key).to eq('title')
|
|
927
|
+
expect(result.value).to eq('a") (b "c')
|
|
928
|
+
expect(result.properties).to eq('title' => 'a") (b "c')
|
|
929
|
+
end
|
|
930
|
+
|
|
931
|
+
it 'recognizes medigun pickups' do
|
|
932
|
+
result = parse('L 11/20/2026 - 21:55:48: "Jib<3><[U:1:111]><Red>" triggered "medigun_pickup" (medigun "kritzkrieg") (uberpct "63") (previous_medigun "medigun") (previous_uberpct "40")')
|
|
933
|
+
expect(result).to be_a(Events::MedigunPickup)
|
|
934
|
+
expect(result.player.name).to eq('Jib')
|
|
935
|
+
expect(result.player.steam_id).to eq('[U:1:111]')
|
|
936
|
+
expect(result.player.team).to eq('Red')
|
|
937
|
+
expect(result.medigun).to eq('kritzkrieg')
|
|
938
|
+
expect(result.ubercharge).to eq(63)
|
|
939
|
+
expect(result.previous_medigun).to eq('medigun')
|
|
940
|
+
expect(result.previous_ubercharge).to eq(40)
|
|
941
|
+
end
|
|
942
|
+
|
|
943
|
+
it 'recognizes a headshot that is also an airshot' do
|
|
944
|
+
result = parse('L 11/20/2026 - 21:55:48: "Jib<3><[U:1:111]><Red>" triggered "damage" against "Kol<4><[U:1:222]><Blue>" (damage "150") (realdamage "120") (weapon "tf_projectile_arrow") (crit "crit") (airshot "1") (height "200") (headshot "1")')
|
|
945
|
+
expect(result).to be_a(Events::HeadshotDamage)
|
|
946
|
+
expect(result.damage).to eq(150)
|
|
947
|
+
expect(result.realdamage).to eq(120)
|
|
948
|
+
expect(result.crit).to eq('crit')
|
|
949
|
+
expect(result.headshot).to eq(true)
|
|
950
|
+
expect(result.airshot).to eq(true)
|
|
951
|
+
end
|
|
952
|
+
|
|
953
|
+
it 'recognizes round overtime' do
|
|
954
|
+
expect(parse('L 06/15/2026 - 19:33:13: World triggered "Round_Overtime"')).to be_a(Events::RoundOvertime)
|
|
955
|
+
end
|
|
956
|
+
|
|
957
|
+
it 'recognizes game paused' do
|
|
958
|
+
expect(parse('L 06/15/2026 - 19:33:13: World triggered "Game_Paused"')).to be_a(Events::GamePaused)
|
|
959
|
+
end
|
|
960
|
+
|
|
961
|
+
it 'recognizes game unpaused' do
|
|
962
|
+
expect(parse('L 06/15/2026 - 19:33:13: World triggered "Game_Unpaused"')).to be_a(Events::GameUnpaused)
|
|
963
|
+
end
|
|
964
|
+
|
|
965
|
+
it 'recognizes pause length' do
|
|
966
|
+
result = parse('L 06/15/2026 - 19:33:22: World triggered "Pause_Length" (seconds "8.69")')
|
|
967
|
+
expect(result).to be_a(Events::PauseLength)
|
|
968
|
+
expect(result.length).to eq('8.69')
|
|
969
|
+
end
|
|
970
|
+
|
|
971
|
+
it 'recognizes a player pausing the match' do
|
|
972
|
+
result = parse('L 06/15/2026 - 19:33:13: "Jib<3><[U:1:111]><Red>" triggered "matchpause"')
|
|
973
|
+
expect(result).to be_a(Events::MatchPause)
|
|
974
|
+
expect(result.player.steam_id).to eq('[U:1:111]')
|
|
975
|
+
end
|
|
976
|
+
|
|
977
|
+
it 'recognizes a player unpausing the match' do
|
|
978
|
+
result = parse('L 06/15/2026 - 19:33:13: "Jib<3><[U:1:111]><Red>" triggered "matchunpause"')
|
|
979
|
+
expect(result).to be_a(Events::MatchUnpause)
|
|
980
|
+
expect(result.player.steam_id).to eq('[U:1:111]')
|
|
981
|
+
end
|
|
982
|
+
|
|
983
|
+
it 'recognizes name changes' do
|
|
984
|
+
result = parse('L 02/07/2013 - 21:22:10: "Jib<3><[U:1:111]><Red>" changed name to "New "quoted" name"')
|
|
985
|
+
expect(result).to be_a(Events::NameChange)
|
|
986
|
+
expect(result.player.name).to eq('Jib')
|
|
987
|
+
expect(result.player.steam_id).to eq('[U:1:111]')
|
|
988
|
+
expect(result.new_name).to eq('New "quoted" name')
|
|
989
|
+
end
|
|
990
|
+
|
|
991
|
+
it 'does not treat a player whose name contains changed name to as a name change' do
|
|
992
|
+
result = parse('L 02/07/2013 - 21:22:10: "x" changed name to "y<3><[U:1:111]><Red>" STEAM USERID validated')
|
|
993
|
+
expect(result).to be_a(Events::SteamUseridValidated)
|
|
994
|
+
expect(result.player.steam_id).to eq('[U:1:111]')
|
|
995
|
+
end
|
|
996
|
+
|
|
782
997
|
it 'deals with unknown lines' do
|
|
783
|
-
line =
|
|
998
|
+
line = 'L 02/07/2013 - 21:21:08: VAC secure mode is activated.'
|
|
784
999
|
time = '02/07/2013 - 21:21:08'
|
|
785
|
-
unknown = '
|
|
1000
|
+
unknown = 'VAC secure mode is activated.'
|
|
786
1001
|
expect(Events::Unknown).to receive(:new).with(time, unknown)
|
|
787
1002
|
parse(line)
|
|
788
1003
|
end
|
|
@@ -913,5 +1128,58 @@ module TF2LineParser
|
|
|
913
1128
|
end
|
|
914
1129
|
end
|
|
915
1130
|
end
|
|
1131
|
+
|
|
1132
|
+
describe 'logs from supstats2 3.0.0' do
|
|
1133
|
+
def fixture_events(name)
|
|
1134
|
+
File.readlines(File.expand_path("../../fixtures/logs/#{name}", __dir__)).map { |line| Parser.parse(line) }
|
|
1135
|
+
end
|
|
1136
|
+
|
|
1137
|
+
# https://logs.tf/4155452
|
|
1138
|
+
context 'with the first round of a match' do
|
|
1139
|
+
let(:events) { fixture_events('supstats2_3.log') }
|
|
1140
|
+
|
|
1141
|
+
it 'parses every line except the demos.tf notice' do
|
|
1142
|
+
unknown = events.grep(Events::Unknown)
|
|
1143
|
+
|
|
1144
|
+
expect(events).not_to include(nil)
|
|
1145
|
+
expect(unknown.map(&:unknown)).to eq(['[demos.tf]: Demos must be at least 5 minutes long'])
|
|
1146
|
+
end
|
|
1147
|
+
|
|
1148
|
+
it 'reads the plugin versions from the meta data' do
|
|
1149
|
+
properties = events.grep(Events::MetaData).map(&:properties).reduce(:merge)
|
|
1150
|
+
|
|
1151
|
+
expect(properties.keys).to eq(%w[matchid map title plugin_version_supstats2 plugin_version_medicstats])
|
|
1152
|
+
expect(properties['map']).to eq('cp_granary_pro_rc17a3')
|
|
1153
|
+
expect(properties['plugin_version_supstats2']).to eq('3.0.0')
|
|
1154
|
+
expect(properties['plugin_version_medicstats']).to eq('2.0.0')
|
|
1155
|
+
end
|
|
1156
|
+
|
|
1157
|
+
it 'recognizes the medigun pickup' do
|
|
1158
|
+
pickups = events.grep(Events::MedigunPickup)
|
|
1159
|
+
|
|
1160
|
+
expect(pickups.size).to eq(1)
|
|
1161
|
+
expect(pickups.first.medigun).to eq('medigun')
|
|
1162
|
+
expect(pickups.first.ubercharge).to eq(80)
|
|
1163
|
+
expect(pickups.first.previous_medigun).to eq('medigun')
|
|
1164
|
+
expect(pickups.first.previous_ubercharge).to eq(35)
|
|
1165
|
+
expect(pickups.first.player.team).to eq('Red')
|
|
1166
|
+
end
|
|
1167
|
+
end
|
|
1168
|
+
|
|
1169
|
+
# https://logs.tf/4155431
|
|
1170
|
+
context 'with chat during a pause' do
|
|
1171
|
+
let(:events) { fixture_events('pause_chat.log') }
|
|
1172
|
+
|
|
1173
|
+
it 'parses the chat between the pause and the unpause' do
|
|
1174
|
+
expect(events.map(&:class)).to eq(
|
|
1175
|
+
[Events::GamePaused, Events::MatchPause, *[Events::Say] * 7,
|
|
1176
|
+
Events::GameUnpaused, Events::MatchUnpause, Events::PauseLength]
|
|
1177
|
+
)
|
|
1178
|
+
expect(events.grep(Events::Say).map(&:message)).to eq(
|
|
1179
|
+
['GOOD GOD', 'tac or tech?', 'brp./', 'bro', 'BOTH', 'WTF\\', 'LMFAO']
|
|
1180
|
+
)
|
|
1181
|
+
end
|
|
1182
|
+
end
|
|
1183
|
+
end
|
|
916
1184
|
end
|
|
917
1185
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tf2_line_parser
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Arie
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
10
|
+
date: 2026-11-22 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: coveralls_reborn
|
|
@@ -85,6 +85,7 @@ files:
|
|
|
85
85
|
- lib/tf2_line_parser/events/assist.rb
|
|
86
86
|
- lib/tf2_line_parser/events/built_object.rb
|
|
87
87
|
- lib/tf2_line_parser/events/capture_block.rb
|
|
88
|
+
- lib/tf2_line_parser/events/carry_object.rb
|
|
88
89
|
- lib/tf2_line_parser/events/charge_deployed.rb
|
|
89
90
|
- lib/tf2_line_parser/events/charge_ended.rb
|
|
90
91
|
- lib/tf2_line_parser/events/charge_ready.rb
|
|
@@ -95,26 +96,41 @@ files:
|
|
|
95
96
|
- lib/tf2_line_parser/events/damage.rb
|
|
96
97
|
- lib/tf2_line_parser/events/disconnect.rb
|
|
97
98
|
- lib/tf2_line_parser/events/domination.rb
|
|
99
|
+
- lib/tf2_line_parser/events/drop_object.rb
|
|
98
100
|
- lib/tf2_line_parser/events/empty_uber.rb
|
|
99
101
|
- lib/tf2_line_parser/events/entered_game.rb
|
|
100
102
|
- lib/tf2_line_parser/events/event.rb
|
|
101
103
|
- lib/tf2_line_parser/events/feign_death.rb
|
|
102
104
|
- lib/tf2_line_parser/events/final_score.rb
|
|
103
105
|
- lib/tf2_line_parser/events/first_heal_after_spawn.rb
|
|
106
|
+
- lib/tf2_line_parser/events/game_paused.rb
|
|
107
|
+
- lib/tf2_line_parser/events/game_unpaused.rb
|
|
104
108
|
- lib/tf2_line_parser/events/headshot_damage.rb
|
|
105
109
|
- lib/tf2_line_parser/events/heal.rb
|
|
106
110
|
- lib/tf2_line_parser/events/intermission_win_limit.rb
|
|
107
111
|
- lib/tf2_line_parser/events/joined_team.rb
|
|
108
112
|
- lib/tf2_line_parser/events/kill.rb
|
|
109
113
|
- lib/tf2_line_parser/events/killed_object.rb
|
|
114
|
+
- lib/tf2_line_parser/events/loading_map.rb
|
|
115
|
+
- lib/tf2_line_parser/events/log_file_closed.rb
|
|
116
|
+
- lib/tf2_line_parser/events/log_file_started.rb
|
|
110
117
|
- lib/tf2_line_parser/events/lost_uber_advantage.rb
|
|
118
|
+
- lib/tf2_line_parser/events/map_started.rb
|
|
111
119
|
- lib/tf2_line_parser/events/match_end.rb
|
|
120
|
+
- lib/tf2_line_parser/events/match_pause.rb
|
|
121
|
+
- lib/tf2_line_parser/events/match_unpause.rb
|
|
112
122
|
- lib/tf2_line_parser/events/medic_death.rb
|
|
113
123
|
- lib/tf2_line_parser/events/medic_death_ex.rb
|
|
124
|
+
- lib/tf2_line_parser/events/medigun_pickup.rb
|
|
125
|
+
- lib/tf2_line_parser/events/meta_data.rb
|
|
114
126
|
- lib/tf2_line_parser/events/mini_round_length.rb
|
|
115
127
|
- lib/tf2_line_parser/events/mini_round_selected.rb
|
|
116
128
|
- lib/tf2_line_parser/events/mini_round_start.rb
|
|
117
129
|
- lib/tf2_line_parser/events/mini_round_win.rb
|
|
130
|
+
- lib/tf2_line_parser/events/name_change.rb
|
|
131
|
+
- lib/tf2_line_parser/events/object_detonated.rb
|
|
132
|
+
- lib/tf2_line_parser/events/object_event.rb
|
|
133
|
+
- lib/tf2_line_parser/events/pause_length.rb
|
|
118
134
|
- lib/tf2_line_parser/events/pickup_item.rb
|
|
119
135
|
- lib/tf2_line_parser/events/player_action_event.rb
|
|
120
136
|
- lib/tf2_line_parser/events/player_extinguished.rb
|
|
@@ -127,15 +143,18 @@ files:
|
|
|
127
143
|
- lib/tf2_line_parser/events/round_event_with_variables.rb
|
|
128
144
|
- lib/tf2_line_parser/events/round_event_without_variables.rb
|
|
129
145
|
- lib/tf2_line_parser/events/round_length.rb
|
|
146
|
+
- lib/tf2_line_parser/events/round_overtime.rb
|
|
130
147
|
- lib/tf2_line_parser/events/round_setup_begin.rb
|
|
131
148
|
- lib/tf2_line_parser/events/round_setup_end.rb
|
|
132
149
|
- lib/tf2_line_parser/events/round_stalemate.rb
|
|
133
150
|
- lib/tf2_line_parser/events/round_start.rb
|
|
134
151
|
- lib/tf2_line_parser/events/round_win.rb
|
|
135
152
|
- lib/tf2_line_parser/events/score.rb
|
|
153
|
+
- lib/tf2_line_parser/events/server_cvar.rb
|
|
136
154
|
- lib/tf2_line_parser/events/shot_fired.rb
|
|
137
155
|
- lib/tf2_line_parser/events/shot_hit.rb
|
|
138
156
|
- lib/tf2_line_parser/events/spawn.rb
|
|
157
|
+
- lib/tf2_line_parser/events/steam_userid_validated.rb
|
|
139
158
|
- lib/tf2_line_parser/events/suicide.rb
|
|
140
159
|
- lib/tf2_line_parser/events/unknown.rb
|
|
141
160
|
- lib/tf2_line_parser/events/world_intermission_win_limit.rb
|
|
@@ -151,7 +170,9 @@ files:
|
|
|
151
170
|
- spec/fixtures/logs/detailed_damage.log
|
|
152
171
|
- spec/fixtures/logs/example.log
|
|
153
172
|
- spec/fixtures/logs/new_log.log
|
|
173
|
+
- spec/fixtures/logs/pause_chat.log
|
|
154
174
|
- spec/fixtures/logs/special_characters.log
|
|
175
|
+
- spec/fixtures/logs/supstats2_3.log
|
|
155
176
|
- spec/fixtures/logs/very_special_characters.log
|
|
156
177
|
- spec/lib/tf2_line_parser/parser_spec.rb
|
|
157
178
|
- spec/lib/tf2_line_parser/player_spec.rb
|
|
@@ -184,7 +205,9 @@ test_files:
|
|
|
184
205
|
- spec/fixtures/logs/detailed_damage.log
|
|
185
206
|
- spec/fixtures/logs/example.log
|
|
186
207
|
- spec/fixtures/logs/new_log.log
|
|
208
|
+
- spec/fixtures/logs/pause_chat.log
|
|
187
209
|
- spec/fixtures/logs/special_characters.log
|
|
210
|
+
- spec/fixtures/logs/supstats2_3.log
|
|
188
211
|
- spec/fixtures/logs/very_special_characters.log
|
|
189
212
|
- spec/lib/tf2_line_parser/parser_spec.rb
|
|
190
213
|
- spec/lib/tf2_line_parser/player_spec.rb
|