Water code Error

resolved

#1

When trying to dig to get water flow, it works for a bit then I get an error code.

Steps to reproduce:

  1. Dig path into water. Water levels begin to drop into new area.
  2. Try second path into water. Water levels stay at current levels.
  3. Get erroe. Copy to clipboard.

Expected Results:

Water to continue to drop until it levels out in new path.

Actual Results:

Error

Notes:

Attachments:

release-763 (x64)
stonehearth/components/water/water_component.lua:142: assertion failed!
stack traceback:
radiant/modules/common.lua:245: in function 'report_traceback’
radiant/modules/common.lua:256: in function <radiant/modules/common.lua:250>
[C]: in function 'assert’
stonehearth/components/water/water_component.lua:142: in function ‘add_water’
…arth/services/server/hydrology/hydrology_service.lua:964: in function ‘add_water’
…arth/services/server/hydrology/hydrology_service.lua:568: in function ‘_process_unlinked_waterfalls’
…arth/services/server/hydrology/hydrology_service.lua:395: in function ‘_on_tick’
…arth/services/server/hydrology/hydrology_service.lua:54: in function 'fn’
radiant/controllers/nonpersistent_timer.lua:56: in function 'fire’
radiant/controllers/time_tracker_controller.lua:86: in function <radiant/controllers/time_tracker_controller.lua:86>
[C]: in function 'xpcall’
radiant/modules/common.lua:265: in function 'xpcall’
radiant/controllers/time_tracker_controller.lua:86: in function ‘set_now’
…hearth/services/server/calendar/calendar_service.lua:421: in function ‘_on_event_loop’
…hearth/services/server/calendar/calendar_service.lua:46: in function 'instance’
radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
[C]: in function 'xpcall’
radiant/modules/common.lua:265: in function 'xpcall’
radiant/modules/events.lua:285: in function 'trigger’
radiant/modules/events.lua:398: in function '_trigger_gameloop’
radiant/modules/events.lua:446: in function '_update’
radiant/server.lua:61: in function <radiant/server.lua:58>

Version Number and Mods in use:

release-763 (x64) —Unmodded

System Information:

i7 7700
gtx 1080 8gb
16g RAM
Windows 10…


#2

Welcome to the forum, @FiddleOfGold :slightly_smiling_face:

This error might be already fixed on A23 unstable. Albert fixed a bunch of water bugs for A23 and the system is pretty stable now, although there are a couple glitches left and maybe some errors but they don’t happen very often so it’s difficult to reproduce them.