From 3f09545f6cd3591acdbd04601514f9ce23426268 Mon Sep 17 00:00:00 2001 From: sergelouie6 <49586590+sergelouie6@users.noreply.github.com> Date: Sat, 10 Aug 2024 10:24:33 +0800 Subject: [PATCH] fix: match other disconnect logs except without eosID (#376) --- squad-server/log-parser/player-disconnected.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squad-server/log-parser/player-disconnected.js b/squad-server/log-parser/player-disconnected.js index 3f761813..6d32c9e2 100644 --- a/squad-server/log-parser/player-disconnected.js +++ b/squad-server/log-parser/player-disconnected.js @@ -1,6 +1,6 @@ export default { regex: - /^\[([0-9.:-]+)]\[([ 0-9]*)]LogNet: UChannel::Close: Sending CloseBunch\. ChIndex == [0-9]+\. Name: \[UChannel\] ChIndex: [0-9]+, Closing: [0-9]+ \[UNetConnection\] RemoteAddr: ([\d.]+):[\d]+, Name: EOSIpNetConnection_[0-9]+, Driver: GameNetDriver EOSNetDriver_[0-9]+, IsServer: YES, PC: ([^ ]+PlayerController_C_[0-9]+), Owner: [^ ]+PlayerController_C_[0-9]+, UniqueId: RedpointEOS:([\d\w]+)/, + /^\[([0-9.:-]+)]\[([ 0-9]*)]LogNet: UChannel::Close: Sending CloseBunch\. ChIndex == [0-9]+\. Name: \[UChannel\] ChIndex: [0-9]+, Closing: [0-9]+ \[UNetConnection\] RemoteAddr: ([\d.]+):[\d]+, Name: EOSIpNetConnection_[0-9]+(, Driver: ([^,]+(?: EOSNetDriver_[\d]+)?))?[, ]*IsServer: YES, PC: ([^,]+), Owner: ([^,]+), UniqueId: RedpointEOS:([\d\w]+)/, onMatch: (args, logParser) => { const data = { raw: args[0],