What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

To CC developers: simple Affliction warlock CC

Nightskine

Member
Joined
Oct 30, 2010
Messages
150
Reaction score
1
Hey,
I tried to do this on my own but there are 4 or 5 files to a warlock cc. The warrior CC I played with was just one file and a lot easier to understand for my accountant brain.
Could someone please just make a simple cc with the following rotation. No rest/pull/movement at all required. Just run the rotation when I'm in combat, much like the Lionheart cc for warriors. (lol i even tried working with that to change it to warlock cc ... FAIL!!!)
please and thanks!

Soul Fire (to keep improved soul fire always up)
Haunt
Bane of Agony / Bane of Doom (if boss)
Corruption
Unstable Affliction
Drain Soul (below 25%)
Shadowflame
Demon Soul
Shadow Bolt / Drain Life
 
Ok the devs must be busy, is there anyone that can at least show me how to remove the pulling mechanics/resting/movement and pet controls from the default file at least?
 
Not quiet the help i asked for but thanks for trying gimik... I did look at that already ... helped me a little but nowhere close to be able to make one on my own ... not everyones capable of coding or even understanding the logic behind it... and the warlock cc seems more complicated ... and a different setup .. with more than 1 file.
So I'm asking if someone who knows how to do that could make a simple rotation when I enter combat ... maybe I can add to that with what little i know. Anyone?

*EDIT*
I know you guys are real busy with HB growing and all - great work btw to guys like Tony, Nesox Apoc Ski fpsware cowdud joker .... so many to name.
and i know this is easy stuff for you so when you get a chance could u look into this please? it would really help me and others im sure. Id appreciate even a reply that you'd get to it ... even if its like in a week or whatever.... thanks
 
Last edited:
Look night, CCs really aren't created in a few minutes.
They take a lot of time and effort to work correctly and be bug free.

Have you ever tried using Mr. Autofight?
I'm sure that is what you are looking for.
 
