mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-28 11:13:49 +02:00
More Fixes
This commit is contained in:
@@ -889,6 +889,11 @@ speechSynthesis.getVoices();
|
|||||||
if (this.traveling && this.location === 'traveling') {
|
if (this.traveling && this.location === 'traveling') {
|
||||||
instanceId = this.traveling;
|
instanceId = this.traveling;
|
||||||
}
|
}
|
||||||
|
if (!instanceId && this.hint.length === 8) {
|
||||||
|
// shortName
|
||||||
|
API.$emit('SHOW_WORLD_DIALOG_SHORTNAME', this.hint);
|
||||||
|
return;
|
||||||
|
}
|
||||||
API.$emit('SHOW_WORLD_DIALOG', instanceId);
|
API.$emit('SHOW_WORLD_DIALOG', instanceId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4353,6 +4358,9 @@ speechSynthesis.getVoices();
|
|||||||
this.setBranch();
|
this.setBranch();
|
||||||
});
|
});
|
||||||
API.$on('SHOW_WORLD_DIALOG', (tag) => this.showWorldDialog(tag));
|
API.$on('SHOW_WORLD_DIALOG', (tag) => this.showWorldDialog(tag));
|
||||||
|
API.$on('SHOW_WORLD_DIALOG_SHORTNAME', (tag) =>
|
||||||
|
this.verifyShortName('', tag)
|
||||||
|
);
|
||||||
API.$on('SHOW_LAUNCH_DIALOG', (tag) => this.showLaunchDialog(tag));
|
API.$on('SHOW_LAUNCH_DIALOG', (tag) => this.showLaunchDialog(tag));
|
||||||
this.updateLoop();
|
this.updateLoop();
|
||||||
this.getGameLogTable();
|
this.getGameLogTable();
|
||||||
@@ -5957,7 +5965,7 @@ speechSynthesis.getVoices();
|
|||||||
};
|
};
|
||||||
|
|
||||||
$app.methods.displayLocation = function (location, worldName) {
|
$app.methods.displayLocation = function (location, worldName) {
|
||||||
var text = '';
|
var text = worldName;
|
||||||
var L = API.parseLocation(location);
|
var L = API.parseLocation(location);
|
||||||
if (L.isOffline) {
|
if (L.isOffline) {
|
||||||
text = 'Offline';
|
text = 'Offline';
|
||||||
@@ -5968,8 +5976,6 @@ speechSynthesis.getVoices();
|
|||||||
} else if (L.worldId) {
|
} else if (L.worldId) {
|
||||||
if (L.instanceId) {
|
if (L.instanceId) {
|
||||||
text = `${worldName} ${L.accessType}`;
|
text = `${worldName} ${L.accessType}`;
|
||||||
} else {
|
|
||||||
text = worldName;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return text;
|
return text;
|
||||||
@@ -9074,7 +9080,7 @@ speechSynthesis.getVoices();
|
|||||||
'Moderation',
|
'Moderation',
|
||||||
'Camera',
|
'Camera',
|
||||||
'SpawnEmoji',
|
'SpawnEmoji',
|
||||||
'PhotonMasterMigrate',
|
'MasterMigrate',
|
||||||
'PhotonBot'
|
'PhotonBot'
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -9757,7 +9763,7 @@ speechSynthesis.getVoices();
|
|||||||
this.addEntryPhotonEvent({
|
this.addEntryPhotonEvent({
|
||||||
photonId,
|
photonId,
|
||||||
text: `Photon Master Migrate`,
|
text: `Photon Master Migrate`,
|
||||||
type: 'PhotonMasterMigrate',
|
type: 'MasterMigrate',
|
||||||
created_at: gameLogDate
|
created_at: gameLogDate
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -12484,8 +12490,8 @@ speechSynthesis.getVoices();
|
|||||||
$app.data.photonEventOverlayFilter = configRepository.getString(
|
$app.data.photonEventOverlayFilter = configRepository.getString(
|
||||||
'VRCX_PhotonEventOverlayFilter'
|
'VRCX_PhotonEventOverlayFilter'
|
||||||
);
|
);
|
||||||
$app.data.photonOverlayMessageTimeout = configRepository.getString(
|
$app.data.photonOverlayMessageTimeout = Number(
|
||||||
'VRCX_photonOverlayMessageTimeout'
|
configRepository.getString('VRCX_photonOverlayMessageTimeout')
|
||||||
);
|
);
|
||||||
$app.data.photonLoggingEnabled = false;
|
$app.data.photonLoggingEnabled = false;
|
||||||
$app.data.gameLogDisabled = configRepository.getBool(
|
$app.data.gameLogDisabled = configRepository.getBool(
|
||||||
|
|||||||
@@ -102,6 +102,8 @@ Vue.component('marquee-text', MarqueeText);
|
|||||||
this.text = 'Offline';
|
this.text = 'Offline';
|
||||||
} else if (L.isPrivate) {
|
} else if (L.isPrivate) {
|
||||||
this.text = 'Private';
|
this.text = 'Private';
|
||||||
|
} else if (L.isTraveling) {
|
||||||
|
this.text = 'Traveling';
|
||||||
} else if (typeof this.hint === 'string' && this.hint !== '') {
|
} else if (typeof this.hint === 'string' && this.hint !== '') {
|
||||||
if (L.instanceId) {
|
if (L.instanceId) {
|
||||||
this.text = `${this.hint} #${L.instanceName} ${L.accessType}`;
|
this.text = `${this.hint} #${L.instanceName} ${L.accessType}`;
|
||||||
@@ -206,11 +208,13 @@ Vue.component('marquee-text', MarqueeText);
|
|||||||
tag: _tag,
|
tag: _tag,
|
||||||
isOffline: false,
|
isOffline: false,
|
||||||
isPrivate: false,
|
isPrivate: false,
|
||||||
|
isTraveling: false,
|
||||||
worldId: '',
|
worldId: '',
|
||||||
instanceId: '',
|
instanceId: '',
|
||||||
instanceName: '',
|
instanceName: '',
|
||||||
accessType: '',
|
accessType: '',
|
||||||
region: '',
|
region: '',
|
||||||
|
shortName: '',
|
||||||
userId: null,
|
userId: null,
|
||||||
hiddenId: null,
|
hiddenId: null,
|
||||||
privateId: null,
|
privateId: null,
|
||||||
@@ -222,6 +226,8 @@ Vue.component('marquee-text', MarqueeText);
|
|||||||
ctx.isOffline = true;
|
ctx.isOffline = true;
|
||||||
} else if (_tag === 'private') {
|
} else if (_tag === 'private') {
|
||||||
ctx.isPrivate = true;
|
ctx.isPrivate = true;
|
||||||
|
} else if (_tag === 'traveling') {
|
||||||
|
ctx.isTraveling = true;
|
||||||
} else if (_tag.startsWith('local') === false) {
|
} else if (_tag.startsWith('local') === false) {
|
||||||
var sep = _tag.indexOf(':');
|
var sep = _tag.indexOf(':');
|
||||||
if (sep >= 0) {
|
if (sep >= 0) {
|
||||||
@@ -531,17 +537,17 @@ Vue.component('marquee-text', MarqueeText);
|
|||||||
};
|
};
|
||||||
|
|
||||||
$app.methods.displayLocation = function (location, worldName) {
|
$app.methods.displayLocation = function (location, worldName) {
|
||||||
var text = '';
|
var text = worldName;
|
||||||
var L = this.parseLocation(location);
|
var L = this.parseLocation(location);
|
||||||
if (L.isOffline) {
|
if (L.isOffline) {
|
||||||
text = 'Offline';
|
text = 'Offline';
|
||||||
} else if (L.isPrivate) {
|
} else if (L.isPrivate) {
|
||||||
text = 'Private';
|
text = 'Private';
|
||||||
|
} else if (L.isTraveling) {
|
||||||
|
text = 'Traveling';
|
||||||
} else if (L.worldId) {
|
} else if (L.worldId) {
|
||||||
if (L.instanceId) {
|
if (L.instanceId) {
|
||||||
text = `${worldName} ${L.accessType}`;
|
text = `${worldName} ${L.accessType}`;
|
||||||
} else {
|
|
||||||
text = worldName;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return text;
|
return text;
|
||||||
|
|||||||
Reference in New Issue
Block a user