Skip to content
Permalink
Browse files

Merge pull request #502 from lusbenjamin/bugfix-arena-0.17

Bugfix arena 0.17
  • Loading branch information...
Manuel-777 committed Jul 26, 2019
2 parents 49516ce + e7144fe commit f28ac7d9708eebe29a961a05addceac9a05f1ec8
Showing with 3 additions and 0 deletions.
  1. +2 −0 window_background/arena-log-decoder/arena-log-decoder.js
  2. +1 −0 window_background/http-api.js
@@ -8,6 +8,8 @@ const CONNECTION_JSON_PATTERN = /\[(?:UnityCrossThreadLogger|Client GRE)\]WebSoc
const LABEL_JSON_PATTERNS = [
/\[Client GRE\](?<timestamp>.*): (?:Match to )?(?<playerId>\w*)(?: to Match)?: (?<label>.*)(?:\r\n|\n)\[Message (.*)\]/,
/\[Client GRE\](?<timestamp>.*): (?:Match to )?(?<playerId>\w*)(?: to Match)?: (?<label>.*)(?:\r\n|\n)/,
/\[UnityCrossThreadLogger\](?<timestamp>.*): (?:Match to )?(?<playerId>\w*)(?: to Match)?: (?<label>.*)(?:\r\n|\n)\[Message (.*)\]/,
/\[UnityCrossThreadLogger\](?<timestamp>.*): (?:Match to )?(?<playerId>\w*)(?: to Match)?: (?<label>.*)(?:\r\n|\n)/,
/\[UnityCrossThreadLogger\](?<timestamp>.*)(?:\r\n|\n){0,}\(.*\) Incoming (?<label>.*) /,
/\[UnityCrossThreadLogger\]Received unhandled GREMessageType: (?<label>.*)(?:\r\n|\n)/
];
@@ -375,6 +375,7 @@ function httpNotificationsPull() {
}

function notificationProcess(data) {
if (!data) return;
data.notifications.forEach(str => {
console.log("notifications message:", str);
if (typeof str == "string") {

0 comments on commit f28ac7d

Please sign in to comment.
You can’t perform that action at this time.