Jump to content

Pudge

WRobot user
  • Posts

    347
  • Joined

  • Last visited

Everything posted by Pudge

  1. Hi, I just want to check only the one packet (0x1CA), what allows server administration see the name and the username of your pc. I have a bypass, but i am not really sure that it works fine. Can it be used as a wrobot plugin?
  2. I would like to read outgoing wow packets, like this program https://github.com/tripleslash/wowscout Is it possible using wrobot?
  3. [E] 14:17:07 - PostRequest: http://pathfinderwotlk.wrobot.eu/ -> System.Net.Http.HttpRequestException: Произошла ошибка при отправке запроса. ---> System.Net.WebException: Базовое соединение закрыто: Непредвиденная ошибка при приеме. ---> System.IO.IOException: Не удается прочитать данные из транспортного соединения: Удаленный хост принудительно разорвал существующее подключение. ---> System.Net.Sockets.SocketException: Удаленный хост принудительно разорвал существующее подключение в System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult) в System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) --- Конец трассировки внутреннего стека исключений --- в System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) в System.Net.PooledStream.EndRead(IAsyncResult asyncResult) в System.Net.Connection.ReadCallback(IAsyncResult asyncResult) --- Конец трассировки внутреннего стека исключений --- в System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) в System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) --- Конец трассировки внутреннего стека исключений --- в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) в robotManager.Helpful.Others. .MoveNext() Hello What can cause this error?
  4. Pudge

    Issue

    Hello everybody, I'm trying to connect to exist wow window and manage it but i ran into a problem. I read process memory by id, and try to read data from memory, but when i try to use Lua.DoString(cmd); it doesn't work, what did i miss? var process = System.Diagnostics.Process.GetProcessesByName("Wow").FirstOrDefault(p => p.Id != wManager.Wow.Memory.WowMemory.Memory.ProcessId); if (process != null) { Logging.Write("Open process id = " + process.Id); wManager.Wow.Memory.WowMemory.Memory.Open(process.Id); Logging.Write("current ProcessId = " + wManager.Wow.Memory.WowMemory.Memory.ProcessId); var realmname = wManager.Wow.Memory.WowMemory.Memory.ReadStringUTF8(0x00C79B9E); //work Logging.Write("realmname = " + realmname); Lua.LuaDoString("print('123'"); //it does not work wManager.Wow.Memory.WowMemory.Memory.Close(); }
  5. Hello, I want to create a highly accurate check for determining if the WoW window is unresponsive, and I plan to use this check as frequently as every 10-50 milliseconds. Lua checks are not suitable for this purpose as they require time and high FPS. Windows APIs related to processes, such as PerformanceCounter and System.Diagnostics.Process, are also unsuitable as they take a long time to update and retrieve values. Therefore, I believe it's necessary to retrieve this value directly from the WoW memory using wManager.Wow.Memory. I have a rough idea of how to do this, but the problem lies with memory addresses. Unfortunately, I'm not skilled in reverse engineering, so I desperately need assistance. Is there a memory address in WoW that returns this value through DirectX? Or perhaps there's a memory address that returns the value of the GetFramerate() function? How can I obtain these addresses? Alternatively, maybe this information is available in the wrobot API, although I've searched extensively and found nothing.
  6. Hello everyone, does anyone know a way to prevent a bot from flying into an area that is blacklisted when the bot uses LongMove to fly? For example, when the bot is in the Borean Tundra and needs to get to Icecrown, its path will run through the Lake of Ice Chains. It turns out that when there is a fight there, the character is thrown out of this zone. I know that you can write a route so that the bot moves along it, bypassing this zone, but is there a way to add this zone to some kind of black list so that the route is built around it?
  7. Hey, i understand it, but i cannot check new offsets because this snippet doesnot work on old wrobot legion
  8. @Droidz thank you for this snippet, it works and will be very useful for me. But old wrobot versions, like "WRobot_7.3.5_26365_final" does not have such class like "AllocData". Which method from the old libraries can replace the missing one?
  9. public static string GetText(string commandline) { try { string s = commandline; if (s.Replace(" ", "").Length <= 0) return ""; uint address = wManager.Wow.Memory.WowMemory.Memory.AllocateMemory(Encoding.UTF8.GetBytes(s).Length + 1); if (address <= 0U) return ""; //uint ClntObjMgrGetActivePlayerObj = 0x4038F0; //uint FrameScript__GetLocalizedText = 0x7225E0; uint FrameScript_GetText = 0x0819d40; wManager.Wow.Memory.WowMemory.Memory.WriteBytes(address, Encoding.UTF8.GetBytes(s)); string[] asm = new string[] { "push 0", "push -1", "mov edx, " + address, "push edx", "call " + (FrameScript_GetText + wManager.Wow.Memory.WowMemory.Memory.MainModuleAddress) , "add esp, 0Ch", "retn" }; string _Text = Encoding.UTF8.GetString(wManager.Wow.Memory.WowMemory.InjectAndExecute(asm,true)); wManager.Wow.Memory.WowMemory.Memory.FreeMemory(address); return _Text; } catch (Exception ex) { Logging.WriteError("[GetText]: error " + ex); } return ""; } This code just kills the client wow, I don't understand what's wrong with it, it's very similar to the code from the forum link you posted on
  10. But how i can return value to variable?
  11. Hello how can i get offsets from wow memory? I need a methods which will return NetClient connection state, num characters in charselect menu, get characters names from characterselect menu or charractercreate functions for different wow versions, but i can't get returned value from Lua.DoStiring, while bot is not in game. The only way is reading data from wow memory? If is true, how i can get this offsets?
  12. Hello, it would be great if you added the ForceDisableResurrect option to WmanagerSettings. Despite the fact that it works with RemoveStateByName("Resurrect") anyway, after the bot was closed and StaticPopup was on the screen at that moment (and the character is dead), after relaunching the bot still does Release Spirit without having time to load the code from the plugin or profile
  13. [Info] Operating System Details: Windows 7 Ultimate [E] 17:51:34 - Cannot compile plugin 'Q:\WRobot\\Plugins\Relogger\plugin.cs': Compilator Error : q:\WRobot\Data\temp\4hnm1jmy.0.cs(792,43) : error CS1056: Unexpected symbol "$" ... Hello, i just tried to use symbol "$" in relogger plugin before log output string and this exeption occurs. var smth = "123"; Logging.Write($"smth = {smth}"); Is it problem of wrobot compiller? Because if i use compiled by VS dll file - error have not occurs.
  14. Hello, can u add feature, or it already exists? Is it possible to make the bot window not close when the name of the character changes, some variable in wManager.settings that is responsible for this, maybe it has already been added? I could be very useful in some cases. For example if i need to change character on same account or enter no other and do smth, bot window always closes. wManager.wManagerSetting.CurrentSetting.DontCloseBotOnCharacterChange = true;
  15. 27 ноя 2022 00H02 - RryXw.log.html
  16. Hello, i constantly see the error message in relogger as [E] 06:15:15 - Cannot compile plugin 'P:\WRobot\\Plugins\Relogger\pluginname.cs on start program. But this plugin works fine and in IDE i dont see any errors. What could be wrong? Where i can see the reason of this?
  17. Hey, is it possible to turn off automatic backups? They are created by themselves (by using class robotManager.Helpful.Settings), tons of these files are created every day and each can be up to 10 megabytes in size. Thus, the recording resource of my cheap Chinese SSD for 40 UAH (price of a few beers) is quickly destroyed... @Droidz
  18. I still couldn't find a solution. I use settings class to communicate relogger and wrobot windows
  19. Mutex is only used in relogger? The fact is that this error happens both in the relogger and in the wrobot
  20. I cant understand why file not owerwriting. Whot i need to change to unlock file. File with settings using at same time by 10+ wrobot windows, but error does not always appear. is there an option to 100% unlock the file before saving?
  21. Hi all, i using class robotManager methods.Helpful.Settings for for communication wrobot windows on same PC. Very often in log i see the error like "Serialize(String path, object @object)#3: Cannot write file." when calling a method robotManager methods.Helpful.Settings .Save(). How can I avoid this?
  22. [E] 19:40:37 - GetRequest: http://pathfinderwotlk4.wrobot.eu/?IsOnline=1 -> System.Threading.Tasks.TaskCanceledException: Отменена задача. в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) в robotManager.Helpful.Others.�.MoveNext() [E] 19:40:38 - PathFinder server seem down, try to change server. [E] 19:40:47 - GetRequest: http://pathfinderwotlk.wrobot.eu/?IsOnline=1 -> System.Threading.Tasks.TaskCanceledException: Отменена задача. в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) в robotManager.Helpful.Others.�.MoveNext() [E] 19:40:52 - CAS: System.Threading.Tasks.TaskCanceledException: Отменена задача. в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) в (Object , Object[] ) в � .�(MethodBase �, Object �, Object[] �, Boolean �) в � .�(MethodBase �, Boolean �) в � .� (�  �, �  �) в � .�() в � .� (Boolean �) [E] 19:40:52 - GetRequest: http://pathfinderwotlk3.wrobot.eu/?IsOnline=1 -> System.Threading.Tasks.TaskCanceledException: Отменена задача. в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) в robotManager.Helpful.Others.�.MoveNext()
  23. Hello, could you add a similar function to the relogger to randomize the profile launch schedule, just if you do it through the plugin, the launch setting changes forever, but I would like the default values to be saved. for (int i = 0; i < Relogger.Classes.ReloggerGeneralSettings.CurrentSetting.Profiles.Count; i++) { var p = Relogger.Classes.ReloggerGeneralSettings.CurrentSetting.Profiles[i]; if (p.Settings.ScheduleFrom.TimeOfDay != new TimeSpan(0, 0, 0)) { var rndseconds = Others.Random(30, 120); var rnd = Others.Random(1, 2); if (rnd == 1) { p.Settings.ScheduleFrom.AddSeconds(rndseconds); Logging.Write(rndseconds + " was added to " + p.Name + " shedulefrom"); } else { p.Settings.ScheduleFrom.AddSeconds(-rndseconds); Logging.Write(rndseconds + " was taken away from " + p.Name + " shedulefrom"); } } if (p.Settings.ScheduleTo.TimeOfDay != new TimeSpan(23, 59, 59)) { var rndseconds = Others.Random(30, 120); var rnd = Others.Random(1, 2); if (rnd == 1) { p.Settings.ScheduleTo.AddSeconds(rndseconds); Logging.Write(rndseconds + " was added to " + p.Name + " ScheduleTo"); } else { p.Settings.ScheduleTo.AddSeconds(-rndseconds); Logging.Write(rndseconds + " was taken away from " + p.Name + " ScheduleTo"); } } } Or maybe you know how you can change these parameters without saving in the interface?
×
×
  • Create New...