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; } }
}
}