 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
FAke Guest
|
Posted: Sun May 18, 2008 10:23 am Post subject: |
|
|
IF U WILL USE AUTOHOTKEY PUNKBUSTER WILL KICK YOU - DISALLOWED PROGRAM/DRIVER |
|
| Back to top |
|
 |
anyone
Joined: 19 May 2008 Posts: 3
|
Posted: Mon May 19, 2008 11:15 am Post subject: |
|
|
i confirm - pb kicked me for disallowed program/driver (119017)
NEED HELP |
|
| Back to top |
|
 |
difusion Guest
|
Posted: Wed May 21, 2008 11:51 am Post subject: |
|
|
| can someone make a macro that hits Print Screen and then immediately exits the game please? |
|
| Back to top |
|
 |
Disfunction
Joined: 22 May 2008 Posts: 14
|
Posted: Fri May 23, 2008 12:05 am Post subject: |
|
|
hello all im new here
i would like to ask if someone can make these 2 macros:
1. a macro that goes to prone and stays there so long you hold it down...and when you release it use crouch to stand up quickly
2. a macro that presses "print screen" and then immediately exits the game
thanks in advance |
|
| Back to top |
|
 |
Alekoz
Joined: 17 Jun 2007 Posts: 157
|
Posted: Sat May 24, 2008 12:04 pm Post subject: |
|
|
| Disfunction wrote: | hello all im new here
i would like to ask if someone can make these 2 macros:
1. a macro that goes to prone and stays there so long you hold it down...and when you release it use crouch to stand up quickly
2. a macro that presses "print screen" and then immediately exits the game
thanks in advance |
dont have time to make the first one but im sure someone else can do it
i have the second one finished because i use it too
here it is :
| Code: |
$Delete::
Send, {PrintScreen}
Sleep, 10
Send, {~ Down}
Sleep, 50
Send {BS 10}
Sleep, 50
Send quit
Sleep, 50
Send, {Enter}
SoundBeep, 500, 100
SoundBeep, 500, 100
return
|
dont know if all those sleep times and stuff is needed but it works great for me anyway
| Ken wrote: | | can someone make a script please that goes to prone with space and if you press it again it stands up using ctrl? |
| Code: | pronespam()
{
static prone
if(1 == mod(prone,2))
{
Send, {z down}
Sleep 30
Send, {z up}
}
else
{
Send, {Ctrl down}
Sleep 30
Send, {Ctrl up}
}
prone += 1
}
$space::
pronespam()
return
|
not tested but i think it should work _________________ My BF2 Scripts |
|
| Back to top |
|
 |
tom Guest
|
Posted: Sun May 25, 2008 7:48 pm Post subject: |
|
|
| noobie macros lol |
|
| Back to top |
|
 |
gazro2000
Joined: 24 Nov 2007 Posts: 4
|
Posted: Mon Jun 02, 2008 9:34 am Post subject: Anti Tank DAO Killer script. |
|
|
Anti Tank DAO Killer Script.
Heres my killer DAO script fires all 12 rounds in a couple of seconds with
recoil corrected. Great for infantry only when you need to get AT badges
or your time up.
Makes it one of the best close combat weapons. Home key turns on/off 1
beep for on 3 beeps for off. Need to use on off for rocket launcher.
Any improvements welcome.
| Code: |
#Persistent
#InstallKeybdHook
$LButton::
;
Loop
{
Sleep 24
GetKeyState, szButtonState, LButton, P
if szButtonState = U
break
MouseClick, left,,, 1, 0, D
Sleep, 24
MouseClick, left,,, 1, 0, U
DllCall("mouse_event", uint, 1, int, 0, int, 8, uint,0, int,0 )
}
return
#Persistent
#InstallKeybdHook
$0::
Send, {5 down}
Sleep 60
Send, {5 up}
Sleep 600
MouseClick, Left, , , , , D
sleep 600
MouseClick, Left, , , , , U
sleep 600
MouseClick, Left, , , , , D
sleep 600
MouseClick, Left, , , , , U
sleep 600
Send, {3 down}
Sleep 40
Send, {3 up}
return
exit
#Persistent
#InstallKeybdHook
$mbutton::
Send, {6 down}
Sleep 60
Send, {6 up}
sleep 35
Send, {o down}
Sleep 120
MouseClick, Left, , , , , D
sleep 700
MouseClick, Left, , , , , U
Sleep 700
Send, {o up}
Sleep 60
Send, {3 down}
Sleep 40
Send, {3 up}
return
exit
#Persistent
#InstallKeybdHook
onoff = 0
$Home::
if (!onoff)
{
onoff:=1
Hotkey,$LButton, on
SoundBeep, 500, 100
}
else
{
Hotkey,$LButton, Off
SoundBeep, 500, 100
Sleep 60
SoundBeep, 500, 100
Sleep 60
SoundBeep, 500, 100
onoff:=0
}
return
|
|
|
| Back to top |
|
 |
