Jump to content

jiraiyasm

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by jiraiyasm

  1. awesome will try this out! my bad, should've used the search first.
  2. Thank you for the help! May I also ask please how to get my character to face it's target? i am trying to make a plug.in that it will stay in a specific position i set and just face the target and use range skills. i am using wrotation and if i set "Manage character movement...." it moves towards it's target. and if wrotation if off, it doesn't face it's target hence not using any range skills. Thank you.
  3. this checks the units attacking partymembers, it should be the other way around. i want to check if mobId 12345 is being targetted or attacked by party members.
  4. hi all. as the title says, how do i check if target or object is 'IsTaggedByOther' or if target is being attacked by party/raid member? Note: target doesn't attack or target at all like Kinetic Bomb. Thank you!
  5. hi as the title shows, how do i override bot state IsMounted. character is InTransport but the state is also IsMounted so the problem is it doesn't proceed with fighting. Thank you!
  6. works like a charm! thank you.
  7. hi. there is an error when i use wrobot as attached, for party setting.
  8. it is a quest in storm peaks called Cold Hearted. needs to mount to the frostwyrm then the skill is only available from the mount. the spell is not from the character itself.
  9. hi Droidz, i am making a quester profile where it would be great not to go near the mob/target and cast a skill from a distance. var mobEntry = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(mobId)); if (mobEntry.Position.DistanceTo(ObjectManager.Me.Position) < 50f) { // Target mob if (!mobEntry.IsMyTarget) { Interact.InteractGameObject(ObjectManager.GetWoWUnitByEntry(29639, true).First().GetBaseAddress); Thread.Sleep(500); } //MovementManager.Face(ObjectManager.Target); SpellManager.CastSpellByNameLUA("Ice Shard"); Usefuls.WaitIsCasting(); wManager.wManagerSetting.AddBlackList(mobEntry.Guid, 1000 * 5 * 60); Lua.RunMacroText("/cleartarget"); DebugLog("Targeting and casting. rescued=" + _rescued); _rescued += 1; } else { var mobpos = new List<Vector3>() { new Vector3(7236.417f, -2756.116f, 820.3741f), new Vector3(7305.381f, -2730.507f, 821.9226f), new Vector3(7363.159f, -2719.983f, 822.0386f), new Vector3(7386.727f, -2714.902f, 813.5573f), new Vector3(7400.437f, -2760.255f, 841.5171f), new Vector3(7381.176f, -2823.062f, 834.0812f), new Vector3(7413.861f, -2878.198f, 850.9042f), new Vector3(7327.644f, -2866.435f, 851.3341f), new Vector3(7271.88f, -2838.288f, 863.6712f), }; wManager.Wow.Bot.Tasks.GoToTask.ToPosition(mobpos[Others.Random(0, mobpos.Count - 1)]); }
  10. Is there a way to target from a good distance like atleast 30yards and not needing to go near the target at all to cast a spell? Thank you in advance!
  11. Hi. anyone can help in putting hunter trap on the ground? thank you in advance!
  12. it is actually working. i thought the complete condition will be auto filled with that feature. Also, any way this macro will work: Lua.RunMacroText("/click TradeSkillCreateAllButton");
  13. Has this been updated? I noticed it is still now working?
  14. I also tried this before but doesn’t work as well. 😕
  15. hi. i tried using the macro to click on the "Create All" button for cooking quest but it doesn't seem to work. when i tried to type it in-game it does work. so far, it opens the cooking frame, selects the desired recipe to make(has required item to cook) but somehow it won't be able to click the "Create All" button. this is the macro i am trying: Lua.RunMacroText("/click TradeSkillCreateAllButton"); Thank you in advance for the help!
  16. thanks for the help. i haven't tried it yet as i got busy.
  17. yes i used those references already but still getting errors.
  18. tried using these code SpellManager.CastSpellByIDAndPosition(49936, ObjectManager.Target.Position ClickOnTerrain.Pulse(ObjectManager.Target.Position); but i get an error on vstudio. any way to correct these? Thank you.
  19. im making a fightclass for DK, how do i get it to use Death and Decay skills to be casted? it only use the skill but doesn't actually click on the ground.
  20. is it okay if i can ask for the code for this plugin? thank you.
  21. @Sye24, may i ask how to make the string array option for the plug.in please? thank you.
  22. hi @Sye24is it possible for my characters to move away from the ground debuff that doesn't show as a debuff on the player? will this snipet below work? wManager.Events.FightEvents.OnFightLoop += (unit, cancelable) => { var me = wManager.Wow.ObjectManager.ObjectManager.Me; var target = wManager.Wow.ObjectManager.ObjectManager.Target; if (me.IsAlive && target.IsAlive && !me.IsCast && me.HaveBuff("Buff name")) { wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.STRAFELEFT, 1000 * 3); // strage left during 3 secondes } }; the debuff IDs are 69019 and 68863 which both hits the characters but no debuffs appears on them as they explode from the ground. Thank you.
  23. Yes it indeed worked. Thank you so much!
  24. Thank you so much for the help. i am still very new to this area. i tried having my lock to use grand spellstone but it doesn't "Left click" the spellstone to the weapon. i just based this on the snipets for rogue also. private void EnchantWeapon() { bool hasMainHandEnchant = Lua.LuaDoString<bool> (@"local hasMainHandEnchant, _, _, _, _, _, _, _, _ = GetWeaponEnchantInfo() if (hasMainHandEnchant) then return '1' else return '0' end"); if (!hasMainHandEnchant) { IEnumerable<uint> MP = InstantPoisonDictionary .Where(i => i.Key <= ObjectManager.Me.Level && ItemsManager.HasItemById(i.Value)) .OrderByDescending(i => i.Key) .Select(i => i.Value); if (MP.Any()) { MHPoison = MP.First(); ItemsManager.UseItem(MHPoison); Thread.Sleep(10); Lua.LuaDoString("/click PickupInventoryItem(16)"); Thread.Sleep(5000); return; } } } private static Dictionary<int, uint> InstantPoisonDictionary = new Dictionary<int, uint> { { 79, 41196 }, }; may i ask please how to check if the required item is available in the bag before casting the spell especially needed for casting buffs. Thank you @Talamin
×
×
  • Create New...