This mod is awesome do you think it would be possible to change the appearance of the feeding trough to the bowl that Halstei eats out of great work forking it over maybe even have dynamic food in the bowl like adding cloudberries would change the bowls contents visually from carrots not asking you to do it just asking if it's possible I don't mod Valheim as much I'm trying to keep it vanilla as possible
That is nothing what AutoFeed is designed or will be designed to do. But take a look at Balrond's Containers, it's a brilliant mod that has a trough with dynamic food display and everything (and some super awesome other containers too). AutoFeed allows feeding from any container that isn't on you blacklist, so works with those ones too!
The routine checking for tames checking for food is called quite frequently by the game itself. Truth be told I guess me introducing pathfinding as condition won’t have helped performance. Three things come to my mind: have less tames around; disable „move to container“ so they can eat as soon as and as long as a container is in reach and lastly, keep them fed. As long as they’re fed the mod isn’t truly active and won’t impact performance at all. I will see if I can come up with anything else code-wise but other than disabling the pathfinding I don’t really know what could be done differently, as I said, the base function is called by the game every tick or so, auto feed just makes this function a bit more demanding though I don’t even know by how much (a good bit it seems judging by your performance loss)
Thanks, that is very helpful! I will try doing all this and see if it helps. This mod is such a massive QoL improvement, thanks for updating it for Ashlands.
Sorry, no. Feel free to do it yourself, the mod as a fork of aedenthorn's mods is under a license that allows it. I would suggest to add it to r2 manually, the manager surely has a feature like Vortex does. I know, no auto updates, but as long as it works for you, why bother with updates anyway right? ;)
I believe I managed to install this mod correctly. I deleted old config files and rebuilt the container. Something is working because all my boars move to the chest when the mod is enabled but they don't eat anything. What do I need to provide to help fix this?
The boars moving means that they found a container with suitable food inside and also found a path towards it. Not eating can mean that the feeding radius is set too small and they can't get close enough to the container or a different mod modified their eating behaviour. please set the debug flag to "true" and check what the console output says about this, if there is any errors or if you keep seeing "[Boar/...] moving to container" or something. This might give more insight into what is happening. I would also encourage you to disable all other mods (as is possible) to be sure that no other mod is interfering. If there was one interfering you could then enable them one by one to see which one it was.
the console should be fixed in all aedenthorn's mods that I recompiled and uploaded. anything beyond that however may not have been addressed. Please see the sticky post here for mods that are confirmed working or where an alternative fork/mod exists.
Thank you so much!! Are you able to update any other mods of his? I know Hoe radius, Ammo Info display, Instant building repair, terrain reset, and his auto store/craft build smelt cook fuel pull from chest ones are breaking the console. They all work except terrain reset, but not having the console on a server is a big deal.
If the console is the only thing broken then fixing that will be a mere re-compile, but creating a mod page for each is a real hassle. I’ll maybe prepare a folder later where I upload a recompiled version of them.
because uploading all those individual files one by one, setting their name and version (as is mandatory) took me a good 45 minutes too! XD https://www.nexusmods.com/valheim/mods/2798
This is awesome. I'll test it with my setup and let you know. Would love for others of aedenthorn mods get forked :) All I used had the devcommands to bug out.
The mod loads fine, now I need to check if every animal pen I have will work. I was a bit bummed, when the BepInEx log starting spamming [info] about animals couldn't find food. Checked my settings I had Debug enabled from the time I tested to see why the old original didn't work. I also deconstructed the old chests, so I can build new ones with this mod enabled.
I haven't found any replacement for this mod https://www.nexusmods.com/valheim/mods/951
Make sure the chest has a walkable path to it for every animal that should be allowed to use it. It must not be behind a wall or fence outside the pen which may have worked with the old mod. Because tamed deer do not move anymore (at least for me) I had them eat as long as the container is in reach (first by distance, not path) so they ate from everywhere and that’s why I added the path requirement. A bit more realistic too.
Loaded into my server, and couldn't get it to work with new chest inside the pen, and correct food in the chest on existing tamed animals. Debug didn't trigger either. Tried toggle it on and off, no change. Tried loading into a local world with same character, found some wild boars and tamed with console commands. Built a pen and chest, they didn't eat from it. Logged out and in again. No effect. Started a new character and a new local world, found boar, tamed with console, couldn't get it to eat from the chest. Log out and in, no effect.
Exited the game to delete config, so the mod could build new file. Copy-Pasted over my personal preferences to the new file. Loaded up the test world with test character, and debug was showing. Now the boar was eating. Logged out, and loaded into my server (without the mod on server side), built a new chest, and now my old wolves was eating.
So it worked after deleting old config file. NOTE: I didn't test with exiting the game first time I couldn't get it to work. Only logged out to menu. But I think it's safe to say it was the old config file that was the issue.
Since this is a fork, I'm very fan of re-using as much of the original mod page as info. Especially if nothing big was changed. Maybe some different color on the text you're adding, so people not knowing of the old mod, can easily see what is old info and what is new.
The config file is updated with new version number, that is nice. Would also suggest you add some text in the config file to show what is new addition (not original stuff). Also the Nexus ID need to match your mod ID. In the early days a separate Update mod was created by the same author, to do calls to Nexus so the game could know if there was a new update. Especially nice when Vortex didn't support Valheim, or you modded without Mod Manager.
Thank you for your feedback. I have marked new or changed features in the description page more obvious now. I have changed the nexus ID in the config though I don't know how to add any additional text in the config by default and it will have to do with the implementation that is given, there is but one new field and it is made clear on the description page what it is for. I am a little concerned about you having to delete your config to make it work but I don't see a way to force a config rebuild, so I guess it will have to do that deleting a config is common debug knowledge if a mod isn't working as intended.
26 comments
Aedenthorn has returned, please check to original mod for updates.
This fork will not be maintained.
But take a look at Balrond's Containers, it's a brilliant mod that has a trough with dynamic food display and everything (and some super awesome other containers too). AutoFeed allows feeding from any container that isn't on you blacklist, so works with those ones too!
Any tips?
Three things come to my mind: have less tames around; disable „move to container“ so they can eat as soon as and as long as a container is in reach and lastly, keep them fed. As long as they’re fed the mod isn’t truly active and won’t impact performance at all. I will see if I can come up with anything else code-wise but other than disabling the pathfinding I don’t really know what could be done differently, as I said, the base function is called by the game every tick or so, auto feed just makes this function a bit more demanding though I don’t even know by how much (a good bit it seems judging by your performance loss)
I would suggest to add it to r2 manually, the manager surely has a feature like Vortex does.
I know, no auto updates, but as long as it works for you, why bother with updates anyway right? ;)
Not eating can mean that the feeding radius is set too small and they can't get close enough to the container or a different mod modified their eating behaviour.
please set the debug flag to "true" and check what the console output says about this, if there is any errors or if you keep seeing "[Boar/...] moving to container" or something. This might give more insight into what is happening.
I would also encourage you to disable all other mods (as is possible) to be sure that no other mod is interfering. If there was one interfering you could then enable them one by one to see which one it was.
anything beyond that however may not have been addressed.
Please see the sticky post here for mods that are confirmed working or where an alternative fork/mod exists.
https://www.nexusmods.com/valheim/mods/2798
THANK YOU SO MUCH!!!!!
Would love for others of aedenthorn mods get forked :)
All I used had the devcommands to bug out.
Notifications tweaks is a bless to have.
Which ones do you want fixed, I can’t promise anything but I could try to fork more of them.
I was a bit bummed, when the BepInEx log starting spamming [info] about animals couldn't find food. Checked my settings I had Debug enabled from the time I tested to see why the old original didn't work. I also deconstructed the old chests, so I can build new ones with this mod enabled.
I haven't found any replacement for this mod https://www.nexusmods.com/valheim/mods/951
Loaded into my server, and couldn't get it to work with new chest inside the pen, and correct food in the chest on existing tamed animals. Debug didn't trigger either. Tried toggle it on and off, no change.
Tried loading into a local world with same character, found some wild boars and tamed with console commands. Built a pen and chest, they didn't eat from it. Logged out and in again. No effect.
Started a new character and a new local world, found boar, tamed with console, couldn't get it to eat from the chest. Log out and in, no effect.
Exited the game to delete config, so the mod could build new file. Copy-Pasted over my personal preferences to the new file. Loaded up the test world with test character, and debug was showing. Now the boar was eating. Logged out, and loaded into my server (without the mod on server side), built a new chest, and now my old wolves was eating.
So it worked after deleting old config file. NOTE: I didn't test with exiting the game first time I couldn't get it to work. Only logged out to menu.
But I think it's safe to say it was the old config file that was the issue.
https://www.nexusmods.com/valheim/mods/2796
Since this is a fork, I'm very fan of re-using as much of the original mod page as info. Especially if nothing big was changed. Maybe some different color on the text you're adding, so people not knowing of the old mod, can easily see what is old info and what is new.
The config file is updated with new version number, that is nice. Would also suggest you add some text in the config file to show what is new addition (not original stuff). Also the Nexus ID need to match your mod ID. In the early days a separate Update mod was created by the same author, to do calls to Nexus so the game could know if there was a new update. Especially nice when Vortex didn't support Valheim, or you modded without Mod Manager.
I have marked new or changed features in the description page more obvious now.
I have changed the nexus ID in the config though I don't know how to add any additional text in the config by default and it will have to do with the implementation that is given, there is but one new field and it is made clear on the description page what it is for.
I am a little concerned about you having to delete your config to make it work but I don't see a way to force a config rebuild, so I guess it will have to do that deleting a config is common debug knowledge if a mod isn't working as intended.
I would suggest you make a pinned and locked post here at the comments and a short section on the description page.