Abaddon Posted May 8, 2007 Share Posted May 8, 2007 Any one have any idea why _IsPressed works for Halo PC and HotKeySet doesn't????? Link to comment Share on other sites More sharing options...
Teldin Posted May 8, 2007 Share Posted May 8, 2007 Can you paste your code? Link to comment Share on other sites More sharing options...
Abaddon Posted May 8, 2007 Author Share Posted May 8, 2007 expandcollapse popup#Include <Misc.au3> MsgBox(0, "xLFDx Rule Spammer", "Created by xLFDx_AdMiN.") While 1 Sleep(250) If _IsPressed(74) Then Sleep(50) Send("t") Sleep(50) Send("--==Attention{!} xLFDx Racing Rules==--") Sleep(50) Send("{ENTER}") Sleep(50) Send("t") Sleep(50) Send("-DON'T CAMP") Sleep(50) Send("{ENTER}") Sleep(50) Send("t") Sleep(50) Send("-DON'T ATTACK TEAMMATES") Sleep(50) Send("{ENTER}") Sleep(50) Send("t") Sleep(50) Send("-DON'T CHASE KILL") Sleep(50) Send("{ENTER}") Sleep(50) Send("t") Sleep(50) Send("-DON'T WALK THE MAP") Sleep(50) Send("{ENTER}") Sleep(50) Send("t") Sleep(50) Send("-DON'T ARGUE WITH ADMINISTRATORS") Sleep(50) Send("{ENTER}") Sleep(50) Send("t") Sleep(50) Send("-RESPECT ALL USERS OF THE SERVER") Sleep(50) Send("{ENTER}") Sleep(50) Send("t") Sleep(50) Send("-FOR MORE DETAILED EXPLANATIONS, GO TO XLFDX.CO.NR") Sleep(50) Send("{ENTER}") EndIf If _IsPressed(75) Then Sleep(50) Send("`") Sleep(50) Send("rcon") Sleep(50) Send(" blocked") Sleep(50) Send(" sv_players") Sleep(50) Send("{ENTER}") Sleep(50) Send("rcon") Sleep(50) Send(" blocked") Sleep(50) Send(" sv_kick") EndIf If _IsPressed(76) Then Sleep(50) Send("`") Sleep(50) Send("rcon") Sleep(50) Send(" blocked") Sleep(50) Send(" sv_players") Sleep(50) Send("{ENTER}") Sleep(50) Send("rcon") Sleep(50) Send(" blocked") Sleep(50) Send(" sv_ban") EndIf If _IsPressed(77) Then Sleep(50) Send("t") Sleep(50) Send("--==ATTENTION EVERYONE==--") Sleep(50) Send("{enter}") Sleep(50) Send("t") Sleep(50) Send("If you would like to join our clan, then go to XLFDX.CO.NR") Sleep(50) Send("{ENTER}") Sleep(50) Send("t") Sleep(50) Send("High ranks still avaliable{!}{!}") Sleep(50) Send("{ENTER}") Sleep(50) Send("t") Sleep(50) Send("Signup now at XLFDX.CO.NR") Sleep(50) Send("{ENTER}") EndIf WEnd It's for my halo server. And no, my rcon isn't blocked lol. Link to comment Share on other sites More sharing options...
evilertoaster Posted May 8, 2007 Share Posted May 8, 2007 It's likely halo is overwriting the hotkeys set by autoit. You can try running the script after halo fully loads, but some apps really like to keep thier hotkeys and key bindings Link to comment Share on other sites More sharing options...
Teldin Posted May 8, 2007 Share Posted May 8, 2007 While I don't see any reference to the Function keys other then F1 in the Halo manual:http://download.microsoft.com/download/b/1...C_Manual_EN.pdfbut have you tried other keys? Link to comment Share on other sites More sharing options...
TehBeyond Posted May 9, 2007 Share Posted May 9, 2007 It's likely halo is overwriting the hotkeys set by autoit. You can try running the script after halo fully loads, but some apps really like to keep thier hotkeys and key bindings He is exactly correct. Most modern games will lock out virtually every hotkey that you set... Battlfront 2, for an example, is also this way. _ispressed will get around it, but the key will still trigger whatever it would normally do in the game. I would have told you I have Alzheimer's, but I forgot.My Splendid-Tastic Blog 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