Don't Starve Together

Don't Starve Together

Touhou Music Mod
233 Comments
Hou  [author] 23 Sep @ 5:53pm 
ReiYuk's error should be fixed. Please update the mod.
Hakurei Reimu 23 Sep @ 5:42pm 
i tried to host server it worked fine first but 2nd day trying to host and join my own server it did the error text similar to ReiYuk below me the "stalkerfight is not declared LUA ERROR stack traceback. then the modworkshop link numbers below is the API Gem Core and this Touhou Music Mod ill try to type it out manually
Hou  [author] 23 Sep @ 4:02pm 
What happens when you try to join a server?
Hakurei Reimu 23 Sep @ 3:59am 
how do i get the error text
Hou  [author] 21 Sep @ 3:05pm 
Can you show me the error text? I'm not sure why there would be a conflict with those.
Hakurei Reimu 21 Sep @ 2:18am 
had to turn this off to stop it doing the error cant join server weird i love the touhou music it seems to error with global pause and api gem core?
♀ OdayakanaArashi 19 Sep @ 9:37am 
@Hou
I just-saw the comment! It *is* strange that the issue could not be replicated outside of the original environment, but the sanity sfx toggling option could serve as a functional workaround. I will give this a try soon, and thank you so much!
ReiYuk 19 Sep @ 6:49am 
No further questions
Hou  [author] 19 Sep @ 6:31am 
应该可以修复了。谢谢。
(机器翻译)
ReiYuk 19 Sep @ 5:42am 
开启这个MOD进入世界会报错啊
[string " .. /mods/workshop-901048002/scripts/componen ... "]:556: variable "_stalkerfight' is not declared LUA ERROR stack traceback:
=[C] :- 1 in (global) error (C) <- 1 -- 1> scripts/strict.lna:23 in () ? (Lna) <21-26> .. /mods/workshop-901048002/scripts/components/dynamicmusic.lua:556 in (local) fn (Lua) <548-669> scripts/entityscript.lna:1298 in (method) PushEvent_Internal (Lna) <1285-1314> scripts/entityscript.lua:1317 in (method) PushEvent (Lua) <1316-1318> scripts/components/areaaware.lua:59 in (method) UpdatePosition (Lna) <45-71> scripts/components/areaaware.lua: 76 in (method) OnUpdate (Lua) <73-79> scripts/update.lna:262 in () ? (Lna) <224-298>
Hou  [author] 19 Sep @ 3:51am 
If you see this comment, OdayakanaArashi, regarding your comment, I have been unable to replicate the issue you mentioned. Sanity sounds and music seem to work correctly on my end.

