-
Posts
332 -
Joined
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Everything posted by Apexx
-
Random Time to use Ability
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
Thanks guys. I will mess around with it. I appreciate your help. -
I am noticing the wrotation product will immediately use an ability like "Execute" if the target.HealthPercent <= 20 for example. I know there is an option for Thread.Sleep but instead of sleeping the full rotation, is there a good way to add a small random time _r.Next(300, 650) to robotManager.Helpful.Timer? And if so, how would I use it? Thanks!
-
WoWLocalPlayer GetStance?
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
Alright thanks! I see a return new Spell here: public Spell GetActiveStance() { return new Spell(Lua.LuaDoString<List<string>>(@"local r = {} for i=1,10 do local _, n, a = GetShapeshiftFormInfo(i); if a then table.insert(r, tostring(n)); end end return unpack(r);").FirstOrDefault() ?? ""); }- 10 replies
-
- wmanager.dll
- fight class
-
(and 1 more)
Tagged with:
-
WoWLocalPlayer GetStance?
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
I don't mind having it there, just not spamming every time is runs the check inside my class. internal void BuffRotation() { if (ObjectManager.Me.IsMounted) return; // Check Stance } if (GetActiveStance().Id != 71 && player.IsInGroup) { if (DefensiveStance.KnownSpell && DefensiveStance.IsSpellUsable && player.IsInGroup) { DefensiveStance.Launch(); return; } }- 10 replies
-
- wmanager.dll
- fight class
-
(and 1 more)
Tagged with:
-
WoWLocalPlayer GetStance?
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
@reapler I was wondering if there was a way to disable the Log spam from this?- 10 replies
-
- wmanager.dll
- fight class
-
(and 1 more)
Tagged with:
-
WRobot Targeting Units
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
I will have a look! Thanks for sharing. -
WRobot Targeting Units
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
The Protection Warrior Fight Class I am making is more for those that would rather control their own character in game. Such things like targeting and initial pulling would be up to the player. However, if the user would like to allow the Fight Class to pull (Found in Settings), it was an issue with Wrath of the Lich King that once the initial targeted mob died, the in-game auto target feature continuously makes my character go as long as there are mobs around me (despite setting the advanced settings for eating at certain health percentage) because of how quick the auto target reacts. -
WRobot Targeting Units
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
I can add those checks. What do you mean get in trouble? -
WRobot Targeting Units
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
You would think using player.inCombat would register that effect. *EDIT* modified !player.inCombat to player.inCombat -
WRobot Targeting Units
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
/console stopAutoAttackOnTargetChange 1 I wonder if there is another cvar close to this to disable Auto Targeting all together. -
WRobot Targeting Units
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
It appears to be happening in Wrath of the Lich King. I turned the bot off, disabled all addons, and checked settings. When I initiated combat with one unit (surrounded by other units not in aggro range) and killed the mob, If I was to continue mashing the ability buttons, it automatically targets the next mob around me despite not being in combat anymore. -
WoWLocalPlayer GetStance?
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
Awesome! That worked out great, thank you again @reapler!- 10 replies
-
- wmanager.dll
- fight class
-
(and 1 more)
Tagged with:
-
Would it be possible to add GetStance() or something similar into the WoWLocalPlayer class? Some combat rotations require different stances, and it would be nice to be able to access the current stance from within the built in class itself. Thanks!
- 10 replies
-
- wmanager.dll
- fight class
-
(and 1 more)
Tagged with:
-
WRobot Targeting Units
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
Just using WRotation -
C# Interrupt Cast Random Time
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
Very cool! Thanks for the reply! I will definitely test this out and report back with any issues or questions. -
I am wondering if this if-statement will return a random time of interrupting an interruptible spell from my target using C# custom fight class: if (ShieldBash.KnownSpell && ShieldBash.IsSpellUsable && ShieldBash.IsDistanceGood && Fight.InFight && target.CanInterruptCasting) { System.Threading.Thread.Sleep(robotManager.Helpful.Others.Random(0, target.CastingTimeLeft - 350)); ShieldBash.Launch(); Thread.Sleep(SpellManager.GlobalCooldownTimeLeft()); return; }
-
Alot of questions about FightClass and API
Apexx replied to Findeh's topic in WRobot for Wow Vanilla - Help and support
I am using Visual Studio 2013 with .Net Framework 4.5 Before you guys supplied me with the Namespace System.Linq reference, I managed to get my rotation working using private int HostileUnitsInRange(int range) { var unitAttackPlayer = ObjectManager.GetUnitAttackPlayer(); if (unitAttackPlayer.Count <= 0) return 0; var hostileUnitsAttacking = unitAttackPlayer.FindAll(u => u != null && u.IsValid && u.IsTargetingMe && u.GetDistance <= range); return hostileUnitsAttacking.Count; }- 32 replies
-
- fightclass
- food
-
(and 2 more)
Tagged with:
-
MinMonsterCount?
Apexx replied to QTech's topic in WRobot for Wow Wrath of the Lich King - Help and support
Unit Attack Player Near Number: 3 Radius: Melee range might be 5 yards Type: BiggerOrEqual -
MinMonsterCount?
Apexx replied to QTech's topic in WRobot for Wow Wrath of the Lich King - Help and support
I believe the option you are looking for is: Hostile Unit Near Let's say you want to pull at least 3 mobs. Number: 3 Radius: Search range [Groups of mobs might be in closer proximity. 10 yards or so] Type: BiggerOrEqual -
Alot of questions about FightClass and API
Apexx replied to Findeh's topic in WRobot for Wow Vanilla - Help and support
Thank you so much!- 32 replies
-
- fightclass
- food
-
(and 2 more)
Tagged with:
-
Alot of questions about FightClass and API
Apexx replied to Findeh's topic in WRobot for Wow Vanilla - Help and support
Thanks @Matenia for the assist with the count issue! I am going to try it out now. Error: 'System.Collections.Generic.List<wManager.Wow.ObjectManager.WoWUnit>' does not contain a definition for 'Where' and no extension method 'Where' accepting a first argument of type 'System.Collections.Generic.List<wManager.Wow.ObjectManager.WoWUnit>' could be found (are you missing a using directive or an assembly reference?)- 32 replies
-
- fightclass
- food
-
(and 2 more)
Tagged with:
-
C#, Time Since Combat Start
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
Wow, I feel so dumb right now.. I should have known that. Thank you, @Droidz -
C#, Time Since Combat Start
Apexx replied to Apexx's topic in WRobot for Wow Wrath of the Lich King - Help and support
Excellent response! Thanks so much, @reapler! I will try this out soon.