Steamをインストール
ログイン
|
言語
简体中文(簡体字中国語)
繁體中文(繁体字中国語)
한국어 (韓国語)
ไทย (タイ語)
български (ブルガリア語)
Čeština(チェコ語)
Dansk (デンマーク語)
Deutsch (ドイツ語)
English (英語)
Español - España (スペイン語 - スペイン)
Español - Latinoamérica (スペイン語 - ラテンアメリカ)
Ελληνικά (ギリシャ語)
Français (フランス語)
Italiano (イタリア語)
Bahasa Indonesia(インドネシア語)
Magyar(ハンガリー語)
Nederlands (オランダ語)
Norsk (ノルウェー語)
Polski (ポーランド語)
Português(ポルトガル語-ポルトガル)
Português - Brasil (ポルトガル語 - ブラジル)
Română(ルーマニア語)
Русский (ロシア語)
Suomi (フィンランド語)
Svenska (スウェーデン語)
Türkçe (トルコ語)
Tiếng Việt (ベトナム語)
Українська (ウクライナ語)
翻訳の問題を報告
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