Add more log parsing for portals, video errors, shader keyword limit

This commit is contained in:
Natsumi
2021-04-08 18:41:48 +12:00
parent e94b43db4b
commit 5a4f38c234
6 changed files with 200 additions and 8 deletions

View File

@@ -4365,6 +4365,12 @@ speechSynthesis.getVoices();
case 'unmute':
this.speak(`${noty.sourceDisplayName} has unmuted you`);
break;
case 'PortalSpawn':
this.speak(`${noty.data} has spawned a portal`);
break;
case 'Event':
this.speak(noty.data);
break;
default:
break;
}
@@ -4436,6 +4442,12 @@ speechSynthesis.getVoices();
case 'unmute':
AppApi.XSNotification('VRCX', `${noty.sourceDisplayName} has unmuted you`, timeout, image);
break;
case 'PortalSpawn':
AppApi.XSNotification('VRCX', `${noty.data} has spawned a portal`, timeout, image);
break;
case 'Event':
AppApi.XSNotification('VRCX', noty.data, timeout, image);
break;
default:
break;
}
@@ -4506,6 +4518,12 @@ speechSynthesis.getVoices();
case 'unmute':
AppApi.DesktopNotification(noty.sourceDisplayName, `has unmuted you`, image);
break;
case 'PortalSpawn':
AppApi.DesktopNotification(noty.data, `has spawned a portal`, image);
break;
case 'Event':
AppApi.DesktopNotification('Event', noty.data, '');
break;
default:
break;
}
@@ -5757,6 +5775,23 @@ speechSynthesis.getVoices();
};
break;
case 'portal-spawn':
tableData = {
created_at: gameLog.dt,
type: 'PortalSpawn',
data: gameLog.userDisplayName
};
break;
case 'event':
tableData = {
created_at: gameLog.dt,
type: 'Event',
data: gameLog.event
};
break;
default:
break;
}
@@ -6920,6 +6955,8 @@ speechSynthesis.getVoices();
sharedFeedFilters.noty.block = 'On';
sharedFeedFilters.noty.mute = 'On';
sharedFeedFilters.noty.unmute = 'On';
sharedFeedFilters.noty.PortalSpawn = 'Everyone';
sharedFeedFilters.noty.Event = 'On';
sharedFeedFilters.wrist.Location = 'On';
sharedFeedFilters.wrist.OnPlayerJoined = 'Everyone';
sharedFeedFilters.wrist.OnPlayerLeft = 'Everyone';
@@ -6942,6 +6979,8 @@ speechSynthesis.getVoices();
sharedFeedFilters.wrist.block = 'On';
sharedFeedFilters.wrist.mute = 'On';
sharedFeedFilters.wrist.unmute = 'On';
sharedFeedFilters.wrist.PortalSpawn = 'Everyone';
sharedFeedFilters.wrist.Event = 'On';
configRepository.setString('sharedFeedFilters', JSON.stringify(sharedFeedFilters));
}