Don't Starve Together

Don't Starve Together

[API] Modded Skins
 This topic has been pinned, so it's probably important
Hornet  [developer] 26 May, 2022 @ 8:15am
Bug Reports
This thread will be for reporting bugs related to the mod. Please provide logs if the game is crashing.
< >
Showing 1-15 of 50 comments
Crusty 25 Jul, 2022 @ 9:15pm 
[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 17 Jan, 2023 @ 8:46am 
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.
Last edited by miz; 17 Jan, 2023 @ 9:04am
Hornet  [developer] 17 Jan, 2023 @ 12:29pm 
Originally posted by 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 17 Jan, 2023 @ 12:54pm 
@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  [developer] 17 Jan, 2023 @ 2:27pm 
Originally posted by 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 1 Apr, 2023 @ 10:15pm 
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  [developer] 2 Apr, 2023 @ 6:24am 
Originally posted by 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 2 Apr, 2023 @ 10:14am 
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
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  [developer] 6 Aug, 2023 @ 12:11am 
Originally posted by 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 6 Aug, 2023 @ 11:31pm 
For some odd reason clicking on Use Later whilst opening an item skins opens the wardrobe screen which is not normal behaviour.
23 Oct, 2023 @ 3:57pm 
[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 25 Dec, 2023 @ 12:51pm 
[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  [developer] 6 Jan, 2024 @ 10:17am 
Originally posted by 跳舞的小靴子:
[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!


Originally posted by 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 8 Jan, 2024 @ 8:25pm 
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
< >
Showing 1-15 of 50 comments
Per page: 1530 50