Don't Starve Together

Don't Starve Together

Auto ReEquip Weapon
pigshaam  [developer] 4 Jan, 2015 @ 2:54am
Bug Reports
Please tell me bugs.
If you crash by this mod, you can put crash log from "C:\Users\{YourAccountName}\Documents\Klei\DoNotStarveTogether\log.txt".
< >
Showing 1-8 of 8 comments
Vanguard 4 Jan, 2015 @ 3:11pm 
Log-file: http://dropmefiles.com/e1nZS
Game crashed when WX-78 said "TORCH EXHAUSTED" and I had no second torch for auto-equip.
pigshaam  [developer] 5 Jan, 2015 @ 5:57am 
@Vanguard Prime
Thanks for let me know. I try to fix it.
pigshaam  [developer] 10 Jan, 2015 @ 1:19pm 
@Vanguard Prime
This mod had conflicted with original automatic re-equipment of the torch and tools(axe, shovel, etc...).
So I excluded those items into outside of the scope of re-equipment.
Please resync and update mod.
It maybe work correctly. Thanks.
Vanguard 15 Jan, 2015 @ 2:23pm 
Game crashed when I was wondering around, dunno what happened... (maybe Walrus attacked me with his blowdart and mod tried to re-equip it for him? O_o)
____________________________________________________________________

THREAD - started 'CreateSnapshotThread' (3068)
QueryServerComplete no callback
QueryServerComplete no callback
QueryServerComplete no callback
FMOD Error: Can't play event dontstarve/creatures/pengull/splash: An Event failed to be retrieved, most likely due to 'just fail' being specified as the max playbacks behavior.
FMOD Error: Can't play event dontstarve/creatures/pengull/splash: An Event failed to be retrieved, most likely due to 'just fail' being specified as the max playbacks behavior.
[string "../mods/workshop-369081028/modmain.lua"]:305: attempt to index local 'playercontroller' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-369081028/modmain.lua:305 in (method) Hit (Lua) <294-323>
self =
dest = (-90.32, -0.00, -71.25)
launchoffset = (3.00, 2.00, 0.00)
start = (-87.07, -0.00, -64.17)
Miss = function - ../mods/workshop-369081028/modmain.lua:262
owner = 182908 - (LIMBO) (valid:true)
onthrown = function - scripts/prefabs/blowdart.lua:200
onmiss = function - scripts/entityscript.lua:1174
range = 25
onhit = function - scripts/prefabs/blowdart.lua:25
inst = 182958 - blowdart_walrus (valid:true)
Hit = function - ../mods/workshop-369081028/modmain.lua:294
speed = 60
hitdist = 1
homing = false
_ = table: 219FBB90
target = 102490 - rook (valid:true)
player = 182908 - (LIMBO) (valid:true)
playercontroller = nil
scripts/components/projectile.lua:209 in (method) OnUpdate (Lua) <177-213>
self =
dest = (-90.32, -0.00, -71.25)
launchoffset = (3.00, 2.00, 0.00)
start = (-87.07, -0.00, -64.17)
Miss = function - ../mods/workshop-369081028/modmain.lua:262
owner = 182908 - (LIMBO) (valid:true)
onthrown = function - scripts/prefabs/blowdart.lua:200
onmiss = function - scripts/entityscript.lua:1174
range = 25
onhit = function - scripts/prefabs/blowdart.lua:25
inst = 182958 - blowdart_walrus (valid:true)
Hit = function - ../mods/workshop-369081028/modmain.lua:294
speed = 60
hitdist = 1
homing = false
_ = table: 219FBB90
dt = 0.033333335071802
target = 102490 - rook (valid:true)
dest = (-90.32, -0.00, -71.25)
current = (-89.29, 1.95, -69.01)
direction = (-0.33, -0.62, -0.71)
projectedSpeed = 2.0000001043081
projected = (-89.94, 0.71, -70.44)
coveredDistSq = 32.167309292553
targ_rad = 1.5
scripts/update.lua:151 in () ? (Lua) <118-180>
dt = 0.033333335071802
tick = 227364
k = 182958
v = 182958 - blowdart_walrus (valid:true)
cmp = table: 219FBD98

