mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Vault stragglers
This commit is contained in:
@ -64,7 +64,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include "pnKeyedObject/plFixedKey.h"
|
#include "pnKeyedObject/plFixedKey.h"
|
||||||
|
|
||||||
// chronicle var
|
// chronicle var
|
||||||
#define kCleftSolved L"CleftSolved"
|
#define kCleftSolved "CleftSolved"
|
||||||
|
|
||||||
#include "plAvatar/plArmatureMod.h"
|
#include "plAvatar/plArmatureMod.h"
|
||||||
#include "plAvatar/plAvatarTasks.h"
|
#include "plAvatar/plAvatarTasks.h"
|
||||||
|
@ -777,10 +777,8 @@ void plNetLinkingMgr::IPostProcessLink( void )
|
|||||||
// Update our online status
|
// Update our online status
|
||||||
if (hsRef<RelVaultNode> rvnInfo = VaultGetPlayerInfoNode()) {
|
if (hsRef<RelVaultNode> rvnInfo = VaultGetPlayerInfoNode()) {
|
||||||
VaultPlayerInfoNode accInfo(rvnInfo);
|
VaultPlayerInfoNode accInfo(rvnInfo);
|
||||||
wchar_t ageInstName[MAX_PATH];
|
|
||||||
plUUID ageInstGuid = *info->GetAgeInstanceGuid();
|
plUUID ageInstGuid = *info->GetAgeInstanceGuid();
|
||||||
StrToUnicode(ageInstName, info->GetAgeInstanceName(), arrsize(ageInstName));
|
accInfo.SetAgeInstName(info->GetAgeInstanceName());
|
||||||
accInfo.SetAgeInstName(ageInstName);
|
|
||||||
accInfo.SetAgeInstUuid(ageInstGuid);
|
accInfo.SetAgeInstUuid(ageInstGuid);
|
||||||
accInfo.SetOnline(true);
|
accInfo.SetOnline(true);
|
||||||
}
|
}
|
||||||
@ -869,11 +867,9 @@ uint8_t plNetLinkingMgr::IPreProcessLink(void)
|
|||||||
// Update our online status
|
// Update our online status
|
||||||
if (hsRef<RelVaultNode> rvnInfo = VaultGetPlayerInfoNode()) {
|
if (hsRef<RelVaultNode> rvnInfo = VaultGetPlayerInfoNode()) {
|
||||||
VaultPlayerInfoNode accInfo(rvnInfo);
|
VaultPlayerInfoNode accInfo(rvnInfo);
|
||||||
wchar_t ageInstName[MAX_PATH];
|
const plUUID* ageInstGuid = info->GetAgeInstanceGuid();
|
||||||
plUUID ageInstGuid = *GetAgeLink()->GetAgeInfo()->GetAgeInstanceGuid();
|
accInfo.SetAgeInstName(info->GetAgeInstanceName());
|
||||||
StrToUnicode(ageInstName, info->GetAgeInstanceName(), arrsize(ageInstName));
|
accInfo.SetAgeInstUuid(*ageInstGuid);
|
||||||
accInfo.SetAgeInstName(ageInstName);
|
|
||||||
accInfo.SetAgeInstUuid(ageInstGuid);
|
|
||||||
accInfo.SetOnline(true);
|
accInfo.SetOnline(true);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -1120,7 +1120,6 @@ void NetCommSetActivePlayer (//--> plNetCommActivePlayerMsg
|
|||||||
if (s_player) {
|
if (s_player) {
|
||||||
if (hsRef<RelVaultNode> rvn = VaultGetPlayerInfoNode()) {
|
if (hsRef<RelVaultNode> rvn = VaultGetPlayerInfoNode()) {
|
||||||
VaultPlayerInfoNode pInfo(rvn);
|
VaultPlayerInfoNode pInfo(rvn);
|
||||||
pInfo.SetAgeInstName(nil);
|
|
||||||
pInfo.SetAgeInstUuid(kNilUuid);
|
pInfo.SetAgeInstUuid(kNilUuid);
|
||||||
pInfo.SetOnline(false);
|
pInfo.SetOnline(false);
|
||||||
NetCliAuthVaultNodeSave(rvn, nil, nil);
|
NetCliAuthVaultNodeSave(rvn, nil, nil);
|
||||||
|
@ -382,7 +382,7 @@ bool plAutoProfileImp::MsgReceive(plMessage* msg)
|
|||||||
if (ageBeginLoadingMsg)
|
if (ageBeginLoadingMsg)
|
||||||
{
|
{
|
||||||
plgDispatch::Dispatch()->UnRegisterForExactType(plAgeBeginLoadingMsg::Index(), GetKey());
|
plgDispatch::Dispatch()->UnRegisterForExactType(plAgeBeginLoadingMsg::Index(), GetKey());
|
||||||
VaultAddChronicleEntryAndWait(L"InitialAvCursomizationsDone", 0, L"1");
|
VaultAddChronicleEntryAndWait("InitialAvCursomizationsDone", 0, "1");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user