@Silrisil
Make sure you placed the file hoesoil.lua in the right location: data/actions/scripts/[file here] and also make sure you named the file "hoesoil", now about the duplicate id thing that's just that an item is being used with two or more script for the "5710" go to actions.xml and delete this line that it's found under tools:
the other one i don't know but it appears that you already have the "hoe"(2553) assigned to another script other than hoesoil.lua.PHP:<action itemid="5710" event="script" value="tools/shovel.lua"/>
anyways i hope that clears the error.
ILY <3. I just don't know how could I miss that I named it holesoil, not hoesoil
Kind regards,
~Sil