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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Plugin] StuckDetector - for Questing

Giwin

Well-Known Member
Joined
Dec 3, 2011
Messages
3,431
This can be used for GrindBuddy etc but only tested in Questing... supported both negative and positive Hotspots.

If you're in the same place for over 3 minutes the bot will use hearthstone and shutdown honorbuddy (meant for reloggers so it restarts, although that's optional)

Haven't made an effort for splitting the classes but it works.

This plugin was made to avoid me getting reported and to allow me to go afk without worrying that i'll come back to a bot running into a tree, fence etc.

Future release: bot won't use hearthstone if it's near an Innkeeper (already hearthed)

Requires .Net Framework 4.5

Version: 1.1 Released - Replaced Application.Current.Shutdown with Environment.Exit(0)...Version: 1.0 Released
 
Last edited:
I really like this idea. Can you edit the time? Im thinking about flying from an NPC or something.
 
where it says maxtime in the .cs file. you can change that... it's 180 = 3 minutes currently.
 
Alright, Ill try this and see how it works. Thanks for making the idea into a plugin.
 
Why isn't this built into HB is the real question. The bot in its current state is ban city if ever left alone for any amount of time, even a workaround like this until it is fixed would be appreciated by most customers.


G
 
Also I'm testing Application.Current.Shutdown, the main thing was to use Hearthstone but tell me if it doesn't restart and I'll switch back to Environment.Exit
 
Plugins\StuckDetector\Class1.cs(133,30) : error CS1061: 'System.IO.StreamWriter' does not contain a definition for 'WriteLineAsync' and no extension method 'WriteLineAsync' accepting a first argument of type 'System.IO.StreamWriter' could be found (are you missing a using directive or an assembly reference?)
 
Plugins\StuckDetector\Class1.cs(133,30) : error CS1061: 'System.IO.StreamWriter' does not contain a definition for 'WriteLineAsync' and no extension method 'WriteLineAsync' accepting a first argument of type 'System.IO.StreamWriter' could be found (are you missing a using directive or an assembly reference?)

Updated main/first post with the answer to address this issue
 
Thanks for another seriously important plugin that should already be included in the bot!
 
Indeed. This plugin was included in the ancient bot Pirox. Should have been implemented in the bot loooooong time ago.
 
First I like to say awesome plugin!

The whole original basis behind HB was to act as a wrapper for user developed bot bases, CC, plugins etc. This type of plugin is exactly what I think the community does best, find solutions to problems. The HB Dev's have their hands full with managing a beast of a project to keep HB operational and undetected, I personally like the fact that we can modify HB to suit our needs so easily.

I wish every user would take a little time and look at HOW these things work. It seems like the amount of people crying for new features or fixes out numbers the people trying to create new things 100 to 1.

Please try and contribute. Every single change to a CC or attempt at writing a plugin I've tried has ended in epic failure (including at one point spamming my username/password in general chat), but I learn more about this whole C# thingy each time. Maybe I can create a working piece of software before WoW patch 12.0. :eek:
 
First I like to say awesome plugin!

The whole original basis behind HB was to act as a wrapper for user developed bot bases, CC, plugins etc. This type of plugin is exactly what I think the community does best, find solutions to problems. The HB Dev's have their hands full with managing a beast of a project to keep HB operational and undetected, I personally like the fact that we can modify HB to suit our needs so easily.

I wish every user would take a little time and look at HOW these things work. It seems like the amount of people crying for new features or fixes out numbers the people trying to create new things 100 to 1.

Please try and contribute. Every single change to a CC or attempt at writing a plugin I've tried has ended in epic failure (including at one point spamming my username/password in general chat), but I learn more about this whole C# thingy each time. Maybe I can create a working piece of software before WoW patch 12.0. :eek:

Thing is, most of the people complaining about HBs current state are the people who develop for it.
 
Getting this Error. Toon was on Mount, didnt dismount and HS was on CD.

Plugin StuckDetector threw an exception in 'Pulse'! Exception:
System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.
at System.Windows.Threading.Dispatcher.VerifyAccess()
at System.Windows.Threading.DispatcherObject.VerifyAccess()
at System.Windows.Application.CriticalShutdown(Int32 exitCode)
at System.Windows.Application.Shutdown()
at StuckDetector.Main.Pulse() in f:\***\Plugins\StuckDetector\Class1.cs:line 62
at Styx.Plugins.PluginWrapper.Pulse()
 
Getting this Error. Toon was on Mount, didnt dismount and HS was on CD.

I've changed back to Environment.Exit(0);, confirmed that it works but may cause Max Sessions issue... Application.Current.Shutdown() doesn't seem to work and judging by that error I would assume that it requires it to be invoked... I'll test that different approach later.

Version 1.1: Released
 
how does it work? does the plugin scan the current position every secound and if the position doen't change after time X it will use healthstone and restart the bot?
 
how does it work? does the plugin scan the current position every secound and if the position doen't change after time X it will use healthstone and restart the bot?

it's explained in basic terms in the first post.
 
Hello,

despite being in v1.1. I still have the message :

Compiler Error: d:\botting\Honorbuddy 2.5.8483.699\Plugins\StuckDetector\Class1.cs(132,30) : error CS1061: 'System.IO.StreamWriter' does not contain a definition for 'WriteLineAsync' and no extension method 'WriteLineAsync' accepting a first argument of type 'System.IO.StreamWriter' could be found (are you missing a using directive or an assembly reference?)

Can you help ?

Thank you.
 
Hello,

despite being in v1.1. I still have the message :

Compiler Error: d:\botting\Honorbuddy 2.5.8483.699\Plugins\StuckDetector\Class1.cs(132,30) : error CS1061: 'System.IO.StreamWriter' does not contain a definition for 'WriteLineAsync' and no extension method 'WriteLineAsync' accepting a first argument of type 'System.IO.StreamWriter' could be found (are you missing a using directive or an assembly reference?)

Can you help ?

Thank you.

Requires .Net Framework 4.5
you can resolve your issue by reading the first post
 
Indeed, it works now. I thought the framework was already installed.

Thanks Giwin.
 
I see that a lot devs (including myself) are encountering this shitty thing, wanted to look further into that kind of plugin, and probably develop one myself, but you went on it first ! :D well done, I'm wondering how cool would an - All-in-One plugin handling that kind of shit - be. I'm using HB for now 3 years (probably more) and went into DB, started to code plugins parts for "Trinity", enhancing stuff in it with the help of Giles (we miss you bro)... Trinity helped DB a lot, Core Devs used to use Trinity as an example for the Core, I wonder if they would do the same for HB.
Well, good idea/plugin tho, I personally removed few things to make it fit my attempts, and integration into my private plugin.
Thanks a lot, thanks every dev on this forum for making HB better every day <3

toNyx.
 
Back
Top