Jump to content

Variable 'GetRandomFestivalEventWinterOrnament' is not declared


Breeziy
  • Pending

As the title says, we're having an odd issue. It seems to have mainly when the lights for a winter tree go out. We've had gifts successfully before, so.. I don't know what the issue is. Maybe because only one of us is on screen? I fully suspect a mod conflict, but can't see anything in the client log that may suggest which one.

Anyone else having issues..?

 

Spoiler

[01:01:27]: [string "scripts/prefabs/winter_tree.lua"]:276: variable 'GetRandomFestivalEventWinterOrnament' is not declared
LUA ERROR stack traceback:
=[C]:-1 in (global) error (C) <-1--1>
scripts/strict.lua:23 in () ? (Lua) <21-26>
   t = table: 87AC51A8
   n = GetRandomFestivalEventWinterOrnament
scripts/prefabs/winter_tree.lua:276 in (upvalue) dogifting (Lua) <256-335>
   inst = 109216 - winter_tree (valid:true)
   players = table: 3EAEB1A0
   x = -27.736999511719
   y = 0
   z = 93.554000854492
   fully_decorated = true
   _ = 1
   player = 118451 - eliyth (valid:true)
   loot = table: 3EAEB308
scripts/prefabs/winter_tree.lua:380 in (field) fn (Lua) <337-390>
   inst = 109216 - winter_tree (valid:true)
   x = -27.736999511719
   y = 0
   z = 93.554000854492
   players_near = table: 3EAEB588
   all_players_sleeping = true
   tree_is_visible = false
scripts/scheduler.lua:177 in (method) OnTick (Lua) <155-207>
   self =
      running = table: 12C3E4D0
      waitingfortick = table: 12C3E688
      tasks = table: 12C3E4F8
      waking = table: 3EAE5228
      attime = table: 12C3E700
      hibernating = table: 12C3E750
   tick = 84357
   k = PERIODIC 109216: 0.200000
   v = true
   already_dead = false
scripts/scheduler.lua:371 in (global) RunScheduler (Lua) <369-377>
   tick = 84357
scripts/update.lua:170 in () ? (Lua) <149-228>
   dt = 0.033333335071802
   tick = 84357
   i = 84357

[01:01:27]: [string "scripts/prefabs/winter_tree.lua"]:276: variable 'GetRandomFestivalEventWinterOrnament' is not declared
LUA ERROR stack traceback:
    =[C]:-1 in (global) error (C) <-1--1>
    scripts/strict.lua:23 in () ? (Lua) <21-26>
    scripts/prefabs/winter_tree.lua:276 in (upvalue) dogifting (Lua) <256-335>
    scripts/prefabs/winter_tree.lua:380 in (field) fn (Lua) <337-390>
    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>
    
[01:01:27]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is     ScriptErrorWidget    not a screen?    
[01:01:27]: stack traceback:
    scripts/widgets/widget.lua:602 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:649 in (method) SetFocus (Lua) <626-658>
    scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:90 in () ? (Lua) <33-129>    
[01:02:02]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is     ScriptErrorWidget    not a screen?    
[01:02:02]: stack traceback:
    scripts/widgets/widget.lua:602 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:649 in (method) SetFocus (Lua) <626-658>
    scripts/widgets/menu.lua:83 in (method) SetFocus (Lua) <74-85>
    scripts/widgets/scripterrorwidget.lua:109 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:90 in () ? (Lua) <33-129>    
[01:02:02]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is     ScriptErrorWidget    not a screen?    
[01:02:02]: stack traceback:
    scripts/widgets/widget.lua:602 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:649 in (method) SetFocus (Lua) <626-658>
    scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:90 in () ? (Lua) <33-129>    
[01:02:02]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is     ScriptErrorWidget    not a screen?    
[01:02:02]: stack traceback:
    scripts/widgets/widget.lua:602 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:621 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:649 in (method) SetFocus (Lua) <626-658>
    scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:90 in () ? (Lua) <33-129>    
[01:02:03]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is     ScriptErrorWidget    not a screen?    
[01:02:03]: stack traceback:
    scripts/widgets/widget.lua:602 in (method) SetFocusFromChild (Lua) <599-624>
    scripts/widgets/widget.lua:649 in (method) SetFocus (Lua) <626-658>
    scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:90 in () ? (Lua) <33-129>    
[01:02:04]: Force aborting...



 


Steps to Reproduce
Go into tent, next to winter tree, at night. Winter tree lights go out, glass noise plays, then server disconnects and crash occurs.



User Feedback


It looks like stagehand crashes the game cause it wants to go to lights on the tree which stop making lights ( as they should ) and that crashes the game.

Share this comment


Link to comment
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

×
  • Create New...