-
Posts
12519 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Everything posted by Droidz
-
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/ ).
-
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.
-
Hello, you can found upgrade invoice here: https://wrobot.eu/clients/orders/ Sincerely
-
Hello, With your current setting, bot will drink when your character has less than 5% of mana and stop when he has more than 95%. Use value like 55% > 95%
-
Open container routine breaks looting
Droidz replied to Inf3ctious's topic in WRobot for Wow Vanilla - Help and support
Hello, you are sure that it isn't game server bug ? -
Hello, try to reboot your computer. If this doesn't solve your problem, share your log file please.
-
Hello, Your profile is probably bad or not adapted to your game version. If it's not a profile problem, it's maybe a bot settings problem. Same for your fightclass, if it's no fightclass issue, try to disable all wow addons. What profile fightclass do you use ? Can you share your log file please ?
-
Your figthclass have a lot of spells (steps) (36). You use too many "Lua condition". To check level, you can use csharp condiiton like "wManager.Wow.ObjectManager.ObjectManager.Me.Level - wManager.Wow.ObjectManager.ObjectManager.Target.Level <= 8" That is too much if you want good performance. Try to put lower fps in fightclass settings (like 5)
-
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/ ). WRobot works only with original (unmodified) game client. You can try to download again game client (not the client provided by your server, some modify him).
-
Change connected Game .exe
Droidz replied to Andromat's topic in WRobot for Wow Vanilla - Help and support
Hello, WRobot works only with default game client. If your server force to use custom client, you can't fix that.