Jump to content

Droidz

Administrators
  • Posts

    12432
  • Joined

  • Last visited

Community Answers

  1. Droidz's post in Command to party By Party Chat was marked as the answer   
    Hello,
    To interact with current target of party leader use csharp code:
    if (wManager.Wow.Helpers.Party.IsInGroup()) { wManager.Wow.Helpers.Interact.InteractGameObject(new wManager.Wow.ObjectManager.WoWPlayer(wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid(wManager.Wow.Helpers.Party.GetPartyLeaderGUIDHomeAndInstance()).GetBaseAddress).TargetObject.GetBaseAddress); } To interact with nearest npc:
    if (wManager.Wow.Helpers.Party.IsInGroup()) { wManager.Wow.Helpers.Interact.InteractGameObject(wManager.Wow.ObjectManager.ObjectManager.GetNearestWoWUnit(wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWUnit()).GetBaseAddress); }  
  2. Droidz's post in Don't kill the fat one! was marked as the answer   
    Hello, look this: DontKilltheFatOne.xml (works for me)
  3. Droidz's post in Removing Green Recipes was marked as the answer   
    Hello, you can use wow addon like http://mods.curse.com/addons/wow/cleanmybag for it
  4. Droidz's post in Potion of Treasure Finding was marked as the answer   
    Yes you can use "Not spell, is item id", "Combat only" > put false, and use "Timer" option.
  5. Droidz's post in Adding Delay was marked as the answer   
    It is grinder profile (edit this with grinder profile editor).
    You can add action at the last position (before exit instance), for 1 minute put this:
    c#: System.Threading.Thread.Sleep(1000 * 60); (more info about action... http://wrobot.eu/forums/topic/2202-profile-positions-and-action-column/ )
  6. Droidz's post in Quest profile to kill Mob without quster giver was marked as the answer   
    You can also look this profile: http://wrobot.eu/files/file/409-98-100-meatgut-needs-bones-repeatable-quest-nagrand/
  7. Droidz's post in Does default license always reset to trial was marked as the answer   
    Hello, Thank you. I'll fix it today.
  8. Droidz's post in WoW running out of memory was marked as the answer   
    Hello, I have worked on it, if you can wait next update and tell me if problem is resolved.
    Else, how said iMod, use this plugin is good way to avoid out of memory error : http://wrobot.eu/files/file/622-memory-clean/
  9. Droidz's post in Hunter not Repairing weapon was marked as the answer   
    If you can wait next update and tell me if your problem is resolved.
  10. Droidz's post in A few questions about the CustomClass was marked as the answer   
    Hello,
    Use this code for it:
    WoWPlayer randomPlayer = ObjectManager.GetNearestWoWPlayer(ObjectManager.GetObjectWoWPlayer());  
    Try this: 
    WoWPlayer player = ObjectManager.GetObjectWoWPlayer().FirstOrDefault(o => o.Name == "CharName"); if (player != null && player.IsValid) { Interact.InteractGameObject(player.GetBaseAddress, false); }  
  11. Droidz's post in warlock fight class was marked as the answer   
    Par exemple, pour http://www.wowhead.com/item=5512/healthstone , à la place du nom du sort mettez l'id de l'item (5512), dans "Spell Settings" mettez "True" à l'option "Not spell, is item id". Dans les condition utiliser "Item Count" et "Item Id Cooldown Enabled". Regarde cette exemple: test.xml
  12. Droidz's post in Elite nearby? C# was marked as the answer   
    Hello, I am not sure to understand exactly what you want, but you can use code like this:
    int numberOfEliteNearTank = ObjectManager.GetWoWUnitHostile().Count(u => u.Position.DistanceTo(tank.Position) <= u.InteractDistance && u.IsElite && UnitCanAttack.CanAttack(u.GetBaseAddress, tank.GetBaseAddress)); if (numberOfEliteNearTank >= 3) { // .. }  
  13. Droidz's post in Improving tank(Too)Far() was marked as the answer   
    Hello,
    To stop to go to tank if it is out of view you can use this code:
    #region Tank too far bool tankfar() { WoWPlayer tank = getTanks().First(); while (tank.IsValid && tank.GetDistance > 15 && !wManager.Wow.Helpers.TraceLine.TraceLineGo(tank.Position)) { MovementManager.MoveTo(tank); System.Threading.Thread.Sleep(50); } MovementManager.StopMove(); return false; } #endregion  
    To generate path and go to tank you can use code like this:
    #region Tank too far bool tankfar() { WoWPlayer tank = getTanks().First(); if (tank.IsValid && tank.GetDistance > 15) { wManager.Wow.Bot.Tasks.GoToTask.ToPositionAndIntecractWith(new WoWUnit(tank.GetBaseAddress), -1, false, context => Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && tank.GetDistance > 15); } MovementManager.StopMove(); return false; } #endregion  
  14. Droidz's post in Use item on hostile "weakened" mob was marked as the answer   
    Hello,
    Add step type "PickUp" (put quest name in parameter) Add step type "RunCode", in parameter put this code: Thread t = new Thread(() => { uint itemId = 62899; int questId = 28000; while (robotManager.Products.Products.IsStarted) { if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause) { if (!Quest.HasQuest(questId)) break; if (ObjectManager.Target.IsValid && ObjectManager.Target.IsAlive && ObjectManager.Target.HealthPercent <= 25) { ItemsManager.UseItem(itemId); } } Thread.Sleep(500); } }); t.Start();  (you need to have quest in your questlog, you can replace "62899" but the item id, "28000" by the quest id and "25" by the max target health)
    Add step type "Pulse" (put quest name in parameter)
    Add step type "TurnIn" (put quest name in parameter)
  15. Droidz's post in Starting quest from items picked up was marked as the answer   
    Hello,
    Like this: 
  16. Droidz's post in BM Hunter was marked as the answer   
    Hello,
    For the trap look this sample: http://wrobot.eu/applications/core/interface/file/attachment.php?id=816 (http://wrobot.eu/forums/topic/2127-piège-hunt/?do=findComment&comment=9960)
    For  http://www.wowhead.com/spell=82692/focus-fire try to replace condition "Buff Stack Pet" by "Buff Stack".
     
  17. Droidz's post in Chat does not work was marked as the answer   
    You can also use lua code: 
    SendChatMessage("Your message here", "CHANNEL", nil, 2); Replace text Your message here and put this code in "Dev tools" textbox (tab "tools"), and click on boutton "Lua code...".
  18. Droidz's post in Possible to search for object? was marked as the answer   
    Try it:
    using System.Collections.Generic; using System.Threading; using System.Windows.Forms; using robotManager.Helpful; using robotManager.Products; using wManager.Plugin; using wManager.Wow.Helpers; using Timer = robotManager.Helpful.Timer; public class Main : IPlugin { private List<string> Names = new List<string> { "Frozen Fury", "Warsong Initiate", "", }; private bool _isLaunched; public void Initialize() { _isLaunched = true; var timer = new Timer(1500); timer.ForceReady(); Logging.Write("[Search Objects] Loaded."); while (_isLaunched && Products.IsStarted) { try { if (timer.IsReady && Conditions.ProductIsStartedNotInPause) { foreach (var o in wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWUnit()) { try { if (o.IsValid && !string.IsNullOrEmpty(o.Name) && Names.Contains(o.Name)) { Logging.Write("NPC found: " + o.Name); ObjectFound(); } } catch { } } foreach (var o in wManager.Wow.ObjectManager.ObjectManager.GetObjectWoWGameObject()) { try { if (o.IsValid && !string.IsNullOrEmpty(o.Name) && Names.Contains(o.Name)) { Logging.Write("Object found: " + o.Name); ObjectFound(); } } catch { } } timer.Reset(); } } catch { } Thread.Sleep(300); } } public void ObjectFound() { // Pause bot: Products.InPause = true; Fight.StopFight(); MovementManager.StopMove(); LongMove.StopLongMove(); // Play sound In Game //Lua.RunMacroText("/console Sound_EnableSFX 1"); Lua.LuaDoString(@"PlaySoundFile('Sound\\Creature\\Rotface\\IC_Rotface_Aggro01.ogg')"); // Play sound from WRobot var myPlayer = new System.Media.SoundPlayer(wResources.Resource.NewWhisper); var tPlay = new Timer(1000 * 5); // 5 sec = 5000 ms while (!tPlay.IsReady) { myPlayer.PlaySync(); } myPlayer.Stop(); // Wait during bot in pause while (_isLaunched && Products.InPause && Products.IsStarted) { Thread.Sleep(10); } } public void Dispose() { _isLaunched = false; Logging.Write("[Search Objects] Disposed."); } public void Settings() { MessageBox.Show("[Search Objects] No settings for this plugin."); } } (Sound is played in method(function) ObjectFound())
  19. Droidz's post in Issue with quest was marked as the answer   
    Hello,
    In this http://www.wowhead.com/quest=26948/moonfire quest settings , put 0 at "Objective count 2" (put 1 only at "Objective count 1").
    To disable wrobot settings "Ignorer formation Dummy" automatically, add step before this quest (in quest orders), put the type "RunCode" and put param:
    wManagerSetting.CurrentSetting.BlackListTrainingDummy = false; BlackListSerializable.AddBlackListToWRobotSession(); 
  20. Droidz's post in CastSpellByIDAndPosition was marked as the answer   
    Salut, content que tu sois de retour.
    Dans les Fightclasses j'utilise:
    wManager.Wow.Helpers.ClickOnTerrain.Spell(uint spellId, Vector3 vector3, bool waitCasting = true, bool stopMove = true)Tu peux également le faire manuellement (tu lance ton sort et tu utilise ce fonction pour cliquer sur le terrain):
    wManager.Wow.Helpers.ClickOnTerrain.Pulse(Vector3 posToClick) 
  21. Droidz's post in Login error was marked as the answer   
    Hello,
    Your subscription has expired.
  22. Droidz's post in Mobs in Pet Battle was marked as the answer   
    Thank you. Can you update WRobot and try again.
    Tell me if problem is resolved.
  23. Droidz's post in Not atacking mobs was marked as the answer   
    Your log file is clean, do you have added creatures to attack at your profile (you can add creatures like this: http://wrobot.eu/forums/topic/2359-additions/#comment-10911 )
  24. Droidz's post in Additions was marked as the answer   
    Hello,
    Select product "Grinder" in "Main" tab. Go to tab "Product Settings". Click on button "Profile Creator". Click on "Open" and select the profile. Select (target) in game the mob at kill, and click on button "Add current target to mobs list at attack" (if it is multi zones profile, don't forget to select the zone at edit in listbox "Zones"). Don't forget to Save.
  25. Droidz's post in Use potion/Buff/Item periodically was marked as the answer   
    Hello,
    1: You can use this plugin: http://wrobot.eu/files/file/517-potion-of-luck/ (you can also use "My Macro" in advanced general settings or, if you want add it in your fightclass, in "Spell Settings" use "Timer", activate "Not spell, is lua script" and use this code is spell name: http://wrobot.eu/forums/topic/1688-lua-and-multi-language-support/)
    2: Look this fightclass to understand how to use  Power Word: Shield http://wrobot.eu/files/file/59-priest-shadow-loki/
    3: Same reply of the question 1, you can try to use this plugin  FocusAugmentRune.cs (not tested, I have just edited "potion of luck" plugin and changed spell and item id), you can use "my macro" or add it in your fightclass.
     
     
×
×
  • Create New...