Jump to content

Game crashes when add fuel to amulet


sebaoyu
  • Fixed

Tried yellow amulet and sometimes it works, sometimes not. Detailed server_logs:

[00:01:04]: [string "scripts/prefabs/amulet.lua"]:300: attempt to index field 'playfuelsound' (a nil value)
LUA ERROR stack traceback:
scripts/prefabs/amulet.lua:300 in (field) onrepaired (Lua) <293-306>
   inst = 126644 - orangeamulet(LIMBO) (valid:true)
   owner = 126634 - wolfgang (valid:true)
scripts/components/repairable.lua:157 in () ? (Lua) <105-161>
   self =
      inst = 126644 - orangeamulet(LIMBO) (valid:true)
      noannounce = true
      _ = table: 0000000019748DF0
      onrepaired = function - scripts/prefabs/amulet.lua:293
   doer = 126634 - wolfgang (valid:true)
   repair_item = 123197 - nightmarefuel(LIMBO) (valid:true)
=(tail call):-1 in ()  (tail) <-1--1>
scripts/bufferedaction.lua:25 in (method) Do (Lua) <21-35>
   self (valid:true) =
      action = table: 000000000D3A3D60
      doer = 126634 - wolfgang (valid:true)
      onfail = table: 000000003E23D080
      doerownsobject = true
      rotation = 0
      options = table: 000000003E23D3A0
      target = 126644 - orangeamulet(LIMBO) (valid:true)
      onsuccess = table: 000000003E23CC70
      invobject = 123197 - nightmarefuel(LIMBO) (valid:true)
      initialtargetowner = 126634 - wolfgang (valid:true)
scripts/entityscript.lua:1463 in (method) PerformBufferedAction (Lua) <1450-1474>
   self (valid:true) =
      DynamicShadow = DynamicShadow (000000001A0BA560)
      EnableLoadingProtection = function - scripts/prefabs/player_common.lua:977
      inlimbo = false
      killtask = PERIODIC 126634: 3.000000
      SetCameraDistance = function - scripts/prefabs/player_common.lua:1395
      ScreenFlash = function - scripts/prefabs/player_common.lua:1457
      skeleton_prefab = skeleton_player
      player_classified = 126635 - player_classified (valid:true)
      playercolour = table: 0000000016E11180
      IsNearDanger = function - scripts/prefabs/player_common.lua:16
      IsOverheating = function - scripts/prefabs/player_common.lua:216
      IsActing = function - scripts/prefabs/player_common_extensions.lua:857
      Light = Light (000000001A0B9FC0)
      GetMightiness = function - scripts/prefabs/wolfgang.lua:201
      bell_forward = true
      _isrezattuned = false
      OnRemoveEntity = function - scripts/prefabs/player_common.lua:1018
      pendingtasks = table: 00000000198262E0
      ShowHUD = function - scripts/prefabs/player_common.lua:1377
      ResetMinimapOffset = function - scripts/prefabs/player_common.lua:1389
      sg = sg="wilson", state="doshortaction", time=0.20, tags = "doing,"
      IsHUDVisible = function - scripts/prefabs/player_common.lua:1367
      ApplyScale = function - scripts/prefabs/player_common.lua:1472
      SetGhostMode = function - scripts/prefabs/player_common.lua:832
      ShowActions = function - scripts/prefabs/player_common.lua:1371
      OnWakeUp = function - scripts/prefabs/player_common.lua:1238
      Transform = Transform (000000001A0B9E40)
      SaveForReroll = function - scripts/prefabs/player_common.lua:1546
      event_listening = table: 0000000019825BB0
      actioncomponents = table: 0000000019825FC0
      MakeGenericCommander = function - scripts/prefabs/player_common_extensions.lua:816
      _hermit_music = table: 0000000019829080
      SwapAllCharacteristics = function - scripts/prefabs/player_common.lua:1911
      GetCurrentMightinessState = function - scripts/prefabs/wolfgang.lua:221
      GetMoistureRateScale = function - scripts/prefabs/player_common.lua:246
      talksoundoverride = dontstarve/characters/wolfgang/talk_large_LP
      CanUseTouchStone = function - scripts/prefabs/player_common.lua:186
      updatecomponents = table: 0000000019826DD0
      YOTB_issetunlocked = function - scripts/prefabs/player_common.lua:77
      ShakeCamera = function - scripts/prefabs/player_common.lua:1415
      OnDespawn = function - scripts/prefabs/player_common.lua:1260
      Physics = Physics (000000001A0BAEF0)
      CanSeePointOnMiniMap = function - scripts/prefabs/player_common_extensions.lua:805
      MiniMapEntity = MiniMapEntity (000000001A0B9EA0)
      event_listeners = table: 0000000019826380
      Enable
[00:01:04]: [string "scripts/prefabs/amulet.lua"]:300: attempt to index field 'playfuelsound' (a nil value)
LUA ERROR stack traceback:
    scripts/prefabs/amulet.lua:300 in (field) onrepaired (Lua) <293-306>
    scripts/components/repairable.lua:157 in () ? (Lua) <105-161>
    =(tail call):-1 in ()  (tail) <-1--1>
    scripts/bufferedaction.lua:25 in (method) Do (Lua) <21-35>
    scripts/entityscript.lua:1463 in (method) PerformBufferedAction (Lua) <1450-1474>
    scripts/stategraphs/SGwilson.lua:5542 in (field) fn (Lua) <5535-5544>
    scripts/stategraph.lua:641 in (method) UpdateState (Lua) <609-653>
    scripts/stategraph.lua:679 in (method) Update (Lua) <672-698>
    scripts/stategraph.lua:128 in (method) Update (Lua) <109-146>
    scripts/update.lua:283 in () ? (Lua) <219-293>
    

This happened right after bunnymen update Jan 19. Having client.log attached but don't think it helps too much. The server log should be worth investigation.


Steps to Reproduce

- Planing Game

- Fuel the amulet using nightmere fuel

- The game crashes. Saying 'losing connection to server'.




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...