Water not filling moats

When digging out moats the water does not fill in as expected.

Steps to reproduce:

  1. Dig moat near water
  2. Dig out last bit to make water start flowing.
  3. Water does not flow.

Getting the following error

develop-3177 (x64)[M]
stonehearth/components/water/water_component.lua:794: assertion failed!
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[C]: in function 'assert’
stonehearth/components/water/water_component.lua:794: in function '_remove_height’
stonehearth/components/water/water_component.lua:261: in function '_remove_water’
stonehearth/components/water/water_component.lua:473: in function ‘fill_channel_from_water_region’
…hearth/services/server/hydrology/channel_manager.lua:561: in function ‘callback_fn’
…hearth/services/server/hydrology/channel_manager.lua:194: in function ‘each_channel_ascending’
…hearth/services/server/hydrology/channel_manager.lua:559: in function ‘fill_channels_to_capacity’
…arth/services/server/hydrology/hydrology_service.lua:768: in function ‘_on_tick’
…arth/services/server/hydrology/hydrology_service.lua:52: in function ‘fn’

radiant/controllers/time_tracker_controller.lua:82: in function ‘set_now’
…hearth/services/server/calendar/calendar_service.lua:379: in function ‘_on_event_loop’
…hearth/services/server/calendar/calendar_service.lua:37: in function 'instance’
radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: 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>

water isnt fully implemented yet so these bugs will happen it will probably be fixed later.

I ran into the same problem, Water is a tricky thing. I found out that if too much moves at once the system can’t handle it, so if you are dying to build some water hole dig little by little filling each bit one at a time.

there are some stuff that will prevent this…its not really the size of the cut that slows down.

its the calculation of 2 water entry point to an area, If you just let water enter from one side in a cut you can cut out 6x40x40 without any problems. and water will fill out the area in a matter of seconds. but if you open up to sides …it will load for 5-10 mins

and normally the game just needs time if you made a bad cut.

1 Like