Skip to content

Commit

Permalink
This closes #3, I added debug options which users can add/subtract ti…
Browse files Browse the repository at this point in the history
…me on the casting timer to get a better catch.
  • Loading branch information
tiemonl committed Jul 30, 2018
1 parent b001b2d commit d401b26
Show file tree
Hide file tree
Showing 17 changed files with 483 additions and 23 deletions.
93 changes: 81 additions & 12 deletions fisher/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions fisher/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ public Form1() {
backgroundThread.WorkerReportsProgress = true;
backgroundThread.WorkerSupportsCancellation = true;

this.Size = new Size(375, 350);

rodTimerDebugToolTip.SetToolTip(rodTimerDebug, "Use this to adjust fishing timer to get a better catch result.\nAdd/subtract milliseconds (you shouldn't have to change more than 10 milliseconds)\ndepending on if you are stopping before the max value or going past the max.");

kongButton.CheckedChanged += new EventHandler(platform_CheckedChanged);
steamButton.CheckedChanged += new EventHandler(platform_CheckedChanged);

Expand Down Expand Up @@ -148,6 +152,7 @@ private void rodType_CheckedChanged(object sender, EventArgs e) {
else
rodType = 1660;
}
rodTimerDebug.Value = rodType;
helper = new MethodHelper(steam, rodType);
baitToUseText.Enabled = true;
findLocationBtn.Enabled = true;
Expand Down Expand Up @@ -269,5 +274,19 @@ private void printMessage(int baitUsed, int baitToUse, string msg) {
debugAutoStepLbl.Text = baitUsed + "/" + baitToUse + msg;
});
}

private void debugOptions_CheckedChanged(object sender, EventArgs e) {
if (debugOptions.Checked) {
this.Size = new Size(500, 350);

}
else {
this.Size = new Size(375, 350);
}
}

private void rodTimerDebug_ValueChanged(object sender, EventArgs e) {
rodType = (int)rodTimerDebug.Value;
}
}
}
Loading

0 comments on commit d401b26

Please sign in to comment.