Jump to content

Pudge

WRobot user
  • Posts

    348
  • Joined

  • Last visited

Recent Profile Visitors

2779 profile views

Pudge's Achievements

  1. Hello, I'm facing a problem where I can't use the same compiled plugin for different versions of wrobot, because the binaries from the references are not suitable. The bot just crashes, and I can't even figure out which method is causing this. I just wouldn’t want to make several projects that would have completely identical plugin code, except for binaries. The fact is that some compiled plugins with references to WOTLK binaries work without problems for TBC. Is there a way to determine which of the methods is not suitable for a particular version? I would like to get at least an exception thrown into the log, instead of crashing the program.
  2. 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?
  3. I would like to read outgoing wow packets, like this program https://github.com/tripleslash/wowscout Is it possible using wrobot?
  4. [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?
  5. 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(); }
  6. 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.
  7. 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?
  8. Hey, i understand it, but i cannot check new offsets because this snippet doesnot work on old wrobot legion
  9. @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?
  10. 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
  11. But how i can return value to variable?
  12. 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?
  13. 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
  14. [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.
×
×
  • Create New...