Having said that, I've added a mod config setting that lets you turn Sanity SFX off if you wish to. If you continue to run into the same issue, then turning this setting off should serve as a workaround.
Salvik 18 Sep @ 12:37pm 
you better keep updating!!!
♀ OdayakanaArashi 2 Aug @ 5:42am 
Thank you!!! ♥
Hou  [author] 1 Aug @ 7:08pm 
I've been busy lately, but I'll look into it when I can. Thank you for letting me know.
♀ OdayakanaArashi 31 Jul @ 5:35pm 
Hi, the newest update that released "today" has partially-broken this mod; if your character experiences Insanity (where shadows can attack), the music will not come back until the next time of cycle (dusk, dawn, night). Would it be possible to fix this?
东方红 11 May @ 7:39am 
爱!
早秋早松 9 May @ 5:46am 
这是个很棒的MOD,十分感谢作者的开发与更新
kingbooger 14 Apr @ 3:45pm 
When I fighting some bosses(I saw this problem when I was fighting a shadow pieces.), There is an error where the battle music and background music are heard together.
TAO_EAST 28 Mar @ 10:45pm 
I found it, it conflicts with the Frieren mod, thanks
Hou  [author] 28 Mar @ 7:35pm 
它按我的预期运行。是否有可能是其他MOD导致了冲突?
(机器翻译)
TAO_EAST 28 Mar @ 3:07am 
只有标题音乐更改了,游戏内音乐不生效
Only the title music has been changed, the in-game music does not take effect
红月の芙兰酱 25 Apr, 2024 @ 2:41am 
红魔乡 我红魔乡的bgm呢(
Hou  [author] 8 Nov, 2023 @ 4:18am 
I didn't know there was an update until you mentioned it so I'm glad you did.
MelodyAmity 6 Nov, 2023 @ 4:27pm 
@方 Hou It's understandable that you wouldn't want to incorporate transformation songs, the new bosses seem to use the already existing boss music for the mod. (I only noticed this before mod updated lol)

"New bosses" I'm referring to come after celestial champion and altering your world after giving wagstaff a shard. Although it seems you've added music for the reanimated bosses recently! I'll check it out next time I play, thank you for the update.
ReiYuk 3 Nov, 2023 @ 8:34pm 
The recent update has added three bosses, namely Possessed Varg,Crystal Deerclops,Armored Bearger (machine translation)
ReiYuk 3 Nov, 2023 @ 8:29pm 
OK()
Hou  [author] 3 Nov, 2023 @ 5:17pm 
@ReiYuk 这是一个已知问题,我稍后将尝试解决它。 若带来不便请谅解。
(机器翻译)
Hou  [author] 3 Nov, 2023 @ 5:17pm 
@MelodyAmity To be honest, I'm not sure how I would go about doing most of those. The current version of the mod is very different from the base game's method of handling music so I'd have to do some pretty major changes to incorporate those. I might at a later time but for now it's not something I'm really aiming to do.

In regards to "the new bosses", what new bosses are you referring to? Did I miss some that were added?
ReiYuk 27 Oct, 2023 @ 6:19am 
有时候BOSS战会BOSS的BGM+日常的BGM一起播放啊()
MelodyAmity 19 Oct, 2023 @ 4:21pm 
Are there any plans to add music for woodie hoedown, pirate monkey, farming, and the new bosses?
清川 4 Jul, 2023 @ 11:00pm 
给6月17号@Guns of the Patriots @方 Hou 讨论的upvaluehacker提供案例和参考
同时启用 永不妥协 报错,问题正好出现在永不妥协/scripts/tools/ upvaluehacker.lua : line 83 中 function UpvalueHacker.GetUpvalue(fn, ...) 里assert上 fn 为 nil, ... 为StartPlayerListeners.
这个99行的文件有68行注释,包含3个例子,但是是英文
这个错误有个解决方案是在永不妥协选项关闭其专属BGM
令外,非常感谢作者的贡献,mod超赞!
SteELreD 25 Jun, 2023 @ 3:51am 
目前我认为最优秀的饥荒音乐mod,前无古人,后无来者。作者的设定带给了我无穷启发,我要把它狠狠滴推荐给其他人!:steamthumbsup::BlackReimu:
Hou  [author] 23 Jun, 2023 @ 9:00pm 
Likewise, there is another one for "playeractivated" (line 809) for when the player unpauses or is resurrected which triggers the function OnPlayerActivated (line 765) and that one has a similar series of functions which plays music.

There should also be something similar in the game's original dynamicmusic.lua if you want to look at the original, unmodded one for reference as well. This can be found in Don't Starve Together/data/databundles/scripts.zip/scripts/components/dynamicmusic.lua
Hou  [author] 23 Jun, 2023 @ 9:00pm 
I'm not sure how familiar you are with modding DST so I'm very sorry if this doesn't make sense. If it doesn't, please let me know and I'll try to explain it in a different way. I will assume you're able to look at the dynamicmusic.lua file in the mod.

Whenever the player is deactivated by pausing or dying, the game pushes a "playerdeactivated" event that any file can then look for and use.

So dynamicmusic.lua listens for that event (line 810) and if it happens, then it triggers the function OnPlayerDeactivated (line 780) which then causes the function StopSoundEmitter (line 747) to happen. If you can keep following the functions within functions, basically what's happening is that whenever the game pushes the "playerdeactivated" event, dynamicmusic.lua stops all music.

(continued in next comment)
SteELreD 23 Jun, 2023 @ 5:25pm 
There are many things worth learning in your works.I want to ask a question.How do you achieve that the music will stop playing after pressing the game pause button, and the music will continue playing after lifting the pause button?
Hou  [author] 17 Jun, 2023 @ 8:07am 
我不知道upvaluehacker是什么。
(我正在使用机器翻译。)
Guns of the Patriots 17 Jun, 2023 @ 4:19am 
直接覆盖components/dynamicmusic.lua是会出问题的啊老哥!
推荐使用upvaluehacker之类的工具试试?(雾)
404_coffee.exe 12 Jun, 2023 @ 9:14am 
huh nice music mod
Bakagiraffe 18 Mar, 2023 @ 12:50am 
Thanks for the music mod, pretty good choices :]
MelodyAmity 16 Jan, 2023 @ 1:52am 
I disabled the other music mod, deleted the file mentioned, joined my server with your mod and everything worked! Thanks for helping me out :)
Hou  [author] 15 Jan, 2023 @ 8:35pm 
I investigated the scripts for the aforementioned mod a bit to see how it works and if you feel like messing with your files a little bit, I genuinely think you can just delete "dynamicmusic.lua" found in "[wherever your steam folder is]\Steam\steamapps\workshop\content\322330\2647232227\scripts\components" and there shouldn't be an issue. The file doesn't seem to be doing anything important for the mod which, as far as I can tell, only modifies the menu and pause music.
Hou  [author] 15 Jan, 2023 @ 8:17pm 
The crash error itself appears to be from the mod "The Centennial Festival for Magical Girls as Menu Theme". It looks like you have at least two different mods (this one and the one I just mentioned) that edit the same file so it's possible that you're running into a compatibility issue.
MelodyAmity 15 Jan, 2023 @ 7:32pm 
This was the first crash I got, the moment I turned to wonkey, let me know if you need client logs instead.
https://cdn.discordapp.com/attachments/828116774255722496/1063393456245964800/image.png
Hou  [author] 15 Jan, 2023 @ 7:07pm 
Are you able to show me the crash error that shows up? Either a screenshot or from your client_log.txt" file (found in Documents/Klei/DoNotStarveTogether) right after the game crashes?
MelodyAmity 15 Jan, 2023 @ 7:05pm 
Turning into wonkey crashes my game, if I join a world after I've turned into wonkey, my game automatically crashes. Wonkey being the monkey curse.
Hou  [author] 11 Jan, 2023 @ 3:35pm 
是的,但它没有得到更新。(机器翻译)
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1285112149
夜廻 11 Jan, 2023 @ 9:02am 
有单机版的吗?
Hou  [author] 8 Oct, 2022 @ 5:51pm 
Does it do that even if you turn off special weather music?
𝕂𝕠𝕦𝕛𝕚 8 Oct, 2022 @ 7:59am 
With the newer update of the mod, now it lags my game :(
Salvik 13 Sep, 2022 @ 6:48am 
alright thank you after the mod was updated even it works and im happy, thank you.