SCRIPT ERROR! Showing error screen
QueryServerComplete no callback
QueryServerComplete no callback
Force aborting...
Last edited by Vanguard; 15 Jan, 2015 @ 2:26pm
pigshaam  [developer] 16 Jan, 2015 @ 4:54am 
@Vanguard Prime
I also probably think so.
Walrus re-equips his blowdart. So, I think that "playercontroller" value is nil, crashed because he wasn't a player.
Very thanks for reporting ! : )
I try to fix it now.
pigshaam  [developer] 16 Jan, 2015 @ 7:05am 
@Vanguard Prime
Please sync workshop and update this mod.
Walrus crash bug might be fixed.
Thanks !!
Muche 8 Mar, 2016 @ 7:55am 
Crash when lighter runs out of fuel:
[00:01:37]: [Burnable:OnRemoveEntity()] self=table: 561B5950, inst=108619 - lighter(LIMBO) [00:01:37]: stack traceback: scripts/components/burnable.lua:136 in (method) OnRemoveEntity (Lua) <133-141> scripts/entityscript.lua:1282 in (method) Remove (Lua) <1265-1317> scripts/prefabs/lighter.lua:185 in (field) sectionfn (Lua) <170-192> scripts/components/fueled.lua:248 in (method) DoDelta (Lua) <238-256> scripts/components/fueled.lua:214 in (method) SetPercent (Lua) <212-215> ../mods/369081028-Auto ReEquip Weapon/modmain.lua:214 in (local) fn (Lua) <191-226> scripts/entityscript.lua:959 in (method) PushEvent (Lua) <953-976> scripts/components/fueled.lua:255 in (method) DoDelta (Lua) <238-256> scripts/components/fueled.lua:261 in (method) DoUpdate (Lua) <258-271> scripts/components/fueled.lua:221 in (field) fn (Lua) <221-221> scripts/scheduler.lua:194 in (method) OnTick (Lua) <168-225> scripts/scheduler.lua:406 in (global) RunScheduler (Lua) <404-412> scripts/update.lua:166 in () ? (Lua) <150-223> [00:01:37]: [Burnable:OnRemoveEntity()] self=table: 561B5950, inst=108619 - lighter [00:01:37]: stack traceback: scripts/components/burnable.lua:136 in (method) OnRemoveEntity (Lua) <133-141> scripts/entityscript.lua:1282 in (field) depleted (Lua) <1265-1317> scripts/components/fueled.lua:251 in (method) DoDelta (Lua) <238-256> scripts/components/fueled.lua:214 in (method) SetPercent (Lua) <212-215> ../mods/369081028-Auto ReEquip Weapon/modmain.lua:214 in (local) fn (Lua) <191-226> scripts/entityscript.lua:959 in (method) PushEvent (Lua) <953-976> scripts/components/fueled.lua:255 in (method) DoDelta (Lua) <238-256> scripts/components/fueled.lua:261 in (method) DoUpdate (Lua) <258-271> scripts/components/fueled.lua:221 in (field) fn (Lua) <221-221> scripts/scheduler.lua:194 in (method) OnTick (Lua) <168-225> scripts/scheduler.lua:406 in (global) RunScheduler (Lua) <404-412> scripts/update.lua:166 in () ? (Lua) <150-223> [00:01:37]: PushEvent(weaponlost): inst.prefab lighter [00:01:37]: [string "scripts/components/inventoryitem_replica.lu..."]:13: attempt to index field 'classified' (a nil value) LUA ERROR stack traceback: scripts/components/inventoryitem_replica.lua:13 in (local) fn (Lua) <13-13> inst = 108619 - lighter (valid:false) data = table: 5606F2C0 scripts/entityscript.lua:959 in (method) PushEvent (Lua) <953-976> self (valid:false) = GUID = 108619 Transform = Transform (56B1EFA8) inlimbo = false actionreplica = table: 418E8868 actioncomponents = table: 418E8688 lower_components_shadow = table: 418E84F8 entity = Entity (5BCE7F80) AnimState = AnimState (56B1EE28) prefab = lighter Network = Network (56B1F308) Physics = Physics (56B1F7A8) MiniMapEntity = MiniMapEntity (56B1F0E8) SoundEmitter = SoundEmitter (56B1F008) name = Willow's Lighter spawntime = 0.033333335071802 modactioncomponents = table: 561B56D0 replica = table: 418E8368 components = table: 418E8430 persists = false event = percentusedchange data = table: 5606F2C0 listeners = table: 418E94E8 entity = 108619 - lighter (valid:false) fns = table: 418E9920 i = 2 fn = function - scripts/components/inventoryitem_replica.lua:13 scripts/components/fueled.lua:255 in (method) DoDelta (Lua) <238-256> self = sections = 1 sectionfn = function - scripts/prefabs/lighter.lua:170 rate = 1 updatefn = function - scripts/prefabs/lighter.lua:64 bonusmult = 1 inst = 108619 - lighter (valid:false) period = 1 consuming = false _ = table: 561B5E50 depleted = function - scripts/entityscript.lua:1265 amount = -1 oldsection = 1 newsection = 1 scripts/components/fueled.lua:261 in (method) DoUpdate (Lua) <258-271> self = sections = 1 sectionfn = function - scripts/prefabs/lighter.lua:170 rate = 1 updatefn = function - scripts/prefabs/lighter.lua:64 bonusmult = 1 inst = 108619 - lighter (valid:false) period = 1 consuming = false _ = table: 561B5E50 depleted = function - scripts/entityscript.lua:1265 dt = 1 scripts/components/fueled.lua:221 in (field) fn (Lua) <221-221> scripts/scheduler.lua:194 in (method) OnTick (Lua) <168-225> self = running = table: 16AE5B00 waitingfortick = table: 16AE5768 tasks = table: 16AE5AB0 waking = table: 56068F60 attime = table: 16AE5790 hibernating = table: 16AE5B28 tick = 816 k = PERIODIC 108619: 1.000000 v = true already_dead = nil scripts/scheduler.lua:406 in (global) RunScheduler (Lua) <404-412> tick = 816 scripts/update.lua:166 in () ? (Lua) <150-223> dt = 0.033333335071802 tick = 816 i = 816 [00:01:37]: [string "scripts/components/inventoryitem_replica.lu..."]:13: attempt to index field 'classified' (a nil value) LUA ERROR stack traceback: scripts/components/inventoryitem_replica.lua:13 in (local) fn (Lua) <13-13> scripts/entityscript.lua:959 in (method) PushEvent (Lua) <953-976> scripts/components/fueled.lua:255 in (method) DoDelta (Lua) <238-256> scripts/components/fueled.lua:261 in (method) DoUpdate (Lua) <258-271> scripts/components/fueled.lua:221 in (field) fn (Lua) <221-221> scripts/scheduler.lua:194 in (method) OnTick (Lua) <168-225> scripts/scheduler.lua:406 in (global) RunScheduler (Lua) <404-412> scripts/update.lua:166 in () ? (Lua) <150-223>

