libai 2 Posted February 12, 2023 Share Posted February 12, 2023 Is it possible rouge only pick pocket in instance without fight any mobs. i try to do it,but i meet some troubles as follow: 1. when i use [Followpath] in a Quester ,the character in stealth state only follow the path without select any target , no pick pocket skill cast at all (is it possible to add other action like cast some skill while moving?) 2. i use [overridePulseCsharpCode] in a Quester, var zone = wManager.Wow.Helpers.Usefuls.MapZoneName; Logging.Write(zone); wManager.wManagerSetting.CurrentSetting.MaxUnitsNear = 100; var mobs = ObjectManager.GetObjectWoWUnit().Where(o=>o.IsAttackable).OrderBy(o=>o.GetDistance); var count = mobs.Count(); Logging.Write("我的位置"+ObjectManager.Me.Position); Logging.Write("周围怪物数量=>"+count.ToString()); foreach(var target in mobs){ Thread.Sleep(3000); if (!ObjectManager.Me.HaveBuff("Stealth")) { Lua.RunMacroText("/cast !Stealth"); } if(ObjectManager.Me.InCombat){ Lua.RunMacroText("/cast Varnish"); } if(target.GetMove==false) { Logging.Write("固定=>"+target.Name+target.Guid +"距离"+ target.GetDistance.ToString()); Lua.RunMacroText("/target "+target.Name); wManager.Wow.Bot.Tasks.GoToTask.ToPosition(target.Position); if(target.GetDistance >= 5 && target.GetDistance <=10 ){ Lua.RunMacroText("/cast Sap"); } // if(ObjectManager.Me.Position.DistanceTo(target.Position) < 5) { Thread.Sleep(1000); Lua.RunMacroText("/cast pick pocket"); Thread.Sleep(1000); } } //else{ // Logging.Write("移动=>"+target.Name+target.Guid +"距离"+ target.GetDistance.ToString()); //} Logging.Write("地址=>"+ target.Position); } return true; the bot meet a new trouble It went straight ahead, and before it reached the end, it met the monster on the road, and then entered the battle. so,any one can help me ? Link to comment https://wrobot.eu/forums/topic/15049-rouge-just-pick-pocket-in-instance/ Share on other sites More sharing options...
Droidz 2738 Posted February 12, 2023 Share Posted February 12, 2023 Hello, I'm not sure to understand. But to ignore combat, you can use https://wrobot.eu/forums/topic/2681-snippets-codes-for-quest-profiles/?do=findComment&comment=13088&_rid=1 Link to comment https://wrobot.eu/forums/topic/15049-rouge-just-pick-pocket-in-instance/#findComment-67708 Share on other sites More sharing options...
libai 2 Posted February 13, 2023 Author Share Posted February 13, 2023 6 hours ago, Droidz said: Hello, I'm not sure to understand. But to ignore combat, you can use https://wrobot.eu/forums/topic/2681-snippets-codes-for-quest-profiles/?do=findComment&comment=13088&_rid=1 sorry for my mistyped. I mean i want my rogue stay in instance only pick pocket on each target, don't attack any one by active or passive . i am not just simply ignore combat, i need a path or solution to avoid get into combat at all time. (because the skill pick pocket of rogue need stealthy state). Link to comment https://wrobot.eu/forums/topic/15049-rouge-just-pick-pocket-in-instance/#findComment-67711 Share on other sites More sharing options...
Droidz 2738 Posted February 14, 2023 Share Posted February 14, 2023 I think you should manage Stealth in your fightclass (or in separed thread). But why recode all. If you want something simple use a method like https://wrobot.eu/forums/topic/3383-pickpocket-mobs/?do=findComment&comment=16747&_rid=1 or https://wrobot.eu/files/file/862-rogue-pick-pocket/ Link to comment https://wrobot.eu/forums/topic/15049-rouge-just-pick-pocket-in-instance/#findComment-67716 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now