J janusznazir New Member Joined Jun 28, 2014 Messages 108 Reaction score 1 Jan 19, 2015 #1 So Hearthbuggy crash after hitting "reset" button on AutoStop plugin please fix that Attachments Hearthbuddy 7992 2015-01-19 13.23.txt Hearthbuddy 7992 2015-01-19 13.23.txt 22.7 KB · Views: 168
P pushedx Well-Known Member Joined Sep 24, 2013 Messages 4,252 Reaction score 290 Jan 20, 2015 #2 Please try this quick fix to see if it solves the problem for you: 1. Open "Plugins\AutoStop\AutoStop.cs" in a text editor (notepad++ works great for this) 2. Look for the following function around line 256 Spoiler Code: private void ResetButtonOnClick(object sender, RoutedEventArgs routedEventArgs) { AutoStopSettings.Instance.Reset(); } 3. Replace that code with the following: Spoiler Code: public void Reset() private void ResetButtonOnClick(object sender, RoutedEventArgs routedEventArgs) { using (TritonHs.AcquireFrame()) { AutoStopSettings.Instance.Reset(); } } You'll need to restart your bot so the new code is reloaded. If that seems to fix the issue (it should), we'll get it included in the next version.
Please try this quick fix to see if it solves the problem for you: 1. Open "Plugins\AutoStop\AutoStop.cs" in a text editor (notepad++ works great for this) 2. Look for the following function around line 256 Spoiler Code: private void ResetButtonOnClick(object sender, RoutedEventArgs routedEventArgs) { AutoStopSettings.Instance.Reset(); } 3. Replace that code with the following: Spoiler Code: public void Reset() private void ResetButtonOnClick(object sender, RoutedEventArgs routedEventArgs) { using (TritonHs.AcquireFrame()) { AutoStopSettings.Instance.Reset(); } } You'll need to restart your bot so the new code is reloaded. If that seems to fix the issue (it should), we'll get it included in the next version.
J janusznazir New Member Joined Jun 28, 2014 Messages 108 Reaction score 1 Jan 20, 2015 #3 I dont know about programing trying to change that but after this plugin is not showing in HearthBuddy and i get error: Compiler Error: d:\Portable\HearthbuddyBETA 0.3.806.90\Plugins\AutoStop\AutoStop.cs(256,27) : error CS1002: Oczekiwano średnika (
I dont know about programing trying to change that but after this plugin is not showing in HearthBuddy and i get error: Compiler Error: d:\Portable\HearthbuddyBETA 0.3.806.90\Plugins\AutoStop\AutoStop.cs(256,27) : error CS1002: Oczekiwano średnika (