Alekoz
Joined: 17 Jun 2007 Posts: 157
|
Posted: Mon Jun 02, 2008 11:49 am Post subject: Re: Anti Tank DAO Killer script. |
|
|
| gazro2000 wrote: | Anti Tank DAO Killer Script.
Heres my killer DAO script fires all 12 rounds in a couple of seconds with
recoil corrected. Great for infantry only when you need to get AT badges
or your time up.
Makes it one of the best close combat weapons. Home key turns on/off 1
beep for on 3 beeps for off. Need to use on off for rocket launcher.
Any improvements welcome.
|
you dont need to use #Persistent
and #InstallKeybdHook everytime...you just need that once on top
and whats the "exit" for after return?you dont need that too
and what exactly does mbutton do?i dont get it
| Code: |
#Persistent
#InstallKeybdHook
$LButton::
;
Loop
{
Sleep 24
GetKeyState, szButtonState, LButton, P
if szButtonState = U
break
MouseClick, left,,, 1, 0, D
Sleep, 24
MouseClick, left,,, 1, 0, U
DllCall("mouse_event", uint, 1, int, 0, int, 8, uint,0, int,0 )
}
return
$0::
Send, {5 down}
Sleep 60
Send, {5 up}
Sleep 600
MouseClick, Left, , , , , D
sleep 600
MouseClick, Left, , , , , U
sleep 600
MouseClick, Left, , , , , D
sleep 600
MouseClick, Left, , , , , U
sleep 600
Send, {3 down}
Sleep 40
Send, {3 up}
return
$mbutton::
Send, {6 down}
Sleep 60
Send, {6 up}
sleep 35
Send, {o down}
Sleep 120
MouseClick, Left, , , , , D
sleep 700
MouseClick, Left, , , , , U
Sleep 700
Send, {o up}
Sleep 60
Send, {3 down}
Sleep 40
Send, {3 up}
return
onoff = 0
$Home::
if (!onoff)
{
onoff:=1
Hotkey,$LButton, on
SoundBeep, 500, 100
}
else
{
Hotkey,$LButton, Off
SoundBeep, 500, 100
Sleep 60
SoundBeep, 500, 100
Sleep 60
SoundBeep, 500, 100
onoff:=0
}
return
|
_________________ My BF2 Scripts |
|
| Back to top |
|
 |
gazro2000
Joined: 24 Nov 2007 Posts: 4
|
Posted: Tue Jun 03, 2008 11:46 am Post subject: |
|
|
Thanks Alekoz for amendments i'm not that good at scripts, it works well though and now fixed,
the middle mouse bit should not be there it was for my medic script throwing health
packs I just forgot to edit it out same as the 0 key. You could use middle mouse for script
on/off. Added Middle mouse version.
Adjusting Recoil.
Note that the number 8 in Dllcall line is for recoil and will need lowering for
hi res screens and lowering for lower resolutions. 1280 x 1024 = 8
1920 x 1080 = 4 i have tested both of these settings. You can get 40+
kills a round in 32+ inf only Karkand so its worth a go.
Is it true that punkbuster now detects autohotkey scripts.
| Code: |
#Persistent
#InstallKeybdHook
$LButton::
;
Loop
{
Sleep 24
GetKeyState, szButtonState, LButton, P
if szButtonState = U
break
MouseClick, left,,, 1, 0, D
Sleep, 24
MouseClick, left,,, 1, 0, U
DllCall("mouse_event", uint, 1, int, 0, int, 8, uint,0, int,0 )
}
return
onoff = 0
$Home::
if (!onoff)
{
onoff:=1
Hotkey,$LButton, on
SoundBeep, 500, 100
}
else
{
Hotkey,$LButton, Off
SoundBeep, 500, 100
Sleep 60
SoundBeep, 500, 100
Sleep 60
SoundBeep, 500, 100
onoff:=0
}
return
|
Middle mouse button on off version.
| Code: |
#Persistent
#InstallKeybdHook
$LButton::
;
Loop
{
Sleep 24
GetKeyState, szButtonState, LButton, P
if szButtonState = U
break
MouseClick, left,,, 1, 0, D
Sleep, 24
MouseClick, left,,, 1, 0, U
DllCall("mouse_event", uint, 1, int, 0, int, 8, uint,0, int,0 )
}
return
$mbutton::
if (!onoff)
{
onoff:=1
Hotkey,$LButton, on
SoundBeep, 500, 100
}
else
{
Hotkey,$LButton, Off
SoundBeep, 500, 100
Sleep 60
SoundBeep, 500, 100
Sleep 60
SoundBeep, 500, 100
onoff:=0
}
return
|
Last edited by gazro2000 on Tue Jun 03, 2008 5:33 pm; edited 3 times in total |
|
| Back to top |
|
 |
AZA
Joined: 10 Mar 2008 Posts: 158 Location: USA
|
Posted: Tue Jun 03, 2008 11:58 am Post subject: |
|
|
| gazro2000 wrote: | Is it true that punkbuster now detects autohotkey scripts.
|
No, its not true. People just started freaking after my program got banned. _________________ Check out my BF2 macros here: http://www.autohotkey.com/forum/viewtopic.php?t=29706 |
|
| Back to top |
|
 |
whitedragon551
Joined: 04 Jun 2008 Posts: 17 Location: USA
|
Posted: Wed Jun 04, 2008 4:09 pm Post subject: |
|
|
| It is true. I was just kicked by my clans server for using a prone and shoot macro. Same reason as given earlier. |
|
| Back to top |
|
 |
fafasdasd Guest
|
Posted: Wed Jun 04, 2008 4:48 pm Post subject: |
|
|
| whitedragon551 wrote: | | It is true. I was just kicked by my clans server for using a prone and shoot macro. Same reason as given earlier. |
i never got kicked before...maybe it has something to with macros that shoot like anti recoil...autofire etc |
|
| Back to top |
|
 |
alalalala Guest
|
|
| Back to top |
|
 |
W4rn Guest
|
Posted: Wed Jun 04, 2008 8:47 pm Post subject: |
|
|
| Make your own script.... best choise. |
|
| Back to top |
|
 |
whitedragon551
Joined: 04 Jun 2008 Posts: 17 Location: USA
|
Posted: Wed Jun 04, 2008 10:03 pm Post subject: |
|
|
I cant get this script to work:
| Code: | n::
Sleep, 500
SetKeyDelay, 50, 50
Send, A
Send, w
Return |
Im using the default keys. I want it to go prone and then shoot. My prone key is Z and my shoot key is the left mouse button. |
|
| 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
|