Merge pull request #190 from wiilover22/master

Fix player connection event.
This commit is contained in:
Thomas Smyth 2021-04-07 20:51:56 +01:00 committed by GitHub
commit 6ad415b3ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
export default { export default {
regex: /^\[([0-9.:-]+)]\[([ 0-9]*)]LogEasyAntiCheatServer: \[[0-9:]+]\[[A-z]+]\[EAC Server] \[Info]\[RegisterClient] Client: ([A-z0-9]+) PlayerGUID: ([0-9]{17}) PlayerIP: [0-9]{17} OwnerGUID: [0-9]{17} PlayerName: (.+)/, regex: /^\[([0-9.:-]+)]\[([ 0-9]*)]LogEasyAntiCheatServer: \[[0-9:]+] \[[A-z]+] \[EAC Server] \[Info] \[RegisterClient] Client: ([A-z0-9]+) PlayerGUID: ([0-9]{17}) PlayerIP: [0-9]{17} OwnerGUID: [0-9]{17} PlayerName: (.+)/,
onMatch: async (args, logParser) => { onMatch: async (args, logParser) => {
logParser.eventStore['steamid-connected'] = args[4]; logParser.eventStore['steamid-connected'] = args[4];
} }
}; };