Jump to content

Droidz

Administrators
  • Posts

    12432
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Droidz got a reaction from fauler in Update Broke 3.3.5   
    Hello, sorry problem is normally resolved.
  2. Like
    Droidz got a reaction from Pudge in Help with quester profile   
    try
    string stepName = "MyStepName"; var p = wManager.Wow.Helpers.Quest.QuesterCurrentContext.Profile as Quester.Profile.QuesterProfile; if (p != null) { for (int i = 0; i < p.QuestsSorted.Count; i++) { if (p.QuestsSorted[i].Action == wManager.Wow.Class.QuestAction.StepName && p.QuestsSorted[i].NameClass == stepName) { wManager.Wow.Helpers.Quest.QuesterCurrentContext.CurrentStep = i; break; } } }  
  3. Like
    Droidz got a reaction from 79135 in Lua array   
    Hi,
    List<int> list = Lua.LuaDoString<List<int>>("local s={}; for i = 1,17 do local l = GetInventoryItemLink('player', i) if l then local r=l:match('item:(%d+):(%d+)') table.insert(s, r) end end return unpack(s)"); Lua code formatted:
    local s={}; for i = 1,17 do local l = GetInventoryItemLink('player', i) if l then local r=l:match('item:(%d+):(%d+)') table.insert(s, r) end end return unpack(s)  
  4. Like
    Droidz got a reaction from Pudge in Go To Trainers command (for all classes)   
    wManager.Wow.Bot.States.Trainers.ForceGoClassTrainer();  
  5. Like
    Droidz got a reaction from Pudge in How to Get text from StaticPopup1   
    Hello, try 
    StaticPopup1Text:GetText()  
  6. Like
    Droidz got a reaction from Pudge in GetText() from wow interface elements   
    Hi,
    For popup: https://wrobot.eu/forums/topic/10936-how-to-get-text-from-staticpopup1/?do=findComment&comment=52116
    For error message I don't found, it is UIErrorsFrame but I don't found variable/function to get text. But you can do it in C# (code for worlk):
    string lastError = wManager.Wow.Memory.WowMemory.Memory.ReadStringUTF8(wManager.Wow.Memory.WowMemory.Memory.RebaseAddress(0x7CFB90), 200);  
  7. Thanks
    Droidz got a reaction from TheSmokie in Go To Trainers command (for all classes)   
    wManager.Wow.Bot.States.Trainers.ForceGoClassTrainer();  
  8. Like
    Droidz got a reaction from Pudge in wManager.wManagerSetting.CurrentSetting.IgnoreServerRoadsWater   
    Hello,
    if you disable this option, server will return the shortest path, if you enable this option server will try to use road (even if path is longer) (if continent have recorded road, it is case only for mains continents, and currently no water recorded)
    You can add water yourself, for that add blacklisted zone and change typearea to POLYAREA_WATER
  9. Like
    Droidz got a reaction from Pudge in abnormal loot in combat   
    Hello,
    I think that problem is caused by "wManager.Wow.Helpers.Conditions.ForceIgnoreIsAttacked = true". Disable also "wManager.wManagerSetting.CurrentSetting.LootMobs = false;" and enable it sometime to loot killed mobs.
  10. Like
    Droidz got a reaction from Rookie001 in Interact with npc twice for quest complete   
    Hello, in quest type "InteractWithNpc" you can run lua code after interact, use lua to click on button, try to use code 
    SelectGossipOption(1)  
  11. Like
    Droidz got a reaction from Ordush in How to cast revive once?   
    your code is illogical, mouseover is in wrobot API you don't need to write in memory manually, why do "o.Name == o.Name" ? Why blacklist corpse in blacklist for hostile unit? (and search corpse without check if corpse is in this blacklist). 
    It's nice to help, but this type of code can mislead users.
     
     
    Code (not tested) with target should look like:
    var revive = new Spell("Revive", false); if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !ObjectManager.Me.IsCast && revive.KnownSpell && revive.IsSpellUsable) { var corpse = ObjectManager.GetObjectWoWCorpse().Where(c => !wManager.wManagerSetting.IsBlackListed(c.Guid)).FirstOrDefault(); if (corpse != null && corpse.IsValid) { Interact.ClearTarget(); // or Interact.InteractGameObject(corpse.GetBaseAddress); revive.Launch(); Interact.InteractGameObject(corpse.GetBaseAddress); wManager.wManagerSetting.AddBlackList(corpse.Guid, 1000 * 60 * 10); } } with focus should look like:
    var revive = new Spell("Revive", false); if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !ObjectManager.Me.IsCast && revive.KnownSpell && revive.IsSpellUsable) { var corpse = ObjectManager.GetObjectWoWCorpse().Where(c => !wManager.wManagerSetting.IsBlackListed(c.Guid)).FirstOrDefault(); if (corpse != null && corpse.IsValid) { var old = ObjectManager.Me.FocusGuid; ObjectManager.Me.FocusGuid = corpse.Guid; revive.Launch(true, true, false, "focus"); ObjectManager.Me.FocusGuid = old; wManager.wManagerSetting.AddBlackList(corpse.Guid, 1000 * 60 * 10); } }  
     
  12. Like
    Droidz got a reaction from Pudge in How to cast revive once?   
    your code is illogical, mouseover is in wrobot API you don't need to write in memory manually, why do "o.Name == o.Name" ? Why blacklist corpse in blacklist for hostile unit? (and search corpse without check if corpse is in this blacklist). 
    It's nice to help, but this type of code can mislead users.
     
     
    Code (not tested) with target should look like:
    var revive = new Spell("Revive", false); if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !ObjectManager.Me.IsCast && revive.KnownSpell && revive.IsSpellUsable) { var corpse = ObjectManager.GetObjectWoWCorpse().Where(c => !wManager.wManagerSetting.IsBlackListed(c.Guid)).FirstOrDefault(); if (corpse != null && corpse.IsValid) { Interact.ClearTarget(); // or Interact.InteractGameObject(corpse.GetBaseAddress); revive.Launch(); Interact.InteractGameObject(corpse.GetBaseAddress); wManager.wManagerSetting.AddBlackList(corpse.Guid, 1000 * 60 * 10); } } with focus should look like:
    var revive = new Spell("Revive", false); if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !ObjectManager.Me.IsCast && revive.KnownSpell && revive.IsSpellUsable) { var corpse = ObjectManager.GetObjectWoWCorpse().Where(c => !wManager.wManagerSetting.IsBlackListed(c.Guid)).FirstOrDefault(); if (corpse != null && corpse.IsValid) { var old = ObjectManager.Me.FocusGuid; ObjectManager.Me.FocusGuid = corpse.Guid; revive.Launch(true, true, false, "focus"); ObjectManager.Me.FocusGuid = old; wManager.wManagerSetting.AddBlackList(corpse.Guid, 1000 * 60 * 10); } }  
     
  13. Like
    Droidz got a reaction from Zan in How to cast revive once?   
    your code is illogical, mouseover is in wrobot API you don't need to write in memory manually, why do "o.Name == o.Name" ? Why blacklist corpse in blacklist for hostile unit? (and search corpse without check if corpse is in this blacklist). 
    It's nice to help, but this type of code can mislead users.
     
     
    Code (not tested) with target should look like:
    var revive = new Spell("Revive", false); if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !ObjectManager.Me.IsCast && revive.KnownSpell && revive.IsSpellUsable) { var corpse = ObjectManager.GetObjectWoWCorpse().Where(c => !wManager.wManagerSetting.IsBlackListed(c.Guid)).FirstOrDefault(); if (corpse != null && corpse.IsValid) { Interact.ClearTarget(); // or Interact.InteractGameObject(corpse.GetBaseAddress); revive.Launch(); Interact.InteractGameObject(corpse.GetBaseAddress); wManager.wManagerSetting.AddBlackList(corpse.Guid, 1000 * 60 * 10); } } with focus should look like:
    var revive = new Spell("Revive", false); if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !ObjectManager.Me.IsCast && revive.KnownSpell && revive.IsSpellUsable) { var corpse = ObjectManager.GetObjectWoWCorpse().Where(c => !wManager.wManagerSetting.IsBlackListed(c.Guid)).FirstOrDefault(); if (corpse != null && corpse.IsValid) { var old = ObjectManager.Me.FocusGuid; ObjectManager.Me.FocusGuid = corpse.Guid; revive.Launch(true, true, false, "focus"); ObjectManager.Me.FocusGuid = old; wManager.wManagerSetting.AddBlackList(corpse.Guid, 1000 * 60 * 10); } }  
     
  14. Like
    Droidz got a reaction from Matenia in How to cast revive once?   
    your code is illogical, mouseover is in wrobot API you don't need to write in memory manually, why do "o.Name == o.Name" ? Why blacklist corpse in blacklist for hostile unit? (and search corpse without check if corpse is in this blacklist). 
    It's nice to help, but this type of code can mislead users.
     
     
    Code (not tested) with target should look like:
    var revive = new Spell("Revive", false); if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !ObjectManager.Me.IsCast && revive.KnownSpell && revive.IsSpellUsable) { var corpse = ObjectManager.GetObjectWoWCorpse().Where(c => !wManager.wManagerSetting.IsBlackListed(c.Guid)).FirstOrDefault(); if (corpse != null && corpse.IsValid) { Interact.ClearTarget(); // or Interact.InteractGameObject(corpse.GetBaseAddress); revive.Launch(); Interact.InteractGameObject(corpse.GetBaseAddress); wManager.wManagerSetting.AddBlackList(corpse.Guid, 1000 * 60 * 10); } } with focus should look like:
    var revive = new Spell("Revive", false); if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !ObjectManager.Me.IsCast && revive.KnownSpell && revive.IsSpellUsable) { var corpse = ObjectManager.GetObjectWoWCorpse().Where(c => !wManager.wManagerSetting.IsBlackListed(c.Guid)).FirstOrDefault(); if (corpse != null && corpse.IsValid) { var old = ObjectManager.Me.FocusGuid; ObjectManager.Me.FocusGuid = corpse.Guid; revive.Launch(true, true, false, "focus"); ObjectManager.Me.FocusGuid = old; wManager.wManagerSetting.AddBlackList(corpse.Guid, 1000 * 60 * 10); } }  
     
  15. Like
    Droidz got a reaction from Talamin in How to cast revive once?   
    your code is illogical, mouseover is in wrobot API you don't need to write in memory manually, why do "o.Name == o.Name" ? Why blacklist corpse in blacklist for hostile unit? (and search corpse without check if corpse is in this blacklist). 
    It's nice to help, but this type of code can mislead users.
     
     
    Code (not tested) with target should look like:
    var revive = new Spell("Revive", false); if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !ObjectManager.Me.IsCast && revive.KnownSpell && revive.IsSpellUsable) { var corpse = ObjectManager.GetObjectWoWCorpse().Where(c => !wManager.wManagerSetting.IsBlackListed(c.Guid)).FirstOrDefault(); if (corpse != null && corpse.IsValid) { Interact.ClearTarget(); // or Interact.InteractGameObject(corpse.GetBaseAddress); revive.Launch(); Interact.InteractGameObject(corpse.GetBaseAddress); wManager.wManagerSetting.AddBlackList(corpse.Guid, 1000 * 60 * 10); } } with focus should look like:
    var revive = new Spell("Revive", false); if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && !ObjectManager.Me.IsCast && revive.KnownSpell && revive.IsSpellUsable) { var corpse = ObjectManager.GetObjectWoWCorpse().Where(c => !wManager.wManagerSetting.IsBlackListed(c.Guid)).FirstOrDefault(); if (corpse != null && corpse.IsValid) { var old = ObjectManager.Me.FocusGuid; ObjectManager.Me.FocusGuid = corpse.Guid; revive.Launch(true, true, false, "focus"); ObjectManager.Me.FocusGuid = old; wManager.wManagerSetting.AddBlackList(corpse.Guid, 1000 * 60 * 10); } }  
     
  16. Like
    Droidz got a reaction from Kaotik in Prospecting Speed   
    Hello, try this custom profile: Prospecting.cs
  17. Thanks
    Droidz got a reaction from Photogenic in 2 druids same group Tree of Life   
    Hello, try to use c# condition 
    !ObjectManager.Target.GetBuffs("Tree of Life").Any(a => a.Owner == ObjectManager.Me.Guid)  
  18. Haha
    Droidz got a reaction from R0oshz in Wrobot keeps closing my wow client down   
    Hello, I think it is problem with Tauri server. Do you use client download on tauri website? if yes to to download another client
  19. Thanks
    Droidz got a reaction from Zew in Trial version?   
    Hello,
    Download https://wrobot.eu/files/file/2-wrobot-official/ and use key:
    TRIAL  
     
  20. Thanks
    Droidz got a reaction from loobrush in Snippets codes for quest profiles   
    Force to use Flightmaster / Taxi
    WRobot takes the taxi automaticly generally, but if you want force to use taxi you can look this sample: UseFlightPath.xml (guide is written in the first step).
  21. Like
    Droidz got a reaction from Skemez in Happy new year 2020   
    View full article
  22. Like
    Droidz got a reaction from Skemez in Future of wrobot?   
    Hello, 
    I don't have any big change planned, but I plan to continue to improve it (with the release of Classic we lost a lot of people, but since a few weeks the forum seems to come back to life, it's nice).
  23. Like
    Droidz got a reaction from Skemez in Endless TBC Mining   
    Hello,
    Disable all Wow addons, all WRobot plugins and share your log file please (  https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ) (if you can also record video).
     
  24. Confused
    Droidz got a reaction from ALsander in Wrobot crashes all the time   
    Hello,
    Disable all Wow addons, all WRobot plugins and share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).
  25. Like
    Droidz got a reaction from TheSmokie in Snippets codes for quest profiles   
    Change position of path generated by WRobot
    (this can help you to resolve  stuck on specific doors and doorways)
    With this code, you can replace specific point of path by another.
    // Continent (item1), DefaultPosition (item2), DefaultPositionSearchRange (item3), NewPosition (item4) var positionChange = new List<Tuple<ContinentId, Vector3, float, Vector3>> { new Tuple<ContinentId, Vector3, float, Vector3>(ContinentId.Kalimdor, new Vector3(1422.318, -4662.921, 35.46182), 0.5f, new Vector3(1422.063, -4665.421, 35.46295)), /// new Tuple<ContinentId... }; wManager.Events.MovementEvents.OnMovementPulse += delegate(List<Vector3> points, CancelEventArgs cancelable) { var continent = (ContinentId) Usefuls.ContinentId; foreach (var p in points) { foreach (var pchange in positionChange) { if (p != null && pchange.Item1 == continent && p.DistanceTo(pchange.Item2) <= pchange.Item3) { Logging.WriteDebug("Change path position of " + p + " to " + pchange.Item4); p.X = pchange.Item4.X; p.Y = pchange.Item4.Y; p.Z = pchange.Item4.Z; p.Type = pchange.Item4.Type; p.Action = pchange.Item4.Action; } } } };
    (you need to run this code one time by WRobot session, you can run this code in step type "RunCode")
×
×
  • Create New...