 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Keavon
Joined: 04 Oct 2009 Posts: 14
|
Posted: Sat Oct 31, 2009 7:04 pm Post subject: Macros with games that detect macros (GameGard) |
|
|
Hi every one!
I need help with making a macro work with GameGard protection. It basicly makes macros not do anything at all. If i do a simple:
| Code: | Loop{
Sleep, 2000
Click
}
Pause::Pause
|
It works fine on my desktop but not in the game. It simply doesnt do anything (yes it is window mode, not full screen). Lets say you have your desktop selected, it will click on that, but if you hover your mouse over even the window's border, it wont click. Also, if you have the game's window selected, and hover your mouse over your desktop (like on an icon) it wont click.
The game is called FlyFF if anyone is wondering.
I was thinking maby if i could like make a macro triggering a USB cable, it would think the clicks and valed
Thanks everyone!
I'd love any kind of input possible!
~Keavon  |
|
| Back to top |
|
 |
Scratch
Joined: 22 Jan 2009 Posts: 59
|
Posted: Sat Oct 31, 2009 10:13 pm Post subject: |
|
|
run game in a virtual machine window, deliver clicks to that window from script running on host, since gameguard can not see past the hypervisor, any key/mouseclicks are observed as local/usergenerated and the script itself does not show up in the process window of the virtual machine client.
However many virtual machine solutions are too slow for games/ software emulated inside another os/ no video hardware accelleration.
Best bet would probably be to get free Esxi server, bare metal install, thus you can use native PCI-E Nvidea/ATI videocarddrivers in the virtual client machines instead of legacy VGA with soundblaster 16 emulation.
Xen server would be a close second. |
|
| Back to top |
|
 |
Keavon
Joined: 04 Oct 2009 Posts: 14
|
Posted: Sun Nov 01, 2009 3:29 pm Post subject: Thanks... |
|
|
Thank!
but what do you mean by a virtual client or virtual machine window?
I dont exactly understand how you would make one.
Do you think you could give me step-by-step instructions (or a link to them) on how to make one (I like the idea with the videocard, and yes, I do want as little lag/ping as possible.
P.S. This wont mean I will be making a Private Server, right? It sounded like it when you said "Best bet would probably be to get free Esxi server".
P.S.S I have Windows XP Pro. |
|
| Back to top |
|
 |
Scratch
Joined: 22 Jan 2009 Posts: 59
|
Posted: Sun Nov 01, 2009 4:30 pm Post subject: |
|
|
It allows several operating systems to run on same machine:
heres a demo of Virtual Box (also free software), running XP as VM in linux
http://www.youtube.com/watch?v=01OqyzEyV9M&feature=related
here is a more in depth explanation of virtualization, geared towards enterprise
datacenter management: http://download3.vmware.com/demos/esxi/VMware_ESXi.html
Yes , it has an annoying salespitch, but it does explain the concept of virtualization very well, you can get the esxi package free (not their VMInfrastructure manager, so its not like i am peddling vmware products)
There are many packages out there , often free as well:
- Virtual PC2007, microsoft, free
- Virtual Box, Sun, free
You should give them a try. Run your favorite .ISO files in a protected sandbox insiode your machine and test your scripts ...
AHK Script running on the host OS looks something like this:
| Code: |
Winactivate My WindowsXP VM
send ^{esc} ; opens the start button in the VM window
send R{enter}C:\mygames\whoisgameguard\game.exe{enter} ; run your game from the virtual harddisk
...your in-gameclicks..etc
|
However Esxi does not have to run in another OS so it won't be slowed down by it and the hypervisor only needs 32 mb for itself.
Last edited by Scratch on Sun Nov 01, 2009 5:07 pm; edited 4 times in total |
|
| Back to top |
|
 |
sinkfaze
Joined: 18 Mar 2008 Posts: 2431
|
Posted: Sun Nov 01, 2009 4:56 pm Post subject: |
|
|
I don't "game" but my assumption from descriptions is that GameGuard doesn't actually detect virtual keypresses themselves but rather measures the speed of the keypresses to infer if it's a virtual keypress. Since you're running the script with no delays, GG will easily detect and reject those keystrokes. You might try slowing the keypresses down with SetKeyDelay and using the Random command to randomize delay lengths (untested):
| Code: | SendMode Play
Loop {
Random, kDel, 50, 80 ; selects a random key delay between 50ms-80ms
Random, pDur, 50, 80 ; selects a random press duration between 50ms-80ms
SetKeyDelay, %kDel%, %pDur%, Play
Sleep, 2000
Send {LBUTTON DOWN}{LBUTTON UP}
}
Pause::Pause |
_________________ Try Quick Search for Autohotkey or see the tutorial for newbies. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|