[A14/A15] The buildings my hearthling will not build Thread

@not_owen_wilson: As a control, I have an A15 save from when I designed this the first time, right before I hit “build” that I use for each new version test.

So, if this template builds for you in a new world, but doesn’t for me, perhaps there’s an undiscovered save compatibility issue getting in my way. I’ll try to build again on a fresh world tonight.

2 Likes

Oh! Yes, absolutely–not exactly a ‘save incompatibility’ per say, but newer building code does stuff that already-placed templates simply won’t have. (Now that you have mentioned it, the build failure you’re seeing is almost certainly due to some overlapping floor/wall which the poor hearthlings don’t know how to deal with.)

5 Likes

Hmm! Good to know! I wasn’t aware that your building code improvements would not get applied to placed but unbuilt templates. From here on out, I’ll load and place templates freshly.

Can I use the same world, and just delete and re-place the template each time, or should I avoid existing saves at all?

1 Like

I have been trying various custom buildings over the past few days and none of them have worked :frowning: I was advised to post the problematic buildings here to help the Devs figure out the problem.

The first one is a desert building. My hearthlings built the foundation and the second story, covered the whole thing in pointless scaffolding and abandoned it before completing the first floor.
desertth1.zip (7.2 KB)

My hearthlings built the foundation and then abandoned it.
farmhouse1.zip (8.4 KB)

This one was actually built, despite being more complex than the other two, but the scaffolding was never removed. I forgot to make stairs and tried to use a ladder in order to reach the 2nd floor but said ladder would not build properly. I tried everything I could, it just couldn’t be built tall enough to reach the second story,
townhall2.zip (6.2 KB)

1 Like

@8BitCrab or @jomaxro: Not sure if this should be a separate bug report, or remain a part of this thread.

Regarding the quoted text above, I still seem to be having this problem with my watchtower template.

In fact, the above mentioned save where I designed it originally seems to be the only version I can actually build. But I can’t actually place the template in any other game.

You can see me try a few times in the video below. I recorded it just so you can see what this behavior looks like. Note how I am able to successfully build a different custom template fine, but the two watchtowers both can’t be placed (they’re the same template; I just downloaded it fresh from this discourse thread just to make sure):

Log Data:
Full log file: stonehearth.log (165.4 KB)

2016-03-17 22:05:56.510960 | client | 0 | lua.code | -- Script Error (lua) Begin ------------------------------- 2016-03-17 22:05:56.510960 | client | 0 | lua.code | stonehearth/lib/build_util.lua:549: assertion failed! 2016-03-17 22:05:56.510960 | client | 0 | lua.code | stack traceback: 2016-03-17 22:05:56.510960 | client | 0 | lua.code | [C]: ? 2016-03-17 22:05:56.510960 | client | 0 | lua.code | [C]: in function 'assert' 2016-03-17 22:05:56.510960 | client | 0 | lua.code | stonehearth/lib/build_util.lua:549: in function 'unpack_entity_table' 2016-03-17 22:05:56.510960 | client | 0 | lua.code | stonehearth/components/wall/wall_component.lua:544: in function 'load_from_template' 2016-03-17 22:05:56.510960 | client | 0 | lua.code | stonehearth/lib/build_util.lua:126: in function 'load_structure_from_template' 2016-03-17 22:05:56.510960 | client | 0 | lua.code | stonehearth/lib/build_util.lua:134: in function 'load_all_structures_from_template' 2016-03-17 22:05:56.510960 | client | 0 | lua.code | stonehearth/lib/build_util.lua:138: in function 'load_all_structures_from_template' 2016-03-17 22:05:56.510960 | client | 0 | lua.code | stonehearth/lib/build_util.lua:433: in function 'restore_template' 2016-03-17 22:05:56.510960 | client | 0 | lua.code | ...rth/services/client/build_editor/template_editor.lua:25: in function 'restore_template' 2016-03-17 22:05:56.510960 | client | 0 | lua.code | ...rth/services/client/build_editor/template_editor.lua:76: in function 'go' 2016-03-17 22:05:56.510960 | client | 0 | lua.code | ...ervices/client/build_editor/build_editor_service.lua:251: in function <...ervices/client/build_editor/build_editor_service.lua:249> 2016-03-17 22:05:56.510960 | client | 0 | lua.code | -- Lua Error End ------------------------------- 2016-03-17 22:05:56.511460 | client | 1 | lua.code | generating traceback... 2016-03-17 22:05:56.511460 | client | 0 | lua.code | -- Script Error (native) Begin ------------------------------- 2016-03-17 22:05:56.511460 | client | 0 | lua.code | c++ exception: lua runtime error 2016-03-17 22:05:56.511460 | client | 0 | lua.code | stack traceback: 2016-03-17 22:05:56.511460 | client | 0 | lua.code | -- Lua Error End -------------------------------

