-
Posts
12519 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Everything posted by Droidz
-
Wishing you a happy, healthy and prosperous year ahead. View full article
-
Wishing you a happy, healthy and prosperous year ahead.
-
Global variable associated with the license key
Droidz replied to Pudge's topic in General discussion
Hi, I wrote few time ago sample HTTP server plugin: Test server http.cs 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(); } } } You can use one port by bot. But in any case what you want to do require programming knowledge. You can also create one server with API type REST to store data (with C# or more easy tools like python or nodejs), and use this API with bot plugin. You have a lot of possibility, but I can't add it to the bot API. -
If your private server can read process arguments it can read WRobot files name and content. I don't know any private server that does this.
-
Hello, You need to put true at the "save" param: http://wrobot.eu/byme/doc/html/M-wManager.Wow.Helpers.NpcDB.AddNpc.htm NpcDB.AddNpc(TheNPC, true, false); For fightmaster: http://wrobot.eu/byme/doc/html/M-wManager.Wow.Helpers.Taxi.TaxiList.AddOrEditForCurrentPlayer_1.htm TaxiList.AddOrEditForCurrentPlayer(TheTaxiNode, true);
-
Hello, Do you have unlock or increment your max FPS in Wow settings? Sometime antivirus, wow addons, or some wrobot plugins/fightclasses can cause problems (try to disable all and reactive them one per one).
-
Druid's mangle in cataclysm.
Droidz replied to Artek's topic in WRobot for Wow Cataclysm - Help and support
look https://www.mmo-champion.com/threads/775852-Cat-Mangle-Macro RunMacroText('/cast Mangle(Cat Form)') Or, you can try to put spell in actionbar and use code like RunMacroText('/click ActionBarButton1') -
how to make WRobot use macro while fishing ?
Droidz replied to darkside's topic in Tutorials - WRobot
Hello, what macro do you want use? -
using robotManager.Helpful; using wManager.Wow.Helpers; using System.Diagnostics; public class Main : wManager.Plugin.IPlugin { public void Initialize() { var timer = Stopwatch.StartNew(); robotManager.Events.LoggingEvents.OnAddLog += delegate (Logging.Log log) { if (timer.ElapsedMilliseconds > 3000 && log.Text.Contains("Tundra Mammoth)")) { Logging.WriteDebug("Press MultiBarBottomRightButton1"); Lua.LuaDoString("RunMacroText(\"/click MultiBarBottomRightButton1\")"); timer.Restart(); } }; } public void Dispose() { } public void Settings() { } }
-
yes, use relogger shortcut with the argument: -MinimiseOnStart
-
Hello, if you can try again your problem should be resolved
-
using robotManager.Helpful; using wManager.Wow.Helpers; using System.Diagnostics; public class Main : wManager.Plugin.IPlugin { public void Initialize() { var timer = Stopwatch.StartNew(); robotManager.Events.LoggingEvents.OnAddLog += delegate (Logging.Log log) { if (timer.ElapsedMilliseconds > 3000 && log.Text.Contains("(Traveler's Tundra Mammoth)")) { Logging.WriteDebug("Press MultiBarBottomRightButton1"); Lua.LuaDoString("RunMacroText(\"/click MultiBarBottomRightButton1\")"); timer.Restart(); } }; } public void Dispose() { } public void Settings() { } } You can try this code please
-
Try to use this bot plugin : Main.cs using robotManager.Helpful; using wManager.Wow.Helpers; public class Main : wManager.Plugin.IPlugin { public void Initialize() { robotManager.Events.LoggingEvents.OnAddLog += delegate(Logging.Log log) { if (log.Text.Contains("Cast Тундровый мамонт путешественника (Traveler's Tundra Mammoth)")) { Lua.LuaDoString("RunMacroText(\"/cast Тундровый мамонт путешественника\")"); } }; } public void Dispose() { } public void Settings() { } }
-
-
Quelque chose comme ça : test.xml
-
Hello, I am sorry I haven't found easy way to do that. You can try to hook the lua method that write system message
-
wow is closing whenver i choose char to which wrobot should be linked.
Droidz replied to Artek's topic in General assistance
Check in folder "Logs" if WRobot have geneted log file of no -
Hello, check also if you have installed required software (mainly SlimDX, open file 'Readme.txt' in WRobot folder)
-
Hello, click on button "_" (top/right) to put relogger window in taskbar.
-
Hello, you can buy subscription at this url https://wrobot.eu/store/category/2-wrobot/
-
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/ ).
-
wow is closing whenver i choose char to which wrobot should be linked.
Droidz replied to Artek's topic in General assistance
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/ ). -
Pouvez vous partager le fichier xml de la fightclass uniquement avec ce code
-
Utilise du code C# var sortPrincipal = new Spell("SpellNameInEnglish"); new Spell("SpellNameInEnglish").Launch(true, false); Thread.Sleep(1000 + Usefuls.Latency); while (Conditions.InGameAndConnected && ObjectManager.Me.IsCast) { if (sortPrincipal.IsSpellUsable) { Lua.LuaDoString("SpellStopCasting();"); sortPrincipal.Launch(true, true, true); } } (pas testé) Tu dois configurer manuellement les options du sort (distance, ...)