Everything posted by Droidz
-
Regeneration state events
-
Regeneration state events
I edited previous code
-
fishing on wotlk private server
I am sorry I don't understand what you mean by "going to point"
-
drop fps in the air
Hello, you can launch WRobot with the shortcut "WRobot no lock frame", but bot will be less responsive
-
Regeneration state events
Hello, Start > robotManager.Events.FiniteStateMachineEvents.OnRunState Loop > robotManager.Events.FiniteStateMachineEvents.OnRunningLoopState (you need to wait next update) End > robotManager.Events.FiniteStateMachineEvents.OnAfterRunState robotManager.Events.FiniteStateMachineEvents.OnRunningLoopState += (state, cancel) => { if (state.DisplayName == "Regeneration") { // ... } }; // OR robotManager.Events.FiniteStateMachineEvents.OnRunningLoopState += (state, cancel) => { if (state is wManager.Wow.Bot.States.Regeneration) { // ... } }; // I also add OnCustomEvent, you can create your own event like that robotManager.Events.Events.CustomEventCancelable("Event Name", new object[] { "arg1", "arg2" }); robotManager.Events.Events.OnCustomEvent += (name, args, cancelable) => { if (name == "ItemsManager.UseItem") { var itemName = (string)args[0]; } else if (name == "SpellManager.CastSpellByNameLUA") { var spellName = (string)args[0]; } // ... };
-
fishing on wotlk private server
Try to increment option "Bobber search time" (in product settings)
-
fishing on wotlk private server
Hello, try to disable your Wow addons, fightclass and Wrobot plugins. If problem is not resovled try to increment your max latency, if problem still not resolved try to change option in product settings
-
Happy New Year 2022
Wishing you a happy, healthy and prosperous year ahead. View full article
-
Happy New Year 2022
Wishing you a happy, healthy and prosperous year ahead.
-
Global variable associated with the license key
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.
-
Minimize relogger
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.
-
Npc and flight master data base
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);
-
Lock Frame causing low fps
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.
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 ?
Hello, what macro do you want use?
-
i know mount but cant 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() { } }
-
Minimize relogger
yes, use relogger shortcut with the argument: -MinimiseOnStart
-
Cant login to legion
Hello, if you can try again your problem should be resolved
-
i know mount but cant 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("(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
-
i know mount but cant use
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() { } }
-
it flies up until you put it on the ground
-
Cast un sort même quand un autre est en cour
Quelque chose comme ça : test.xml
-
Get system message text
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.
Check in folder "Logs" if WRobot have geneted log file of no
-
I wanna play on a 7.3.5(26124) Server but when i use my Key on the "Old" Client for that Game Version it means that my key is not useable for this kind of Version....
Hello, if you want to solve this problem quickly it is better to send me a private message (I need to change your subscription type manually).