1 items

File information

Last updated

Original upload

Created by

Andrew Young

Uploaded by

andyruwruw

Virus scan

Safe to use

194 comments

  1. andyruwruw
    andyruwruw
    • supporter
    • 25 kudos
    Locked
    Sticky
    I'm back. I'll start looking into some of your errors and some new features.

    Adding watering can upgrades is super tricky, needs a whole new fill algorithm. I've put it off for a while now.

    Errors with animations and even watering are hard. The code for SDV is a bit hard to read. I've struggled to find the right ways to trigger the actions I want.
  2. andyruwruw
    andyruwruw
    • supporter
    • 25 kudos
    Locked
    Sticky
    Where are the Patches?

    Currently, the mod is undergoing a massive overhaul!

    I'm writing another mod, BotFramework, to provide myself and other modders with the base logic and algorithms used here to make more bots.

    This will not only clean up WaterBot and hopefully leave it a lot more stable/modifiable, but also mean you might see a lot more Bots popping up from other developers.

    When it came time to look into converting this into other bots, I realized a majority of the files would need to be re-written, each time. Also at the same time, I had a midterm coming up for Software Design, where I pretty much broke every single good software design rule I was studying.

    This new framework should provide a clean starting point for me and others includes. Should be done soon! I'll be having a massive update here when that happens. Look forward to giving you guys a less buggy experience.

    What will BotFramework mean for WaterBot?

    - More sibling Bots (HarvestBot...etc)
    - Ability to automatically water both your farm and greenhouse!
    - Less buggy
    - Configurable debug messages
    - Configurable distance forumlas
    - Configurable fill patterns

    BotFramework Github
  3. andyruwruw
    andyruwruw
    • supporter
    • 25 kudos
    Locked
    Sticky
    Hey folks,

    Did not realize how many people would be trying the mod that quickly! Nice to meet you all.

    I've read all of your comments and implemented the first four patches! If you'd like to read the full changelog visit here.

    Keep in mind this is open source, so if you're curious what the code looks like or want to help, the Github repo is here!

    Patches Tl;dr
    Upgraded Watering Cans now don't crash the bot (so sorry about that!)
    - Works in Greenhouse (and any other locations)
    Any action button set in options works (not just right-click)

    - Won't start the bot if you're just trying to harvest and accidentally holding Watering Can.
    - Doesn't water harvestable crops that don't regrow.
    - Other bugs I found!

    Other Questions Asked

    Thank you all for the kind feedback, I'll continue making it better! Here are some updates on some of the features requested below.
    If you have any suggestions for new bots, I added a forum topic here!

    Making more bots / Make your own!

    The process has begun! For all you other developers out there, I'm creating another framework mod for you to create your own mods with the same pathfinding logic used here.

    With that, more bots can be made quicker, and the rest of you can join in on the fun!


    Constantly check for plants being watered as bot waters for multiplayer @Zefferis

    Yes! That is definitely something I could add and put in the config. I was additionally thinking of adding other algorithms for people to try out by changing it in the config if they were interested.

    Can you make a HarvestBot? 
    @zzundeadzz @silverfox1

    Why yes, if you want it. @HannaVictoria might be right in that there might be some decisions to be made with what to harvest, but I'm thinking: You right-click a crop you want to harvest, and it harvests any of the same kind of crop. That would be do-able and honestly easier than WaterBot!

    - Thoughts on FishingBot? @HannaVictoria

    Very true, my passion is more towards bot that takes out the tedious side of things, but doesn't involve cheating. Thus why I made this after seeing all those mods that just automatically water your crops (gross). I think a FishBot would be funny if: You missed the water (I do this all the time) and it simply recasts your line into the water and says "Oops". Or perhaps a bot that when you cast your line out into the water, checks the map quickly for those bubbling fishing spots with better rewards, and if you're missing it, drags you over to it and recasts your line into it. Smaller things, but keeping on the tedious side of things.

    - Nice GIFs

    Why thank you, TBH it might have taken more time to make those than the actual mod itself. But I found it fun to be able to explain to my non-coding friends how ridiculous the process the bot goes through is. To my astonishment, the visuals appear to really explain things well! I'll keep adding more if things get changed.

    - Why has no one done this before?

    Speaking on behalf of my fellow coders, the temptation of just having the crops be watered every day is much easier than dealing with the Traveling Salesman Problem (TSP). If you don't know what that is, I suggest you look it up! It's very interesting. To sum it up, traveling salesman problem are problems that computers break on. They are infamous for being unsolvable in polynomial time. If someone found a way to solve them in polynomial time, goodbye all internet security, goodbye all your private data, goodbye world.

    All the weird steps the bot goes through to separate crops into groups is an effort to simplify the TSP. I could instead say, "for all these crops, what is the shortest path through them all?" and your computer would break. This project was fun because of the challenge for me, and I'm a bit of a work-a-holic. 


    Thank you all once again, I'll be back soon with some changes and updates! If you have any other suggestions for mods, drop them here or on the issues for the WaterBot (I'll respond better there).
  4. xiaodixs
    xiaodixs
    • member
    • 0 kudos
    您好,模块是否与游戏手柄冲突,使用游戏手柄时无法正常工作
  5. bwliu16
    bwliu16
    • member
    • 0 kudos
    I have a new favorite mod oh my god thank you for making this
  6. sevesevesevi
    sevesevesevi
    • member
    • 0 kudos
    yay! i had waterbot as tracked so i got so excited when i saw it was the notification for an update. welcome back waterbot! <3
  7. cindyexe
    cindyexe
    • supporter
    • 9 kudos
    this is super cool. i hope someday you add more features so we can finally have "food mode" in stardew valley.
    food mode:
    Spoiler:  
    Show


  8. Poppy501
    Poppy501
    • member
    • 0 kudos
    I really wanted to love this mod but it missed most of my crops. So it used up all of my energy because it was watering nothing the grass instead of my crops. I would love to re-download it if you get it updated :)
    1. andyruwruw
      andyruwruw
      • supporter
      • 25 kudos
      I'm finally back to fix it :)
    2. Poppy501
      Poppy501
      • member
      • 0 kudos
      Yay! Thank you!! :)
  9. HillCube
    HillCube
    • member
    • 0 kudos
    does it work with modded crops?
    1. andyruwruw
      andyruwruw
      • supporter
      • 25 kudos
      It should!
  10. hypermorphic
    hypermorphic
    • premium
    • 247 kudos
    This is a great idea, but it didn't work for me on the Steam Deck.  Not sure if it's been reported yet.  The mod engaged and my farmer went through all the motions of watering, but it wasn't able to change the direction he was facing.  So it ended up watering the same tile multiple times while ignoring the surrounding ones, or watering a tile that wasn't tilled.  Maybe you can reproduce it by using a controller.  I've found other solutions for my game though, thanks.
    1. andyruwruw
      andyruwruw
      • supporter
      • 25 kudos
      Ill do some testing. My girlfriend plays on Steam Deck so worth the time to check it out. Thanks for reporting though!
  11. yiimnaztix
    yiimnaztix
    • member
    • 0 kudos
    This is really awesome. I love it so much, it keeps me from the drudgery of watering the plants every day. But it still balances the game by lowering Stamina. I hope you will never stop developing and updating this mod. I really appreciate it.
    1. andyruwruw
      andyruwruw
      • supporter
      • 25 kudos
      <3
  12. MawdyDev
    MawdyDev
    • premium
    • 4 kudos
    Does this work on modded farm layouts?
    1. andyruwruw
      andyruwruw
      • supporter
      • 25 kudos
      It should! Haven't tested it in cases of areas you can only reach via teleports / minecarts though. So anywhere walkable.
  13. 会大点嘛请问升级水壶之后浇水的面积胡