What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Crash after hiting "Reset" at AutoStop plugin

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
Code:
private void ResetButtonOnClick(object sender, RoutedEventArgs routedEventArgs)
        {
            AutoStopSettings.Instance.Reset();
        }

3. Replace that code with the following:
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. :)
 
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 (;)
 
Back
Top