Everything posted by Droidz
-
LongMoveGo
GoToTask methods are high-levels. They use the various methods of movement to make it easier to use.
-
LongMoveGo
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
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
can you share full log file
-
Unstuck routine is a one-way ticket to bantown
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?
Hello, look this plugin
-
Pathfinder Z coordinate tolerance
Hello, 20.0
-
Can't detect Facing Target Errors
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).
-
Settings question
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
Does move forward/backward resolve the problem ?
-
Wrobot doesnt open. WOLTK
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
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
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").
-
ExitCode -10 ExitCode -20
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.
-
Login error
Hello, try to restart your computer if it's not done (this frequently resolve this type of problem).
-
OnPathFinderFindPathResult
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.
-
OnPathFinderFindPathResult
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).
-
Settings question
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
-
License Key is for an other Wrobot Program
- Increase gathering-time
Hello, try to increment your min/max latency in advanced general settings- License Key is not working for Legion 7.3.5 (26124)
Hello, your problem should solved- Always drinks when eating (Heal spell)
Thanks. In your log file, bot uses drink "22:06:30 - [Regen] Use drink Melon Juice". It's case in game?- Always drinks when eating (Heal spell)
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/ ).- Upgrade 3 Session to 10 Session Version
Hello, At the end of your subscription, we will send you an invoice with a renewal link to remind you to renew your subscription. We will not automatically renew your subscription.- Upgrade 3 Session to 10 Session Version
Hello, you can found upgrade invoice here: https://wrobot.eu/clients/orders/ Sincerely - Increase gathering-time