mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-29 12:14:26 -05:00
19 lines
747 B
JavaScript
19 lines
747 B
JavaScript
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]+)/,
|
|
onMatch: (args, logParser) => {
|
|
const data = {
|
|
raw: args[0],
|
|
time: args[1],
|
|
chainID: args[2],
|
|
ip: args[3],
|
|
playerController: args[4],
|
|
playerEOSID: args[5]
|
|
};
|
|
|
|
logParser.eventStore.disconnected[data.steamID] = true;
|
|
|
|
logParser.emit('PLAYER_DISCONNECTED', data);
|
|
}
|
|
};
|