[MOD] Smart Crafter


#64

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.


#65

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)


#66

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.


Glaivehollow (WIP Town)
#67

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


#68

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.


#69

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


#70

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


#71

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


#72

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.


#73

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


#74

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


#75

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:


#76

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


#77

##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:


#78

i have to thank you :smiley:


#79

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


#80

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.


#81

Thank you for this mod. Much quicker to craft now :slight_smile:


#82

Can’t wait to use thiiiiiiiiis <3


#83

Update!

Fixed this nasty little bug. It’s something that would only come about when playing a faction that provides their own crafter job that overrides an existing one, in this case it was because of RC’s potter.

All the download links in the first post have been updated.