Hi, any chance to get this http://www.thebuddyforum.com/archives/57660-keyspammer.html updated? I need that so much and I have no clue, what I have to change :/ Code: using Styx.Helpers; using Styx.Plugins.PluginClass; using Styx.WoWInternals.WoWObjects; using Styx.WoWInternals; using Styx; using System.Threading; using System.Windows.Forms; using System; namespace joejoe317 { public class Keyspammer : HBPlugin, IDisposable { private static Random random = new Random(); public override void Pulse() { try { while (Me.IsAlive) { for (int i = 0; i < 2; i++) { Styx.Helpers.KeyboardManager.PressKey((char)Keys.L); Thread.Sleep(random.Next(30, 50)); Styx.Helpers.KeyboardManager.ReleaseKey((char)Keys.L); Thread.Sleep(random.Next(250, 750)); } } } catch { } } public override string Name { get { return "Keyspammer"; } } public override string Author { get { return "joejoe317"; } } public override Version Version { get { return new Version(1, 0, 0); } } public override bool WantButton { get { return false; } } public override string ButtonText { get { return Version.ToString(); } } private static LocalPlayer Me { get { return ObjectManager.Me; } } } }
I think i have updated it, but i havent tested it Code: using Styx.Helpers; using Styx.WoWInternals.WoWObjects; using Styx.WoWInternals; using Styx; using System.Threading; using System; using Styx.Plugins; namespace joejoe317 { public class Keyspammer : HBPlugin, IDisposable { private static Random random = new Random(); public override void Pulse() { try { while (Me.IsAlive) { for (int i = 0; i < 2; i++) { Styx.Helpers.KeyboardManager.PressKey((char)ConsoleKey.L); Thread.Sleep(random.Next(30, 50)); Styx.Helpers.KeyboardManager.ReleaseKey((char)ConsoleKey.L); Thread.Sleep(random.Next(250, 750)); } } } catch { } } public override string Name { get { return "Keyspammer"; } } public override string Author { get { return "joejoe317"; } } public override Version Version { get { return new Version(1, 0, 0); } } public override bool WantButton { get { return false; } } public override string ButtonText { get { return Version.ToString(); } } private static LocalPlayer Me { get { return StyxWoW.Me; } } } }
Thanks you. what is the Key now? I want to use 'x' PHP: Styx.Helpers.KeyboardManager.KeyUpDown((char)Keys.X) PHP: Styx.Helpers.KeyboardManager.KeyUpDown((x)Keys.D1) ?
Styx.Helpers.KeyboardManager.KeyUpDown((char)Keys.X); Would press the X key once. Styx.Helpers.KeyboardManager.KeyUpDown((char)Keys.NumPad3); Would press the 3 on your number pad once. (char) just represents an object type (or class) in this context.
This doesnt work for me :< I took the original file keyspammer then took the new code and replaced old code. After that I made a new folder in the plugins and put that in it. I still don't see it in the plugins when I open up HB Im so desperate for this because I litterally mill thousands a day. I did a lot of research but I found nothing and im stuck with this horrible Auto script it which has to have the game open and cant surf while its milling or do anything else. I dont mind tiping for your efforts but if you can please post the exact .cs plugins document in case I'm doing something wrong and the key the plugin uses to initiate and stop the milling. Thanks in advance
Doesnt work ;/ this is the error I get in HB "Compiler Error: c:\Users\qlo_0lp\Desktop\Hermen\Plugins\Key\Keyspammer.cs(2,20) : error CS0234: The type or namespace name 'PluginClass' does not exist in the namespace 'Styx.Plugins' (are you missing an assembly reference?)Compiler Error: c:\Users\qlo_0lp\Desktop\Hermen\Plugins\Key\Keyspammer.cs(12,31) : error CS0246: The type or namespace name 'HBPlugin' could not be found (are you missing a using directive or an assembly reference?) Put one file in a folder in plugins and another withouth a folder in plugins. Copied Phelon's updated keyspammer he placed on the first page and changed the Keydown from D1 to X. Mind attaching ur file for me? Id so much appreciate it :<
heyho thank u for your help, but hb dont detect it as a plugin, it doesnt show up in the plugin list :/ any solutions?
Updated to work with this Honorbuddy version. Be sure to plus(+) rep and like as a thanks if you found it useful! Will currently spam the "X" key. Read no1knowsy's comment above if you want to change it. Installation: 1. Make a folder named Keyspammer inside the Plugins folder. 2. Place the .CS file inside the folder. Have fun n' enjoy
if (Me.Combat) return; Put that as the first thing after Pulse() { Soooooooooooooooooooooo: Pulse() { if(Me.Combat) return;