Thanks for that, seems to be right that it just answeres as soon as rune is completly refilled.
Following problem i have as well:
Unholy i need to check if i have over 1 unholy rune to execute a spell.
If i now blood tap and one of the unholy runes recharge as death rune, it still counts as unholy. Anybody any idea how i can fix that, so that is still not saying >1 unholy rune.
Thanks guys.
Regards,
Why is this not working right!
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SPQR;
using MySPQR;
namespace SPQR.Engine
{
class Rogue : Engine.FightModule
{
public override string DisplayName
{
get {return "BA_Rogue_test"; } //This is the name displayed in SPQR's Class selection DropdownList
}
internal enum Spells : int //This is a convenient list of all spells used by our combat routine
{ //you can have search on Wowhead: Friendship is magic! for spell name, and get the id in the URL
Ambush = 8676, //http://www.wowhead.com/spell=8676/ambush
CombatReadiness = 74001, //http://www.wowhead.com/spell=74001/combat-readiness
DeadlyPoison = 2823, //http://www.wowhead.com/spell=2823/deadly-poison
Envenom = 32645, //http://www.wowhead.com/spell=32645/envenom
Eviscerate = 2098, //http://www.wowhead.com/spell=2098/eviscerate
ExposeArmor = 8647, //http://www.wowhead.com/spell=8647/expose-armor
FanofKnives = 51723, //http://www.wowhead.com/spell=51723/fan-of-knives
FindWeakness = 91023, //http://www.wowhead.com/spell=91023/find-weakness
Hemorrhage = 16511, //http://www.wowhead.com/spell=16511/hemorrhage
Kick = 1766, //http://www.wowhead.com/spell=1766/kick
KidneyShot = 408, //http://www.wowhead.com/spell=408/kidney-shot
LeechingPoison = 108211, //http://www.wowhead.com/spell=leeching-poison
Mutilate = 1329, //http://www.wowhead.com/spell=1329/mutilate
RevealingStrike = 84617, //http://www.wowhead.com/spell=84617/revealing-strike
Recuperate = 73651, //http://www.wowhead.com/spell=73651/recuperate
Redirect = 73981, //http://www.wowhead.com/spell=73981/redirect
Rupture = 1943, //http://www.wowhead.com/spell=1943/rupture
SanguinaryVein = 79147, //http://www.wowhead.com/spell=79147/sanguinary-veins
ShadowBlades = 121471, //http://www.wowhead.com/spell=121471/shadow-blades
ShadowDance = 51713, //http://www.wowhead.com/spell=51713/shadow-dance
Shadowstep = 36554, //http://www.wowhead.com/spell=36554/shadowstep
SinsterStrike = 1752, //http://www.wowhead.com/spell=1752/sinister-strike
SliceandDice = 5171, //http://www.wowhead.com/spell=5171/slice-and-dice
Stealth = 1784, //http://www.wowhead.com/spell=1748/stealth
SwiftbladesCunning = 113742, //http://www.wowhead.com/spell=113742/swift-blades-cunning
TricksoftheTrade = 57934, //http://www.wowhead.com/spell=57934/tricks-of-the-trade
Vendetta = 79140, //http://www.wowhead.com/spell=79140/vendetta
}
internal enum Auras : int
{
SanguinaryVein = 79147,
Stealth = 1784,
DeadlyPoison = 2823,
LeechingPoison = 108211,
ExposeArmor = 8647,
WeakendArmor = 113746,
}
public override void CombatLogic()
{
var TARGET = MySPQR.Internals.ObjectManager.Target;
var ME = MySPQR.Internals.ObjectManager.WoWLocalPlayer;
if (TARGET.IsCasting) //Check if the target is casting to interup
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Kick);
if (TARGET.HasAurabyId((int)Auras.ExposeArmor));
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.ExposeArmor);
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Hemorrhage);
if (!ME.HasAurabyId((int)Auras.SanguinaryVein));
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.SanguinaryVein);
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Hemorrhage);
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Rupture);
if (ME.ComboPoints < 4)
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Hemorrhage);
if (TARGET.HealthPercent > 90 && ME.HealthPercent < 90)
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.CombatReadiness);
if (ME.ComboPoints > 4)
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Rupture);
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Eviscerate);
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.KidneyShot);
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Recuperate);
}
public override void OnLoad() //This is called when the Customclass is loaded in SPQR
{
}
public override void OnClose() //This is called when the Customclass is unloaded in SPQR
{
}
public override void OnStart() //This is called once, when you hit CTRL+X to start SPQR combat routine
{
}
public override void OnStop() //This is called once, when you hit CTRL+X to stop SPQR combat routine
{
}
}
}
it works like a priority so the higher up the code the sooner it will activate. I'm taking it it will just spam hemmo till you have no energy? try this
Code:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SPQR; using MySPQR; namespace SPQR.Engine { class Rogue : Engine.FightModule { public override string DisplayName { get {return "BA_Rogue_test"; } //This is the name displayed in SPQR's Class selection DropdownList } internal enum Spells : int //This is a convenient list of all spells used by our combat routine { //you can have search on Wowhead: Friendship is magic! for spell name, and get the id in the URL Ambush = 8676, //http://www.wowhead.com/spell=8676/ambush CombatReadiness = 74001, //http://www.wowhead.com/spell=74001/combat-readiness DeadlyPoison = 2823, //http://www.wowhead.com/spell=2823/deadly-poison Envenom = 32645, //http://www.wowhead.com/spell=32645/envenom Eviscerate = 2098, //http://www.wowhead.com/spell=2098/eviscerate ExposeArmor = 8647, //http://www.wowhead.com/spell=8647/expose-armor FanofKnives = 51723, //http://www.wowhead.com/spell=51723/fan-of-knives FindWeakness = 91023, //http://www.wowhead.com/spell=91023/find-weakness Hemorrhage = 16511, //http://www.wowhead.com/spell=16511/hemorrhage Kick = 1766, //http://www.wowhead.com/spell=1766/kick KidneyShot = 408, //http://www.wowhead.com/spell=408/kidney-shot LeechingPoison = 108211, //http://www.wowhead.com/spell=leeching-poison Mutilate = 1329, //http://www.wowhead.com/spell=1329/mutilate RevealingStrike = 84617, //http://www.wowhead.com/spell=84617/revealing-strike Recuperate = 73651, //http://www.wowhead.com/spell=73651/recuperate Redirect = 73981, //http://www.wowhead.com/spell=73981/redirect Rupture = 1943, //http://www.wowhead.com/spell=1943/rupture SanguinaryVein = 79147, //http://www.wowhead.com/spell=79147/sanguinary-veins ShadowBlades = 121471, //http://www.wowhead.com/spell=121471/shadow-blades ShadowDance = 51713, //http://www.wowhead.com/spell=51713/shadow-dance Shadowstep = 36554, //http://www.wowhead.com/spell=36554/shadowstep SinsterStrike = 1752, //http://www.wowhead.com/spell=1752/sinister-strike SliceandDice = 5171, //http://www.wowhead.com/spell=5171/slice-and-dice Stealth = 1784, //http://www.wowhead.com/spell=1748/stealth SwiftbladesCunning = 113742, //http://www.wowhead.com/spell=113742/swift-blades-cunning TricksoftheTrade = 57934, //http://www.wowhead.com/spell=57934/tricks-of-the-trade Vendetta = 79140, //http://www.wowhead.com/spell=79140/vendetta } internal enum Auras : int { SanguinaryVein = 79147, Stealth = 1784, DeadlyPoison = 2823, LeechingPoison = 108211, ExposeArmor = 8647, WeakendArmor = 113746, } public override void CombatLogic() { var TARGET = MySPQR.Internals.ObjectManager.Target; var ME = MySPQR.Internals.ObjectManager.WoWLocalPlayer; if (ME.ComboPoints > 4) { MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Rupture); MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Eviscerate); MySPQR.Internals.ActionBar.CastSpellById((int)Spells.KidneyShot); MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Recuperate); } if (TARGET.IsCasting) //Check if the target is casting to interup MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Kick); if (!TARGET.HasAurabyId((int)Auras.ExposeArmor)); MySPQR.Internals.ActionBar.CastSpellById((int)Spells.ExposeArmor); if (!ME.HasAurabyId((int)Auras.SanguinaryVein)); MySPQR.Internals.ActionBar.CastSpellById((int)Spells.SanguinaryVein); MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Rupture); if (TARGET.HealthPercent > 90 && ME.HealthPercent < 90) MySPQR.Internals.ActionBar.CastSpellById((int)Spells.CombatReadiness); if (ME.ComboPoints < 4) MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Hemorrhage); } public override void OnLoad() //This is called when the Customclass is loaded in SPQR { } public override void OnClose() //This is called when the Customclass is unloaded in SPQR { } public override void OnStart() //This is called once, when you hit CTRL+X to start SPQR combat routine { } public override void OnStop() //This is called once, when you hit CTRL+X to stop SPQR combat routine { } } }
Great work, I havent tried it out myself, but its always nice to see people contributing to the botting community![]()
Can't download from Mega, can somebody upload SPQR somewhere else ?
[QUOTE=KarmaRus;3045592]Can't download from Mega, can somebody upload SPQR somewhere else ?[/QUOTE
File-Upload.net - SPQR.exe
File-Upload.net - MySPQR.dll
@Nonowmana
I found that if I put spells on bar 4 or 5 or 6
Spqr will not cast it ! why...
Aroia thx, can you upload folder CustomClasses too, plz
After a few weeks of running SPQR within the pve environment, would love to try some pvp action. However, I dont really have any pvp scripts, does anyone out there have some pvp scripts for ranged classes? I enjoy mage/hunter/shammy etc.
regards
It would be nice to see dot strenght tracking in SPQR, feral kittys take huge hit without it specially with Rune of Re-Origination