饑荒聯機版

饑荒聯機版

[API] Modded Skins
 此主題已被置頂,因此它可能很重要
Hornet  [開發人員] 2022 年 5 月 26 日 上午 8:15
Bug Reports
This thread will be for reporting bugs related to the mod. Please provide logs if the game is crashing.
< >
目前顯示第 1-15 則留言,共 50
Crusty 2022 年 7 月 25 日 下午 9:15 
[00:01:48]: [string "../mods/workshop-2812783478/scripts/ms_gui...."]:49: attempt to index field 'header' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-2812783478/scripts/ms_gui.lua:49 in (upvalue) postfn (Lua) <40-95>
scripts/modutil.lua:157 in (field) _ctor (Lua) <155-158>
scripts/class.lua:181 in (upvalue) FilterBar (Lua) <171-184>
scripts/widgets/redux/clothingexplorerpanel.lua:25 in (field) _ctor (Lua) <12-46>
scripts/class.lua:181 in (upvalue) ClothingExplorerPanel (Lua) <171-184>
scripts/widgets/redux/loadoutselect.lua:168 in (upvalue) constructor (Lua) <21-233>
scripts/modutil.lua:156 in (field) _ctor (Lua) <155-158>
scripts/class.lua:181 in (upvalue) LoadoutSelect (Lua) <171-184>
scripts/screens/redux/lobbyscreen.lua:316 in (field) _ctor (Lua) <308-405>
scripts/class.lua:181 in (field) panelfn (Lua) <171-184>
scripts/screens/redux/lobbyscreen.lua:735 in (method) ToNextPanel (Lua) <711-762>
scripts/screens/redux/lobbyscreen.lua:579 in (method) onclick (Lua) <579-579>
miz 2023 年 1 月 17 日 上午 8:46 
Hi there! Some of my mods using the older version of the Modded Skins API recently started crashing when this version is enabled. I was assuming this is just an issue with the old API becoming outdated so I've been working on porting them over, but in doing so I think I discovered a bug with the current one...?

I frequently use the skinner component + SetSkinMode to change the character's appearance. However, when [API] Modded Skins is enabled and you select the default skin from character select, the skinner component doesn't work/load properly, and can't be used until I select the default skin from the wardrobe instead.

You can see this in the video below: I am trying to swap between Wirra's normal_skin and swimming_skin which is normally triggered whenever she enters or leaves water.
https://drive.google.com/file/d/1WQO420lnEFdWeiWGgzAPsU9eUVYHOeWt


This bug doesn't occur for any of the non-default skins, and it doesn't occur when the workshop API is disabled either. It also doesn't occur when I use the old version of the API (but since that version is crashing, that isn't exactly a solution...)

There's no useful info in the log files, but I can provide you an offline version of Wirra with this bug if needed! I've also noticed it happening in a few of my private mods that use SetSkinMode as well, so I could DM you links to those if necessary?

Sorry for the long comment! I hope this gives you enough info ^^

Edit: here's[pastebin.com] the crash log/conflict between the old and current API if you're interested. It crashes whenever you click the wardrobe while using a modded skin.
最後修改者:miz; 2023 年 1 月 17 日 上午 9:04
Hornet  [開發人員] 2023 年 1 月 17 日 下午 12:29 
引用自 miz
Hi there! Some of my mods using the older version of the Modded Skins API recently started crashing when this version is enabled. I was assuming this is just an issue with the old API becoming outdated so I've been working on porting them over, but in doing so I think I discovered a bug with the current one...?

I frequently use the skinner component + SetSkinMode to change the character's appearance. However, when [API] Modded Skins is enabled and you select the default skin from character select, the skinner component doesn't work/load properly, and can't be used until I select the default skin from the wardrobe instead.

You can see this in the video below: I am trying to swap between Wirra's normal_skin and swimming_skin which is normally triggered whenever she enters or leaves water.
https://drive.google.com/file/d/1WQO420lnEFdWeiWGgzAPsU9eUVYHOeWt


This bug doesn't occur for any of the non-default skins, and it doesn't occur when the workshop API is disabled either. It also doesn't occur when I use the old version of the API (but since that version is crashing, that isn't exactly a solution...)

There's no useful info in the log files, but I can provide you an offline version of Wirra with this bug if needed! I've also noticed it happening in a few of my private mods that use SetSkinMode as well, so I could DM you links to those if necessary?

Sorry for the long comment! I hope this gives you enough info ^^

Edit: here's[pastebin.com] the crash log/conflict between the old and current API if you're interested. It crashes whenever you click the wardrobe while using a modded skin.
I would appreciate your dev files to test with.
miz 2023 年 1 月 17 日 下午 12:54 
@Hornet
Sure! Here[drive.google.com] is an upload of my current build of Wirra, intended to use [API] Modded Skins instead of the older API. This is the version that I was testing in the video.

You can test older API + current API crash with the workshop version of Wirra.

