Developers assistance
You have problem for create Quest profile? Custom Profile? Plugin? Product? C# or VB.net FightClass? This forum is for you.
537 topics in this forum
-
hello, trying to do a warlock fightclass, and one thing i am working on is trying to have it drain soul shards when im getting low... I tried if (!ObjectManager.Me.IsMounted && ItemsManager.HasItemById(6265) && ObjectManager.Target.HealthPercent <= 10) { // drain soul } works but only checks for one shard... so then tried if (!ObjectManager.Me.IsMounted && ItemsManager.HasItemById(6265) <= 10 && ObjectManager.Target.HealthPercent <= 10) { // drain soul } but doesn't seem to like the idea of stacks... also tried ItemsManager.HasItemStacksBy…
- 7 replies
- 1.8k views
-
I noticed that the default drinking behavior doesn't work for feral druids. I looked at one feral druid fight class and it cancelled cat or bear form if mana was low and the bot was out of combat to get the mana bar out so the default drinking behavior works. I was thinking of making my own feral druid fight class and disable the default drinking/eating and instead make it use the items in my code. I could make it drink like this (but a little bit smarter, just some test code). if (ObjectManager.Me.ManaPercentage < 35 && !ObjectManager.Me.HaveBuff("Drink")) { ItemsManager.UseItem(159); } But is there any way I could make it pause its mo…
-
- 0 replies
- 949 views
-
-
I have only been using the bot for a few days, I tried making my own fight class in C#. It works fine except when it decides to pull a big pack of mobs and dies. When it ress it stops running my fight class code, it just runs to the mob auto attacking, not using any spell and the log shows nothing at the time of death or ressurection, not even when showing debug. Dying: :54 - [Fight] Player Attacked by ... :55 - [Fight] Fight stopped :56 - [Resurrect] Player dead Ressing: :46 - [Resurrect] Player retrieve corpse :47 - [Fight] Player Attacked by ... :55 - [Resurrect] Player dead I tried twice to stop and start the bot …
- 2 replies
- 1.4k views
- 1 follower
-
Hi, i tried to get the distance between my target and the mobs around it to check if any of them is too close to charge in, the problem is, the bool always returns true and if i try to return the distance between my target and the mob close, it returns 0. Can anyone help pls? i got this so far: public int TotalMobsCloseToMyTarget; private bool IsRangedPullBetter() { List<WoWUnit> mobsAroundMe = ObjectManager.GetWoWUnitHostile(); foreach (WoWUnit unit in mobsAroundMe) { // nombre de mobs proches de ma target if (unit != null && (unit.Position.DistanceTo(ObjectManager.Me.TargetObject.Pos…
-
- 3 replies
- 2.5k views
- 1 follower
-
-
Is it possible to pause a plugin while the player is in combat? In my plugin, if I put a Thread.Sleep, it appears that it sleeps the entire bot thread.
-
- 2 replies
- 1.2k views
- 1 follower
-
-
Hello, I was wondering if anyone had the offset value for MoP 5.4.8 (18414) Main hand item id for player as well as unit? Thanks in advance! public static int MainHandId(WoWUnit unit) { // Using 3.3.5a(12340) offsets. if (unit.PlayerControlled) return wManager.Wow.Memory.WowMemory.Memory.ReadInt32(unit.GetDescriptorAddress(0x4E4)); return wManager.Wow.Memory.WowMemory.Memory.ReadInt32(unit.GetDescriptorAddress(0xE0)); }
-
- 4 replies
- 1.5k views
- 2 followers
-
-
Hello ? Is it possible to directly try code without launching the quester? Example: I would like to get the number of available quest that a NPC has with wManager.Wow.Helpers.Quest.GetNumGossipAvailableQuests() How can I use the developer tools to get the result? Thank you!
-
- 1 reply
- 1.3k views
-
-
Hello, My Taxi database is empty. I have to fill it myself? Where can I find the continent ID? Thank you! ?
-
- 1 reply
- 1.2k views
-
-
Hello, I created a plugin that when it's not in battleground it goes to the gem vendor and buy a gem if honor is enough, otherwise it goes into a "wait position". The problem is when he moves, doesnt matter if to go to the vendor or to the wait position, it moves for like 10 yards, then stops, then moves again, then stops and so on.... It's bottish as hell and I don't understand why this behaviour, why doesnt he run all the way to the destination without stopping every 10 steps? I didn't add any sleep in the code. This is the code using System; using robotManager.Products; using wManager.Plugin; using wManager.Wow.Enums; using robotManager.Helpful; using Sys…
- 3 replies
- 2k views
- 1 follower
-
Hey, got some issues when trying to get die ID or name of bags that are currently equipped. Does this return the id of the bag in slot 1? When testing with dev tools I only got some large int numbers, seemed like adresses or wow internal ids. uint bag1 = ObjectManager.Me.GetEquipedItemBySlot(wManager.Wow.Enums.InventorySlot.CONTAINER_BAG_OFFSET_1); Any way to get from this adress to the wow id of the bag or at least the name? Or anyone has a better idea how to get ids or currently equipped bags? Thanks in advance!
-
- 2 replies
- 2.1k views
- 1 follower
-
-
Hi, I have a function checking combat log for specific events and i'm using a for loop to itterate the words to check for possible match, returning true if the text contains those words. My problem is, the functions returns true several times instead of just 1, so i guess i should clear the combat log as soon as it finds one of those words so it won't find those words again until the wow event happens again, but i can't find any way to do that.. Does anyone has the anwser please? :)
-
- 1 reply
- 1.3k views
-
-
I used the Party Mode in the 5-person dungeon and found that there were some problems that needed to be modified. Like:I wanted to follow the MT without entering a name. I wanted to stop following the MT in battle for manual movement. I wanted to ride where I could ride and so on. But I didn't want to re-implement all the party functions. I wanted to make changes based on the existing foundation. How to do it?
-
- 1 reply
- 1.5k views
- 1 follower
-
-
Hey guys, anyone know how to make it so if you change i.e. wManagerSetting.CurrentSetting.Selling with your plugin, so that it changes the setting in WRobot too? As soon as wrobot is restarted wManagerSetting.CurrentSetting.Selling is changed back to what you set it to in wrobot. ? wManagerSetting.CurrentSetting.Save(); saves the data, but it dones't change in wrobot until wrobot is restarted. Also completely off-topic: @Droidz how are you getting current mount name in vanilla? Are you checking buffs? Or are you reading from memory? I just realized that button does not work, so i guess you are not ?
- 16 replies
- 5.2k views
- 1 follower
-
Is there a way to detect, if the bit is currently attacked by more than one mob?
- 1 reply
- 1.3k views
-
Hi, i looked at some tutorials on how to build your class into a .dll but for some reason, i can't manage to do it. Whenever i try, it won't compile and displays a ton or errors (800+), but the fight class itself works pretty smooth on wRobot and doesn't display any errors. I think i have some issues with the procedure, from the start. Basically, i created a class library on visual studio, didnt write anything on the text editor, then i created a new class by rightclicking the solution explorer, i copied the dll from wRobot in a subfolder in the project, added the references and filled up the new class. Did i miss something?
-
- 2 replies
- 1.9k views
-
-
Hi, Fisrt of all i'm a beginner at c# and i'm having lots of fun tinkering class profiles. I'd like to know how to check if x spell is usable (for example, i'd like to know if charge is usable as one of the conditions to switch to battle stance, i've been searching this for hours). Could anyone post an example of code please?
-
- 1 reply
- 1.2k views
-
-
Hey y'all! So I'm having my bots farm in groups at the moment and need some simple way to get them to spend a couple minutes killing things before doing a mass-loot (both because it's more efficient and because otherwise they end up looking very bot-like. I was hoping I would be able to figure it out using Avvi's sample plugin, but I am still in a little over my head (I am also wondering if his sample plugin might have way more code in there than I need, and I'm not particularly well-equipped to identify). Thanks for any help!
- 8 replies
- 3.1k views
-
Can't find it anywhere throughout the wManager. Human master plugin has this variable for sure and it's not on a timer, anyone know it?
-
- 3 replies
- 1.4k views
- 1 follower
-
-
Ive Been trying to add Restock Functionality to the TSM Plugin But i am getting alot of errors in VS. Could someone help me out. I have removed Mailbox Functionality Because it looks very bottish. using System; using System.Threading; using robotManager.Helpful; using robotManager.Products; using wManager.Plugin; using wManager.Wow.Bot.Tasks; using wManager.Wow.Helpers; // Token: 0x02000002 RID: 2 public class Main : IPlugin { // Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250 public void Initialize() { this._isLaunched = true; TSMAuction.Load(); this.WaitAfter = TSMAuct…
-
- 0 replies
- 1.4k views
-
-
-
I want that my char regs with water. Yes i know the setting in wrobot but i want that my char only under circumstances that reg mana. Now my little script: internal bool drinkwater () { if (!ObjectManager.Me.InCombatFlagOnly && ObjectManager.Me.ManaPercentage <= drinkwateronManapercent ) { Logging.WriteFight("drink water " + water ); Fight.StopFight(); wManager.Wow.Helpers.ItemsManager.UseItem("Sweet Nectar"); // Nectar while (!ObjectManager.Me.InCombatFlagOnly && ObjectManager.Me.ManaPercentage < 100 && ObjectManager.Me.IsSitting) …
-
- 3 replies
- 1.5k views
-
-
Hi, When running the WRotation product you are able to double click on the map(in the wrobot interface) to send a GoTo task to the bot, is this a state or manually built into WRotation? I wish to allow this to be used in a product I'm working on. Cheers, Mars
- 1 reply
- 1.4k views
- 1 follower
-
-
Using the quester, is there any way i can tell the bot to attack a specific target. Since ID's are based on any mob of that kind, I'd like to tell it to attack certain mobs instead. Perhaps based on the vector of that mob?
-
- 3 replies
- 2k views
- 1 follower
-
-
I am using Entity Framework in my project which requires additions to the app.config: <configSections> <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> </configSections> <entityFramework> <providers> <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderSe…
-
- 1 reply
- 1.3k views
-