Have problem in function MoveTo [Shadowlands WoW 9.0.1.36322] menu

User Tag List

Results 1 to 1 of 1
  1. #1
    antonburesh's Avatar Member
    Reputation
    8
    Join Date
    Sep 2018
    Posts
    4
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Have problem in function MoveTo [Shadowlands WoW 9.0.1.36322]

    Dear colleagues,
    Thanks so much for the opportunity to study on this forum. I’ve been trying to coordinate movements in the game. But I’ve run into a problem, I cannot figure out why the MoveTo function in my application via memory in Shadowlands WoW 9.0.1.36322 isn’t working. Here’s the code I’ve been using to attempt to get the character to move in game, but nothing happens or the client crashes.

    Code:
    Offsets.Function.MoveTo = 0x1073150
    .......................
    IntPtr positionCodecave = MemoryManager.WowMemory.Memory.AllocateMemory(0xC);
    if (positionCodecave == IntPtr.Zero)
        return;
    try
    {
        MemoryManager.WowMemory.Memory.Write<float>(positionCodecave, position.X);
        MemoryManager.WowMemory.Memory.Write<float>(positionCodecave + 4, position.Y);
        MemoryManager.WowMemory.Memory.Write<float>(positionCodecave + 8, position.Z);
        var asm = new List<byte>();
        asm.AddRange(new byte[] { 0x48, 0x83, 0xEC, 0x18 });//sub    rsp,0x18
        asm.AddRange(new byte[] { 0x48, 0xB9 }); //movabs rcx,0xXXXXXXXXX
        asm.AddRange(BitConverter.GetBytes(ObjectManager.ObjectManager.Me.BaseAddress.ToInt64()));
        asm.AddRange(new byte[] { 0x48, 0xBA }); //movabs rdx,0xXXXXXXXXX
        asm.AddRange(BitConverter.GetBytes(positionCodecave.ToInt64()));
        asm.AddRange(new byte[] { 0x48, 0xB8 }); //movabs rax,0xXXXXXXXXX
        asm.AddRange(BitConverter.GetBytes(IntPtr.Add(MemoryManager.WowMemory.Memory.BaseAddress, (int)Offsets.Function.MoveTo).ToInt64()));
        asm.AddRange(new byte[] { 0xFF, 0xD0 }); //call   rax
        asm.AddRange(new byte[] { 0x48, 0x83, 0xC4, 0x18 }); //add    rsp,0x18
        asm.AddRange(new byte[] { 0xC3 }); // ret
        MemoryManager.WowMemory.InjectAndExecute(asm.ToArray());
    }
    finally
    {
        MemoryManager.WowMemory.Memory.FreeMemory(positionCodecave);
    }
    I am assuming that the problem is a violation of the access rights to the MoveTo call within the WoW client’s memory.
    Thank you in advance for your help!

    Have problem in function MoveTo [Shadowlands WoW 9.0.1.36322]
  2. Thanks Miksu, Corthezz (2 members gave Thanks to antonburesh for this useful post)

Similar Threads

  1. Having problems connecting to WoW?
    By Augury13 in forum World of Warcraft General
    Replies: 0
    Last Post: 04-07-2013, 05:40 PM
  2. [Selling] WOW-US & EU gold: have lots in stock for all the severs + fast delivery
    By Ruti in forum World of Warcraft Buy Sell Trade
    Replies: 1
    Last Post: 09-19-2012, 08:27 PM
  3. [New Model] Display texture problem in wow client
    By ayanamika in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 06-09-2011, 04:53 PM
  4. Having a problem when installing PTR (retail wow EU)
    By Skade in forum Community Chat
    Replies: 3
    Last Post: 05-11-2010, 10:58 AM
All times are GMT -5. The time now is 09:41 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search