安裝 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(越南文)
Українська(烏克蘭文)
回報翻譯問題
A common solution is for mod authors to ask the game to load madtulip's mod before their own. Sadly Madtulip's mod already asks the game to do this with the modpack. Applying this fix to the modpack would essentially cause the game to crash on launch as it would encounter an infinite loop.
The original mod hasn't been updated since 2017 so i doubt i'll ever be able to get the original devs to do anything about it.
First a list of events:
1. The original vanilla script is loaded by the game as they always load first.
2. A mod's script is loaded and it creates hooks on some of the original functions.
3. Madtulip's script is loaded. The scripts asks the game to load the vanilla script.
In LUA we create hooks in 2 steps: First we create a backup of a function the game uses to run itself. Then we create a function with the same name that will execute our own code and that of the function we previously backed up.
As modders, it's customary to expect that some other mod may have had already created hooks. Overwriting assets and functions if frowned upon as it pretty much always leads to compatibility problems.
By re-loading the game's original file, madtulip effectively erases all the hooks created by the mods that have been loaded before itself.
The answer would be preventing a lot of compatibility problems, but that's hard to explain if you don't understand LUA.
"A" is the original
Copy "A" unto "C",
Replace "A" with "B"
"B" calls "C" (the old "A") within itself
That would be function "hooking". The original is retained, and then still used.
Now any number of mods could be doing this, forming a chain that always goes back to the original.
Mad Tulip is calling the original in a way that erases all the other links of the chain that may have been added (unless they load after it does).