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

CnG's Bot'nLock - A Warlock CC Works from level 1.

CodenameG

New Member
Joined
Jan 15, 2010
Messages
38,364
Reaction score
231
CnG's Bot'nLock - A Warlock CC Works from level 1.
V1.2 - Final
This is my attempt at a Warlock CC. completely Written from the ground up. this CC will work from level 1, and will bring the same level of speed and survivability that many enjoy from Project Gamma and Codename FrozenHeart.

This will work fine for level 1-20


Discontunued. - Click here for more info

if your looking for a good Warlock CC, i Recommended DBWarlock by Darkben

What this class does:
This warlock CC is ment to have support from level 1 and is meant to level and play your Warlock like a pro.

Fear Adds: this CC will Dot and Fear the adds you may get.

Health stones: using health stones on low health.

every spell from level 1 - 14 at this point.

Things to come:
my Goal with this CC is to make it as good if not better then my other CC's so i want to have support for every possible spell and every possible play style, so you can bot with class.

PVP support.

and much much more.

Installation:
Copy file into the CustomClasses directory of your honor buddy folder and remove the old Warlock class to somewhere safe.

Change Log:
1.0: Inital Release - Currently only supports levels 1 - 10 because thats what level my warlock is. so once i get it up higher ill be adding more and more support so stay tooned.

1.1: tried to fix rest bug for mana useage, still not working at all evn after porting all the working code over from another CC Damit. added support for voidwalker and all spells up to level 14, this includes drain life, health funnel, and wand support during the rotation. wand still needs some love, but it will be coming soon.

1.2 Better support for pets, plus less wand spamming.

Known Bugs:
Theres currently a bug with Lifetap, and Resting, it does work, but it spams the log when less then 50% mana, so if anyone has a fix for this please let me know, its driving me nuts.


 
Last edited:
Few things:
- SpellManager.KnownSpells.ContainsKey("Create Healthstone") && SpellManager.CanCastSpell("Create Healthstone") - you only really need one of these
- You have a needrest section to drink, but you don't have a drink section in your Rest() (not sure if intended or not)
- Should put a true/false to see if you actually have food in your rest food section so its not trying to feed if you dont actually have anything
- Line 426 - slog("Pull with Fireball."); - probably from another cc, but won't do anything here :)
- Line 503 - // polymorph time - :)
- Your pull section has no distance check, so lock will stand there at 34 yards trying to fire off a bolt but will fail until it blacklists or the npc moves close enough. Recommend setting a range based on sbolt's distance and using a true/false based on that range
- I'm not sure what your log is being spammed with, but if its lifetap add a Thread.Sleep(1000) (adjust until it stops, might need 1500) after line 483 and 301. The reason being that if you use while loops it'll keep iterating and trying to cast lifetap every few milliseconds.
 
Also:
- You don't have a needRest section that triggers rest if you don't have a pet, so it won't cast your pet unless you trigger rest with something else (low mana, low hp, etc)
- You get spammed by "need drink" because there is no drink section in rest, so it just keeps iterating through needrest over and over

Its 7 am here, not really sure why I woke up but I'm going back to sleep :P That should give you some ideas to work on :)
 
Few things:
- SpellManager.KnownSpells.ContainsKey("Create Healthstone") && SpellManager.CanCastSpell("Create Healthstone") - you only really need one of these
- You have a needrest section to drink, but you don't have a drink section in your Rest() (not sure if intended or not)
- Should put a true/false to see if you actually have food in your rest food section so its not trying to feed if you dont actually have anything
- Line 426 - slog("Pull with Fireball."); - probably from another cc, but won't do anything here :)
- Line 503 - // polymorph time - :)
- Your pull section has no distance check, so lock will stand there at 34 yards trying to fire off a bolt but will fail until it blacklists or the npc moves close enough. Recommend setting a range based on sbolt's distance and using a true/false based on that range
- I'm not sure what your log is being spammed with, but if its lifetap add a Thread.Sleep(1000) (adjust until it stops, might need 1500) after line 483 and 301. The reason being that if you use while loops it'll keep iterating and trying to cast lifetap every few milliseconds.
yea, thanks for responding so quickly i really appciate it, ill go ahead and fix the changes there, the reason you see a lot of "fireball" "polymorph" is because i wanted something i was fimiliar with, so i used the base from Codename Frozen heart, and shelled out as much as i needed to, a lot of it i still have commented out, i dont really have a rest because i wanted Life Tap, to just take the mana from my health, and then eat.
SpellManager.KnownSpells.ContainsKey("Create Healthstone"), i added this too all the spells being used so i can keep adding to the rotation or adding features without breaking the oringal level 1 support. and ill be honest, the soul shard code and some of the health stone code isnt mine, but its not without lack of trying, but the orginal mana gem code couldnt really be ported over and modifyed to get the job done.
tomarrow brings a new day with new bug fixes, so stay tooned.
 
yea, thanks for responding so quickly i really appciate it, ill go ahead and fix the changes there, the reason you see a lot of "fireball" "polymorph" is because i wanted something i was fimiliar with, so i used the base from Codename Frozen heart, and shelled out as much as i needed to, a lot of it i still have commented out, i dont really have a rest because i wanted Life Tap, to just take the mana from my health, and then eat.
SpellManager.KnownSpells.ContainsKey("Create Healthstone"), i added this too all the spells being used so i can keep adding to the rotation or adding features without breaking the oringal level 1 support. and ill be honest, the soul shard code and some of the health stone code isnt mine, but its not without lack of trying, but the orginal mana gem code couldnt really be ported over and modifyed to get the job done.
tomarrow brings a new day with new bug fixes, so stay tooned.

Sounds good, good luck! On the
- SpellManager.KnownSpells.ContainsKey("Create Healthstone") && SpellManager.CanCastSpell("Create Healthstone") - you only really need one of these
part, I believe CanCast returns false if you don't have the spell anyway, which is why you only need one or the other.
 
Sounds good, good luck! On the

part, I believe CanCast returns false if you don't have the spell anyway, which is why you only need one or the other.
I always tough of CanCastSpell as a check for cooldown or maybe check if you are silenced.

Hey CodenameG what will be the base of this CC? Affliction or Demonology?
 
Awesome, can't wait until there is support for 55+
 
I always tough of CanCastSpell as a check for cooldown or maybe check if you are silenced.

Hey CodenameG what will be the base of this CC? Affliction or Demonology?

It is, but in cases where you're doing healthstone or armor you don't really need it (or you can drop the ContainsKey and just use it). Using both is redundant a lot of the time.
 
I always tough of CanCastSpell as a check for cooldown or maybe check if you are silenced.

Hey CodenameG what will be the base of this CC? Affliction or Demonology?
Demonology for leveling, and another Affliction CC for leveling and PvP
however the Affiction CC wont be made untill at least level 50ish, when the spec can be filled out.
 
Back
Top