Instal Steam
login
|
bahasa
简体中文 (Tionghoa Sederhana)
繁體中文 (Tionghoa Tradisional)
日本語 (Bahasa Jepang)
한국어 (Bahasa Korea)
ไทย (Bahasa Thai)
Български (Bahasa Bulgaria)
Čeština (Bahasa Ceko)
Dansk (Bahasa Denmark)
Deutsch (Bahasa Jerman)
English (Bahasa Inggris)
Español - España (Bahasa Spanyol - Spanyol)
Español - Latinoamérica (Bahasa Spanyol - Amerika Latin)
Ελληνικά (Bahasa Yunani)
Français (Bahasa Prancis)
Italiano (Bahasa Italia)
Magyar (Bahasa Hungaria)
Nederlands (Bahasa Belanda)
Norsk (Bahasa Norwegia)
Polski (Bahasa Polandia)
Português (Portugis - Portugal)
Português-Brasil (Bahasa Portugis-Brasil)
Română (Bahasa Rumania)
Русский (Bahasa Rusia)
Suomi (Bahasa Finlandia)
Svenska (Bahasa Swedia)
Türkçe (Bahasa Turki)
Tiếng Việt (Bahasa Vietnam)
Українська (Bahasa Ukraina)
Laporkan kesalahan penerjemahan
(For example through AddPrefabPostInit? I am not very skilled in that but want to try if it is possible)
That goes in modmain.lua. Just put whatever mod prefab you're adjusting in place of "shovel" there (and the appropriate tag for the right strength). You can find the exact name for both tags at the bottom of the main mod page if you need them.
Hope that helps!
It looks like this patching method doesn't work well. I patched cane like this and it worked fine. But sometimes when switching from cane to lantern or other castable weapon the client crashes:
Also it constantly spamming this in client logs:
Any tips on how to fix this? I see that the problem is that id of my action component is nil but I don't even have any components in that patch mod
UPD: Asked on klei discord server and got a hint that it is mod UI hoverer crashes, probably because of update function.
Tried to comment all patches and leaving only mana per hit function. It stopped spam of "out of sync" and probably crashes (they are inconsistent). Commenting mana function and uncommenting patches brings out of sync spam back.
UPD2: Disabling all mods from spam section leaves only this, but it still spams
The way I patched weapons:
Error message is always the same:
It keeps spamming this error untill log file is about 11MB and then crashes with this message:
Crash report on pastebin (I removed a lot of repeating spam lines so it could fit in allowed size):
https://pastebin.com/rSLWkGpy
I know how it sounds, but it looks like this crash only appears with large amount of mods present, specifically mods that do any AddComponentAction.
I tried everything on my part, but even having single AddPrefabPostInit function and nothing else in modmain will crash the client if there are other "dangerous" mods.