The memory I use have the ability to write in memory, that doesn't mean I use itif you are paranoid, check the web, there is plenty of tools to check if a process write into another.
Also, regarding combo points they have been fixed at last release, check it out and tell me![]()
Anthraxbot & SPQR Creator / Administrator
Thanks Koha, so here is my very simple (no shred, faceroll code) kitty file:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SPQR;
using MySPQR;
namespace SPQR.Engine
{
class Druid : Engine.FightModule
{
public override string DisplayName
{
get { return "Kitty"; } //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.com for spell name, and get the id in url
Mangle = 33917,
Rip = 1079,
Rake = 1822,
SavageRoar = 52610,
HealingTouch = 5185,
TigerFury = 5217,
}
internal enum Auras : int //This is another convenient list of Auras used in our combat routine
{ //you can have those in wowhead.com (again) and get the id in url
Rip = 1079,
PredSwiftness = 69369,
Rake = 1822,
SavageRoar = 52610,
}
public override void CombatLogic() //This is the DPS / healing coutine, called in loop by SPQR all code here is executed
{
var TARGET = MySPQR.Internals.ObjectManager.Target;
var ME = MySPQR.Internals.ObjectManager.WoWLocalPlayer;
if(!TARGET.HasAurabyId((int)Auras.Rake) //will also return true for others people debuff
|| !HasMyDebuff((int)Auras.Rake) //only checks for own
)
CastSpellById((int)Spells.Rake);
CastSpellById((int)Spells.Mangle);
if((ME.ComboPoints > 4) &&!TARGET.HasAurabyId((int)Auras.Rip) )
CastSpellById((int)Spells.Rip);
if(ME.Energy < 30)
CastSpellById((int)Spells.TigerFury);
if(ME.HasAurabyId((int)Auras.PredSwiftness))
CastSpellById((int)Spells.HealingTouch);
if(!ME.HasAurabyId((int)Auras.SavageRoar))
CastSpellById((int)Spells.SavageRoar);
}
public static bool HasMyDebuff(int spellID)
{
var TARGET = MySPQR.Internals.ObjectManager.Target;
foreach (var aura in TARGET.AuraList)
{
if( (aura.Id==spellID) && aura.IsMine==true)
return true;
}
return false;
}
public static void CastSpellById(int spellId) //This is a *usermade* function to evaluate if the given spell (spellId) can be cast
{
MySPQR.Internals.ActionBar.CastSpellById(spellId);
}
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
{
SPQR.Logger.WriteLine("Starting .......................................\n");
}
public override void OnStop() //This is called once, when you hit CTRL+X to stop SPQR combat routine
{
SPQR.Logger.WriteLine("Stoping .......................................\n");
}
}
}
After my simple feral cat file, I am now trying to write a simple warlock destro file.
However, the code is only casting curse of the elements and conflagrate. Seems to ignore Immolate and Incinerate...??? any ideas? I think i am using the correct spell id's...
*just tried in debug mode* even the spellbook is NOT showing Immolate or Incinerate in the list, even though there are on the action bars. Very strange.
I checked the immolate id and it is indeed 348, any help?
internal enum Spells : int //This is a convenient list of all spells used by our combat routine
{ //you can have search on wowhead.com for spell name, and get the id in url
ShadowBurn = 17877,
Immolate = 348,
Conflagrate = 17962,
Incinerate = 29722,
Curseoftheelements = 1490,
}
internal enum Auras : int //This is another convenient list of Auras used in our combat routine
{ //you can have those in wowhead.com (again) and get the id in url
Immolate = 348,
Curseoftheelements = 1490,
}
public override void CombatLogic() //This is the DPS / healing coutine, called in loop by SPQR all code here is executed
{
var TARGET = MySPQR.Internals.ObjectManager.Target;
var ME = MySPQR.Internals.ObjectManager.WoWLocalPlayer;
if (!TARGET.HasAurabyId((int)Auras.Curseoftheelements))
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Curseoftheelements);
if (!TARGET.HasAurabyId((int)Auras.Immolate))
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Immolate);
if(TARGET.HealthPercent < 20 )
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.ShadowBurn);
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Conflagrate);
MySPQR.Internals.ActionBar.CastSpellById((int)Spells.Incinerate);
}
Last edited by wanted77; 04-21-2014 at 05:23 AM. Reason: Checked Debug mode
Yeah, 50 ppl visited my dw frost dk profile on github. Do they use it?
Here is an small fix for theBlood Plague spell id:
https://github.com/schmiddikiel/schmiddi
=)
hmmm^^ no one noticed the wrong id:P
So what's the purpose of this? Just lazy people looking to make the game even easier?
It doescheck the API on the wiki MySPQR.Classes.WoWLocalPlayer - SPQR - Passive Rotation Bot
Anthraxbot & SPQR Creator / Administrator
Hi Nonowmana, any clue about my immolate and incinerate cast problems?
Thanks in advance...