2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

Update StartUp in initial batch

ONE PATCH! This commit brings us to half of the patching goal: on launch
of the client, we only show ONE "Updating..." message before we enter the
game proper. Go us!
This commit is contained in:
2013-11-25 21:29:56 -05:00
parent 3299267976
commit 34c88190c1
3 changed files with 10 additions and 5 deletions

View File

@ -84,6 +84,7 @@ std::vector<plString> plManifest::EssentialGameManifests()
mfs.push_back("GlobalClothing"); mfs.push_back("GlobalClothing");
mfs.push_back("GlobalMarkers"); mfs.push_back("GlobalMarkers");
mfs.push_back("GUI"); mfs.push_back("GUI");
mfs.push_back("StartUp");
return mfs; return mfs;
} }

View File

@ -67,7 +67,6 @@ namespace plManifest
/** Get a vector containing all manifests the game requires to initialize. */ /** Get a vector containing all manifests the game requires to initialize. */
std::vector<plString> EssentialGameManifests(); std::vector<plString> EssentialGameManifests();
} }
#endif // _plManifests_inc_ #endif // _plManifests_inc_

View File

@ -224,13 +224,18 @@ void plNCAgeJoiner::Start () {
// if we're linking to startup then set the OfflineAge flag // if we're linking to startup then set the OfflineAge flag
// so we by-pass the game server // so we by-pass the game server
if (StrLen(age.ageDatasetName) == 0 || StrCmpI(age.ageDatasetName, "StartUp") == 0) if (StrLen(age.ageDatasetName) == 0 || StrCmpI(age.ageDatasetName, "StartUp") == 0) {
nc->SetFlagsBit(plNetClientApp::kLinkingToOfflineAge); nc->SetFlagsBit(plNetClientApp::kLinkingToOfflineAge);
else
// no need to update if we're not using a GameSrv
plgDispatch::MsgSend(new plResPatcherMsg());
} else {
nc->SetFlagsBit(plNetClientApp::kLinkingToOfflineAge, false); nc->SetFlagsBit(plNetClientApp::kLinkingToOfflineAge, false);
plAgeLoader* al = plAgeLoader::GetInstance(); // we only need to update the age if we're using a GameSrv
al->UpdateAge(age.ageDatasetName); plAgeLoader* al = plAgeLoader::GetInstance();
al->UpdateAge(age.ageDatasetName);
}
} }
//============================================================================ //============================================================================