-
Active Member
WoW 1.12.1 Autorun by Memory Writing?
Is it possible to toggle auto run through writing memory in the WoW client for 1.12.1?
I know how to write to memory and use ClickToMove, but it is very buggy in vanilla, and in some zones does not seem to work at all really. Also, when it bugs out and doesn't work at all, I get disconnected from the server for spamming ClickToMove.
Due to this, I was wanting to just calculate the angle to turn my character, overwrite my angle and turn on autorun. The only problem is that the only way i've managed to make my character auto run is by actually simulating key presses, and I was wanting to be able to do it through memory writing so that my program can perform while WoW is minimized.
I'm thinking I may have to call the function that toggles autorun. Is it possible to call this function through memory writing or would I have to do something more complex like injection?
Thanks,
Pinny
-
Yes,
API ToggleAutoRun | Vanilla WoW Wiki | Fandom powered by Wikia
Sorta, you can make a simple LUA unlocker that just runs that script
Code:
/run ToggleAutoRun();
-
Active Member
Originally Posted by
SniffingPickles
Well this puts me one step closer to the right direction. Thanks a lot for your input.
Now i'll just have to look into how to make a LUA Unlocker.
-
Originally Posted by
pinny
Well this puts me one step closer to the right direction. Thanks a lot for your input.
Now i'll just have to look into how to make a LUA Unlocker.
Or, you could just send keystrokes + macros, and keybind auto-run to something.
-
Active Member
Originally Posted by
SniffingPickles
Or, you could just send keystrokes + macros, and keybind auto-run to something.
The only problem is I want to be able to use this while minimized and from what I have seen there is no way to send keystrokes for movement while minimized. I know I can send messages using PostMessage? I think it was, but as far as actually sending movement keys, it didn't seem to work for that. Any suggestions?
-
Originally Posted by
pinny
The only problem is I want to be able to use this while minimized and from what I have seen there is no way to send keystrokes for movement while minimized. I know I can send messages using PostMessage? I think it was, but as far as actually sending movement keys, it didn't seem to work for that. Any suggestions?
Keystrokes while minimized are fine! Just need to inject them, and not use AHK
-
Post Thanks / Like - 1 Thanks
pinny (1 members gave Thanks to ev0 for this useful post)
-
Active Member
Originally Posted by
SniffingPickles
Keystrokes while minimized are fine! Just need to inject them, and not use AHK
Well sorry, I could have sworn in the past I had issues with this. However, now it looks like it's working fine. Maybe i'm just going crazy? :confused:
Appreciate your help.
-
Banned
One way to unlock lua is to write [0xb8, 0x1, 0x0, 0x0, 0x0, 0xc3, 0x90] at 0x494a50.
int __fastcall luaDoString(char const*, char const*) is located at 0x704CD0
I unlock it in an EndScene hook. Every frame it patches lua, runs scripts, then re-patches it so that Warden doesn't see that it was ever unlocked.
-
Post Thanks / Like - 1 Thanks
tutrakan (1 members gave Thanks to luckruns0ut for this useful post)
-
Contributor
Excuse my ignorance, but is that means that warden never do scans while the dx device proceeds the endscene?
-
Originally Posted by
tutrakan
Excuse my ignorance, but is that means that warden never do scans while the dx device proceeds the endscene?
I think Warden runs in Mainthread (not 100% sure tho).
Last edited by Corthezz; 12-23-2016 at 04:57 AM.
Check my blog: https://zzuks.blogspot.com
-
Just patch click to move,
[WoW] 1.12.1.5875 Info Dump Thread
And the server will not kick you for calling click to move, the server has no idea how you are moving. But if you do spam it too fast it will not act normal. Put a 100ms delay and your good, just don't call it every frame.
As for warden, I don't know if all warden checks are done in the main thread, but most of what I have seen are. Long as you are in the main thread you should be fine to patch and unpatch code before returning. But why unlock lua when you can call all your scripts from your endscene hook?
Last edited by DarkLinux; 12-22-2016 at 07:26 PM.
-
Banned
Well I don't really know shit about Warden so I'll make that clear. However, I was getting kicked from whatever server I was playing on for leaving it unlocked which I'm guessing was Warden triggering. When I started re-locking it after I was done, the kicks stopped. I think it was either Nostalrius or Kronos.
As far as I'm aware Warden only runs on the main thread, which is the thread EndScene is called from, so if you lock it again after you're done then Warden won't see anything. If I'm wrong then someone will surely point it out...
-
Originally Posted by
Corthezz
I think Warden runs in Endscene (not 100% sure tho).
No it doesn't.
-
Post Thanks / Like - 1 Thanks
Corthezz (1 members gave Thanks to namreeb for this useful post)
-
But why patch? You can call DoString and bypass the lua protection.
@namreeb
I think he was talking about the thread, but I could be wrong.
-
Post Thanks / Like - 1 Thanks
Corthezz (1 members gave Thanks to DarkLinux for this useful post)
-
Active Member
Originally Posted by
DarkLinux
Just patch click to move,
[WoW] 1.12.1.5875 Info Dump Thread
And the server will not kick you for calling click to move, the server has no idea how you are moving. But if you do spam it too fast it will not act normal. Put a 100ms delay and your good, just don't call it every frame.
As for warden, I don't know if all warden checks are done in the main thread, but most of what I have seen are. Long as you are in the main thread you should be fine to patch and unpatch code before returning. But why unlock lua when you can call all your scripts from your endscene hook?
Wow I didn't realize you could just overwrite that address and fix it that way. Thanks DarkLinux!