and

2016-03-17 22:06:04.384495 | client | 0 | lua.code | -- Script Error (lua) Begin ------------------------------- 2016-03-17 22:06:04.384495 | client | 0 | lua.code | ...onehearth/components/building/building_component.lua:654: assertion failed! 2016-03-17 22:06:04.384495 | client | 0 | lua.code | stack traceback: 2016-03-17 22:06:04.384495 | client | 0 | lua.code | [C]: ? 2016-03-17 22:06:04.384495 | client | 0 | lua.code | [C]: in function 'assert' 2016-03-17 22:06:04.384495 | client | 0 | lua.code | ...onehearth/components/building/building_component.lua:654: in function 'load_from_template' 2016-03-17 22:06:04.384495 | client | 0 | lua.code | stonehearth/lib/build_util.lua:126: in function 'load_structure_from_template' 2016-03-17 22:06:04.384995 | client | 0 | lua.code | stonehearth/lib/build_util.lua:134: in function 'load_all_structures_from_template' 2016-03-17 22:06:04.384995 | client | 0 | lua.code | stonehearth/lib/build_util.lua:433: in function 'restore_template' 2016-03-17 22:06:04.384995 | client | 0 | lua.code | ...rth/services/client/build_editor/template_editor.lua:25: in function 'restore_template' 2016-03-17 22:06:04.384995 | client | 0 | lua.code | ...rth/services/client/build_editor/template_editor.lua:76: in function 'go' 2016-03-17 22:06:04.384995 | client | 0 | lua.code | ...ervices/client/build_editor/build_editor_service.lua:251: in function <...ervices/client/build_editor/build_editor_service.lua:249> 2016-03-17 22:06:04.384995 | client | 0 | lua.code | -- Lua Error End -------------------------------

2 Likes

Seems fine here. It is template related, and Chris has been frequenting this thread often.

4 Likes

Summary:
I’m trying to build a 1-story house with 2 rooms and with a stoneslab roof. The roof shouldn’t be the problem as I’ve done this many times before the same way without problems.
As you can see on the picture below, I’ve made a similar building, but without a wall inside.

EDIT: Tried removing the template, placing it again, still same issue.

EDIT: Tried placing the template in a new game, still the same issue.

EDIT: Tried Instabuild, still the same issue.

  1. Build a house.
  2. Place a wall inside the house, using the wall tool.
  3. Error and nothing.

Expected Results:
They should build the house :slight_smile:

Actual Results:
I get the error on the picture and a C++ Lua runtime error.

Notes:

Attachments:

House template:
house.7z (25.3 KB)

Savefile:
savefile.7z (3.6 MB)

Version Number and Mods in use:
0.15.0 Release 537 x64

System Information:
Intel core I7, 16Gb ram, Asus R9 280, Windows 10.

1 Like

Update: I installed a leeeetle more foundation around the edge of the cliff, and that allowed it to build fine. Which is odd because the first time it got several stories up with no problems before bugging out.

Screenshot here:

http://images.akamai.steamusercontent.com/ugc/299860065249823595/0516D37A967A85679C45AB1AF40F516D49F8F016/

That little bit of grey stone added to the cliff face allowed the tower to build just fine, whereas before it stopped halfway up… So I guess the ultimate problem was, as you say, somewhere in the scaffolding AI.

