Coder Social home page Coder Social logo

Comments (7)

MrKinau avatar MrKinau commented on June 2, 2024

Hey @SpicyTorchic

thanks for your issue.
First: The "Bot is slow (Maybe stuck). Trying to restart!" is quite normal, if the bot doesnt fish anything in 60 seconds (I think) it retries, because sometimes Minecraft doesnt realizes that the bot already threw the fishing rod.

Second: "Could not receive packet! Shutting down!" Dunno why this happens to you. Which MC-Version do you use? How often does it happen? Cant investigate it cause I'm on vacation, but will done it if I'm back home.

Third: The error ouccrs, cause I used some parts of javafx (mainly its for graphical user interfaces) it could be that you have a java version installed, without javafx?

hope I could help you and would be nice to hear more from You

from fishingbot.

eightyninetytwo avatar eightyninetytwo commented on June 2, 2024

Well, I fixed the bot is too slow issue, the biggest problem was that I was using this afk fishing build for it, and the trapdoor and noteblock was messing with it for some reason: https://youtu.be/t665N_maRYg

Placing the bot in front of just a 1x1 of water worked much better.

As for the bot shutting down, I believe I fixed it, I'm not quite sure how, it was quite a rare error anyway. The servers version though is 1.13.2

The last error seems to be the only one causing issues at the moment. I am running the bot on lubuntu, which is a lightweight version of Ubuntu that is definitely known for missing quite a few libraries and things that normal Ubuntu would have, also might be that I'm running it on Linux, and Java versions on Linux are a little funky like that. I'm about to go on vacation myself, so you might not here from me for awhile, but I'll look into the Java versions that's running on my machine, and see what's up.

Thank you for your feedback, I'd love to hear more. Thank you for this awesome piece of software :)

from fishingbot.

eightyninetytwo avatar eightyninetytwo commented on June 2, 2024

It doesn't seem like I could find any fixes, I manually installed JavaFX and I tried using OpenJDK 8, instead of 11, didn't work, any suggestions?

from fishingbot.

MrKinau avatar MrKinau commented on June 2, 2024

OK the javafx things are quite messed up with java 11, I will remove the javafx stuff from the code, cause it seems to be a quite common bug with java 11. I've only tested it on Java 8

Before the Shutting down message, there should come a stacktrace like you sent. Is this the same error or it is some different?

from fishingbot.

MrKinau avatar MrKinau commented on June 2, 2024

With my latest commit: bd5ba5e

I replaced all javaFX related stuff. Maybe the latest release works better for you:
https://github.com/MrKinau/FishingBot/releases/latest

from fishingbot.

eightyninetytwo avatar eightyninetytwo commented on June 2, 2024

@MrKinau I will try it out now, I will be leaving again for another trip shortly, will do more testing then

Edit: Thank you so much! The bot works flawlessly with that update! Seems as if my linux build does not work well with the javaFX related stuff! I haven't had a single error since, thank you very much for your work! This was a fun project for me :)

from fishingbot.

MrKinau avatar MrKinau commented on June 2, 2024

Nice to hear this, thanks for your issue, feel free to create new ones if you have suggestions or find bugs ;)

from fishingbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.