Jump to content

RonSwanson

Members
  • Posts

    82
  • Joined

  • Last visited

Everything posted by RonSwanson

  1. Hello Vanilla has no Auto Shot Lua function and there is no where to turn on Autoshot in the WoW interface like in WOTLK +.
  2. For some reason this spell keeps interrupting its self 3x and then it finally casts, but then it casts 2 times in a row. But yeah the bot keeps interrutting itself with another immolate 3 times in a row and then it casts 2 immolates in a row. if (!ObjectManager.Me.CastingSpell.Equals(IMMOLATE) && !ObjectManager.Me.TargetObject.HaveBuff("Immolate") && IMMOLATE.IsSpellUsable && IMMOLATE.KnownSpell) { IMMOLATE.Launch(); } Any ideas on how ton fix this?
  3. @Droidz Hey I know there is a post below about the stutter move but we are on very different time zones so I am hoping to get your attention so I can patch my bot when I wake up. Ever since the most recent patch to the vanilla bot, the stuttering is out outrageous. Its not possible to bot as is as you just stutter move between each hotspot and waypoint. It was fine for me a few days ago but whatever was updated in the most recent update really broke the movement. Looks just like this: http://sendvid.com/mwkvu4k0 Thank you for all your hard work and I hope this can be fixed soon (:
  4. Yeah I am getting this problem as well. Every since that update today My bot stutters when moving , it was not like this before the new update.
  5. Hey debugged function. It always returns false. I am using a Warlock and I tested this on my Voidwalker ~ Cheers. var name = ObjectManager.Pet.IsDead; Logging.Write(name.ToString()); @Droidz (:
  6. Is the fight class creator open source? I am at school alot on my mac so I cant work on my projects for this bot. Any chance the fight class creator is open source? Would possibly be interested porting it to a web application.
  7. Thanks for all the help, do you guys know how to cast wand in C#? I can get the bot to cast it but like it never full casts because it seems like the wand spell keeps just getting toggled. I am using Spell.launch() to fire off the spell "Shoot" @Droidz @iMod
  8. Hey guys been trying to figure out this Multi Target rotation but I cant figure it out! I need help because my attempt failed but I will link it so other learn from my mistakes. THIS METHOD IS BROKEN :b I need a method that does such: Detect if there is more then 1 mob aggroed to me and or my pet which I believe ObjectManager.GetNumberAttackPlayer() > 1 does that. The method needs have the pet attack each target that is attacking me to try and get aggro. Then I just need to cycle through the aggroed units casting my warlock dots on each one until each target is dead then if all of my dots are on each target then focus the target with the least amount of health, rinse and repeat. I plan on calling this method from my CombatRotation method unless there is a better way. All are welcome to help, thanks! GUYS I SERIOUSLY NEED YOUR HELP (: @Droidz , @iMod private WoWUnit target; internal void MultiTargetRotation() { if (ObjectManager.GetNumberAttackPlayer() > 1) { var UnitToAttack = ObjectManager.GetUnitAttackPlayer().FirstOrDefault(); if (UnitToAttack != null) { target = UnitToAttack; Lua.LuaDoString("PetAttack();"); Logging.Write("PET ATTACKING"); } //IF ALL THE MOBS ARE ATTACKING THE PET FOCUS THE LOWER HP ONE else { double LowerHP = ObjectManager.GetUnitAttackPlayer().Min(unit => unit.HealthPercent); var LowerHPUnit = ObjectManager.GetUnitAttackPlayer().SingleOrDefault(unit => unit.HealthPercent == LowerHP); if (LowerHPUnit != null && LowerHPUnit.Guid != target.Guid) { Logging.Write("WHATS GOING ON"); target = LowerHPUnit; } { } } } }
  9. @iMod UPDATE: I have figured out how to check how many mobs are attacking me, now I need to check how many are attacking my pet. (: Works like a charm you are awesome! Okay now my next task that I cant figure out is trying to figure out if I have pulled more then 1 target. Just need to be able to see is more then one target is attacking myself and or my pet :b. The fight class is coming along very nicely, thanks for all the help so far guys :D.
  10. Hello yeah I do, but it was bugged before the update and was always false so I had to do !Spell.ISSpellUsable to make sure it evaluated to true because before the update it was always evaluating false.
  11. Okay lol! [E] 17:15:29 - RunMacroText(string macro): System.NotImplementedException: RunMacroText(string macro) not impremented in WRobot for 1.12.1 at wManager.Wow.Helpers.Lua.RunMacroText(String macro) Thats the error I get when I try running a macro in the vanilla API @Droidz Is there a way to control auto attacks like toggle on and off with the C# Api? If not can we get that functonality. As auto attacking is fine levels 1 - 6 for example. But around 10 + ideally a caster will just be casting and wanding.
  12. Hmm I also tried Lua.RunMacroText("/stopattack") but nothing. I just want to be able to cast an ability without making the bout pulling out its weapon as what caster casts then gets his weapon out. Doesnt make sense.
  13. I am using Lua.LuaDoString("StopAttack();"); And am getting the same error are you sure thats a method? Maybe I can try running a macro?
  14. Hey ever since the new update my Fight Class does not cast spells anymore and yes I had the spells on my action bar. It uses The spells in the Buff rotation work but the combat spells and the pull spells no longer cast. UPDATE: IsSpellUsable in C# api was broken as of yesterday and was always false. My bug was that I was negating it because it was always false. In the update today it must of gotten fixed thus breaking my code.
  15. Okay I will try think I tried that and it gave me a LUA error ingame dunno if thats a function in Lua.
  16. Hey guys I am seeking a way to call a function to stop and start Auto Attacking. I am making a caster routine and all is fine until the target gets within auto attack range and starts auto attacking which is fine at low levels but at higher levels it looks very dumb. C# Not necessary but would be nice, also trying to figure out how to get the Fight class to wand.
  17. thanks any clue how to Stop Auto attacks? lmao
  18. Okay I am using it for vanilla is the API the same? Like can I use the Before WOD structure for a vanilla fight class.
  19. So I am working on a new warlock Fight Class in C# and I can get it to cast demon armor but I cant get it to cast any other spells. My debug I get [D] 23:57:55 - [Spell] Demon Skin (Id found: 687, Name found: Demon Skin, NameInGame found: Demon Skin, Know = True, IsSpellUsable = False) But that happens for every spell I try to cast. Also how would I get a if statement in the void walker , I need to check if an item = soul shard is in the inventory and the item count >= 1. API would be sexy lmao. Also how can I set my pet to attack? ObjectManager.Pet doesnt have an attack method. Also how can I check if my pet is tanking the mob? Last thing, I need to figure out how check if my target has a curse on him or not. Thanks!
  20. Hello, Made a profile and messed around with a Fight Class, both are working great however for some reason when ever my character, which is a caster casts ma spell the character keeps moving towards the target every time it casts a spell? Looks pretty weird. Not sure if that's a bot issue of a Fight class I am using. Making a quick video and posting the profile and fight class. Also the bot is not running to the vendor I have on my profile why? UPDATE: so once I turned on sell items it went to the vendor so thats fine. But its till moving forward when it casts. Also if the bot goes to sell to a NPC it needs to clear its target or else when the bot goes to head back to grind it will keep saying invalid target, because its trying to attack a friendly faction. Profile & Fight Class <?xml version="1.0" encoding="utf-16"?> <GrinderProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <GrinderZones> <GrinderZone> <Name>Dun Morogh</Name> <Hotspots>true</Hotspots> <RandomizingHotspots>true</RandomizingHotspots> <MinLevel>0</MinLevel> <MaxLevel>100</MaxLevel> <MinTargetLevel>0</MinTargetLevel> <MaxTargetLevel>110</MaxTargetLevel> <TargetEntry> <int>1128</int> <int>1125</int> <int>1199</int> <int>1134</int> </TargetEntry> <TargetFactions /> <Vectors3> <Vector3 X="-5677.838" Y="-406.6276" Z="365.6974" /> <Vector3 X="-5716.38" Y="-325.8808" Z="364.65" /> <Vector3 X="-5712.65" Y="-230.2953" Z="356.8734" /> <Vector3 X="-5740.469" Y="-165.0858" Z="363.5298" /> <Vector3 X="-5788.255" Y="-124.5637" Z="356.1683" /> <Vector3 X="-5891.815" Y="-104.41" Z="369.4734" /> <Vector3 X="-5982.93" Y="-169.9809" Z="401.9089" /> </Vectors3> <Npc> <Npc> <Position X="-5633.44" Y="-496.477" Z="396.6902" Type="Flying" /> <Entry>1692</Entry> <Name>Golorn Frostbeard</Name> <GossipOption>-1</GossipOption> <Active>true</Active> <Faction>Neutral</Faction> <Type>Vendor</Type> <ContinentId>Azeroth</ContinentId> </Npc> </Npc> <BlackListRadius /> <NotLoop>false</NotLoop> </GrinderZone> </GrinderZones> </GrinderProfile> <?xml version="1.0" encoding="utf-16"?> <FightClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FightClassGeneralSettings> <FightClassName>Fight config name</FightClassName> <FramePerSecond>25</FramePerSecond> </FightClassGeneralSettings> <FightClassSpells> <FightClassSpell> <FightClassConditions /> <SpellName>shadow bolt</SpellName> <Priority>6</Priority> </FightClassSpell> <FightClassSpell> <FightClassConditions /> <SpellName>corruption</SpellName> </FightClassSpell> <FightClassSpell> <FightClassConditions /> <SpellName>agony</SpellName> <Priority>4</Priority> </FightClassSpell> <FightClassSpell> <FightClassConditions> <FightClassCondition> <ContionType>MeLevel</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>Smaller</Type> <Value>20</Value> </Param> </FightClassCondition> </FightClassConditions> <SpellName>summon imp</SpellName> <Priority>3</Priority> </FightClassSpell> <FightClassSpell> <FightClassConditions> <FightClassCondition> <ContionType>MeLevel</ContionType> <Param xsi:type="FightClassConditionNumber"> <Type>BiggerOrEqual</Type> <Value>20</Value> </Param> </FightClassCondition> <FightClassCondition> <ContionType>ItemCount</ContionType> <Param xsi:type="FightClassConditionItemNumber"> <Number>1</Number> <Type>BiggerOrEqual</Type> <Id>6265</Id> </Param> </FightClassCondition> </FightClassConditions> <SpellName>summont voidwalker</SpellName> <Priority>2</Priority> </FightClassSpell> </FightClassSpells> </FightClass>
×
×
  • Create New...