zzxxzzxx Posted October 22, 2007 Share Posted October 22, 2007 (edited) My script dun seem to work. expandcollapse popupTrayTip("[ Defense ]", "F4 = Running" & @CRLF & "F10 = Start/Stop Macro" & @CRLF & "F11 = Exit Script", 3 , 16) Global $Toggle $s = 2 ; Skill Number On Keyboard $skill = 4000 ; Skill Casting Interval (Milliseconds, Eg. 2000 = 2 seconds) $wait = 12500 ; Meditation Casting Delay HotKeySet ("{F4}", "Dash" ) HotKeySet ("{F10}", "Skill" ) HotKeySet ("{F11}", "Close" ) Opt ("MouseClickDownDelay", 1) Opt ("MouseClickDelay", 1 ) Opt ("SendKeyDownDelay", 1 ) Opt ("SendKeyDelay", 1 ) Func Skill () ; Press Number, Then P $Toggle = Not $Toggle While ($Toggle) ControlSend ("9Dragons", "", "", "u" ) Sleep (200) ControlSend ("9Dragons", "", "", "{" & $s & "}") Sleep ($skill) ControlSend ("9Dragons", "", "", "{" & $s & "}") Sleep ($skill) ControlSend ("9Dragons", "", "", "{" & $s & "}") Sleep ($skill) ControlSend ("9Dragons", "", "", "{" & $s & "}") Sleep ($skill) ControlSend ("9Dragons", "", "", "{" & $s & "}") Sleep ($skill) ControlSend ("9Dragons", "", "", "{" & $s & "}") Sleep ($skill) ControlSend ("9Dragons", "", "", "{" & $s & "}") Sleep ($skill) ControlSend ("9Dragons", "", "", "{" & $s & "}") Sleep ($skill) ControlSend ("9Dragons", "", "", "{" & $s & "}") Sleep ($skill) ControlSend ("9Dragons", "", "", "{" & $s & "}") Sleep (3000) Send ("P", 1) Sleep (300) Send ("P", 1) Sleep (300) Send ("P", 1) Sleep ($wait) WEnd EndFunc Func Dash () ; Press Number, Then Hold Left ALT + LEFT Arrow, Then P Send ("{LEFT UP}") Send ("{LALT UP}") $Toggle = Not $Toggle While ($Toggle) Send ("6", 1) Sleep (200) Send ("6", 1) Sleep (200) Send ("{LEFT DOWN}") Send ("{LALT DOWN}") Sleep (60000) Send ("{LEFT UP}") Send ("{LALT UP}") Send ("P", 1) Sleep (500) Send ("P", 1) Sleep (500) Send ("P", 1) Sleep (15000) WEnd EndFunc Func Close () Send ("{" & $s & " UP}") Send ("{LEFT UP}") Send ("{LALT UP}") Exit EndFunc While (1) ; Continuous Loop Of Program. Sleep (1) WEnd Edited October 22, 2007 by zzxxzzxx Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted October 22, 2007 Share Posted October 22, 2007 Does this game have gameguard or any other hack protector? Link to comment Share on other sites More sharing options...
zzxxzzxx Posted October 22, 2007 Author Share Posted October 22, 2007 yes, it does have gameguard, but there's a workaround for it. i'm able to use Send() in focused window. but what i need is to use ControlSend() in minimized mode. Link to comment Share on other sites More sharing options...
zzxxzzxx Posted October 22, 2007 Author Share Posted October 22, 2007 i've read thru quite afew threads on the same topic, but did not find much answers.but when i used ControlSetText ("9Dragons", "", "", "u")it changes the title from 9Dragons to u Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted October 22, 2007 Share Posted October 22, 2007 With gameguard it usually should not allow you to use automated key presses. It has direct access to hardware so it can detect if your pressing a key on the key board or just a DLL call. Link to comment Share on other sites More sharing options...
Generator Posted October 22, 2007 Share Posted October 22, 2007 With gameguard it usually should not allow you to use automated key presses. It has direct access to hardware so it can detect if your pressing a key on the key board or just a DLL call.Actually _PostMessage seems to work when it comes to gameguard. Link to comment Share on other sites More sharing options...
zzxxzzxx Posted October 24, 2007 Author Share Posted October 24, 2007 With gameguard it usually should not allow you to use automated key presses. It has direct access to hardware so it can detect if your pressing a key on the key board or just a DLL call.ok, since i have to repeat myself.....i HAVE and is still ABLE TO use Send() commands. there's a workaround for gameguard, be changing the file name.will look into _Post Message, just hope it allows sending keystrokes to minimized program without ControlID.Thks for the replies. Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted October 24, 2007 Share Posted October 24, 2007 (edited) O someone bypassed gameguard (not that hard). My bad thought you meant Send was a workaround for gameguard and I was like wtf I don't think so. But look into _PostMessage and if that doesn't work you may need to get the control ID of the OpenGL control if it has one. Edited October 24, 2007 by Thatsgreat2345 Link to comment Share on other sites More sharing options...
d00dness Posted October 25, 2007 Share Posted October 25, 2007 Ok I'm gonna be a goober here and ask.... How can I bypass gameguard?? I've tried the scripts here and none seem to work with the Send commands no matter how I compile it. If anyone would like to PM me some suggestions .. that would be great.. Thanks in advance....not being able to send auto-buffs is killing my fingers .. tks guys.. ! Link to comment Share on other sites More sharing options...
zzxxzzxx Posted November 2, 2007 Author Share Posted November 2, 2007 well, havent had time to read up & try _PostMessagebut if anyone have any idea on how to get it to work, pls post too. Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted November 2, 2007 Share Posted November 2, 2007 Ok I'm gonna be a goober here and ask.... How can I bypass gameguard?? I've tried the scripts here and none seem to work with the Send commands no matter how I compile it. If anyone would like to PM me some suggestions .. that would be great.. Thanks in advance....not being able to send auto-buffs is killing my fingers .. tks guys.. !learn ASM, and use OllyDBG good luck. Link to comment Share on other sites More sharing options...
EliTe_ThuT Posted November 15, 2007 Share Posted November 15, 2007 ...hmmm never heard of that _PostMessage, someone know where I can find it? I don't event think it exists... Link to comment Share on other sites More sharing options...
Generator Posted November 15, 2007 Share Posted November 15, 2007 ...hmmm never heard of that _PostMessage, someone know where I can find it? I don't event think it exists...Look up MSDN Link to comment Share on other sites More sharing options...
_Kurt Posted November 15, 2007 Share Posted November 15, 2007 Here, uploaded a file containing your desired functions.. Will send keys to minimized windows & perform mouseclicks to minimized windows. Enjoy, Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
EliTe_ThuT Posted November 15, 2007 Share Posted November 15, 2007 First, I don't know what msdn is...Here, uploaded a file containing your desired functions..Will send keys to minimized windows & perform mouseclicks to minimized windows.Enjoy,KurtThanks, I'll be trying this.$hWnd --> This is the window handle or the window name?? Link to comment Share on other sites More sharing options...
EscapeTheFate Posted November 19, 2007 Share Posted November 19, 2007 wheres the file? I could really use those functions too..thanks Link to comment Share on other sites More sharing options...
Generator Posted November 19, 2007 Share Posted November 19, 2007 wheres the file? I could really use those functions too..thanksI tried _PostMessage(), does not bypass gameguard. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now