Don't Starve Together

Don't Starve Together

Dev Tools
 This topic has been pinned, so it's probably important
Demonblink  [developer] 5 Sep, 2020 @ 12:13pm
Issue Reports
Did you find an issue? Just post a comment in this discussion describing it or open a new issue on GitHub: https://github.com/victorpopkov/dst-mod-keep-following/issues/
< >
Showing 1-9 of 9 comments
Viktor 7 Sep, 2020 @ 2:55pm 
I managed to crash my game with this mod by toggling the Dev Tools menu after using the following remote code:
AllRecipes["spice_garlic"].tab = nil
This code prevents players from crafting the garlic seasoning. Disabling a non-character specific item like backpack and toggling the menu afterwards doesn't crash the game.
Demonblink  [developer] 7 Sep, 2020 @ 3:15pm 
@Viktor, Thank you for your report, as usual. Will be fixed in the next release (v0.2.0): https://trello.com/c/1UboNJ8T
Last edited by Demonblink; 7 Sep, 2020 @ 3:27pm
Furry Eskimo 20 Sep, 2020 @ 9:27am 
Hello again! Hope you're having a blast continuing to make this mod. I wanted to let you know of something weird I discovered when using your client mod with a server mod I'm making. It seems like your mod was somehow putting all my characters into something akin to super-god mode? Is this right? I only noticed it when I turned on my character's aura (inst.components.sanityaura.aura = 0.2) and the game crashed. I had no idea why, but then realized all of my characters were immune to auras. It was only later I noticed I was also immune to temperature, attacks, and starvation.

Was this intentional? I may have simply turned on super-god mode, somehow, but I wasn't even aware it was on, or that a client mod could do something like that.

Anyway, I just wanted to let you know it might cause conflicts with other mods. Hope this helps.
Demonblink  [developer] 20 Sep, 2020 @ 11:07am 
@Furry Eskimo, Thank you for your report. There might be an issue with god mode that I'm not aware of but the behaviour you have described seems to be intentional.

There is a "Toggle God Mode" option in the menu which enables setting the god mode for you and other characters. And the "Default god mode" in configurations which should toggle the god mode for your character by default when the game loads and that one is enabled by default. You may disable it in the configurations and see if it resolves your problem.

As for now, the only issue (technically it's not an issue, but the behaviour needs some improvements) regarding god mode I'm aware of is the god mode state tracking of other characters on dedicated servers.
󰀏Niko 12 Nov, 2022 @ 6:09pm 
I seem to crash every time I turn into Wonkey or use the seamlessplayerswapper feature at all for that matter.
Demonblink  [developer] 12 Nov, 2022 @ 6:39pm 
󰀏Niko, Thank you for your report. I'll take a look into that.
󰀏Niko 8 Jan, 2023 @ 12:57pm 
Originally posted by 󰀏Niko:
I seem to crash every time I turn into Wonkey or use the seamlessplayerswapper feature at all for that matter.

I looked more into the issue and the crash log seems to suggest it's an issue with updating the username labels, and more specifically, trying to set the name to nil. My guess as to what's going on is that at some point in the player swap transition the part of the player that the mod uses to determine their username gets transferred to the new prefab leaving nothing in it's place and thus tries setting the username label to nil. Likely a important note, I play with the username labels on.

This is the crash log I get:
[string "../mods/workshop-2220506640/scripts/devtool..."]:284: calling 'SetText' on bad self (string expected, got nil) LUA ERROR stack traceback: =[C]:-1 in (method) SetText (C) <-1--1> ../mods/workshop-2220506640/scripts/devtools/labels.lua:284 in (method) UpdateUsername (Lua) <275-297> self = DebugStringStop = function - ../mods/workshop-2220506640/scripts/devtools/utils/debug.lua:55 DebugError = function - ../mods/workshop-2220506640/scripts/devtools/utils/debug.lua:55 DebugErrorNotInCave = function - ../mods/workshop-2220506640/scripts/devtools/utils/debug.lua:55 username_mode = coloured DebugString = function - ../mods/workshop-2220506640/scripts/devtools/utils/debug.lua:55 DebugActivateEventListener = function - ../mods/workshop-2220506640/scripts/devtools/utils/debug.lua:55 DebugSelectedPlayerString = function - ../mods/workshop-2220506640/scripts/devtools/utils/debug.lua:55 default_username_mode = coloured DebugErrorNotInForest = function - ../mods/workshop-2220506640/scripts/devtools/utils/debug.lua:55 font_size = 18 DebugSendRPCToServer = function - ../mods/workshop-2220506640/scripts/devtools/utils/debug.lua:55 is_selected_enabled = true default_font = stint-ucr DebugErrorNotAdmin = function - ../mods/workshop-2220506640/scripts/devtools/utils/debug.lua:55 DebugInit = function - ../mods/workshop-2220506640/scripts/devtools/utils/debug.lua:55 DebugDeactivateEventListener = function - ../mods/workshop-2220506640/scripts/devtools/utils/debug.lua:55 font = stint-ucr name = Labels default_font_size = 18 devtools = DevTools DebugTerm = function - ../mods/workshop-2220506640/scripts/devtools/utils/debug.lua:55 is_username_enabled = true DebugStringStart = function - ../mods/workshop-2220506640/scripts/devtools/utils/debug.lua:55 _ = 1 inst = 101849 - wilson (valid:true) client = nil
󰀏Niko 23 Jan, 2023 @ 12:05pm 
Originally posted by Demonblink:
󰀏Niko, Thank you for your report. I'll take a look into that.
I found a fix for it.
at "scripts/devtools/labels.lua": (line 284), Replace with
Demonblink  [developer] 25 Jan, 2023 @ 11:12am 
󰀏Niko, The fix has been shipped with v0.7.1. Once again, thank you for investigating this.
< >
Showing 1-9 of 9 comments
Per page: 1530 50