AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

BF2 MACROS (SUMMARY) - post all working macros here please
Goto page Previous  1, 2, 3 ... 114, 115, 116 ... 118, 119, 120  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
BF2 Vet



Joined: 26 Jun 2008
Posts: 6

PostPosted: Thu Jun 26, 2008 9:06 am    Post subject: Reply with quote

Sorry, I meant how do I get the code from my macro to show you..like with yours I can just right click and edit then copy and paste here but with mine I can't do that function.

EDIT: If you would like I can send it VIA email, so you can have a look and maybe make it better, sounds like you are really good.
Back to top
View user's profile Send private message
AZA



Joined: 10 Mar 2008
Posts: 158
Location: USA

PostPosted: Thu Jun 26, 2008 9:40 am    Post subject: Reply with quote

U_U wrote:
hi I need some guides for a code in a game

to use WinActivate if the app is in background

to "push" ctrl e and f4 from time to time

something like this btw i desnt work even in an explorer window

Code:
WinWait, AutoScriptWriter,
IfWinNotActive, AutoScriptWriter, , WinActivate, AutoScriptWriter,
WinWaitActive, AutoScriptWriter,
Sleep, 100
Send, {CTRLDOWN}e{CTRLUP}{F4}


ty


try this

Code:

Send {ctrl down} {e Down}
Sleep 40
Send {ctrl up} {e up}
Sleep 40
Send {F4 down}
Sleep 40
Send {F4 up}

_________________
Check out my BF2 macros here: http://www.autohotkey.com/forum/viewtopic.php?t=29706
Back to top
View user's profile Send private message MSN Messenger
BF2 Vet



Joined: 26 Jun 2008
Posts: 6

PostPosted: Thu Jun 26, 2008 9:48 am    Post subject: Reply with quote

So what do you think AZA?
Back to top
View user's profile Send private message
AZA



Joined: 10 Mar 2008
Posts: 158
Location: USA

PostPosted: Thu Jun 26, 2008 9:49 am    Post subject: Reply with quote

BF2 Vet wrote:
So what do you think AZA?


About what? did you send me something?
_________________
Check out my BF2 macros here: http://www.autohotkey.com/forum/viewtopic.php?t=29706
Back to top
View user's profile Send private message MSN Messenger
BF2 Vet



Joined: 26 Jun 2008
Posts: 6

PostPosted: Thu Jun 26, 2008 10:26 am    Post subject: Reply with quote

Yes read my posts from the page before,I have been typing alot to you trying to get this sorted out.
Back to top
View user's profile Send private message
BF2 Vet



Joined: 26 Jun 2008
Posts: 6

PostPosted: Thu Jun 26, 2008 10:27 am    Post subject: Reply with quote

And the one on top of this page.
Back to top
View user's profile Send private message
AZA



Joined: 10 Mar 2008
Posts: 158
Location: USA

PostPosted: Thu Jun 26, 2008 10:29 am    Post subject: Reply with quote

BF2 Vet wrote:
Yes read my posts from the page before,I have been typing alot to you trying to get this sorted out.


You will have to send me your script. You can catch me on msn or pm me. I'm not going to post my email address in a forum thread.
_________________
Check out my BF2 macros here: http://www.autohotkey.com/forum/viewtopic.php?t=29706
Back to top
View user's profile Send private message MSN Messenger
chipbuffalo



Joined: 17 Jun 2008
Posts: 14

PostPosted: Fri Jun 27, 2008 10:03 pm    Post subject: Reply with quote

Anonymous wrote:
Chipbuffao who you calling a newbie MR. 13 posts.


Hey Guest, if you are still lurking around, the guy who blew a gasket at Alekoz for not just writing him a script (which is posted all over this forum) is named "Solo Newbie" I wasn't calling him a newbie.
Back to top
View user's profile Send private message
bf2user
Guest





PostPosted: Sat Jun 28, 2008 12:32 pm    Post subject: heli gunner script Reply with quote

