-
Posts
12449 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Everything posted by Droidz
-
Hello, Do you use one of these versions (with unmodified game client) : https://wrobot.eu/supported-wow-versions/
-
Hello, yes in quester fightclass is loaded before engine and plugins. You can't change that. If you want cancel totown task when it's running you can robotManager.Events.FiniteStateMachineEvents.OnRunningLoopState += (state, cancelable) => { if (state is ToTown) cancelable.Cancel = true; };
-
GoToTask methods are high-levels. They use the various methods of movement to make it easier to use.
-
Hello, These methods are to use to go to destination with flying mount when you haven't path to follow (bot will try to avoid obstacles).
-
Unstuck routine is a one-way ticket to bantown
Droidz replied to Inf3ctious's topic in General discussion
I think the problem is here, you use unadapted profile. You can try to activate "radar 3d" (tab "map") to try to see where the bot try to go. -
Unstuck routine is a one-way ticket to bantown
Droidz replied to Inf3ctious's topic in General discussion
can you share full log file -
Unstuck routine is a one-way ticket to bantown
Droidz replied to Inf3ctious's topic in General discussion
Hello, it's strange. Are you sure that it's not a plugin or profile problem ? What product do you use ? -
[wotlk][PARTY] Is there a way to pause all instances of Wrobot?
Droidz replied to Wills's topic in Party assistance
Hello, look this plugin -
Hello, 20.0
-
Can't detect Facing Target Errors
Droidz replied to homeslice's topic in WRobot for Wow Vanilla - Help and support
Try this WRobot plugin : Main.cs using System.Collections.Generic; using robotManager.Helpful; using wManager.Wow.Helpers; public class Main : wManager.Plugin.IPlugin { public void Initialize() { EventsLuaWithArgs.OnEventsLuaStringWithArgs += OnEventsLuaWithArgsOnOnEventsLuaStringWithArgs; } private void OnEventsLuaWithArgsOnOnEventsLuaStringWithArgs(string id, List<string> args) { try { if (Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause && id == "UI_ERROR_MESSAGE" && args.Count > 0 && args[0] == "You are facing the wrong way!") { Logging.WriteDebug("Bugged facing, try to resolve it"); Move.Forward(); Move.Backward(); } } catch { } } public void Dispose() { EventsLuaWithArgs.OnEventsLuaStringWithArgs -= OnEventsLuaWithArgsOnOnEventsLuaStringWithArgs; } public void Settings() { } } (if you don't use English game client, you need to change text line 19). -
You can try to host http server in relogger (with relogger plugin) (you can get/return values (or xml) from it. It's sample of http server, but for wrobot plugin : using System.Net; using System.Text; using System.Threading.Tasks; using robotManager.Helpful; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; public class Main : wManager.Plugin.IPlugin { /* Samples: http://localhost:8000/name http://localhost:8000/jump http://localhost:8000/pos http://localhost:8000/runlua?code=print(%22test%20from%20web%22) */ private readonly bool _debugLog = true; private HttpListener _listener; private readonly string _url = "http://localhost:8000/"; private int _requestCount; private bool _runServer; public void Initialize() { // Create a Http server and start listening for incoming connections _listener = new HttpListener(); _listener.Prefixes.Add(_url); _listener.Start(); if (_debugLog) Logging.WriteDebug("Listening for connections on " + _url); // Handle requests var listenTask = HandleIncomingConnections(); listenTask.GetAwaiter().GetResult(); } public void Dispose() { if (_listener != null) { _runServer = false; _listener.Close(); _listener = null; } } public void Settings() { } private async Task HandleIncomingConnections() { _runServer = true; // While a user hasn't visited the `shutdown` url, keep on handling requests while (_runServer) { // Will wait here until we hear from a connection var ctx = await _listener.GetContextAsync(); // Peel out the requests and response objects var req = ctx.Request; var resp = ctx.Response; // Print out some info about the request if (_debugLog) { Logging.WriteDebug("Request #: " + ++_requestCount); Logging.WriteDebug(req.Url.ToString()); Logging.WriteDebug(req.HttpMethod); Logging.WriteDebug(req.UserHostName); Logging.WriteDebug(req.UserAgent); Logging.WriteDebug(req.Url.AbsolutePath); } var content = string.Empty; // Parse if (req.Url.AbsolutePath == "/name") { content = ObjectManager.Me.Name; } else if (req.Url.AbsolutePath == "/jump") { Move.JumpOrAscend(); content = "done"; } else if (req.Url.AbsolutePath == "/pos") { content = ObjectManager.Me.Position.ToStringXml(); } else if (req.Url.AbsolutePath.StartsWith("/runlua")) { //var r = System.Web.HttpUtility.ParseQueryString(req.Url.Query).Get("code"); var r = req.QueryString["code"]; if (!string.IsNullOrWhiteSpace(r)) { Lua.LuaDoString(r); content = "ok"; } else content = "failed"; } // Write the response info byte[] data = Encoding.UTF8.GetBytes(content); resp.ContentType = "text/html"; resp.ContentEncoding = Encoding.UTF8; resp.ContentLength64 = data.LongLength; // Write out to the response stream (asynchronously), then close it await resp.OutputStream.WriteAsync(data, 0, data.Length); resp.Close(); } } }
-
Can't detect Facing Target Errors
Droidz replied to homeslice's topic in WRobot for Wow Vanilla - Help and support
Does move forward/backward resolve the problem ? -
Hello, You seem to have followed all the recommendations. I'm sorry, but I don't understand why you're getting this issue, and I don't recall anyone reporting this issue before. You didn't specify it, but if you haven't, try restarting your computer, reinstalling .Net https://dotnet.microsoft.com/en-us/download/dotnet-framework
-
Can't detect Facing Target Errors
Droidz replied to homeslice's topic in WRobot for Wow Vanilla - Help and support
Hello, Do you get this problem with several fightclasses ? Wow shortcuts to move forward/backward are by default ? Do you have try to activate option "Use Lua to move" in avanced general settings? -
Bot keeps picking horde vendors
Droidz replied to Moonblaster's topic in WRobot for Wow Vanilla - Help and support
Hello, The best is to check if the NPCs that are in the profile you are using are good (if not, remove the bad ones and add some good ones). After that, activate in advanced general settings the option "Use only NPC of your current profile". Optionally, you can remove all npc in you NPC DB (tab "Tools"). -
Hello, easy way is to use C# with code like System.Environment.Exit(-10); This code will close the bot, and the reloger will do action in relation to the returned code.
-
Hello, try to restart your computer if it's not done (this frequently resolve this type of problem).
-
When I run wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(-5470.455, -2890.753, 350.0887, "None")); in dev tools I get only one pathfinder call. If bot don't found path, in some case there can call pathfinder server several times.
-
Hello, It's going to be complicated to solve this problem without having all the code. Do you run your code several times (several threads)? You stop it well (when the bot is stopped).
-
Hi, in relogger I use Mutex class : https://stackoverflow.com/questions/30205648/how-to-have-processes-not-threads-in-c-sharp-synchronize-file-system-access
-
-
Hello, try to increment your min/max latency in advanced general settings
-
Thanks. In your log file, bot uses drink "22:06:30 - [Regen] Use drink Melon Juice". It's case in game?
-
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/ ).