-
Member
CTM or Movement Offsets WoW Classic
I see ClickToMoveTrigger = 0x1CF3A98 in WoW offset dumper for classic.
How do you use this? I looked on Click To Move - wowdev but it seems outdated. When I load up wowclassic.exe + 0x1CF3A98 there is no value in CE, I tried loading it in reclass but no values are changing at all on CTM clicks or movement. Adding typical offsets doesn't seem to do anything either.
Trying to send movement via writing memory.
Thanks
-
Contributor
The ClickToMoveTrigger is something I found somewhere and included in the scan. It is NOT the CTM structure so you have to find a pattern for that yourself or someone else can maybe find it.
-
Member
Any idea of how to do it without click to move? Just looking for any sort of movement methods/ offsets I can use directly besides doing it via PostMessage()
-
Contributor
Originally Posted by
Cooldude
Any idea of how to do it without click to move? Just looking for any sort of movement methods/ offsets I can use directly besides doing it via PostMessage()
To do it WASD- or mouse-style you have to decompile the movement functions as you need to do a lot of stuff including sending message to the server to be able to do that. As this is more advanced use I wont post any example code. There are some threads available to get you a overview on what is required, just search.
-
Member
Originally Posted by
ejt
To do it WASD- or mouse-style you have to decompile the movement functions as you need to do a lot of stuff including sending message to the server to be able to do that. As this is more advanced use I wont post any example code. There are some threads available to get you a overview on what is required, just search.
I have searched every thread on here and Google, unfortunately I have not been able to reverse the address/offsets needed yet. I have found nothing in reclass/IDA yet but am still looking.
The problem is that I send my new rotation needed to the server by writing to the memory address and it works fine, but when I try to move forward it disconnects me, because I have not sent a "movement" packet in order to update that rotation serverside.
So I need to figure out how to send movement packet so that I can write my rotation to memory instead of using PostMessage() left right.
-
If you call CTM you will want to pass "face" type iirc.
Code:
enum ClickToMoveType
{
attack = 0x10,
attackGuid = 12,
attackPosition = 11,
constantFace = 13,
face = 3,
faceOther = 9,
faceTarget = 2,
idle = 0x13,
loot = 7,
move = 5,
none = 0,
npcInteract = 6,
objInteract = 8,
skin = 10,
follow = 4
}
Use unit you want to face for the guid. Find the movment data structure and the facing offset and write to it the angle you want and call the function that sends the movment heartbeat packet is another option. hint: as of this post, that function is found at
Code:
0x140D83DC0 Wow.exe:$D83DC0
-
Post Thanks / Like - 1 Thanks
Cooldude (1 members gave Thanks to lolp1 for this useful post)
-
Member
Thanks! Guessing this address is for retail since you wrote wow.exe + addy and not wowclassic.exe + addy? I'm on classic, any idea what it would be there? Greatly appreciated.
-
Originally Posted by
Cooldude
Thanks! Guessing this address is for retail since you wrote wow.exe + addy and not wowclassic.exe + addy? I'm on classic, any idea what it would be there? Greatly appreciated.
Classic as of the time of this post:
Code:
0x1408C0750 WowClassic.exe:$8C0750
-
Post Thanks / Like - 1 Thanks
Cooldude (1 members gave Thanks to lolp1 for this useful post)
-
Member
Originally Posted by
lolp1
Classic as of the time of this post:
Code:
0x1408C0750 WowClassic.exe:$8C0750
Do you have the latest classic CTM offset? Recently I am trying to research. But I only have 2 recent versions of memory dump. thank you very much.