Ok you programming whizz kids
i got a goody for you to solve,
in my efforts to become a bf2 heli god i want to be able to hop to gunner position fire mg for 2 seconds then hop back to pilot seat, this can be used to good effect when solo flyng heli.

which is easy peasy, the tricky bit is this after the 2 sec burst of mg but before the hop back to pilot seat i want to centre the mg so that next time i go to use it i know exactly where its pointing rather than spend the first second of my 2 sec burst getting it on target.

;extract of code
MouseClick, Left, , , , , D
sleep 2000
MouseClick, Left, , , , , U
Sleep 60
; centre mg bit to go here
Send, {Numpad1 Down} ; my jump to pilot mapping
Sleep 60
Send {Numpad1 Up}
return

i have tried

MouseMove, 700, 525

which does centre the mouse at my game screen res setting however the problem is wherever the mg is pointing it just centers it on that screen not back to centre of gunner view ie straight ahead.

comments on a postcard please
Back to top
AZA



Joined: 10 Mar 2008
Posts: 158
Location: USA

PostPosted: Sat Jun 28, 2008 11:36 pm    Post subject: Re: heli gunner script Reply with quote

bf2user wrote:
Ok you programming whizz kids
i got a goody for you to solve,
in my efforts to become a bf2 heli god i want to be able to hop to gunner position fire mg for 2 seconds then hop back to pilot seat, this can be used to good effect when solo flyng heli.

which is easy peasy, the tricky bit is this after the 2 sec burst of mg but before the hop back to pilot seat i want to centre the mg so that next time i go to use it i know exactly where its pointing rather than spend the first second of my 2 sec burst getting it on target.

;extract of code
MouseClick, Left, , , , , D
sleep 2000
MouseClick, Left, , , , , U
Sleep 60
; centre mg bit to go here
Send, {Numpad1 Down} ; my jump to pilot mapping
Sleep 60
Send {Numpad1 Up}
return

i have tried

MouseMove, 700, 525

which does centre the mouse at my game screen res setting however the problem is wherever the mg is pointing it just centers it on that screen not back to centre of gunner view ie straight ahead.

comments on a postcard please


The most reliable way to do it is move the gun all the way in one direction then back X amount to the center position. However this will be slow because you will require a sleep time in the middle of the 2 moves to get it to be reliable.
_________________
Check out my BF2 macros here: http://www.autohotkey.com/forum/viewtopic.php?t=29706
Back to top
View user's profile Send private message MSN Messenger
BF2 Vet



Joined: 26 Jun 2008
Posts: 6

PostPosted: Sun Jun 29, 2008 1:47 pm    Post subject: Reply with quote

Hey AZA are you having any luck with that yet?
Back to top
View user's profile Send private message
Guest






PostPosted: Mon Jun 30, 2008 6:06 pm    Post subject: Reply with quote

Is this autohot key thingy legit by punkbuster?
Back to top
Alekoz



Joined: 17 Jun 2007
Posts: 157

PostPosted: Mon Jun 30, 2008 6:42 pm    Post subject: Reply with quote

Anonymous wrote:
Is this autohot key thingy legit by punkbuster?


legit not...as the rules say your not allowed to user 3d party programs etc etc and some other bs
but its not detectable so you have nothing to fear
_________________
My BF2 Scripts
Back to top
View user's profile Send private message
BF2 Vet



Joined: 26 Jun 2008
Posts: 6

PostPosted: Tue Jul 01, 2008 5:17 am    Post subject: Reply with quote

Quote:
legit not...as the rules say your not allowed to user 3d party programs etc etc and some other bs
but its not detectable so you have nothing to fear



Ok well, it IS infact detectable.. I was kicked for it by PB yesterday trying to run one AZA is working on for me, for unknown program or something i forgot.
Back to top
View user's profile Send private message
corrupt



Joined: 29 Dec 2004
Posts: 2402

PostPosted: Tue Jul 01, 2008 6:34 am    Post subject: Reply with quote

Code:
pdelay = 60
Random, rpdelay, 5, %pdelay%
Sleep, %rpdelay%
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3 ... 114, 115, 116 ... 118, 119, 120  Next
Page 115 of 120

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group