表達式替代功能修復

作者 SlavicPotato·版本 v0.2b·更新於 2020-01-06

修復了SetExpressionOverride Papyrus函數,以便可以設置不可用的“ Dialogue Anger”表達式。

截圖 共 2 張

模組介紹 作者原文

修復了SetExpressionOverride Papyrus函數,以便可以設置不可用的“ Dialogue Anger”表達式。

Actor.SetExpressionOverride函數中存在一個錯誤,該錯誤拒絕設置“ Dialogue Anger”表達式,並且在第一個參數設置爲0的情況下每次調用時都會引發“超出範圍”錯誤。這是因爲本機代碼中的範圍檢查不正確。

常問問題:

問:我什麼時候需要這個?

答:如果使用任何執行腳本表達式的mod(例如Poser熱鍵)並收到以下錯誤:

錯誤:無效的表達式-必須介於0到16之間(包括0和16)

問:支持哪些SSE版本?

答:從理論上講,所有功能都經過測試,但並非每個版本都經過測試。

問:我在啓動時看到錯誤,怎麼了?

答:安全檢查失敗,因此補丁程序中止。找不到有效的段或檢測到多個可能的段。

問:爲什麼我在skse64.log中看到插件加載“錯誤1114”?

答:很正常,請忽略它。從技術上講,這不是SKSE模塊,它只是利用插件加載程序系統來執行補丁。修補後,它有意向SKSE發出信號,表明加載失敗,這導致插件從內存中卸載。任何實際的錯誤都會在消息框中彈出,否則修補成功。

————————————————————————————————

There's a bug in Actor.SetExpressionOverride function where it refuses to set "Dialogue Anger" expression, throwing an "out of range" error whenever it's called with the first argument set to 0. This happens because of a bad range check in the native code.

FAQ:

Q: When would I need this?

A: If using any mods which do scripted expressions (Poser Hotkeys for example) and getting errors such as:

     Error: Invalid expression - must be in the rage of 0 to 16, inclusive

Q: Which SSE versions are supported?

A: In theory all are, but not every version was tested.

Q: I'm seeing errors on startup, what's wrong?

A: Safety checks failed so patching aborted. Either no valid segment was found or multiple possible segments were detected.

Q: Why am I seeing plugin load "Error 1114" in skse64.log?

A: It's normal, ignore it. Technically this isn't a SKSE module, it just takes advantage of the plugin loader system to perform the patch. After patching it intentionally signals SKSE that it failed to load which leads to the plugin being unloaded from memory. Any actual errors will pop up in a message box, otherwise patching was successful.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 這類遊戲沒有通用的模組管理器:有的模組直接替換遊戲檔案、有的放進遊戲專屬的 Mods 資料夾、有的要先裝遊戲對應的社群載入器或工具,以包內說明為準。
  3. 嚴格按說明放置檔案;標註「前置依賴」的模組需要把依賴一併裝好。
  4. 啟動遊戲確認載入成功;部分遊戲需要在設定或模組選單裡手動啟用。

不同遊戲、不同模組的安裝位置差異很大,包內說明是最可靠的依據。

檔案與校驗

檔案名稱
表达式替代功能修复
檔案大小
56.6 KiB