Jump to content

Pudge

WRobot user
  • Posts

    347
  • Joined

  • Last visited

Posts posted by Pudge

  1. On 3/5/2024 at 10:29 PM, Nax said:

    why do you wanna see out going packets?

    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.

    15 hours ago, Nax said:

    ei wrote my own packet sniffer for wow in c++ (its not public) if you want to message me, i can let you use a copy of it. 

    Can it be used as a wrobot plugin?

     

  2. [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?

  3. 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();
                }

     

  4. 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.

  5.  

    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?

  6. On 3/26/2023 at 8:52 AM, Nax said:

    @Pudgeto be honest, that code might not work with patch 7.3.5, the code above is for wotlk. May need to use Ida and see what GetText asm is as they might of changed it.

    Hey, i understand it, but i cannot check new offsets because this snippet doesnot work on old wrobot legion

  7. 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

  8. 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?
     

  9. [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.
     

  10. 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;

     

  11. 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?

  12. 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

    image.thumb.png.b0f9a8b5c84b43c86ac436f924d882b9.png

  13. 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?

  14. [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()

×
×
  • Create New...