oooooooh boy .... :( sad face

bambam ... I know about mr. autofight ... but the cc's out right now are very comprehensive ... the devs have done a great job to incorporate EVERYTHING into it ... pulling mechains ... movement ... pet control ... cuz thats needed for cc's with grinding/bg/questing profiles.

I'm just trying to get one with simply the rotations ... Im using RAF Combat mode and mr.autofight right now ... but it has movement in it and it controls pets .. wont let me use the pet I want ... one cc continuously just keeps summoning imp...lol lotsa issues like that.

Just looking for a cc that will get into a simple rotation ... I'd do it myself if i could ... i tried. .. lol 4th or 5th time im explaining myself ... :( even sader face*
 
Bump ... anyone have an answer for me? Any devs reading this? I guess its a busy couple of weeks with HB continually getting new versions.
Well I'll wait a week and ask again I guess.
 
yea, i dont have a warlock or even play one, so i wouldnt even know, the mechanics i need to program, even if i was motivated.
 
Alright so I've tried this and I need help to see if my coding is right. I've already set up the CastSpell Method. does the following code make sense?

Code:
 #region Combat Rotation
        private void AutoAttack()
        {if (!Me.IsAutoAttacking)
            {Lua.DoString("StartAttack()");}
        }
        public override void Combat()
        {if (Me.CurrentTarget != null)
            {CastSpell("Metamorphosis");

	    if (!Me.CurrentTarget.ActiveAuras.ContainsKey("Immolate"))
		{ CastSpell("Immolate");
	    	}

	    CastSpell("Hand of Gul'dan");
       
            if (Me.ManaPercent < 40 && Me.HealthPercent > 80)
                {
                    CastSpell("Life Tap");
                    slog(Color.ForestGreen, ">> Life Tap <<");
                }

                if (Me.CurrentTarget.MaxHealth > 1000000)
                {
			if (!Me.CurrentTarget.ActiveAuras.ContainsKey("Bane of Doom"))
                   { CastSpell("Bane of Doom");
                    slog(Color.Red, ">> High HP mob detected - Bane of Doom <<");
		   }
                }
		else 
		{
			if (!Me.CurrentTarget.ActiveAuras.ContainsKey("Bane of Agony"))
		CastSpell("Bane of Agony");
		slog(Color.Red, ">> Lowbie - Bane of Agony <<");
		}

              if (!Me.CurrentTarget.ActiveAuras.ContainsKey("Corruption"))
		{CastSpell("Corruption");
		slog(Color.Red, "Corruption");
		}
   	
		if (Me.ActiveAuras.ContainsKey("Molten Core"))
                {
                    CastSpell("Incinerate");
                    slog(Color.ForestGreen, ">> Molten Core Proc - Incinerate! <<");           }
     
		if (Me.ActiveAuras.ContainsKey("Decimation"))
		{ 
			CastSpell("Soul Fire");
			slog(Color.ForestGreen, ">>Decimation Proc - Soul Fire <<");
		}
        
		
	CastSpell("Shadow Bolt");
 }
        }
        #endregion
 
info

Code:
#region Combat Rotation
        private void AutoAttack()
        {if (!Me.IsAutoAttacking)
            {Lua.DoString("StartAttack()");}
        }
        public override void Combat()
        {if (Me.CurrentTarget != null) [COLOR="red"]// so basicallly everytime meta is off cooldown and you have a target in combat your going to cast this is that what you really want it to do?[/COLOR]
            {CastSpell("Metamorphosis");

	    if (!Me.CurrentTarget.ActiveAuras.ContainsKey("Immolate")) [COLOR="red"]// good check to make sureyour not spamming immolate dot. (Note: sometimes between builds the acitveauras/hasaura stuff gets borked Don't know if its intentional or not but if this works one build but doesnt work on another try using hasaura.[/COLOR]
		{ CastSpell("Immolate");
	    	}

	    CastSpell("Hand of Gul'dan"); [COLOR="red"]// spam spell?[/COLOR]
       
            if (Me.ManaPercent < 40 && Me.HealthPercent > 80)
                {
                    CastSpell("Life Tap");
                    slog(Color.ForestGreen, ">> Life Tap <<");
                }

                if (Me.CurrentTarget.MaxHealth > 1000000)
                {
			if (!Me.CurrentTarget.ActiveAuras.ContainsKey("Bane of Doom"))
                   { CastSpell("Bane of Doom");
                    slog(Color.Red, ">> High HP mob detected - Bane of Doom <<");
		   }
                }
		else 
		{
			if (!Me.CurrentTarget.ActiveAuras.ContainsKey("Bane of Agony"))
		CastSpell("Bane of Agony");
		slog(Color.Red, ">> Lowbie - Bane of Agony <<");
		}

              if (!Me.CurrentTarget.ActiveAuras.ContainsKey("Corruption"))
		{CastSpell("Corruption");
		slog(Color.Red, "Corruption");
		}
   	
		if (Me.ActiveAuras.ContainsKey("Molten Core"))
                {
                    CastSpell("Incinerate");
                    slog(Color.ForestGreen, ">> Molten Core Proc - Incinerate! <<");           }
     
		if (Me.ActiveAuras.ContainsKey("Decimation"))
		{ 
			CastSpell("Soul Fire");
			slog(Color.ForestGreen, ">>Decimation Proc - Soul Fire <<");
		}
        
		
	CastSpell("Shadow Bolt");
 }
        }
        #endregion

Move this code and put it under public override void Combat... if not its not going to get called during combat so no autoattack. (JUST THE IF section not the private void autoattack stuff).
Code:
private void AutoAttack()
        {if (!Me.IsAutoAttacking)
            {Lua.DoString("StartAttack()");}
        }
beyond that just a quick glimps that should do what you want it to do... if your just wanting a CC that does Rotations. Just put what you want under the Combat section and be done with it just remember that will only be running once your toon is in combat. So out of combat stuff you will have to do on your own.

CnG guide on CC's is Really good. If waiting for someone else is getting annoying then try it on your own. If you wrote this snippet from memory or just cut and paste your already at a good start. Just keep tinkering away tweaking the combat code to make it do what you want.
 
After yesterday's patch you no longer need to keep Improved Soul Fire up since Dotlocks can't even spec for it anymore.
 
mopysworld .... thank you!
I really appreciate your help.
I just wrote this right now at work, looking off another CC - for a warrior. (thats where the private void AutoAttack() came from. )
I'll try and fix the spamming HoG and meta.

On the other hand is there a check to see if a dot (like immolate) is about to fall off a target... as in if my target's Immolate aura is going to last for only less than 3 seconds longer?

Also Xanathos I wrote this based on the rotation for demonology warlock from elitistjerks.
I would've added immolate aura and shadowflame but I dont know how to do a range check and figured I'd rather hotkey those spells and use them manually whenever needed.

Thanks guys!
 
mopysworld .... thank you!
I really appreciate your help.
I just wrote this right now at work, looking off another CC - for a warrior. (thats where the private void AutoAttack() came from. )
I'll try and fix the spamming HoG and meta.

On the other hand is there a check to see if a dot (like immolate) is about to fall off a target... as in if my target's Immolate aura is going to last for only less than 3 seconds longer?

Also Xanathos I wrote this based on the rotation for demonology warlock from elitistjerks.
I would've added immolate aura and shadowflame but I dont know how to do a range check and figured I'd rather hotkey those spells and use them manually whenever needed.

Thanks guys!

Sample:
Code:
Target.ActiveAuras["Lifebloom"].TimeLeft.TotalMilliseconds <= 1700
untested since the new aura changes but it gives you a starting point.

Nothing wrong with spam spells I just tend to stick those at the bottom of my chain that way they don't mess up my higher priority stuff.

Things to consider as you progress adding a range check(3d if you do anything in cat as there is alot of flying mobs took me a while to figure out why my ret pally would not attack the dragon in vortex pinnacle was still using the 2d old way), /if target is dead ,some type of delay checks for casting(if not your just spamming a millions things a second and can bog down a low end machine. Got tired of some CC giving me a HUGE fps hit with bad delay calls.

Basically when I am writing my own combat routine helpers I think step by step everything I would do(i mean everylittle thing as the code is only going to do what you tell it to do) from the pull phase to the looting phase and make a tree diagram and start coding from there. Most of the times it works the first time around but go back and tweak it till you fill comfortable.

Trial and error is the best way. So your code looks like crap (mine does) but as you get more used to writing stuff you pick up on good coding techniques as you progress by looking at how some of the more professional/proficient coders do things.
 
Back
Top