《国战:春秋》v2.2 更新公告
1、修复"解除全部"类操作只解除一半的bug:解除全部同盟、附庸、贸易伙伴、联姻、敌对时,原实现边删除边按序号遍历会跳掉一半对象,现在会全部解除。
2、修复移除增益/减益效果时删错目标的bug:指定移除某个效果,实际被移除的是列表里最旧的一层。
3、修复增益/减益满层时层数仍会突破上限、按"组"移除时只移除一半层数的bug。
4、修复部队组织度可能显示为0或超过100%的bug。
5、修复单位死亡后身上残留特效的bug。
6、修复投射物在目标消失后继续取目标坐标而报错的bug。
7、修复模型精度切换越界导致单位模型不显示或报错的bug。
8、修复合并部队时部分部队合并不生效的bug。
9、修复贸易收入与关税数值虚高的问题:原实现把累计值在循环里反复乘系数,相当于按贸易伙伴数量做复利,现改为逐项加成后累加,贸易收入与关税会明显下降。
10、修复经济统计中"维持城市数"恒为0的bug。
11、修复高斯随机数查表插值写错、导致人才属性等随机数值分布偏离设计的问题。
12、修复难度配置取错数组的bug:对玩家宣战概率取的是盗贼攻城的概率。
13、修复政策"右倾"按钮用"左倾"条件校验的bug。
14、修复"将军被俘虏"提示写到了错误的提示对象上、可能不显示或报错的bug。
15、修复读档后资源交换/岁贡金额不再刷新的bug(付款方那一份金额被冻结)。
16、修复读档时国家名为空、战争数据缺少攻守方、人才数据多条共用同一份引用等导致崩溃或数据互相污染的问题。
17、修复外交请求"同意概率"在分母为0时显示异常的bug。
18、修复排行榜用时分数只记录小时余数的bug(超过24小时会按余数记录)。
19、修复涨跌百分比永远不显示红色的bug,以及涨跌符号判断用错比较值的bug。
20、修复战争界面骑兵数量显示成船只数量的bug。
21、修复海军上限提示按陆军数据判断、并显示陆军数量的bug。
22、修复城市守军士气提示文案写成"军队士气值"的bug。
23、修复退出游戏时忽略参数、一律当成"退出到主菜单"的bug。
24、修复设置快捷键时按鼠标键会把快捷键改成A的bug。
25、修复已保存的分辨率/全屏设置不生效的bug。
26、修复分辨率列表排序比较器不合法导致设置界面报错的bug。
27、修复科技树某列越界时继续取坐标导致位置错乱或报错的bug。
28、修复部队列表为空时选中目标取错的bug。
29、修复选项卡选中判断边界写错(>=写成>)导致选中状态错误的bug。
30、修复界面销毁时事件未退订、回调到已销毁界面或重复回调的bug(主界面、城堡界面、部队状态、饼图等)。
31、修复资源包下载失败时永久卡在下载界面、加载失败时加载界面无报错一直挂起的bug。
32、修复依赖资源包下载失败时仍返回该包、导致后续报错的bug。
33、修复对象池重复回收同一实例、导致两次生成拿到同一个对象的bug。
34、修复进入战场找不到场景对象时后续报错的bug。
35、修复数据数量不一致或引用为空时的越界/空引用报错(经济资源图标、属性列表、宗教文本、存档列表、政府解雇与屏蔽提示、头像、按钮、滚动条等界面)。
《國戰:春秋》v2.2 更新公告
1、修復「解除全部」類操作只解除一半的bug:解除全部同盟、附庸、貿易夥伴、聯姻、敵對時,原實現邊刪除邊按序號走訪會跳掉一半物件,現在會全部解除。
2、修復移除增益/減益效果時刪錯目標的bug:指定移除某個效果,實際被移除的是列表裡最舊的一層。
3、修復增益/減益滿層時層數仍會突破上限、按「組」移除時只移除一半層數的bug。
4、修復部隊組織度可能顯示為0或超過100%的bug。
5、修復單位死亡後身上殘留特效的bug。
6、修復投射物在目標消失後繼續取目標座標而報錯的bug。
7、修復模型精度切換越界導致單位模型不顯示或報錯的bug。
8、修復合併部隊時部分部隊合併不生效的bug。
9、修復貿易收入與關稅數值虛高的問題:原實現把累計值在迴圈裡反覆乘係數,相當於按貿易夥伴數量做複利,現改為逐項加成後累加,貿易收入與關稅會明顯下降。
10、修復經濟統計中「維持城市數」恆為0的bug。
11、修復高斯隨機數查表插值寫錯、導致人才屬性等隨機數值分布偏離設計的問題。
12、修復難度設定取錯陣列的bug:對玩家宣戰機率取的是盜賊攻城的機率。
13、修復政策「右傾」按鈕用「左傾」條件校驗的bug。
14、修復「將軍被俘虜」提示寫到了錯誤的提示物件上、可能不顯示或報錯的bug。
15、修復讀檔後資源交換/歲貢金額不再重新整理的bug(付款方那一份金額被凍結)。
16、修復讀檔時國家名為空、戰爭資料缺少攻守方、人才資料多條共用同一份引用等導致崩潰或資料互相污染的問題。
17、修復外交請求「同意機率」在分母為0時顯示異常的bug。
18、修復排行榜用時分數只記錄小時餘數的bug(超過24小時會按餘數記錄)。
19、修復漲跌百分比永遠不顯示紅色的bug,以及漲跌符號判斷用錯比較值的bug。
20、修復戰爭介面騎兵數量顯示成船隻數量的bug。
21、修復海軍上限提示按陸軍資料判斷、並顯示陸軍數量的bug。
22、修復城市守軍士氣提示文案寫成「軍隊士氣值」的bug。
23、修復退出遊戲時忽略參數、一律當成「退出到主選單」的bug。
24、修復設定快速鍵時按滑鼠鍵會把快速鍵改成A的bug。
25、修復已儲存的解析度/全螢幕設定不生效的bug。
26、修復解析度列表排序比較器不合法導致設定介面報錯的bug。
27、修復科技樹某列越界時繼續取座標導致位置錯亂或報錯的bug。
28、修復部隊列表為空時選中目標取錯的bug。
29、修復選項卡選中判斷邊界寫錯(>=寫成>)導致選中狀態錯誤的bug。
30、修復介面銷毀時事件未退訂、回呼到已銷毀介面或重複回呼的bug(主介面、城堡介面、部隊狀態、圓餅圖等)。
31、修復資源包下載失敗時永久卡在下載介面、載入失敗時載入介面無報錯一直掛起的bug。
32、修復依賴資源包下載失敗時仍返回該包、導致後續報錯的bug。
33、修復物件池重複回收同一實例、導致兩次生成拿到同一個物件的bug。
34、修復進入戰場找不到場景物件時後續報錯的bug。
35、修復資料數量不一致或引用為空時的越界/空引用報錯(經濟資源圖示、屬性列表、宗教文字、存檔列表、政府解僱與封鎖提示、頭像、按鈕、捲軸等介面)。
NationWar:Annals v2.2 Update Notes
1. Fixed "remove all" actions only removing half: cancelling all alliances, vassals, trade partners, marriages or enemies used to skip half the entries because the list was modified while iterating by index - they are now fully removed.
2. Fixed buffs and debuffs being removed from the wrong target: asking to remove a specific effect actually removed the oldest layer in the list.
3. Fixed buff layers still exceeding the cap at maximum stacks, and group removal only removing half the layers.
4. Fixed unit organisation showing 0 or more than 100%.
5. Fixed effects staying on a unit after it died.
6. Fixed projectiles throwing errors after their target disappeared.
7. Fixed out-of-range model detail (LOD) switching making units invisible or throwing errors.
8. Fixed some units failing to merge when merging forces.
9. Fixed inflated trade income and tariffs: the running total was multiplied by the bonus on every loop iteration, effectively compounding it per trade partner. Bonuses are now applied per item, so trade income and tariffs are noticeably lower.
10. Fixed "maintained castles" always showing 0 in the economy statistics.
11. Fixed a wrong interpolation factor in the Gaussian random lookup table, which skewed the distribution of randomly generated character attributes.
12. Fixed a difficulty setting reading the wrong table: the chance of a nation declaring war on the player used the bandit castle-attack chance.
13. Fixed the "shift right" policy button being validated with the "shift left" condition.
14. Fixed the "general captured" alert being sent to the wrong alert object, which could make it never appear or throw an error.
15. Fixed resource exchange / tribute amounts no longer refreshing after loading a save (the payer's copy of the amount was frozen).
16. Fixed crashes and cross-contaminated data when loading a save with an empty nation name, war records missing attacker/defender entries, or several characters sharing the same data reference.
17. Fixed the diplomacy request "chance to accept" display when the denominator was 0.
18. Fixed the leaderboard completion time only recording the leftover hours (anything past 24 hours was stored as the remainder).
19. Fixed percentage changes never showing in red, and the up/down sign using the wrong value in its comparison.
20. Fixed the war screen showing ship counts as cavalry counts.
21. Fixed the naval force cap tooltip judging and displaying land army figures.
22. Fixed the castle garrison morale tooltip reading "army morale".
23. Fixed "Quit Game" ignoring its argument and always quitting to the main menu.
24. Fixed clicking a mouse button while rebinding a shortcut key setting it to A.
25. Fixed saved resolution and fullscreen settings not being applied.
26. Fixed an invalid sort comparer on the resolution list crashing the settings screen.
27. Fixed out-of-range technology tree columns continuing to read coordinates, which misplaced nodes or threw errors.
28. Fixed the wrong unit being selected when the unit list was empty.
29. Fixed a wrong boundary check (>= written as >) making tab selection states incorrect.
30. Fixed events not being unsubscribed when a screen was destroyed, causing callbacks to fire twice or into destroyed screens (main screen, castle screen, unit status, pie charts and others).
31. Fixed the game getting permanently stuck on the download screen when an asset pack download failed, and the loading screen hanging silently when loading failed.
32. Fixed a failed dependent asset pack still being returned, which caused errors later.
33. Fixed the object pool recycling the same instance twice, so two spawns could hand out the same object.
34. Fixed errors after entering battle when the scene object could not be found.
35. Fixed out-of-range and null reference errors when data counts mismatched or references were empty (economy resource icons, attribute lists, religion text, save list, government dismiss and block tooltips, portraits, buttons, scrollbars and other screens).
