Don't Starve Together

Don't Starve Together

Console++ [full version]
12 Comments
Cliffford W 25 Mar, 2024 @ 6:00pm 
How does one do it so i can get the autofill on vanilla ?
https://i.imgur.com/oqFW1xX.png
like that
FriendlyGrass  [author] 16 Mar, 2023 @ 3:02pm 
Thanks!
Crimeraaa 14 Mar, 2023 @ 10:30pm 
every once in a while, I get a strange crash when indexing tables. It usually happens when I'm pressing backspace on the line where I'm indexing. I can give the full traceback if that helps, but for now here's what I got:

[00:09:48]: [string "scripts/widgets/wordpredictionwidget.lua"]:330: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
scripts/widgets/wordpredictionwidget.lua:330 in (method) RefreshPredictions (Lua) <224-346>
../mods/workshop-2861673744/main/wordpredictionwidget.lua:183 in (field) fn (Lua) <183-183>
scripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216>
scripts/scheduler.lua:419 in (global) RunStaticScheduler (Lua) <417-425>
scripts/update.lua:173 in () ? (Lua) <164-215>

I'm not entirely sure how to reliably replicate this, and other than that this mod (along with its Client version) are ridiculously helpful so thanks for making these in the first place!
FriendlyGrass  [author] 1 Feb, 2023 @ 7:28pm 
This should not be possible but I've inserted a check just in case.

Hey! I've just accidentally deleted your comment by a miss-click! Sorry about this (though Steam UI is at fault here).
Medic! 6 Nov, 2022 @ 5:41pm 
Glad to hear it! Great mod, big lifesaver. :]
FriendlyGrass  [author] 6 Nov, 2022 @ 9:12am 
Fixed, thanks!
Medic! 3 Nov, 2022 @ 1:24pm 
Nope, not that. No clue then. :,)
Medic! 3 Nov, 2022 @ 1:20pm 
Oh! Let me check if it's because I have tab set to tab through?
Medic! 3 Nov, 2022 @ 1:19pm 
Was testing things out of curiosity. TheSim. <-- the . crashes, but doesn't with the client mod. This seems to happen with any punctuation used for code from what little I've seen, but I could be wrong. Here's a snippet from the crash:

LUA ERROR stack traceback:
=[C]:-1 in (global) pairs (C) <-1--1>
../mods/workshop-2861673744/main/completer.lua:90 in (upvalue) getpossiblekeys (Lua) <59-128>
../mods/workshop-2861673744/main/completer.lua:157 in () ? (Lua) <155-160>
=[C]:-1 in (method) CallRPC (C) <-1--1>
scripts/networkclientrpc.lua:1216 in (global) HandleRPCQueue (Lua) <1197-1266>
scripts/update.lua:42 in () ? (Lua) <33-135>
FriendlyGrass  [author] 21 Oct, 2022 @ 11:13am 
It isn't possible to autocomplete when the __index is an arbitrary function but I could hardcode this behaviour specifically for Klei's class "props" (properties?) and that should be just fine, thanks.
老王天天写bug 18 Oct, 2022 @ 8:22pm 
All props components (like health, hunger, sanity) have the same issue, cause their metatable.__index is a function.


class.lua:
-------- line 15 ---------
local function __index(t, k)
local p = rawget(t, "_")[k]
if p ~= nil then
return p[1]
end
return getmetatable(t)[k]
end

-------- line 94 --------
if props ~= nil then
c.__index = __index
c.__newindex = __newindex
else
c.__index = c
end
老王天天写bug 17 Oct, 2022 @ 9:42pm 
Admirable works! Thanks very much!
Component methods failed to auto complete though: for example, when typing ThePlayer.components.health:Do, method `DoDelta` is absent. Looking forwarding for future updates.