Skip to content

Commit

Permalink
Merge pull request #288 from ect0s/player-disconnected-close
Browse files Browse the repository at this point in the history
Add a PLAYER_LEFT event
  • Loading branch information
werewolfboy13 committed Nov 2, 2023
2 parents bb41ce0 + 1968035 commit db364dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions squad-server/log-parser/player-disconnected.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default {
regex:
/^\[([0-9.:-]+)]\[([ 0-9]*)]LogNet: UNetConnection::Close: \[UNetConnection\] RemoteAddr: ([0-9]{17}):[0-9]+, Name: SteamNetConnection_[0-9]+, Driver: GameNetDriver SteamNetDriver_[0-9]+, IsServer: YES, PC: (BP_PlayerController_C_[0-9]+), Owner: BP_PlayerController_C_[0-9]+, UniqueId: Steam:UNKNOWN \[.*\], Channels: [0-9]+, Time: [0-9.:-]+/,
onMatch: (args, logParser) => {
/^\[([0-9.:-]+)]\[([ 0-9]*)]LogNet: UChannel::Close: Sending CloseBunch\. ChIndex == [0-9]+\. Name: \[UChannel\] ChIndex: [0-9]+, Closing: [0-9]+ \[UNetConnection\] RemoteAddr: ([0-9]{17}):[0-9]+, Name: SteamNetConnection_[0-9]+, Driver: GameNetDriver SteamNetDriver_[0-9]+, IsServer: YES, PC: ([^ ]+PlayerController_C_[0-9]+), Owner: [^ ]+PlayerController_C_[0-9]+/, onMatch: (args, logParser) => {
onMatch: (args, logParser) => {
const data = {
raw: args[0],
time: args[1],
Expand Down

0 comments on commit db364dd

Please sign in to comment.