[MOD] Smart Crafter

Just little info - i still love it xD

1 Like

ok needs an little update for a17 ^^ it gets issues while checking the inventory ^^

1 Like

@brad I just saw this and thought it would be relevant to the problem where items aren’t crafted automatically if dependencies for the first level weren’t met, for automatic resource creation for houses.

Do you know how to reproduce it? I just tested it myself and it worked fine.


@ChickenNuggers, this mod isn’t really touching that part of the game. RepeatPan explained it in a post above, but essentially it would require a lot of work to implement a system that does just that. It’s definitely something that I, and many others I believe, would like to have though.
Edit: Just saw the DT and have now a better insight of what you’re talking about. Indeed, the problem is that the crafter(s) could recieve a looong of items being added to their crafting order. It’s not hard to implement something like this, it’s just hard to not over-encumber the crafters this way. I chose to do it simply because not having it would be a bit pointless considering what the mod is supposed to do.

so redownload from googledrive to make sure its the newest version xD

i get this error

develop-2998 (x64)…arth/services/server/inventory/inventory_tracker.lua:107: stack overflowstack traceback:
[C]: ?
…arth/services/server/inventory/inventory_tracker.lua:107: in function 'get_tracking_data’
smart_crafter/smart_craft_order_list.lua:216: in function '_sc_get_ingredient_amount_in_storage’
smart_crafter/smart_craft_order_list.lua:36: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function ‘add_order’

smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
smart_crafter/smart_craft_order_list.lua:73: in function 'add_order’
stonehearth/components/workshop/craft_order_list.lua:74: in function <stonehearth/components/workshop/craft_order_list.lua:68>

i get this everytime when i try to produce something (with or without enough resources xD)

Mod update!

Fixed the bug that @Wiese2007 showed me (thanks Wiese!). Turns out it wasn’t something specific for Alpha 17, but something that showed itself thanks to some new recipes that came with Alpha 17.

Anyhow, look at the OP for links to the new version.

3 Likes

Hotfix! The last update only worked half-way, but now it works as intended. As always, look for the OP for the updated links.

2 Likes

There will occasionally be errors when I attempt to craft something without having the prerequisite materials (such as trying to queue up a forge without any stone). I didn’t think to screencap it, but I will next time if I see it again.

2 Likes

Just to clarify, did you get the newest version of the mod? It (attempts) to fix just that.

In case you did, that screenshot would be nice to have as I can’t seem to get the same result as you (though that “occasionally” part scares me).

1 Like

this really should be added to the base game, managing stockpiles is nasty business

4 Likes

Can’t confirm which version I was using. I’ll make sure I update and let you know!

3 Likes

Mod update!

This time it’s a general performance update, it’s much faster now to process a crafting order in order to place other orders. Also, it works better now when saving and loading your games. Look at the OP for the updated links.

3 Likes

Does this work with any version of the game? preferably the latest one?

I’ve been using it on 584 with no noticeable issues.

1 Like

Huhu :wink: you know what i want or better what i need xD

and there must be done more then just change the version number … sry … :smiley:

1 Like

I know what you want! It’ll be done later when I have the time/recovered from my jet lag. :slight_smile:

2 Likes

##Update!

Alright people, the mod has now been update to work for Alpha 18! Though, this also means it won’t work for Alpha 17 anymore.

Look at the first post for the updated links.


Also, I just noticed that: the mod has been downloaded more than 1000 times! :open_mouth:
That really took me by surprise, I greatly appreciate all of the support you have given for this mod, it goes without saying that it makes me a happy modder, so thank you all! :smiley::tada:

5 Likes

i have to thank you :smiley:

1 Like

Great job with the mod. This really should just be part of the game.

2 Likes

Hotfix!

Fixed a bug where the hearthlings sometimes didn’t start building a structure. The download links in the op have been updated,


Also, I noticed that when starting a brand new game, the mod won’t work at all. I don’t know why, when, or how this happens, but the mod works when loading up a saved game. So for all you that are starting a new game, and are using this mod, the very first thing you should do, after placing down the town banner, is to save and load; it’s a workaround until I find the culprit.

3 Likes