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] Can't generate Path to Corpse / Corpse Run Stuck Rezz Plugin

Kekskruemel

Member
Joined
Jan 15, 2010
Messages
236
Hello,

first I have VERY! basic skills in programming, but this modified Plugin (Thx goes to cls15 for his no move detector plugin) is working without any problems for me so far.

What does this plugin do?

It detect each 10 minutes your position. If you haven't moved because of a stuck during the corpse run, or you died in a not meshed place and the bot can't generate the path to your corpse it resurrect you @ the Spirit Healer.

Setup:

Copy the File into a named Folder, for example NoMoreMoveRezz in your Plugin Folder.
Set the "Interact with Target" Key to "P" in the WoW Keybindings.

That's all.

If I get the hb internal navigation working I post an update, so you don't need to set up the interact with target key.

If you encounter any problems, post here and i'll see what i can do :)
 

Attachments

Hi
Compiler Error: c:\1_PACK\HB\Plugins\NoMoveDetectorRezz\NoMoveDetectorRezz.cs(101,34) : error CS0246: The type or namespace name 'IStuckHandler' could not be found (are you missing a using directive or an assembly reference?)
Compiler Error: c:\1_PACK\HB\Plugins\NoMoveDetectorRezz\NoMoveDetectorRezz.cs(97,33) : error CS0246: The type or namespace name 'IStuckHandler' could not be found (are you missing a using directive or an assembly reference?)

Someone can fix this? thak you.
 
Open the file with a text editor and replace "IStuckHandler" with "StuckHandler" where it appears.
IStuckHandler doesn't exist any more since long time.

Also replace
HTML:
public override void Initialize()   with   public override void OnEnable()
and
HTML:
public override void Dispose()   with    public override void OnDisable()

(Untested...)
This should fix it.
 
Compiler Error: c:\1_PACK\HB\Plugins\NoMoveDetectorRezz\NoMoveDetectorRezz.cs(101,22) : error CS0534: 'HB.Plugins.NoMoveDetectorRezzRezz.NoMoveDetectorRezzRezz.NoUnstuck' does not implement inherited abstract member 'Styx.Pathing.StuckHandler.IsStuck()'
Compiler Error: c:\1_PACK\HB\Plugins\NoMoveDetectorRezz\NoMoveDetectorRezz.cs(101,22) : error CS0534: 'HB.Plugins.NoMoveDetectorRezzRezz.NoMoveDetectorRezzRezz.NoUnstuck' does not implement inherited abstract member 'Styx.Pathing.StuckHandler.Unstick()'

Now I have this error.
 
Insert override here. ;)

public class NoUnstuck : StuckHandler
{
public override bool IsStuck() { return false; }
public override void Reset() { }
public override void Unstick() { }
}
 
Compiler Error: c:\1_PACK\HB\Plugins\NoMoveDetectorRezz\NoMoveDetectorRezz.cs(43,38) : error CS0117: 'Styx.CommonBot.BotEvents' does not contain a definition for 'OnBotStart'
Compiler Error: c:\1_PACK\HB\Plugins\NoMoveDetectorRezz\NoMoveDetectorRezz.cs(48,38) : error CS0117: 'Styx.CommonBot.BotEvents' does not contain a definition for 'OnBotStart'

next errors :)
 
Last edited:
Ok tested and works but I dont like this method:

Lua.DoString("RunMacroText(\"/click GhostFrame\")");
Thread.Sleep(5000);
Lua.DoString("RunMacroText(\"/target Spirit Healer\")");
Thread.Sleep(1000);
Styx.Helpers.KeyboardManager.PressKey((char)Keys.P);
Thread.Sleep(1000);
Styx.Helpers.KeyboardManager.ReleaseKey((char)Keys.P);
Thread.Sleep(10000);
Lua.DoString("SelectGossipOption(1) AcceptXPLoss()");

I mean you need bind key in wow:
"Set the "Interact with Target" Key to "P" in the WoW Keybindings." from OP topic. There is other way ?
 
Ok tested and works but I dont like this method:

PHP:
	Lua.DoString("RunMacroText(\"/click GhostFrame\")");
					Thread.Sleep(3000);
					Lua.DoString("RunMacroText(\"/target Spirit Healer\")");
					Thread.Sleep(1000);
					Styx.Helpers.KeyboardManager.PressKey((char)Keys.P);
                    Thread.Sleep(1000);
                    Styx.Helpers.KeyboardManager.ReleaseKey((char)Keys.P);
					Thread.Sleep(5000);
					Lua.DoString("SelectGossipOption(1) AcceptXPLoss()");

I mean you need bind key in wow:
"Set the "Interact with Target" Key to "P" in the WoW Keybindings." from OP topic. There is other way ?

bump? how i can replace Styx.Helpers.KeyboardManager.PressKey using HB code?
 
Last edited:
Back
Top