饥荒联机版

饥荒联机版

Interactable Cursor
 此主题已被置顶,因此可能具有重要性
the sewers  [开发者] 8 月 6 日 下午 9:19
Bug Reports
okay, i'm opening this up for this mod too because i'm apparently too dense, and keep making bad decisions when updating the mod. :vlambeerPlant:

> "the mod's crashing."
client logs, please.
(if using windows, the path should be this: "C:\Users\<your username here>\Documents\Klei\DoNotStarveTogether\client_log.txt".
the most important snippet is generally at the end of it, the rest is mostly useless in most cases.
if it's hard to find, search for this, using ctrl + f: "LUA ERROR stack traceback:". anything after this is the crash log.)
IF YOU DON'T PROVIDE LOGS IN CASE OF A CRASH, IT'LL MOST LIKELY STAY UNFIXED

> "the mod's not working the way i expected."
tell me what happened, and what you expected to happen instead.

> "mod * is making your mod not work properly"
which mod? what configurations did you have on, and what happened that went wrong?

> "the mod's not working correctly, and i don't know why"
what scenario were you in? were you in a world (with a loaded character), or a menu? what setting did you have enabled? does using default settings (by using the "reset" button in the mod configuration pop-up) fix anything?

if you guys can post your bugs here (along with client logs if it's crashing), i'll appreciate it. :DSTghost:
最后由 the sewers 编辑于; 8 月 8 日 上午 9:47
< >
正在显示第 1 - 13 条,共 13 条留言
Lil 64 8 月 7 日 下午 1:51 
Sorry for the late answer, the config I had was that

Cursor Settings:
Cursor Hand: Generic
Cursor Scale: 32x32
Cursor Size: Default
Lefty Mode: Default

Interactable Inventory: Enabled
Right Click States: Enabled

"Fun" Settings:
Cursor Shadow: Disabled
Character Cursors: Enabled
Cursor VFX: Enabled
Color Correction: Disabled

Click Feedback: Enabled
Clicky Cursor: Disabled
Clicking Volume: 30%
Clicking Sound: Clicky

Wobbly Cursor: Disabled

Experimental:
[E] Options Panel: Enabled

Debug Function: Disabled

If this can help it happened to me with Willow, Wigfrid and Wendy cursors
Thank you for trying to fix your mods it's great to see that you care about them and thatyou'll try to fix our bugs
the sewers  [开发者] 8 月 7 日 下午 8:26 
@Lil 64 thank you. unfortunately, right now i'm low on free time, so i can't test stuff thoroughly enough. if you can reproduce the bug again, is it possible to see it crash in the client logs? i've written a little section in the post showing how you can see the logs. it's going to help immensely if you can, if not, that's fine too.
in the meantime, does disabling "cursor vfx" fix anything?
the sewers  [开发者] 8 月 8 日 上午 6:56 
okay, i really want to be able to fix this, but i might be literally unable to do that, without the crash logs. i'm sorry, but as long as i can't see the error traceback, i won't be able to reproduce the bug, or fix it.
again, the log is found at "C:\Users\<your username here>\Documents\Klei\DoNotStarveTogether\client_log.txt", and if you can't paste it all, read the section about mod crashes in the thread
Lil 64 8 月 8 日 下午 12:53 
I tried to die again with willow a lot of time and it didn't crash.
I'll just play with the mod and if anything happen I'll try to get the logs :balatro_egg:
the sewers  [开发者] 8 月 8 日 下午 1:34 
@Lil 64 hmmm, weird. well, if it does crash, and you're able to send the logs, i'll fix it right away. i'm sorry it started crashing in the first place :/
Lil 64 8 月 8 日 下午 2:13 
Don't be sorry you are already doing you're best and your mods are amazings
Deimos 9 月 30 日 下午 9:20 
[00:30:29]: ----------Lua Error Start----------
[00:30:29]: [string "scripts/modutil.lua"]:35: modname must be supplied manually if calling GetModConfigData from outside of modmain or modworldgenmain. Use ModIndex:GetModActualName(fancyname) function [fancyname is name string from modinfo].
[00:30:29]: @=[C]:-1 in (global) assert (C) <-1--1>
@scripts/modutil.lua:35 in () ? (Lua) <34-62>
optionname = cursorcharacterdepend
modname = nil
get_local_config = nil
@=(tail call):-1 in () (tail) <-1--1>
@../mods/workshop-3399184840/scripts/cursor.lua:52 in (method) LoadConfigs (Lua) <45-93>
self =
enabled = true
focus_target = false
shown = true
can_fade_alpha = true
focus_flow_args = table: 0x600153ec7500
inst = 127892 - (valid:true)
focus = false
focus_flow = table: 0x600153ec5e40
name = UIAnim
children = table: 0x600153ec6080
callbacks = table: 0x600153ec4d80
getcfg = function - ../mods/workshop-3399184840/scripts/cursor.lua:46
@../mods/workshop-3399184840/scripts/cursor.lua:14 in (field) _ctor (Lua) <11-39>
self =
enabled = true
focus_target = false
shown = true
can_fade_alpha = true
focus_flow_args = table: 0x600153ec7500
inst = 127892 - (valid:true)
focus = false
focus_flow = table: 0x600153ec5e40
name = UIAnim
children = table: 0x600153ec6080
callbacks = table: 0x600153ec4d80
@scripts/class.lua:191 in (field) Cursor (Lua) <181-194>
class_tbl = table: 0x60008fa66440
arg = nil
obj = UIAnim
@../mods/workshop-3399184840/modmain.lua:39 in (field) fn (Lua) <37-42>
@scripts/scheduler.lua:188 in (method) OnTick (Lua) <164-216>
self =
running = table: 0x60008bed1b00
waitingfortick = table: 0x60008bed1b40
hibernating = table: 0x60008bed1bc0
tasks = table: 0x60008bed1580
waking = table: 0x600153edbbc0
attime = table: 0x60008bed1c00
tick = 1
k = PERIODIC nil: 0.000000
v = true
already_dead = false
@scripts/scheduler.lua:409 in (global) RunScheduler (Lua) <407-415>
tick = 1
@scripts/update.lua:240 in (upvalue) old_fn (Lua) <224-298>
dt = 0.033333335071802
tick = 1
i = 1
@../mods/workshop-3377689002/src/cr/wrapped.lua:85 in () ? (Lua) <83-87>
@=[C]:-1 in (global) xpcall (C) <-1--1>
@../mods/workshop-3377689002/src/cr/wrapped.lua:83 in () ? (Lua) <64-101>
arg = nil
arg = table: 0x600153ed98c0
[00:30:29]: stack traceback:
=[C]:-1 in (global) assert (C) <-1--1>
scripts/modutil.lua:35 in () ? (Lua) <34-62>
=(tail call):-1 in () (tail) <-1--1>
../mods/workshop-3399184840/scripts/cursor.lua:52 in (method) LoadConfigs (Lua) <45-93>
../mods/workshop-3399184840/scripts/cursor.lua:14 in (field) _ctor (Lua) <11-39>
scripts/class.lua:191 in (field) Cursor (Lua) <181-194>
../mods/workshop-3399184840/modmain.lua:39 in (field) fn (Lua) <37-42>
scripts/scheduler.lua:188 in (method) OnTick (Lua) <164-216>
scripts/scheduler.lua:409 in (global) RunScheduler (Lua) <407-415>
scripts/update.lua:240 in (upvalue) old_fn (Lua) <224-298>
../mods/workshop-3377689002/src/cr/wrapped.lua:85 in () ? (Lua) <83-87>
=[C]:-1 in (global) xpcall (C) <-1--1>
../mods/workshop-3377689002/src/cr/wrapped.lua:83 in () ? (Lua) <64-101>
[00:30:29]: ----------Lua Error End----------
the sewers  [开发者] 9 月 30 日 下午 10:13 
@Deimos my stupid ass forgot to change the modinfo's modname before uploading, which caused the crash, sorry. are you able to use the mod normally now?
Dot the Veggie 11 月 7 日 下午 1:18 
Hi!

Loving the mod, can't play without it anymore. I've noticed a visual bug when using right-click state and opening the map, especially with characters who do have in-map abilities such as Wartox and Winona.

The cursor rapidly flashes between its regular "point" state and its teleport FX version (at least, for Wartox; for Winona, there does not seem to be a specific cursor state for picking a wormhole to teleport to and that uses the default right-click state instead), as if it were panicking and unable to know which one to choose from so trying to it tries to display both.

Hope that helps!
最后由 Dot the Veggie 编辑于; 11 月 7 日 下午 1:23
the sewers  [开发者] 11 月 7 日 下午 8:26 
@Dot the Veggie hey, thanks for the bug report! i'll try and test for this scenario, but if you could tell me what settings you had on would greatly help. did you have any of these settings on?
- Cursor VFX
- Character Cursors
- Right Click States
- Interactable Inventory
Dot the Veggie 11 月 8 日 上午 12:24 
引用自 the sewers
@Dot the Veggie hey, thanks for the bug report! i'll try and test for this scenario, but if you could tell me what settings you had on would greatly help. did you have any of these settings on?
- Cursor VFX
- Character Cursors
- Right Click States
- Interactable Inventory

Hi! Yup, all of those are ticked on, including all "fun" options and sound as well. So that includes :

- Cursor VFX ON
- Character Cursors ON
- Right Click States ON
- Interactable Inventory ON
- Shadow Enabled
- Click Feedback and Clicky Cursor ON
- Color Correction and Wobbly Cursor ON
- Scale 80x80
- Size 0.5x

Style is "Curly" underneath the character cursors.

As soon as Right Click States are disabled and the cursor is forced in "point" mode on the map, the issue disappears, as the cursor does not have to pick between point or interact states. Hope that helps!
最后由 Dot the Veggie 编辑于; 11 月 9 日 上午 5:31
Dot the Veggie 11 月 11 日 上午 8:46 
Hi, me again!

Posting to say that the Curly style has some random leftover white pixels showing at the bottom right of the cursor sprite. It can easily be missed at ridiculously high resolujtions, but it becomes obvious when the cursor is smaller (80x80 scale with 0.5x size shows it immediately)

Here's a couple of screenshots showcasing the issue:
https://imgur.com/EfsMr5B

https://imgur.com/vngGufV

Once you've seen it, you can't get your eyes off it.
[o0:11:42]: APP:Klei//DoNotStarveTogether/donotstarvetogether_client.dmp written.
[00:11:42j:[C]-1): LoadPrefabs
gether
[00:11:42]:[string"scripts/mods.lua"](715):oldRegisterPrefabs
[00:11:42]:[string"./mods/workshop-3553682068/modmain1.lua"](69): oldRegisterPrefabs
[00:11:42]:[string"./mods/workshop-3597024951/modmain.lua"](53): oldRegisterPrefabs
[00:11:42]:[string"./mods/workshop-3451041805/modmain1.lua"](774): oldRegisterPrefabs
[00:11:42]:[string"./mods/workshop-3343873962/modmain.lua"](276): oldRegisterPrefabs
[00:11:42]:[string"./mods/workshop-3554599253/scripts/tf_mini."](14): oldRegisterPrefabs
[00:11:42]:[string"./mods/workshop-3554599253/scripts/tf_hook."](44): oldRegisterPrefabs
[00:11:42]:[string"./mods/workshop-3554599253/scripts/tf_hook..."(649): oldRegisterPrefabs
[00:11:42]: [string"./mods/workshop-1909182187/scripts/medal_h."](5046):oldRegisterPrefabs
[00:11:42]:[string"./mods/workshop-1909182187/scripts/medal_w."](370): RegisterPrefabs
[00:11:42]:[string"scripts/gamelogic.lua"](316): LoadAssets
[00:11:42]:[string"scripts/gamelogic.lua"](1050): cb
[00:11:42]:[string"scripts/shardindex.lua"](214): OnLoadSaveDataFile
[00:11:42]:[string"scripts/shardindex.lua"](219):?
[00:11:42]:[C]-1): GetPersistentString
[00:11:42]:[string"scripts/shardindex.lua"](218):GetSaveDataFile
[00:11:42]: [string "scripts/gamelogic.lua"](1053): DoLoadWorldFile
[00:11:42]:[string"scripts/gamelogic.lua"](1196): DoResetAction
[00:11:42]:[string"scripts/gamelogic.lua"](1242):complete_callback
[00:11:42]:[string"scripts/upsell.lua"](13): UpdateGamePurchasedState
< >
正在显示第 1 - 13 条,共 13 条留言
每页显示数: 1530 50