2021-03-01 17:05:46 -06:00
|
|
|
export default {
|
2022-06-28 12:00:52 -05:00
|
|
|
regex:
|
2023-12-11 19:55:51 -06:00
|
|
|
/^\[([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]
|
|
|
|
};
|
2021-03-01 17:05:46 -06:00
|
|
|
|
2023-12-11 19:55:51 -06:00
|
|
|
logParser.eventStore.disconnected[data.steamID] = true;
|
|
|
|
|
|
|
|
logParser.emit('PLAYER_DISCONNECTED', data);
|
|
|
|
}
|
2021-03-02 13:30:09 -06:00
|
|
|
};
|