Don't Starve Together

Don't Starve Together

[Hk]Config++
93 Comments
Hekkaryk  [author] 10 Jul @ 9:58am 
Planned update: after 2025-07-10 18:00 UTC
Hekkaryk  [author] 10 Jul @ 9:34am 
Bugfix 8.5.4 fixes crash on using Elastispacer at Scaled Chest - available for preview over at DEV version
Hekkaryk  [author] 14 May @ 10:42am 
Hotfix 8.5.3 fixes crash on player join (you wouldn't be able to experience it in offline save or one you've created/you were in adminlist.txt)
Hekkaryk  [author] 13 May @ 3:14pm 
Today's hotfix (8.5.2) resolves issue around crash when attempting to save file. Unfortunately, at this point there's no method to write to a file I know, nor is there a working way to try-catch anything :(
Hekkaryk  [author] 12 May @ 1:41pm 
Updated today, as I was requested - if anything broke, use linked PREV version; it's a bit of an old-new update, it was written at Dec 27, 2021 when I was completely different person ^_^"
Hekkaryk  [author] 23 Nov, 2022 @ 10:22am 
@Lumpy McUglyFace Oh, nice catch! That said, mod's frozen right now, there's no green light to update from it's target server (since >1/2 years); if anything, fix will go to DEV version ( @ https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=960342576 ).
Lumpy McUglyface 22 Nov, 2022 @ 5:58pm 
Line 17 of retune.lua is the problem. Commenting out this line resolves the issue:
_TUNING.MAXIMUM_SANITY_PENALTY = 0
Lumpy McUglyface 22 Nov, 2022 @ 4:25pm 
Maxwell bug: I narrowed it down to the no-respawn-penalty feature. If this is enabled, the bug exists, otherwise is does not.
Lumpy McUglyface 22 Nov, 2022 @ 4:05pm 
Maxwell cannot summon shadow servants or duelists with this mod enabled after the maxwell rework.
Hekkaryk  [author] 10 Mar, 2022 @ 12:26pm 
@Grimshackle Yeah, name's messed up, look at version please. Gotta fix that. Lower version == this (stable) or prev (previous stable), highest version == dev (test/preview version).
Grimshackle 10 Mar, 2022 @ 11:24am 
@Hekkeryk actually in my client hosted i have had [HK]Config++[DEV] but when i open the page for it it opens and downloads [HK]config++ instead
Hekkaryk  [author] 10 Mar, 2022 @ 9:46am 
@Grimshackle Thank you, that's great but you already shared important part. There's a long overdue update waiting to be deployed at https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=960342576 but it keeps getting pushed back >_<" If you want, you could try new save on that one (note changed config fields!)
Grimshackle 9 Mar, 2022 @ 8:32pm 
@Hakkaryk it says all files required exist he was dead wx-78 at the time so i don't know.But since then i since changed the command to allow normal players to use it now it's working fine.Here's a copy of the log https://easyupload.io/h6kre9 if you have time to look at it.
Hekkaryk  [author] 9 Mar, 2022 @ 9:35am 
@Grimshackle If it's first time you're using commands, you should run /check command to initialize command ranks files (or /test or /file if there are command names conflicts).
If you've been using them fine in past then some other mod must've started conflicting (there is a dedicated server that runs this mod 24/7 and there were no such reports).
Grimshackle 8 Mar, 2022 @ 3:07pm 
[00:37:32]: [string "../mods/workshop-655377781/init/commands.lu..."]:1532: attempt to concatenate field '?' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-655377781/init/commands.lua:1532 in (global) verify_access (Lua) <1522-1536>
../mods/workshop-655377781/init/commands.lua:1600 in (field) fn (Lua) <1596-1603>
scripts/usercommands.lua:27 in (global) HandleUserCmdQueue (Lua) <24-29>
scripts/update.lua:45 in () ? (Lua) <33-134>
Grimshackle 8 Mar, 2022 @ 3:07pm 
Hello i am dependant on this mod can you help with this error:
[00:37:32]: KU_sJttOWHc running text command: portal true
[00:37:32]: mysterious_lamp: You cannot use this command. You must be elitemod or above
[00:37:32]: [string "../mods/workshop-655377781/init/commands.lu..."]:1532: attempt to concatenate field '?' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-655377781/init/commands.lua:1532 in (global) verify_access (Lua) <1522-1536>
player = 165338 - wx78 (valid:true)
required_access_level = 5
player_access_level = 0
result = false
or_above =
../mods/workshop-655377781/init/commands.lua:1600 in (field) fn (Lua) <1596-1603>
_ = table: 0xab1d8dd0
caller = 165338 - wx78 (valid:true)
scripts/usercommands.lua:27 in (global) HandleUserCmdQueue (Lua) <24-29>
cmd = table: 0x9d74fb0
scripts/update.lua:45 in () ? (Lua) <33-134>
dt = 0.016723500564694
server_paused = false
Hekkaryk  [author] 16 Nov, 2021 @ 10:13am 
@heoheo00911 Sounds simple enough. If you like redoing whole health component and make it super hard to be compatible with any other mod. I could maybe make what you described but only through non-recommended way of modding (script overwrite); I'm not good enough in Lua/have enough time to become proficient enough to do this properly and to be honest it's been a while since I've played (see overdue update).
heoheo00911 15 Nov, 2021 @ 9:31pm 
Or I can somehow make use of "GRUEDAMAGE" from Klaus and apply it to all creature, which can be modified by using damage modifiers from something such as damage boosters.
heoheo00911 15 Nov, 2021 @ 4:05pm 
Thank you for your commitment, I did take a look at DST's script before finding mods about damage multipliers but none were satisfactory. My idea is that potion and damage booster can properly affect all kind of damage from a character, not just attacks.

I should I have phrased more clearly what my intention was. (For X seconds after consuming Y food, all Z entities receive K more damage, players excluded). I think this will be clean enough that it won't cause crash with other mods.

Kind of like applying Abigail's Vulnerability to all creatures in the Constant for a set amount of time. However, I've yet to find it in DST's code.
Hekkaryk  [author] 15 Nov, 2021 @ 9:49am 
@heoheo00911 There's a dedicated tuning property called MULTIPLAYER_ATTACK_MODIFIER and logic would suggest that setting custom_tuning to MULTIPLAYER_ATTACK_MODIFIER:2 would multiply player damage by 2 and MULTIPLAYER_ATTACK_MODIFIER:0.5 cut it in half. But no, Klei wrote it differently (did not use this property for weapon damage multiplier).
You could try setting custom_tuning to NIGHTSWORD_DAMAGE:34 to reduce nightsword damage by half or NIGHTSWORD_DAMAGE:136 to double it - and do so for other vanilla weapons, like: NIGHTSWORD_DAMAGE:34,SPEAR_DAMAGE:17 and so on, but it sounds like a chore... it would also not be used by custom weapons and would not change damage player RECEIVES. There is components.health.playerabsorb that's used by Wigfrid but it's set to 0 for others (also - it's deprecated) and components.health.externalabsorbmodifiers that's not only far more complex (yet flexible) but also set to 0 by default.
heoheo00911 15 Nov, 2021 @ 4:11am 
I have a question, is it possible that I can make a global damage multiplier with this mod? ( For E.G: X entities receive Y damage) As up to now I only see Klaus having that feature.
Hekkaryk  [author] 24 Sep, 2021 @ 11:28am 
I'll look into it later. For now, does /check command fails too or not?
Grimshackle 23 Sep, 2021 @ 3:11am 
[00:34:04]: [string "../mods/workshop-655377781/init/commands.lu..."]:349: bad argument #1 to 'open' (string expected, got nil)
LUA ERROR stack traceback:
=[C]:-1 in (field) open (C) <-1--1>
../mods/workshop-655377781/init/commands.lua:349 in (global) get_players_in_rank (Lua) <338-373>
../mods/workshop-655377781/init/commands.lua:1330 in (global) command_rank (Lua) <1312-1334>
../mods/workshop-655377781/init/commands.lua:1724 in (field) fn (Lua) <1722-1726>
scripts/usercommands.lua:27 in (global) HandleUserCmdQueue (Lua) <24-29>
scripts/update.lua:49 in () ? (Lua) <33-140>
Grimshackle 23 Sep, 2021 @ 3:11am 
[00:34:04]: [string "../mods/workshop-655377781/init/commands.lu..."]:349: bad argument #1 to 'open' (string expected, got nil)
LUA ERROR stack traceback:
=[C]:-1 in (field) open (C) <-1--1>
../mods/workshop-655377781/init/commands.lua:349 in (global) get_players_in_rank (Lua) <338-373>
player = 161995 - wolfgang (valid:true)
rank = elitemod
valid_rank_name = true
invalid_name_message = Rank name invalid - try: prestige elite mod elitemod
../mods/workshop-655377781/init/commands.lua:1330 in (global) command_rank (Lua) <1312-1334>
player = 161995 - wolfgang (valid:true)
rank = elitemod
operation = nil
name = nil
promote = false
../mods/workshop-655377781/init/commands.lua:1724 in (field) fn (Lua) <1722-1726>
params = table: 43790868
caller = 161995 - wolfgang (valid:true)
scripts/usercommands.lua:27 in (global) HandleUserCmdQueue (Lua) <24-29>
cmd = table: 43791510
scripts/update.lua:49 in () ? (Lua) <33-140>
dt = 0.01668899320066
Hekkaryk  [author] 30 May, 2020 @ 11:55pm 
@Dezcoo what sort of update do you mean? You're having some sort of issue with mod?
Grimshackle 25 May, 2020 @ 2:00am 
any updates :3?
Parisot 2 Nov, 2019 @ 2:15pm 
thx for ur Help i gonna dive into this now :D
Hekkaryk  [author] 2 Nov, 2019 @ 12:23pm 
@Parisot? It misbehaved in past on our heavily modded dedicated server so I kind of lost focus on it but:
1. Start by setting enable_cleanup = true (and cleanup_ignore_domesticated = true for dedicated server - this is true by default but it's better to make sure it's true)
2. Start server then stop it (to generate it's files in DST installation directory)
3. Configure hk_config_cleanup_limits.txt - one line for one limit -> prefab space limit_number
4. Configure hk_config_cleanup_ignoredtags.txt - one line per one EXTRA tag to ignore
5. Ignore hk_config_cleanup_birdfood.txt (it's unimplemented)

Feel free to drop bug reports :)
Parisot 1 Nov, 2019 @ 3:42am 
how i use the clean up files and the inore tag one pls show me a exmple
Hekkaryk  [author] 21 Jan, 2019 @ 1:32pm 
@SugarBear13 Works fine - see Kronik dedicated server to check it out live :)
SuGarBeAr13 19 Jan, 2019 @ 11:24am 
does not work ...only Mod i had wouldnt launch server
Hekkaryk  [author] 16 Dec, 2018 @ 12:38pm 
@Tatsuya Suou: Well I'm glab it works for you now, cause I sure didn't had idea what could be wrong with it ^_^" If code handling AF would change on Klei side of things, [Hk]Config++ would likely crash on surface AF spawn attempt (until this part of it would be disabled or I'd update it) =_="
Gabriel 16 Dec, 2018 @ 11:18am 
Okay, forget about it. I don't know what it was, but I created another world and suddenly it worked: With an Ancient Gateway, I was able to create the Fuelweaver. Maybe it was a mod I had enabled, or maybe it was something else. Idk what it was, but either way, you don't have to worry about it anymore, Hekkaryk.
Gabriel 15 Dec, 2018 @ 11:36am 
Alrighty then.
Hekkaryk  [author] 15 Dec, 2018 @ 11:18am 
@Tatsuya Suou :O I'll check if there are were any code changes; perhaps this functionality broke :|
Gabriel 15 Dec, 2018 @ 9:11am 
Small question: How do you spawn the Ancient Fuelweaver outside of the caves? I created mah server, tried to spawn him but he just decided to go "No" and die. Tried to do the same after spawning an Ancient Gateway and activating it, he went "No" again. Yes, I did make him spawnable in the configuration menu.
Hekkaryk  [author] 8 Aug, 2018 @ 12:45pm 
@brotherpk6 Thanks anyway, I'm thinking about writing safety check anyway ^_^
brother 7 Aug, 2018 @ 4:47pm 
So I just tried getting on the same world that I was getting problems from, and it let me right on. Here is the pastebin though, in case it arises again. https://pastebin.com/t3gAeDZQ
Hekkaryk  [author] 7 Aug, 2018 @ 9:42am 
@brotherpk6 Thank you! ^_^
brother 6 Aug, 2018 @ 6:55pm 
I’ll send you a list the next time I get back on the game. I’m typically too busy during the week, although I’ll try tomorrow.
Hekkaryk  [author] 5 Aug, 2018 @ 9:59am 
@brotherpk6 This is likely a mod that adds some special abilities to player or add new items. Could you perhaps send me list of your used mods? You can find it at
%USERPROFILE%\Documents\Klei\DoNotStarveTogether\Cluster_{number_of_save_slot}\Master\modoverrides.lua
and you can send me it to hekkaryk@gmail.com or via (for example) https://pastebin.com/ (just copy link you get after posting modoverrides.lua content - you can open .lua files with notepad) ^_^
brother 5 Aug, 2018 @ 8:32am 
Thanks Hekkaryk! I have 68ish mods enabled so do you know what kind of mod it might be? I’ll be troubleshooting, so if not it’s okay!
Hekkaryk  [author] 5 Aug, 2018 @ 5:03am 
@brotherpk6 you must be using another mod that overrides default inst.OnLoad method - please turn off item GUID logging by setting "Log item IDs on pickup" (enable_pickup) to "No (vanilla game behaviour)" (false)
Hekkaryk  [author] 5 Aug, 2018 @ 5:01am 
@brotherpk6 investigating
brother 4 Aug, 2018 @ 2:04pm 
Hey! So I just started getting this error and now I can't get a server started:


[00:01:11]: [string "../mods/workshop-655377781/init/pickup.lua"]:12: stack overflow
LUA ERROR stack traceback:
../mods/workshop-655377781/init/pickup.lua:12 in (field) HkPrevOnLoad (Lua) <10-22>
Hekkaryk  [author] 24 Jul, 2018 @ 8:35am 
@NoahAndrewCooper Hello there! :) For starters one of you need to already be an server admin or one of server admins needs to write /rank mod add NoahAndrewCooper (as always, they need to write /check at least once since mod was activated!)
Clover 5 May, 2018 @ 1:51pm 
idk
but
I fixed my problems by uninstalling and reinstalling the game
Hekkaryk  [author] 21 Apr, 2018 @ 11:31am 
@Sparki Games This isn't my mod log since it's for singleplayer but uh...
a) find a file
b) copy its content
c) post it to pasted.co or some other pastebin-like website
d) hit sumbit and copy link it gives you
e) paste link to shared file here
Clover 21 Apr, 2018 @ 8:37am 
(don't know about shipwrecked log if it shipwrecked or not)
Clover 21 Apr, 2018 @ 8:37am 
I shall try to link you to a klei forum post I made which has DST log and Shipwrecked crash log
https://forums.kleientertainment.com/klei-bug-tracker/dont-starve-together/infinite-loading-world-r9932/