Skip to content

Commit

Permalink
update l4d2 parser name
Browse files Browse the repository at this point in the history
  • Loading branch information
RaidMax committed Sep 2, 2023
1 parent 7e2f577 commit ec6424b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Data/Models/Reference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public enum Game
SHG1 = 9,
CSGO = 10,
H1 = 11,
LFD2 = 12,
L4D2 = 12,
}

public enum ConnectionType
Expand Down
2 changes: 1 addition & 1 deletion IW4MAdmin.sln
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ScriptPlugins", "ScriptPlug
Plugins\ScriptPlugins\ParserPlutoniumT5.js = Plugins\ScriptPlugins\ParserPlutoniumT5.js
Plugins\ScriptPlugins\ServerBanner.js = Plugins\ScriptPlugins\ServerBanner.js
Plugins\ScriptPlugins\ParserBOIII.js = Plugins\ScriptPlugins\ParserBOIII.js
Plugins\ScriptPlugins\ParserLFD2SM.js = Plugins\ScriptPlugins\ParserLFD2SM.js
Plugins\ScriptPlugins\ParserL4D2SM.js = Plugins\ScriptPlugins\ParserL4D2SM.js
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutomessageFeed", "Plugins\AutomessageFeed\AutomessageFeed.csproj", "{F5815359-CFC7-44B4-9A3B-C04BACAD5836}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ let eventParser;
const plugin = {
author: 'RaidMax',
version: 0.1,
name: 'LFD2 (SourceMod) Parser',
name: 'L4D2 (SourceMod) Parser',
engine: 'Source',
isParser: true,

Expand Down Expand Up @@ -120,10 +120,10 @@ const plugin = {

eventParser.Configuration.Time.Pattern = '^L [01]\\d/[0-3]\\d/\\d+ - [0-2]\\d:[0-5]\\d:[0-5]\\d:';

rconParser.Version = 'LFD2SM';
rconParser.GameName = 10; // LFD2
eventParser.Version = 'LFD2SM';
eventParser.GameName = 10; // LFD2
rconParser.Version = 'L4D2SM';
rconParser.GameName = 12; // L4D2
eventParser.Version = 'L4D2SM';
eventParser.GameName = 12; // L4D2
eventParser.URLProtocolFormat = 'steam://connect/{{ip}}:{{port}}';
},

Expand Down
2 changes: 1 addition & 1 deletion SharedLibraryCore/Server.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public enum Game
SHG1 = 9,
CSGO = 10,
H1 = 11,
LFD2 = 12
L4D2 = 12
}

// only here for performance
Expand Down

0 comments on commit ec6424b

Please sign in to comment.