-
Posts
12579 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Everything posted by Droidz
-
I need help with my fightclass thought lua code
Droidz replied to gornov.12345's topic in Fight Classes assistance
Hello, No tested, but you can try this plugin : CastSpellByName to Cast Macro.cs using robotManager.Helpful; public class Main : wManager.Plugin.IPlugin { public void Initialize() { Logging.Write("CastSpellByName to /cast plugin loaded."); robotManager.Events.Events.OnCustomEvent += OnEventsOnOnCustomEvent; } private void OnEventsOnOnCustomEvent(string name, object[] args, System.ComponentModel.CancelEventArgs cancelable) { if (name.StartsWith("SpellManager.CastSpellByName") && args.Length >= 1 && args[0] is string) { var spellName = (string)args[0]; if (!string.IsNullOrWhiteSpace(spellName)){ string luaUnit = null; if (args.Length >= 2 && args[1] is string) luaUnit = (string)args[1]; cancelable.Cancel = true; if (!string.IsNullOrWhiteSpace(luaUnit) && luaUnit != "player") { Logging.WriteDebug("Casting " + spellName + " on " + luaUnit + " with macro /cast"); wManager.Wow.Helpers.Lua.RunMacroText("/cast [@" + luaUnit + "] " + spellName); } else { Logging.WriteDebug("Casting " + spellName + " with macro /cast"); wManager.Wow.Helpers.Lua.RunMacroText("/cast " + spellName); } } } } public void Dispose() { robotManager.Events.Events.OnCustomEvent -= OnEventsOnOnCustomEvent; } public void Settings() { } } I haven't tested, but this plugin should enable fight classes that use the bot method "CastSpellByNameOn" (which is the case for most fight classes) to force the bot to use "/cast ..." instead. Therefore, use this plugin with your fight class configured normally (without using "/cast"). -
Hello, your game version is in this list ? https://wrobot.eu/supported-wow-versions/ Do you use an unmodified game client ?
-
How to Interact with NPCs in Spirit Form?
Droidz replied to Liam Jones's topic in Quester assistance
Hello, By default, GoToTask methods don't work when the character is dead. No tested but code should look like: robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelable) => { if (state is wManager.Wow.Bot.States.Resurrect && ObjectManager.Me.IsDead) { if (ObjectManager.Me.Position.DistanceTo2D(new Vector3(-14284.96f, 288.4472f, 32.33204f)) < 2) { var destination = new Vector3(-14283.13f, 293.2209f, 31.98451f); int npcEntryId = 1000128; var goToSuccess = wManager.Wow.Bot.Tasks.GoToTask.ToPosition( destination, 3.5f, false, c => Conditions.InGameAndConnectedAndProductStartedNotInPause); if (goToSuccess) { var npcs = ObjectManager.GetWoWUnitByEntry(npcEntryId); var npcUnit = npcs.Where(n => n.IsValid).OrderBy(n => n.GetDistance).FirstOrDefault(); if (npcUnit != null) { Interact.InteractGameObject(npcUnit.GetBaseAddress); System.Threading.Thread.Sleep(500); Usefuls.SelectGossipOption(3); System.Threading.Thread.Sleep(3000); cancelable.Cancel = true; } } } } }; -
ObjectManager.GetWoWGameObjectForFarm().Count() = 0
Droidz replied to Weer36's topic in Developers assistance
Hello, Nodes are probably blacklisted. Can you share full log file of bugged bot session. -
Hello, For mailbox and post all items in auction house use the product "Auction", for go to guild bank and deposit gold use "Custom Profile" or "Quester". To switch between "Auction" and "Custom Profile" / "Quester" products, you can use "Relogger" application or "Schedule" product.
-
Hello, robotManager.Events.FiniteStateMachineEvents.OnRunState += (engine, state, cancelEvent) => { if (state is wManager.Wow.Bot.States.Farming farmingState) { farmingState.IgnoreIfPlayerNear = true; } };
-
How can i Call another Quester xml file in this Quseter?Plz Help
Droidz replied to duan_ning's topic in Quester assistance
Hello, For the randomize profile selection, you can use this approach : Random Step.xml To load quest profile (from quest profile) use step type "LoadProfile", put the profile file name (like it's appeared in "Product settings"). In Battleground product settings you have the option to use another product during queue (that can cause problems with quester product, some profiles can be complexes) -
isssue of using one plugin for different wrobot versions
Droidz replied to Pudge's topic in Developers assistance
Hello, I'm not sure if this will work, but try adding a Try/Catch with a log in case of an error in the "Initialize" function (from IPlugin). Usually, it's the enums, so you can try to retrieve them from a String instead of a raw link: https://stackoverflow.com/questions/16100/convert-a-string-to-an-enum-in-c-sharp -
https://wrobot.eu/forums/topic/15459-doesnt-use-skills-in-battle/?do=findComment&comment=69331&_rid=1
-
Hello, You seem to play on a server with custom spells and use game addons (that are bad points). But I think that your problem is that you use a "Leveling" fightclass. Some fightclasses work only for against NPCs and not in combat against players.
-
Does the bot work on Felsong?
Droidz replied to insaneyo's topic in WRobot for Wow Legion - Help and support
Hello, Yes WRobot should work with this version (if unmodified), it's the updated list of supported versions : https://wrobot.eu/supported-wow-versions/ -
Hello, If you have this problem only on one of the pathfinding servers it is not very important, is your bot working?
-
Try to launch WRobot with the shortcut "WRobot (DX hook)"
-
why my bot trying to logout?
Droidz replied to korororo's topic in WRobot for Wow Vanilla - Help and support
Hello, you have try without fightclass? with another profile ? Do you use unmodified game client ? Maybe it's server protection -
Hello, Prefer to use "Window mode" (and not full-screen mode) in your game settings. Try also to clear your game cache, if it's not the problem, try to download the game client on another website (you need to have an unmodified game client).
-
Hello, try to download game client on another website (that your game server).
-
No profiles work for me on grinder?
Droidz replied to xerathhitzlord812's topic in Profiles and Requests
Hello, if it's this profile https://wrobot.eu/files/file/1725-free-13-20-the-crossroads-–-the-barrens/ , it's not Grinder but it's Quester profile. -
No profiles work for me on grinder?
Droidz replied to xerathhitzlord812's topic in Profiles and Requests
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/ ). -
Do you have gray items in your bag ? (with your settings, the bot sells only gray items)
-
Hello, can you a share log file of bugged session ? (folder "Logs"). Do you use wow addons (if yes try to disable all).
-
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/ ).
-
Hello, https://wrobot.eu/byme/doc/html/M-wManager.Wow.Helpers.Interact.InteractGameObject_1.htm