See http://forums.kleientertainment.com/topic/65217-crash-log-but-maybe-not-caused-by-mods/.
-shhfiftyfive 13 Jun, 2016 @ 5:41pm 
seems this is not compatible with "endothermic torch dst" mod.

the game disconnects from server when torch expires if another one is NOT in inventory (trying to equip it but doesn't know the name of the item). if i do have another one in inventory then the game will not disconnect (but will also not equip the other torch)

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=441266606

please update this mod to add the name of the endothermic torch on your item list.


crash log says this before disconnect:
[00:24:55]: SteamWorkshop::CancelDownloads clearing all unfinished downloads [00:24:55]: [Steam] Auth ticket cancelled [00:24:55]: Manager - ORPHANED UNKNOWN RESOURCES: [00:24:55]: anim/disease_fx.zip - 8 [00:24:55]: anim/batwing.zip - 12 [00:24:55]: anim/meat.zip - 12 [00:24:55]: anim/meat_human.zip - 12 [00:24:55]: anim/spoiled_food.zip - 4 [00:24:55]: anim/nightmarefuel.zip - 4 [00:24:55]: anim/log.zip - 4 [00:24:55]: anim/smoke_puff_small.zip - 4 [00:24:55]: anim/fire_large_character.zip - 4 [00:24:55]: anim/meat_small.zip - 12 [00:24:55]: anim/meat_rack_food.zip - 12 [00:24:55]: anim/plant_meat.zip - 12 [00:24:55]: anim/drumstick.zip - 12 [00:24:55]: anim/mushrooms.zip - 12 [00:24:55]: anim/mandrake.zip - 4 [00:24:55]: anim/ash.zip - 4 [00:24:55]: anim/meat_monster.zip - 12 [00:24:55]: Manager - ORPHANED UNKNOWN RESOURCES: [00:24:55]: shaders/ui_yuv.ksh - 1 [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Orphaned unnamed resource. This resource must have used Add( resource ) to insert itself into the manager. [00:24:55]: Manager - ORPHANED UNKNOWN RESOURCES: [00:24:55]: anim/fire_large_character.zip:fire_large_character--atlas-0.tex - 1 [00:24:55]: anim/meat_rack_food.zip:meat_rack_food--atlas-0.tex - 1 [00:24:55]: anim/ash.zip:ash--atlas-0.tex - 1 [00:24:55]: anim/fire_large_character.zip:fire_large_character--atlas-1.tex - 1 [00:24:55]: anim/disease_fx.zip:disease_fx--atlas-0.tex - 1 [00:24:55]: anim/meat_human.zip:meat_human--atlas-0.tex - 1 [00:24:55]: anim/meat_small.zip:meat_small--atlas-0.tex - 1 [00:24:55]: anim/nightmarefuel.zip:nightmarefuel--atlas-0.tex - 1 [00:24:55]: anim/drumstick.zip:drumstick--atlas-0.tex - 1 [00:24:55]: anim/meat.zip:meat--atlas-0.tex - 1 [00:24:55]: anim/batwing.zip:batwing--atlas-0.tex - 1 [00:24:55]: anim/mushrooms.zip:mushrooms--atlas-0.tex - 1 [00:24:55]: anim/log.zip:log--atlas-0.tex - 1 [00:24:55]: anim/smoke_puff_small.zip:smoke_puff_small--atlas-0.tex - 1 [00:24:55]: anim/plant_meat.zip:plant_meat--atlas-0.tex - 1 [00:24:55]: anim/spoiled_food.zip:spoiled_food--atlas-0.tex - 1 [00:24:55]: anim/mandrake.zip:mandrake--atlas-0.tex - 1 [00:24:55]: anim/batwing.zip:batwing--atlas-1.tex - 1 [00:24:55]: anim/meat_monster.zip:meat_monster--atlas-0.tex - 1 [00:24:55]: CurlRequestManager::ClientThread::Main() complete [00:24:55]: HttpClient2 discarded 0 callbacks. [00:24:55]: Shutting down
< >
Showing 1-8 of 8 comments
Per page: 1530 50