Jump to content

Bear T.O.E.

Members
  • Posts

    472
  • Joined

  • Last visited

Everything posted by Bear T.O.E.

  1. Hey thanks!!! No I need to learn to change this code so I can Put in all my other tank spec. I role all the tanks specs. So I might be asking you some more questions soon lol
  2. How do I Make this code that is made to not Interupt if the spell is shielded, into a code to use if the spell isnt interuptable but can stop the spell by stunning them or at least trying to stuff them. local spellid=106839 local spellname=GetSpellInfo(spellid) if UnitExists("target") and not UnitIsFriend("player", "target") and (IsSpellInRange(spellname, "target")==1) then local spell, rank, displayName, icon, startTime, endTime, isTradeSkill, castID, nonInterrupt = UnitCastingInfo("target"); local isChanneling=false if (spell==nil) then spell, displayName, icon, startTime, endTime, isTradeSkill, castID, nonInterrupt = UnitChannelInfo("target"); isChanneling=true end if (spell~=nil) then if (nonInterrupt==false) then local guid=UnitGUID("target"); local type, zero, serverId, instanceId, zoneId, npcId, spawnUid = strsplit("-",guid); local dontKick={[82618]={171807}; --[[ Tor'goroth, skip Shadow Bolt to kick Consume Life ]] [82682]={166465}; --[[ Archmage Sol, skip Frost Bolt to kick Parasitic Growth ]] --[[ [86135]={172014,172024,172005}; test Ralshira ]] }; result=true; npcId=tonumber(npcId); if (dontKick[npcId]~=nil) then if (dontKick[npcId][1]~=nil) then for i=1, #dontKick[npcId] do if (spell==GetSpellInfo(dontKick[npcId])) then result=false end end end end end if result==false then --[[ spell not interruptable, we have to save us !!!]] local t=GetTime(); endTime=endTime/1000 - t; if (endTime < 3) or isChanneling then --[[ dont start to early ]] local buffexp,buff,buffcnt={},{},{}; local i,n,c,x,id,found=0; repeat i=i+1; n,_,_,c,_,_,x,_,_,_,id=UnitAura("target",i,"PLAYER HARMFUL"); if n then buffcnt[n]=c buffexp[n]=x-t buff[n]=id; found=true end until (not n) or (i==40); local CatForm=GetSpellInfo(768) local BearForm=GetSpellInfo(5487) local SurvInstincts=GetSpellInfo(61336) local Barkskin=GetSpellInfo(22812) local Ironfur=GetSpellinfo(192081) local MarkOfUrsol=GetSpellInfo(192083) local spellname=Ironfur local start, duration, enabled = GetSpellCooldown(SurvInstincts) if found then if buff[BearForm] then if not buff[SurvInstincts] then if (duration==0) then spellname=SurvInstincts elseif not buff[Barkskin] then start, duration, enabled = GetSpellCooldown(Barkskin) if (duration==0) then spellname=Barkskin end end end else spellname=BearForm end else spellname=BearForm end if (spellname==Ironfur) then start, duration, enabled = GetSpellCooldown(Barkskin) if (duration~=0) then spellname=false end end if spellname then CastSpellByName(spellname,"player") end end end end end Anyone Know what Im trying to do here?
  3. It looks Like this no longer works. Since wow updated their macro system this is no longer viable.
  4. Bear T.O.E.

    Suggestion

    Oh I just had an Idea, if the bot know all the spells in the game. then you could make it so the bot knows when to taunt off of other players during raiding. knowing then the debuffs on the other character is by tracking the spells the boss casts and Taunting when the debuffs either are on the character or have stacked up to a certain lvl. And the bot will only use these parts if the Spell is in the fight class. this would simplify a lot of fight class making.
  5. Bear T.O.E.

    Suggestion

    Also I would add in to the conditions to reflect also the Me is Stunned to being anything that incapacitates the character. So changing it to Me is Incapacitated.
  6. Bear T.O.E.

    Suggestion

    Is there a way to make the bot know all the spells in the game and know when to use certain spells automatically Like interrupts as along as the spell is in the Fight class of course. in regarding to interrupts it would be very important that it would also know when to use the spells by knowing what spells it can interrupted and which ones can not be. This would make it so that the interrupts of the fight class inst used and is render useless by trying to interrupt spells that are uninterruptible or shielded.
  7. I'm wondering How I would LUA code Blessing of Freedom to Make is usable in Raiding, Questing, and PVP. I'm also working on Blessing of Protection, Blessing of Sacrifice. Im just trying to figure out how all the new stuff is working in the program these days. I like making quality Fight Classes. So any input is completely appreciated.
  8. Ok when making your own Fight class and you want to add in a macro to the rotation. RunMacroText("/cast Fireball") This is the basic way to do this.
  9. Right now I am running this code in my Fight Class. But Im looking to reduce the amount of actual stings the fight class is to execute so that the fight class will react faster to maximize the rotation and DPS. I have found that to many items in the fight classes move list will slow down the characters reaction time on health based or other power based moves that need to be cast out side the rotation. So reducing the number of strings in the list is more effective to the total DPS of healing done. That is how I have been making my good and okay fight classes that I have released. Hence why Im wanting to make a LUA Script to have this done in one more on the fight classes list of moves to fire. <FightClassSpell> <SpellName>Summon Black OX Statue</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>IsSpellUsable</ContionType> <Param xsi:type="FightClassConditionStringBool"> <Name>Summon Black OX Statue</Name> <Need>true</Need> </Param> </FightClassCondition> <FightClassCondition> <ContionType>TargetDistance</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>40</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>HaveTarget</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>HostileUnitNear</ContionType> <Param xsi:type="FightClassConditionUnitNear"> <Number>1</Number> <Type>SmallerOrEqual</Type> <Radius>8</Radius> </Param> </FightClassCondition> </FightClassConditions> <Priority>34</Priority> <Timer>30000</Timer> <AOESpell>true</AOESpell> </FightClassSpell> <FightClassSpell> <SpellName>RunMacroText("/tar Black Ox Statue")</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>HostileUnitNear</ContionType> <Param xsi:type="FightClassConditionUnitNear"> <Number>1</Number> <Type>SmallerOrEqual</Type> <Radius>8</Radius> </Param> </FightClassCondition> </FightClassConditions> <Priority>33</Priority> <Timer>30000</Timer> </FightClassSpell> <FightClassSpell> <SpellName>Provoke</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>TargetDistance</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>40</Value> </Param> </FightClassCondition> </FightClassConditions> <Priority>32</Priority> <Timer>30000</Timer> </FightClassSpell> <FightClassSpell> <SpellName>RunMacroText("/targetlasttarget")</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>HaveTarget</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>TargetDistance</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>SmallerOrEqual</Type> <Value>40</Value> </Param> </FightClassCondition> </FightClassConditions> <Priority>31</Priority> <Timer>30000</Timer> </FightClassSpell>
  10. Ok so I'm trying to figure out how to do this in a LUA Script. /cast Summon Black Ox Statue /tar Summon Black Ox Statue /cast Provoke /targetlasttarget This macro is what Im trying to do with LUA Scripting. And I have no idea how to start this off cause of the Targeting stuff..... HELP!!!!
  11. lol yeah but there is a gearing sheet that will tell what gear to farm for every lvl and every quest to get the max gear all the time
  12. So I'm wondering if anyone know of any good gearing guides. I have never used any before and I was wanting to get a few good links to some really good gearing guides. But not just for myself but for everyone in the community. I'm sure this will be useful for us all.
  13. I'm still having issues with stealth while not in combat and having a target. I have it set to stealth if I have a target and I'm not in combat and for some reason it wont stealth. <FightClassSpell> <SpellName>Steakth</SpellName> <FightClassConditions> <FightClassCondition> <ContionType>MeInCombat</ContionType> <Param xsi:type="FightClassConditionBool" /> </FightClassCondition> <FightClassCondition> <ContionType>HaveTarget</ContionType> <Param xsi:type="FightClassConditionBool"> <Value>true</Value> </Param> </FightClassCondition> </FightClassConditions> <Priority>48</Priority> <AddToSettings>true</AddToSettings> <AddToSettingsActiveByDefault>true</AddToSettingsActiveByDefault> <Timer>6000</Timer> </FightClassSpell>
  14. In the fight class engine, the spell Inquisition wont fire cause the bot doesn't recognize it as a spell that can be cast cause of its requirements for holy power. At stand still and having no holy power the combat engine cannot tell Inquisition is a spell that can be fired therefore it will not fire it. The spell cannot be cast at all without 5 holy power, it is greyed out and the engine sees it greyed out. And because of this in this list of spells it is only shown once. Please check this out and see if you can remedy it. [F] 00:17:59 - Loading Fight class: E:\WOW Stuff\Blizzard\WRobot\FightClass\[KingSmilie] Ret Paladin 5.4.xml [D] 00:17:59 - Spell(string spellName): spellName=Seal of Truth, Id found: 31801, Name found: Seal of Truth, NameInGame found: Seal of Truth, know = True [D] 00:17:59 - Spell(string spellName): spellName=Blessing of Kings, Id found: 20217, Name found: Blessing of Kings, NameInGame found: Blessing of Kings, know = True [D] 00:17:59 - Spell(string spellName): spellName=Lay of Hands => Failed [D] 00:17:59 - Spell(string spellName): spellName=Word of Glory, Id found: 85673, Name found: Word of Glory, NameInGame found: Word of Glory, know = True [D] 00:17:59 - Spell(string spellName): spellName=Avenging Wrath, Id found: 31884, Name found: Avenging Wrath, NameInGame found: Avenging Wrath, know = True [D] 00:17:59 - Spell(string spellName): spellName=Guardian of Ancient Kings, Id found: 86698, Name found: Guardian of Ancient Kings, NameInGame found: Guardian of Ancient Kings, know = True [D] 00:17:59 - Spell(string spellName): spellName=Holy Avenger, Id found: 105809, Name found: Holy Avenger, NameInGame found: Holy Avenger, know = False [D] 00:17:59 - Spell(string spellName): spellName=Execution Sentence, Id found: 114157, Name found: Execution Sentence, NameInGame found: Execution Sentence, know = True [D] 00:17:59 - Spell(string spellName): spellName=Inquisition, Id found: 84963, Name found: Inquisition, NameInGame found: Inquisition, know = True [D] 00:17:59 - Spell(string spellName): spellName=Templar's Verdict, Id found: 85256, Name found: Templar's Verdict, NameInGame found: Templar's Verdict, know = True [D] 00:17:59 - Spell(string spellName): spellName=Hammer of Wrath, Id found: 24275, Name found: Hammer of Wrath, NameInGame found: Hammer of Wrath, know = True [D] 00:17:59 - Spell(string spellName): spellName=Exorcism, Id found: 879, Name found: Exorcism, NameInGame found: Exorcism, know = True [D] 00:17:59 - Spell(string spellName): spellName=Judgment, Id found: 20271, Name found: Judgment, NameInGame found: Judgment, know = True [D] 00:17:59 - Spell(string spellName): spellName=Exorcism, Id found: 879, Name found: Exorcism, NameInGame found: Exorcism, know = True [D] 00:17:59 - Spell(string spellName): spellName=Judgment, Id found: 20271, Name found: Judgment, NameInGame found: Judgment, know = True [D] 00:17:59 - Spell(string spellName): spellName=Exorcism, Id found: 879, Name found: Exorcism, NameInGame found: Exorcism, know = True [D] 00:17:59 - Spell(string spellName): spellName=Crusader Strike, Id found: 35395, Name found: Crusader Strike, NameInGame found: Crusader Strike, know = True [D] 00:17:59 - Spell(string spellName): spellName=Hammer of the Righteous, Id found: 53595, Name found: Hammer of the Righteous, NameInGame found: Hammer of the Righteous, know = True [D] 00:17:59 - Spell(string spellName): spellName=Crusader Strike, Id found: 35395, Name found: Crusader Strike, NameInGame found: Crusader Strike, know = True [D] 00:17:59 - Spell(string spellName): spellName=Hammer of the Righteous, Id found: 53595, Name found: Hammer of the Righteous, NameInGame found: Hammer of the Righteous, know = True [D] 00:17:59 - Spell(string spellName): spellName=Divine Storm, Id found: 53385, Name found: Divine Storm, NameInGame found: Divine Storm, know = True [D] 00:17:59 - Spell(string spellName): spellName=Divine Storm, Id found: 53385, Name found: Divine Storm, NameInGame found: Divine Storm, know = True [D] 00:17:59 - Spell(string spellName): spellName=Divine Shield, Id found: 642, Name found: Divine Shield, NameInGame found: Divine Shield, know = True [D] 00:17:59 - Spell(string spellName): spellName=Divine Protection, Id found: 498, Name found: Divine Protection, NameInGame found: Divine Protection, know = True [D] 00:17:59 - Spell(string spellName): spellName=Fist of Justice, Id found: 105593, Name found: Fist of Justice, NameInGame found: Fist of Justice, know = False [D] 00:17:59 - Spell(string spellName): spellName=Rebuke, Id found: 96231, Name found: Rebuke, NameInGame found: Rebuke, know = True [D] 00:17:59 - Spell(string spellName): spellName=Flash of Light, Id found: 19750, Name found: Flash of Light, NameInGame found: Flash of Light, know = True [D] 00:17:59 - Spell(string spellName): spellName=Speed of Light, Id found: 85499, Name found: Speed of Light, NameInGame found: Speed of Light, know = False [D] 00:17:59 - Spell(string spellName): spellName=Seal of Truth, Id found: 31801, Name found: Seal of Truth, NameInGame found: Seal of Truth, know = True [D] 00:17:59 - Spell(string spellName): spellName=Blessing of Kings, Id found: 20217, Name found: Blessing of Kings, NameInGame found: Blessing of Kings, know = True [D] 00:17:59 - Spell(string spellName): spellName=RunMacroText("/Use Singing Crystal") => Failed [D] 00:17:59 - Spell(string spellName): spellName=RunMacroText("/Use Book of the Ages") => Failed [D] 00:17:59 - Spell(string spellName): spellName=RunMacroText("/Use Dew of Eternal Morning") => Failed [D] 00:17:59 - Spell(string spellName): spellName=RunMacroText("/Use Crystal of Insanity") => Failed [D] 00:17:59 - Spell(string spellName): spellName=RunMacroText("/Use Healthstone") => Failed [D] 00:17:59 - Spell(string spellName): spellName=Lay On Hands, Id found: 53778, Name found: Lay On Hands, NameInGame found: Lay On Hands, know = False [D] 00:17:59 - Spell(string spellName): spellName=Word of Glory, Id found: 85673, Name found: Word of Glory, NameInGame found: Word of Glory, know = True [D] 00:17:59 - Spell(string spellName): spellName=Avenging Wrath, Id found: 31884, Name found: Avenging Wrath, NameInGame found: Avenging Wrath, know = True [D] 00:17:59 - Spell(string spellName): spellName=Guardian of Ancient Kings, Id found: 86698, Name found: Guardian of Ancient Kings, NameInGame found: Guardian of Ancient Kings, know = True [D] 00:17:59 - Spell(string spellName): spellName=Holy Avenger, Id found: 105809, Name found: Holy Avenger, NameInGame found: Holy Avenger, know = False [D] 00:17:59 - Spell(string spellName): spellName=Execution Sentence, Id found: 114157, Name found: Execution Sentence, NameInGame found: Execution Sentence, know = True [D] 00:17:59 - Spell(string spellName): spellName=Templar's Verdict, Id found: 85256, Name found: Templar's Verdict, NameInGame found: Templar's Verdict, know = True [D] 00:17:59 - Spell(string spellName): spellName=Hammer of Wrath, Id found: 24275, Name found: Hammer of Wrath, NameInGame found: Hammer of Wrath, know = True [D] 00:17:59 - Spell(string spellName): spellName=Exorcism, Id found: 879, Name found: Exorcism, NameInGame found: Exorcism, know = True [D] 00:17:59 - Spell(string spellName): spellName=Judgment, Id found: 20271, Name found: Judgment, NameInGame found: Judgment, know = True [D] 00:17:59 - Spell(string spellName): spellName=Exorcism, Id found: 879, Name found: Exorcism, NameInGame found: Exorcism, know = True [D] 00:17:59 - Spell(string spellName): spellName=Judgment, Id found: 20271, Name found: Judgment, NameInGame found: Judgment, know = True [D] 00:17:59 - Spell(string spellName): spellName=Exorcism, Id found: 879, Name found: Exorcism, NameInGame found: Exorcism, know = True [D] 00:17:59 - Spell(string spellName): spellName=Judgment, Id found: 20271, Name found: Judgment, NameInGame found: Judgment, know = True [D] 00:17:59 - Spell(string spellName): spellName=Crusader Strike, Id found: 35395, Name found: Crusader Strike, NameInGame found: Crusader Strike, know = True [D] 00:17:59 - Spell(string spellName): spellName=Hammer of the Righteous, Id found: 53595, Name found: Hammer of the Righteous, NameInGame found: Hammer of the Righteous, know = True [D] 00:17:59 - Spell(string spellName): spellName=Crusader Strike, Id found: 35395, Name found: Crusader Strike, NameInGame found: Crusader Strike, know = True [D] 00:17:59 - Spell(string spellName): spellName=Hammer of the Righteous, Id found: 53595, Name found: Hammer of the Righteous, NameInGame found: Hammer of the Righteous, know = True [D] 00:17:59 - Spell(string spellName): spellName=Divine Storm, Id found: 53385, Name found: Divine Storm, NameInGame found: Divine Storm, know = True [D] 00:17:59 - Spell(string spellName): spellName=Divine Storm, Id found: 53385, Name found: Divine Storm, NameInGame found: Divine Storm, know = True [D] 00:17:59 - Spell(string spellName): spellName=Divine Shield, Id found: 642, Name found: Divine Shield, NameInGame found: Divine Shield, know = True [D] 00:17:59 - Spell(string spellName): spellName=Divine Protection, Id found: 498, Name found: Divine Protection, NameInGame found: Divine Protection, know = True [D] 00:17:59 - Spell(string spellName): spellName=Fist of Justice, Id found: 105593, Name found: Fist of Justice, NameInGame found: Fist of Justice, know = False [D] 00:17:59 - Spell(string spellName): spellName=Rebuke, Id found: 96231, Name found: Rebuke, NameInGame found: Rebuke, know = True [D] 00:17:59 - Spell(string spellName): spellName=Flash of Light, Id found: 19750, Name found: Flash of Light, NameInGame found: Flash of Light, know = True [D] 00:17:59 - Spell(string spellName): spellName=Speed of Light, Id found: 85499, Name found: Speed of Light, NameInGame found: Speed of Light, know = False
  15. Ok so is this how I get it to fire??? with the research needed? if (GetUnitSpeed("player") == 0) and not (UnitCastingInfo("player")) and not (UnitChannelInfo("player")) and not (UnitAffectingCombat("player")) and not (IsMounted()) and not (IsFlying()) and not (IsFalling()) and not (IsResting()) and not (UnitIsAFK("player")) then local timeLeftToCastAgain = 10*60; --[[ Searing Totem ]] local idTotem={3599} for i=1,#idTotem do local spellname=GetSpellInfo(idTotem[i]) for totemIndex=1,4 do local haveTotem, totemName, startTime, duration = GetTotemInfo(totemIndex); if (haveTotem and spellname == totemName) then local timeLeft = startTime+duration-GetTime(); if (timeLeft < timeLeftToCastAgain) then if (IsUsableSpell(spellname)) then local start, duration, enable = GetSpellCooldown(spellname) if (duration==0) then CastSpellByName(spellname); end end end break; end end end end result = (HaveTotem = 0)
  16. Ok check this out... I haven't tested it but I think shit will cause Inquisition to fire if its buff is ( Not there = 0 ) and or at full power 5 stacks. name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, spellId = UnitBuff("player","SPELL_POWER_HOLY_POWER = 5"); GetTime(Inquisition = "0, 30"); if (Inquisition <= 30) then retV = "1";else retV = "0";end If not please fix and tell me why this wont work. Also if the small code doesn't work then what about this one. if (GetUnitSpeed("player") == 0) and not (UnitCastingInfo("player")) and not (UnitChannelInfo("player")) and not (UnitAffectingCombat("player")) and not (IsMounted()) and not (IsFlying()) and not (IsFalling()) and not (IsResting()) and not (UnitIsAFK("player")) then local timeLeftToCastAgain = 30*120; --[[ Inquisition ]] local idspell={84936} for i=1,#idspell do local spellname=GetSpellInfo(idspell) for spellIndex=1,4 do local havespell, spellName, startTime, duration = GetspellInfo(spellIndex); if (havespell and spellname == spellName) then local timeLeft = startTime+duration-GetTime(); if (timeLeft < timeLeftToCastAgain); minModifier = GetSpellBonusDamage(2) then if (IsUsableSpell(spellname)) then local start, duration, enable = GetSpellCooldown(spellname) if (duration==30) then CastSpellByName(spellname); end end end break; end end end end result=(Holy_Power>5)
  17. I'm still working out a few LUA Scripts so that there is a Health Manager, Rune Power Manager, Disease Manager, and Cool Down Manager. These LUA Scripts take forever to perfect so that is why I haven't released a better version yet.
  18. Sometimes the bot will skip moves that need to be casts so I added the zero condition moves to make them fire.
  19. Thanks fo the Reviews guys. If there is anything you can think of to change I would love to know.
  20. That would be a bug in your bot setup.
  21. Version 123.1

    538 downloads

    If you Use my Fightclasses PLEASE rate them for others to know what you think. This is my Fury Warrior Spec and Glyphs. The Spec and Glyphs Are in the link below. http://us.battle.net/wow/en/tool/talent-calculator#ZZ!102000!cXUMKI This is the way I setup my Fury Warrior for this fight class. Please Leave Feed Back if you like my Fight Class. Leave me any changes you would like to see to my fight class and I will do the work to make it happen. Thank you for Downloading and running my Fightclass. :lol:
  22. Im getting this error: [E] 20:12:59 - D3D9 ERROR [E] 20:13:01 - EncryptStringToString(string encryptText): System.OverflowException: Value was either too large or too small for an unsigned byte. at System.Convert.ToByte(Int32 value) at robotManager.Helpful.Others.EncryptStringToString(String encryptText)
  23. Im also wondering if you can add in the ability to use Angler's Fishing Raft itemID 85500 and the Death Knights Path of Frost spellID 3714 these are the only thing I can see that is missing from the Fishing Engine.
  24. I know I have it. But why use a 4th party addon combo. If you can add it to the engines?
×
×
  • Create New...