Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
(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.