Everything posted by Apexx
- Check If in Group/Party and Party Member Online
- Check If in Group/Party and Party Member Online
-
GoToClick
Hey reapler, thanks again for a great plugin. Is there any way to disable click-to-move in the game settings, until the user Ctrl+Clicks the map, then enable it. Then maybe once the player has reached its destination disable click-to-move again?
-
Heals Casting Twice With Timer
Timer Declaration public static Timer waitTime = new Timer(); Asynchronous Task UseCombatSpell public static async Task<bool> UseCombatSpell(Spell spell, bool stopMoving, bool faceTarget = false, float rangeCheck = float.MaxValue, int castWait = 0) { // Spell validation if (Methods.IsValid(MyTarget, spell)) { // Launch the spell if (!Me.IsCast && waitTime.IsReady) { // Face the target if (faceTarget) MovementManager.Face(Me.TargetObject); Interact.InteractGameObject(MyTarget.GetBaseAddress, stopMoving); SpellManager.CastSpellByNameLUA(spell.Name); // Wait for cooldown + latency await Task.Delay(SpellManager.GetSpellCooldownTimeLeft(spell.Id) + Usefuls.Latency); // Create a new timer for the desired wait time between casts. waitTime = new Timer(castWait); Methods.LogFight("Wait time = " + waitTime.TimeLeft()); return true; } return false; } return false; } Please note, that I removed the rangeCheck portion of code from the above method. Usage: if (await Abilities.LesserHeal()) return true; // Lesser Heal Methods.IsValid is basically making sure that the player knowns the spell, that the spell is usable and in good distance, that the player is not eating or drinking, or is mounted.. That the target is attackable and alive, in distance, and in line of sight etc.. Abilities.Spellname is from a custom class of loading and declaring the class spells.
- Heals Casting Twice With Timer
-
GoToClick
Hey reapler, I have followed all instructions to install this Plugin, all three files where they should be. I am getting the following error: [E] 10:15:46 - [ClickToGo] Error @Initialize: System.TypeLoadException: Could not load type 'DatabaseManager.WoW.DbWorldMapArea' from assembly 'DatabaseManager, Version=1.0.6438.36262, Culture=neutral, PublicKeyToken=null'. at Main.Transform(WorldMapCoord wowCoords, Single zReference) at Main.Pulse() at Main.Initialize()
-
OPP(Other Peoples Pets) Healing Issue
Bump!
-
Party does not attack enemy (PLAYERS)
It sounds like an issue with your fight class.
- Check If Target Has a Weapon
- Check If Target Has a Weapon
- Check If Target Has a Weapon
-
Wand Use & IsAutoRepeatAction(slot)
For anyone having issues with using the Wand Shoot ability, here is a snippet for you: // Test if player has a wand in the proper equipment slot | In Combat if (ObjectManager.Me.GetEquipedItemBySlot(wManager.Wow.Enums.InventorySlot.INVSLOT_RANGED) != 0 && ObjectManager.Me.InCombat && !ObjectManager.Me.GetMove) { // Wand Shoot if(Lua.LuaDoString<int>("isAutoRepeat = \"\"; isAutoRepeat = 0; local name = GetSpellInfo(5019); if IsAutoRepeatSpell(name) then isAutoRepeat = 1 end", "isAutoRepeat") == 0) { // Spammable Shoot Macro Lua.RunMacroText("/castsequence !Shoot, !Shoot"); } }
- Warmane Critical Error
- Warmane Critical Error
- Heals Casting Twice With Timer
-
Heals Casting Twice With Timer
Okay that did the trick! Thank you very much! I was wondering one other thing. The main reason that I wanted a slight wait time between certain spells (Spammable spells mainly IE: Priest Smite) is to check the target unit health percentage between casts to determine other abilities based on the target hp % or even the player's hp %. Is it possible to adjust the msDelay value based on the spell method used?
-
Heals Casting Twice With Timer
#region Properties public bool GcdActive => DateTime.Now < _unlockTime; #endregion Error 1 ; expected Error 2 Invalid token ';' in class, struct, or interface member declaration Error 3 Syntax error, '>' expected Error 4 'Main._unlockTime' is a 'field' but is used like a 'type' Error 5 'System.DateTime.Now' is a 'property' but is used like a 'type'
- Heals Casting Twice With Timer
- Heals Casting Twice With Timer
- Buff Check - When NOT Eating OR Drinking
- Check Player's Equipped Items - Need Wand
- Check Player's Equipped Items - Need Wand
- C# WRotation - Check Product Party Healer Mode
- C# WRotation - Check Product Party Healer Mode
- C# WRotation - Check Product Party Healer Mode