Don't Starve Together

Don't Starve Together

Character Indicators | QoL
 This topic has been pinned, so it's probably important
Cliffford W  [developer] 14 Feb, 2024 @ 6:34am
Bugs & Crashlogs
Post your crashlogs and bugs here
< >
Showing 1-9 of 9 comments
her.own.knife 14 Feb, 2024 @ 7:01am 
[00:00:55]: [string "scripts/mainfunctions.lua"]:1587: variable 'SetGlobalErrorWidget' is not declared
LUA ERROR stack traceback:
=[C] in function 'error'
scripts/strict.lua(23,1)
scripts/mainfunctions.lua(1587,1)
=[C] in function 'SetPersistentString'
scripts/mainfunctions.lua(29,1) in function 'SavePersistentString'
scripts/modindex.lua(119,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(106,1) in function 'BeginStartupSequence'
scripts/main.lua(505,1) in function 'callback'
scripts/modindex.lua(735,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(709,1) in function 'Load'
scripts/main.lua(504,1) in main chunk
[00:00:55]: DoLuaFile Error: (null)
[00:00:55]: LuaError but no error string
[00:00:55]: Error loading main.lua
[00:00:55]: Failed mSimulation->Reset()
[00:00:55]: [Workshop] CancelDownloads for all pending downloads
[00:00:55]: Collecting garbage...
[00:00:55]: lua_gc took 0.06 seconds
[00:00:55]: ~ShardLuaProxy()
[00:00:55]: ~cEventLeaderboardProxy()
[00:00:55]: ~ItemServerLuaProxy()
[00:00:55]: ~InventoryLuaProxy()
[00:00:55]: ~NetworkLuaProxy()
[00:00:55]: ~SimLuaProxy()
[00:00:55]: [Workshop] CancelDownloads for all pending downloads
[00:00:55]: lua_close took 0.03 seconds
[00:00:55]: [Workshop] CancelDownloads for all pending downloads
[00:00:55]: [Steam] Auth ticket cancelled
[00:00:56]: CurlRequestManager::ClientThread::Main() complete
[00:00:56]: HttpClient2 discarded 0 callbacks.
[00:00:56]: Shutting down
Cliffford W  [developer] 14 Feb, 2024 @ 7:12am 
can you post entire log ?
Kain Morgen 15 Apr, 2024 @ 2:07am 
I tried to use this with 'Global Positions' and noticed the following bug/incompatibility:
Everything is fine (correct skin is shown for the character indicator) while other players are within a certain range.

If other players are beyond this range, then the skinned character indicator is replaced with the question mark placeholder indicator but never disappears. May because 'Globlal Positions' tells the client that those players are still within range. That is a bit annoying, since with many players on a server, lots of your screen is filled with character indicators of people very far away. I have to check again if this only happens as the player who is also host or for client players as well.

Problem here is blocking this part in Global Positions would also disable the shared progression of the map, which is the most appreciated feature of that mod.

Is this a known bug?
Would you like to fix?
If so, do you need any more input or documentation to recreate the issue?
Last edited by Kain Morgen; 15 Apr, 2024 @ 2:11am
Cliffford W  [developer] 15 Apr, 2024 @ 2:37am 
This is mainly Global Positions issue from my standpoint since it doesn't play nice with my mod and overrides it.

and also in my opinion and from what I've heard from most people Global Positions is bit of a performance hog
Kain Morgen 16 Apr, 2024 @ 2:57am 
Thanks for your reply, Clifford.

Global Positions was my go to for mapsharing, since it was the first working mod covering this feature and I'm not entirely up to date, which mods got obsoleted by better alternatives.

I swapped the OG Global Positions for this one here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3138571948
and now the character indicators actually disappear when going beyond the distance threshold.
Fixes my issue while maintaining all use cases I have for Global Positions.

Thanks again.
Vân Ca 20 Apr @ 10:15pm 
[00:03:45]: [string "../mods/workshop-2351915881/modmain.lua"]:3: attempt to call global 'getfenv' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-2351915881/modmain.lua(3,1) in main chunk
=[C] in function 'xpcall'
scripts/util.lua(790,1) in function 'RunInEnvironment'
scripts/mods.lua(579,1) in function 'InitializeModMain'
scripts/mods.lua(553,1) in function 'LoadMods'
scripts/main.lua(376,1) in function 'ModSafeStartup'
scripts/main.lua(506,1)
=[C] in function 'SetPersistentString'
scripts/mainfunctions.lua(29,1) in function 'SavePersistentString'
scripts/modindex.lua(119,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(106,1) in function 'BeginStartupSequence'
scripts/main.lua(505,1) in function 'callback'
scripts/modindex.lua(735,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(709,1) in function 'Load'
scripts/main.lua(504,1) in main chunk
[00:03:45]: [string "scripts/mainfunctions.lua"]:1600: variable 'SetGlobalErrorWidget' is not declared
LUA ERROR stack traceback:
=[C] in function 'error'
scripts/strict.lua(23,1)
scripts/mainfunctions.lua(1600,1)
=[C] in function 'SetPersistentString'
scripts/mainfunctions.lua(29,1) in function 'SavePersistentString'
scripts/modindex.lua(119,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(106,1) in function 'BeginStartupSequence'
scripts/main.lua(505,1) in function 'callback'
scripts/modindex.lua(735,1)
=[C] in function 'GetPersistentString'
scripts/modindex.lua(709,1) in function 'Load'
scripts/main.lua(504,1) in main chunk
[00:03:45]: DoLuaFile Error: (null)
[00:03:45]: LuaError but no error string
[00:03:45]: Error loading main.lua
[00:03:45]: Failed mSimulation->Reset()
[00:03:45]: [Steam] Game Connection terminated
Cliffford W  [developer] 20 Apr @ 11:12pm 
Should be fixed now
Cliffford W  [developer] 21 Apr @ 3:11am 
Should be all fixed
< >
Showing 1-9 of 9 comments
Per page: 1530 50