Jump to content

Merm king bugged


cezarica
  • Fixed

Master shard crashed again, this time wasn't the same bug that has been fixed yet looks like it wasn't.

Running version 376201

[06:03:24]: [string "scripts/components/mermkingmanager.lua"]:338: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
scripts/components/mermkingmanager.lua:338 in (method) LoadPostPass (Lua) <309-342>
   self =
      king = 119869 - mermking (valid:true)
      inst = 100025 - world (valid:true)
      main_throne = 111678 - mermthrone (valid:true)
      thrones = table: 0x1e4f2b80
      king_dying = false
      candidates = table: 0x14955b80
   newents = table: 0x1f1bddd0
   savedata = table: 0x243aaf00
   i = 2
   v = 112033
scripts/entityscript.lua:1566 in (method) LoadPostPass (Lua) <1561-1574>
   self (valid:true) =
      GUID = 100025
      inlimbo = false
      Pathfinder = Pathfinder (0x29232ec0)
      worldstatewatching = table: 0x27c386c0
      worldprefab = forest
      ismastershard = true
      shard = 100029 - shard_network (valid:true)
      OnRemoveEntity = function - scripts/prefabs/world.lua:270
      pendingtasks = table: 0x23e34ca0
      hideminimap = false
      state = table: 0x28c7b8c0
      spawntime = 0
      Transform = Transform (0x157021a0)
      generated = table: 0x27d42ad0
      event_listening = table: 0x29b95960
      actioncomponents = table: 0x1b8188c0
      lower_components_shadow = table: 0x2ab22020
      entity = Entity (0x2ee85570)
      prefab = world
      updatecomponents = table: 0x23e34c30
      Map = Map (0x29232e30)
      net = 100028 - forest_network (valid:true)
      name = The World
      persists = false
      meta = table: 0x21d53450
      PostInit = function - scripts/prefabs/world.lua:248
      event_listeners = table: 0x29d08fb0
      minimap = 100026 - minimap (valid:true)
      has_ocean = true
      ismastersim = true
      GroundCreep = GroundCreep (0x29232f30)
      WaveComponent = WaveComponent (0xc9b5860)
      replica = table: 0x1b8188f0
      topology = table: 0x2257d640
      components = table: 0x2ab21ff0
      SoundEmitter = SoundEmitter (0x29232e70)
   newents = table: 0x1f1bddd0
   savedata = table: 0x16b64c80
   k = mermkingmanager
   v = table: 0x243aaf00
   cmp = table: 0x1e4f2af0
scripts/gamelogic.lua:557 in (upvalue) PopulateWorld (Lua) <325-583>
   savedata = table: 0x2988eee0
   profile = table: 0x285aca80
   world = 100025 - world (valid:true)
   map = Map (0x29232e30)
   waterfall_tuning = table: 0x2c9f7500
   minimap_ocean_tuning = table: 0x2a3334f0
   retrofiting = table: 0x274c4050
   tuning_override = table: 0x1f1eb070
   newents = table: 0x1f1bddd0
scripts/gamelogic.lua:799 in (upvalue) DoInitGame (Lua) <682-878>
   savedata = table: 0x2988eee0
   profile = table: 0x285aca80
   was_file_load = false
scripts/gamelogic.lua:912 in (local) cb (Lua) <906-913>
   savedata = table: 0x2988eee0
scripts/saveindex.lua:312 in (upvalue) OnLoadSaveDataFile (Lua) <294-313>
   file = session/E819A81424F067B5/0000000506
   cb = function - scripts/gamelogic.lua:906
   load_success = true
   str = return {world_network={persistdata={worldtemperature={seasontemperature=25,daylight=true,noisetime=231481.203125,season="autumn",phasetemperature=0.064661025754488},seasons={elapseddaysinseason=12,premode=false,remainingdaysinseason=8,lengths={summer=15,autumn=20,spring=20,winter=15},totaldaysinseason=20,mode="cycle",season="autumn",segs={summer={night=4,day=11,dusk=1},autumn={night=2,day=8,dusk=6},spring={night=3,day=5,dusk=8},winter={night=6,day=5,dusk=5}}},weather={preciptype="none",daylight=true,moistureceil=12390.985351562,peakprecipitationrate=0.97065263986588,season="autumn",moisturerateval=0.28670724377758,lightningmode="rain",moistureceilmultiplier=8,moisture=5181.3071289062,stopsnowthreshold=0,snowlevel=0,moisturefloormultiplier=1,moisturerateoffset=0,noisetime=231481.203125,moisturerate=0.28670725226402,wetness=0,temperature=24.823933960553,nextlightningtime=25.858571322839,startsnowthreshold=-5,precipmode="dynamic",moisturefloor=277.59530639648,moistureratemultiplier=1},clock={moonwaxing=true,tota [**truncated**]
   success = true
   savedata = table: 0x2988eee0
scripts/saveindex.lua:317 in () ? (Lua) <316-318>
   load_success = true
 
[06:03:24]: [string "scripts/components/mermkingmanager.lua"]:338: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
    scripts/components/mermkingmanager.lua:338 in (method) LoadPostPass (Lua) <309-342>
    scripts/entityscript.lua:1566 in (method) LoadPostPass (Lua) <1561-1574>
    scripts/gamelogic.lua:557 in (upvalue) PopulateWorld (Lua) <325-583>
    scripts/gamelogic.lua:799 in (upvalue) DoInitGame (Lua) <682-878>
    scripts/gamelogic.lua:912 in (local) cb (Lua) <906-913>
    scripts/saveindex.lua:312 in (upvalue) OnLoadSaveDataFile (Lua) <294-313>
    scripts/saveindex.lua:317 in () ? (Lua) <316-318>
    =[C]:-1 in (method) GetPersistentString (C) <-1--1>
    scripts/saveindex.lua:316 in (method) GetSaveDataFile (Lua) <315-319>
    scripts/saveindex.lua:335 in (method) GetSaveData (Lua) <321-340>
    scripts/gamelogic.lua:914 in (upvalue) DoLoadWorld (Lua) <905-915>
    scripts/gamelogic.lua:957 in (upvalue) LoadSlot (Lua) <951-963>
    
[06:03:24]: ModIndex: Load sequence finished successfully.    
[06:03:25]: Reset() returning
[06:03:25]: Registering master server in EU lobby
[06:03:25]: Error decoding lua RPC sender
[06:03:25]: 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?    
[06:03:25]: stack traceback:
    scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627>
    scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
    scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
    scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665>
    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>   

Steps to Reproduce
Fiddle with merm king. Don't know.



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...