tiemonl / Bit-Heroes-Fishing-Bot

Fisher program that automates the fishing task in Bit Heroes
GNU General Public License v3.0
27 stars 11 forks source link

Update Main.java #50

Open Hogusb opened 3 years ago

Hogusb commented 3 years ago

First timer on Git and coding. Tried to propose new color to startButtonGreen because since Bit Heroes changed to Unity, the fishing bot has given error about not finding the Start-button

Hogusb commented 3 years ago

Scrap that, know now that I edited in wrong place as Windows user.. I downloaded the code and fixed the color in csharp and.. compiled..? it using msbuild.. I get the fisher opened and it finds the start button, but there the fisher stops responding, doesn't make the throw.. >.<

tiemonl commented 3 years ago

Hey, thanks for opening this up. I can help you take a look if you'd like. Before unity, the button had two colors split horizontally and I used the bottom half. So you'd want the color near the bottom of the button.

Also, most likely, if the color for the start button changed, other colors I'm looking for have changed. So it may not be as simple as changing the start button color.

Hogusb commented 3 years ago

image

I am not sure if the way the button is colored has changed, disregarding the "3D effect" I'd say it is still split horizontally. I used the values 166, 211, 53 for the Start-button green. My main platform for Bit Heroes is Kongregate/browser, on Firefox (and Windows I already mentioned).

The issue I faced with the fisher after running the command "C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild "C:...\Bit-Heroes-Fishing-Bot-master\csharp\fisher\fisher.csproj" /p:Configuration=Debug;DeployOnBuild=True;PackageAsSingleFile=False;outdir=C:...\Bit-Heroes-Fishing-Bot-master\test\" (also tried with csharp\fisher.sln) in cmd;

-The fisher now recognizes the start button = does not give the error about not finding it -The mouse pointer goes to the start button -Fisher stops responding immediately after the mouse pointer has moved to the start button, so it does not press it (= so have not gotten far enough to know about the other colors)

I would not be surprised if this issue is just because I have used cmd, but at the moment I don't have permissions to install anything on the computer I use so had to improvise... :d Also have no experience (or knowledge) with writing code, so that doesn't help either... just want this "Auto-button" back for my Bit Heroes fishing :D

P.S. Nice to see that you have not ditched this little project completely :)