If you would like my private mod, which uses skinner/SetSkinMode but doesn't have any modded skins at all, send me a friend request and I will DM.

Thanks for your help!
Hornet  [開發人員] 2023 年 1 月 17 日 下午 2:27 
引用自 miz
@Hornet
Sure! Here[drive.google.com] is an upload of my current build of Wirra, intended to use [API] Modded Skins instead of the older API. This is the version that I was testing in the video.

You can test older API + current API crash with the workshop version of Wirra.

If you would like my private mod, which uses skinner/SetSkinMode but doesn't have any modded skins at all, send me a friend request and I will DM.

Thanks for your help!
Thanks, I believe I see the issue on my end. I do not know when I'll push the patch, but as a temporary solution you can run skinner:SetSkinName("wildchild_none") upon the characters spawn on your end.
(I am accidentally setting the default characters skin name to be nil, rather than _none which is what causes the issue I believe)
Momo 2023 年 4 月 1 日 下午 10:15 
new update causing a bunch of crash with stuff such as mushroom planter and row boat

using tropical experience in conjunction to this mod and some more

[string "../mods/workshop-2812783478/scripts/ms-post..."]:115: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
../mods/workshoop-2812783478/scripts/ms_postinits.lua:115 in (method) GetSkinBuild (Lua) <114-116>
scripts/components/playercontroller.lua:2269 in (mehtod) onUpdate (lua) <2045-2544>
scripts/update.lua:259 in () ? (Lua) <221-295>
Hornet  [開發人員] 2023 年 4 月 2 日 上午 6:24 
引用自 Momo
new update causing a bunch of crash with stuff such as mushroom planter and row boat

using tropical experience in conjunction to this mod and some more

[string "../mods/workshop-2812783478/scripts/ms-post..."]:115: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
../mods/workshoop-2812783478/scripts/ms_postinits.lua:115 in (method) GetSkinBuild (Lua) <114-116>
scripts/components/playercontroller.lua:2269 in (mehtod) onUpdate (lua) <2045-2544>
scripts/update.lua:259 in () ? (Lua) <221-295>
Can you test without tropical experience and let me know if the issue persists? This may be a specific mod incompatibility.
Momo 2023 年 4 月 2 日 上午 10:14 
its quite weird now it function properly and i can place the mushroom planter and boat without server dc'ing, tried on the same old server and a test server so it seem to be gone
silhouettedDoomsday 2023 年 8 月 3 日 上午 5:52 
I ran into an issue where when using the Ancient Nightmares mod where when equipping the unique head piece of the character the game crashes. The message says something about skins, when i asked the Nightmares team they said that since they use their own built in skin thing that Modded skins is causing problems. The weird thing is this only recently started happening.
Hornet  [開發人員] 2023 年 8 月 6 日 上午 12:11 
引用自 silhouettedDoomsday
I ran into an issue where when using the Ancient Nightmares mod where when equipping the unique head piece of the character the game crashes. The message says something about skins, when i asked the Nightmares team they said that since they use their own built in skin thing that Modded skins is causing problems. The weird thing is this only recently started happening.
Are you able to provide a crash log? Thanks!
Cliffford W 2023 年 8 月 6 日 下午 11:31 
For some odd reason clicking on Use Later whilst opening an item skins opens the wardrobe screen which is not normal behaviour.
2023 年 10 月 23 日 下午 3:57 
[00:40:52]: [string "../mods/workshop-2812783478/scripts/ms_post..."]:115: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
scripts/components/playercontroller.lua:2291 in () ? (Lua) <2065-2565>
=(tail call):-1 in () (tail) <-1--1>
scripts/update.lua:262 in () ? (Lua) <224-298>

[00:40:52]: [Steam] Game Connection terminated (2130706433|10999)
[00:40:52]: [Shard] Stopping shard mode
[00:40:52]: [Workshop] CancelDownloads for all pending downloads
[00:40:52]: [workshop-2189004162 (Insight)]: A crash has occured.
[00:40:52]: [workshop-2189004162 (Insight)]: Title: 警告!
[00:40:52]: [workshop-2189004162 (Insight)]: Text: [string "../mods/workshop-2812783478/scripts/ms_post..."]:115: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
scripts/components/playercontroller.lua:2291 in () ? (Lua) <2065-2565>
=(tail call):-1 in () (tail) <-1--1>
scripts/update.lua:262 in () ? (Lua) <224-298>
Goth mommy 2023 年 12 月 25 日 下午 12:51 
[00:09:21]: [string "scripts/skilltreedata.lua"]:107: attempt to index local 'skillselection' (a nil value)
LUA ERROR stack traceback:
scripts/skilltreedata.lua:107 in () ? (Lua) <102-119>
=(tail call):-1 in () (tail) <-1--1>
scripts/components/skilltreeupdater.lua:232 in (method) SetPlayerSkillSelection (Lua) <231-242>
scripts/networking.lua:264 in (upvalue) _SpawnNewPlayerOnServerFromSim (Lua) <247-269>
local MS_MODNAME = 'workshop-2812783478';local a = {}
../mods/workshop-2183879324/scripts/whemymod_skins.lua:302 in () ? (Lua) <281-304>
Hornet  [開發人員] 2024 年 1 月 6 日 上午 10:17 
引用自 跳舞的小靴子
[00:40:52]: [string "../mods/workshop-2812783478/scripts/ms_post..."]:115: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
scripts/components/playercontroller.lua:2291 in () ? (Lua) <2065-2565>
=(tail call):-1 in () (tail) <-1--1>
scripts/update.lua:262 in () ? (Lua) <224-298>