4 Likes

@Hieronymous Must say it is a very nice build. Good to see that you found a solution that kinda works :slight_smile:

3 Likes

I tried to make a simple blacksmiths hut, with a building and outer pavilion. When i told my hearthlings to build it, they won’t. No error, they just wouldn’t start.


blacksmith shop.zip (4.8 KB)

1 Like

@thelegorebel try’d to place your design in a brand new world

So i used your design as a draft and rebuild it. Not the exact colors but i did use the same size windows and doors. The heartlings were willing to build it. Not sure what material you used that i did not to make it work. At least the design is good.


blacksmit re-build.zip (3.6 KB)

4 Likes

Thanks!

Hopefully I’ll get it “finished” this weekend. I’ve got about five or six more designs I pulled from google that should be easy to turn into mosaic-style floor patterns.

1 Like

Thanks @Doc_Brano. The walls were originally made out of stone, the cobbled stone. Guess they just like wood more than stone. Thanks for re making it!

Edit: Yeah i think it was a combination of the stone walls and stone roof. Because yours is almost exactly the same, just with wood walls and roof. I’ll keep looking to see if it might be anything else.

1 Like

got a share of your google find? @Hieronymous would love to know where you found them :slight_smile:

1 Like

wood or stone should not be the issue, seeing it is technally the same block game wise just different color and material sourse. Most likely i think is the floor. I build the house part first and then the second part. The house has it standard ground floor but the second part is made with road type block. corners and roof are slabs.

Hope this will help finding the exact issue

2 Likes

Summary:
When i place down my blueprint for wooden castle and click start building this error shows up. and if i click close permenantely hearthlings just ignore the build.
Steps to reproduce:

  1. place down my wooden castle blueprint
  2. click yes to build
    3)engine error pops up

Expected Results:
Built castle :slight_smile:
Actual Results:
Nothing happens
Notes:
Mybe my blueprint is at fault…
Attachments:

release-537 (x64)…onehearth/components/building/building_component.lua:780: attempt to index local ‘entry’ (a nil value)stack traceback:
[C]: ?
…onehearth/components/building/building_component.lua:780: in function ‘_add_dependency’
…onehearth/components/building/building_component.lua:1059: in function ‘wire_dependency’
…onehearth/components/building/building_component.lua:1070: in function ‘wire_dependency’
…onehearth/components/building/building_component.lua:1075: in function ‘wire_dependencies’
…onehearth/components/building/building_component.lua:1084: in function ‘_compute_spatial_dependencies’
…onehearth/components/building/building_component.lua:932: in function ‘_compute_dependencies’
…onehearth/components/building/building_component.lua:306: in function ‘set_active’
stonehearth/services/server/build/build_service.lua:95: in function ‘set_active’
stonehearth/call_handlers/build_call_handler.lua:19: in function <stonehearth/call_handlers/build_call_handler.lua:18>

Version Number and Mods in use:
alpha 15 humblebundle version no mods
System Information:
Win 10 64bit

2 Likes

Hey there @Tonchek, can you upload the template that causes the error please? (Note, you will need to zip the json file as json is not an allowed file extension.)

3 Likes

Sure here it is.
I believe i made something strange when i created the template.
And i bet the problem lies on my side…
Was my first building attempt at this scale :wink:

wooden castle.zip (56.7 KB)

4 Likes

Summary:
I made a fancy bridge completely out of slabs, and my hearthlings won’t remove the final bit of ladders. In case you were wondering, it looked way crazier when it was being build. Scaffolding EVERYWHERE. What’s left is shown below.

Steps to reproduce:

  1. Make fancy bridge.
  2. Finish bridge, have hearthlings remove scaffolding and stuff.
  3. Have an extra 4 ladders that I can’t remove.

Expected Results:
My hearthlings would remove all of the ladders.

Actual Results:
The ladders were still there. TORMENTING ME.

Notes:

Attachments:

Version Number and Mods in use:
537 latest.

System Information:
Super fancy.

4 Likes

crappy bridge.zip (2.2 KB)

Here’s the json file.

4 Likes