Sign in to follow this  
MrDoge124

Lua error need help!

Recommended Posts

MrDoge124    3

I was testing a modded item with a friend and when he picks it up the game crashes. It's fine for me but not for anyone else who wears it.

Error.png

Share this post


Link to post
Share on other sites
MrDoge124    3

So I looked into the client log and it says this

[00:04:13]: [string "scripts/widgets/containerwidget.lua"]:29: attempt to index local 'widget' (a nil value)
LUA ERROR stack traceback:
scripts/widgets/containerwidget.lua:29 in (method) Open (Lua) <24-132>
   self =
      callbacks = table: 3327C010
      slotsperrow = 3
      inst = 101672 -  (valid:true)
      focus = false
      children = table: 3327BED0
      focus_flow_args = table: 3327C0D8
      focus_target = false
      isopen = false
      owner = 100658 - webber (valid:true)
      open = false
      can_fade_alpha = true
      inv = table: 3327BE80
      parent = 
      name = Container
      bgimage = Image - :
      focus_flow = table: 3327BFC0
      enabled = true
      bganim = UIAnim
      shown = true
   container = 101661 - green_backpack (valid:true)
   doer = 100658 - webber (valid:true)
   widget = nil
scripts/screens/playerhud.lua:242 in (upvalue) OpenContainerWidget (Lua) <239-244>
   self =
      fireover = FireOver
      sandover = SandOver
      fumeover = FumeOver
      shown = true
      overlayroot = overlays
      last_focus = HUD
      handlers = table: 0CE56A60
      mindcontrolover = UIAnim
      enabled = true
      under_root = under_root
      eventannouncer = EventAnnouncer
      name = HUD
      focus_flow = table: 0CE56330
      bloodover = BloodOver
      storm_root = storm_root
      over_root = over_root
      callbacks = table: 0CE55E30
      popupstats_root = popupstats_root
      sanddustover = UIAnim
      inst = 100659 -  (valid:true)
      focus = true
      targetindicators = table: 32742188
      gogglesover = GogglesOver
      heatover = HeatOver
      focus_flow_args = table: 0CE56920
      focus_target = false
      vig = UIAnim
      owner = 100658 - webber (valid:true)
      can_fade_alpha = true
      iceover = IceOver
      controls = Controls
      clouds = UIAnim
      beefbloodover = BeefBloodOver
      parent = screenroot
      storm_overlays = storm_overlays
      children = table: 0CE56100
      root = root
   container = 101661 - green_backpack (valid:true)
   side = false
   containerwidget = Container
scripts/screens/playerhud.lua:252 in (method) OpenContainer (Lua) <246-254>
   self =
      fireover = FireOver
      sandover = SandOver
      fumeover = FumeOver
      shown = true
      overlayroot = overlays
      last_focus = HUD
      handlers = table: 0CE56A60
      mindcontrolover = UIAnim
      enabled = true
      under_root = under_root
      eventannouncer = EventAnnouncer
      name = HUD
      focus_flow = table: 0CE56330
      bloodover = BloodOver
      storm_root = storm_root
      over_root = over_root
      callbacks = table: 0CE55E30
      popupstats_root = popupstats_root
      sanddustover = UIAnim
      inst = 100659 -  (valid:true)
      focus = true
      targetindicators = table: 32742188
      gogglesover = GogglesOver
      heatover = HeatOver
      focus_flow_args = table: 0CE56920
      focus_target = false
      vig = UIAnim
      owner = 100658 - webber (valid:true)
      can_fade_alpha = true
      iceover = IceOver
      controls = Controls
      clouds = UIAnim
      beefbloodover = BeefBloodOver
      parent = screenroot
      storm_overlays = storm_overlays
      children = table: 0CE56100
      root = root
   container = 101661 - green_backpack (valid:true)
   side = false
scripts/components/container_replica.lua:288 in (method) Open (Lua) <274-295>
   self =
      ondetachclassified = function - scripts/components/container_replica.lua:106
      acceptsstacks = true
      _numslots = 0
      _isopen = false
      issidewidget = false
      _cannotbeopened = net_bool (2B0D2528)
      classified = 101668 - container_classified (valid:true)
      inst = 101661 - green_backpack (valid:true)
   doer = 100658 - webber (valid:true)
scripts/components/container_replica.lua:95 in (field) fn (Lua) <87-101>
   inst = 101661 - green_backpack (valid:true)
   self =
      ondetachclassified = function - scripts/components/container_replica.lua:106
      acceptsstacks = true
      _numslots = 0
      _isopen = false
      issidewidg
[00:04:13]: [string "scripts/widgets/containerwidget.lua"]:29: attempt to index local 'widget' (a nil value)
LUA ERROR stack traceback:
    scripts/widgets/containerwidget.lua:29 in (method) Open (Lua) <24-132>
    scripts/screens/playerhud.lua:242 in (upvalue) OpenContainerWidget (Lua) <239-244>
    scripts/screens/playerhud.lua:252 in (method) OpenContainer (Lua) <246-254>
    scripts/components/container_replica.lua:288 in (method) Open (Lua) <274-295>
    scripts/components/container_replica.lua:95 in (field) fn (Lua) <87-101>
    scripts/scheduler.lua:177 in (method) OnTick (Lua) <155-207>
    scripts/scheduler.lua:371 in (global) RunScheduler (Lua) <369-377>
    scripts/update.lua:170 in () ? (Lua) <149-228>
 

 

Share this post


Link to post
Share on other sites

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
Sign in to follow this