[00:40:52]: [Steam] Game Connection terminated (2130706433|10999)
[00:40:52]: [Shard] Stopping shard mode
[00:40:52]: [Workshop] CancelDownloads for all pending downloads
[00:40:52]: [workshop-2189004162 (Insight)]: A crash has occured.
[00:40:52]: [workshop-2189004162 (Insight)]: Title: 警告!
[00:40:52]: [workshop-2189004162 (Insight)]: Text: [string "../mods/workshop-2812783478/scripts/ms_post..."]:115: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
scripts/components/playercontroller.lua:2291 in () ? (Lua) <2065-2565>
=(tail call):-1 in () (tail) <-1--1>
scripts/update.lua:262 in () ? (Lua) <224-298>
This will be fixed in the next update soon, thank you and sorry for being late!


引用自 Mommy
[00:09:21]: [string "scripts/skilltreedata.lua"]:107: attempt to index local 'skillselection' (a nil value)
LUA ERROR stack traceback:
scripts/skilltreedata.lua:107 in () ? (Lua) <102-119>
=(tail call):-1 in () (tail) <-1--1>
scripts/components/skilltreeupdater.lua:232 in (method) SetPlayerSkillSelection (Lua) <231-242>
scripts/networking.lua:264 in (upvalue) _SpawnNewPlayerOnServerFromSim (Lua) <247-269>
local MS_MODNAME = 'workshop-2812783478';local a = {}
../mods/workshop-2183879324/scripts/whemymod_skins.lua:302 in () ? (Lua) <281-304>

Hi! I believe this is at the fault of the 'Whemy The Witch' mod.
slpgui0 2024 年 1 月 8 日 下午 8:25 
heeeelp

[string "../mods/workshop-2812783478/scripts/widgets..."]:72: attempt to index field 'controls' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-2812783478/scripts/widgets/moddedgiftitemtoast.lua:72 in (method) UpdateElements (Lua) <68-110>
../mods/workshop-2812783478/scripts/widgets/moddedgiftitemtoast.lua:134 in (method) OnToast (Lua) <127-155>
../mods/workshop-2812783478/scripts/widgets/moddedgiftitemtoast.lua:26 in (local) fn (Lua) <25-31>
seripts/entityscript.lua:1178 in (method) PushEvent (Lua) <1165-1192>
-./mods/workshop-2812783478/scripts/ms postinits.lna:235 in (upvalue) OnModdedGiftsDirty (Lua) <233-240>
-./mods/workshop-2812783478/scripts/ms postinits.lna:249 in (field) fn (Lua) <247-250>
seripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216>
scripts/scheduler.lna:409 in (global) RunScheduler (Lua) <407-415>
This error may have occurred due to à mod you have enabled!
You have the following mods enabled:
"[API] Gem Core" [API] Modded Skins "Extra Equip Slots” *[DST] Myth Words" "Wuzzy The Buzzy" "Wort" "Womp" “Steamed
Collection" "More Useful BOSS Spoils* *Minimap HUD' "Map Revealer for DST" "Lunar Tools" “Infinite Tent (and Siesta) Uses * “Fast

this is with the mods i usualy play with

[string "../mods/workshop-2812783478/scripts/widgets..."]:72: attempt to index field 'controls' (a nil value)
LUA ERROR stack traceback:
-./mods/workshop-2812783478/scripts/widgets/moddedgiftitemtoast.lua:72 in (method) UpdateElements (Lua) <68-110>
-./mods/workshop-2812783478/scripts/widgets/moddedgiftitemtoast.lua:134 in (method) OnToast (Lua) <127-135>
-/mods/workshop-2812783478/scripts/widgets/moddedgiftitemtoast.lua:26 in (local) fn (Lua) <25-32>
scripts/entityscript.lua:1178 in (method) PushEvent (Lua) <1165-1192>
-/mods/workshop-2812783478/scripts/ms postinits.lna:235 in (local) fn (Luna) <233-240>
scripts/entityscript.lua:1178 in (method) PushEvent (Lua) <1165-1192>
scripts/mainfonctions.lua:529 in () ? (Lua) <526-531>
This error may have occurred due to a mod you have enabled!
You have the following mods enabled:
"[API] Modded Skins*

and this is only with ur mod what i have to dooooo T-T
< >
目前顯示第 1-15 則留言,共 50
每頁顯示: 1530 50