Jump to content

Droidz

Administrators
  • Posts

    12595
  • Joined

  • Last visited

Everything posted by Droidz

  1. Dans les options avancées (advanced general settings), essaye d'augmenter l'option "Min Latency". Si cela ne résout pas le problème, essaye d'activer l'option "use lua to move".
  2. You tried to download Wow client from another website? WRobot works only with default game client
  3. Hello, I am sorry WRobot don't support custom game client
  4. Hello, your code seems good, you have try with another key (or in another process) (sometime the specials keys like F1 works badly)?
  5. Bonjour, ça ressemble à un problème de raccourci clavier. Essayer de les réinitialiser et de relancer le bot.
  6. https://wrobot.eu/forums/topic/13831-do-profiles-from-other-expansions-work/
  7. Hello, you can try Legion profiles
  8. you can use this plugin DontMove (1).cs
  9. Hello, you play on what server?
  10. Hello, in general settings you need to disable looting and gathering options
  11. You can't, you need to stop/start again to change fishing position
  12. Hello, use: - "While" step > !wManager.Wow.Bot.Tasks.GoToTask.ToPosition(new Vector3(-10215.35, 36.84612, 34.33632, "None")); - "EndWhile" step
  13. And FiniteStateMachineEvents.OnRunningLoopState is called from:
  14. No, it is manual, it is current usage: If you need event in other methods tell me I will add them
  15. I edited previous code
  16. I am sorry I don't understand what you mean by "going to point"
  17. Hello, you can launch WRobot with the shortcut "WRobot no lock frame", but bot will be less responsive
  18. 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]; } // ... };
  19. Try to increment option "Bobber search time" (in product settings)
  20. 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
  21. Wishing you a happy, healthy and prosperous year ahead. View full article
  22. Droidz

    Happy New Year 2022

    Wishing you a happy, healthy and prosperous year ahead.
  23. 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.
  24. 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.
  25. 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);
×
×
  • Create New...