Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
My custom packs work fine. But, at the end game, my achievements aren't always saved. It's random. Do you know a way to force the save, with a code, or function?
thx for your time
By default, the data is saved when the game ends. Are you trying to trigger something when the game ends or when a wave ends?
Here, you can see that I don't use the function "addProgress()"
//////////////////////////////////////
function Timer() {
while (i<6)
{
achievements.Progress = default.experienceTot; [/b]
if (achievements.Progress >= achievements.maxProgress && achievements.Completed == 0)
{
Controller(Owner).Pawn.PlaySound( Sound'KF_InterfaceSnd.PerkAchieved',,1.0,,600.f);
if (i==0) {achievementCompleted(ExpIndex.LEVEL_B);}
if (i==1) {achievementCompleted(ExpIndex.LEVEL_C);}
if (i==2) {achievementCompleted(ExpIndex.LEVEL_D);}
if (i==3) {achievementCompleted(ExpIndex.LEVEL_E);}
if (i==4) {achievementCompleted(ExpIndex.LEVEL_F);}
if (i==5) {achievementCompleted(ExpIndex.LEVEL_G);}
}
i++ ;
}
}
///////////////////////////////////
Is it a problem?
thx for your answer
I didn't change anything to the saving in the last update. However, saving can be buggy if you are hosting a listen server or playing solo. If the host leaves the game before it officially ends, then achievement progress won't save. Everything works fine on a dedicated server.
http://forums.tripwireinteractive.com/showthread.php?t=43484