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 ... 115, 116, 117 ... 119, 120, 121  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
AZA



Joined: 10 Mar 2008
Posts: 159
Location: USA

PostPosted: Tue Jul 01, 2008 7:02 am    Post subject: Reply with quote

BF2 Vet wrote:
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.


That was a EXE you were using, not a AHK!! please get you facts strait. PB will detect EXE's, all my current macros are posted in script form to avoid this issue.
_________________
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
philskilz



Joined: 25 Jun 2008
Posts: 9
Location: England

PostPosted: Fri Jul 04, 2008 7:59 am    Post subject: Reply with quote

corrupt what is the function of that code?[/quote]
Back to top
View user's profile Send private message
lollerskates
Guest





PostPosted: Mon Jul 07, 2008 12:34 pm    Post subject: Help plz Reply with quote

Hey first time editing these scripts but i want a script that auto pulls down console and types
SettingsManager.U32Set GSInterpolationTime

SettingsManager.floatSet GSDefaultLatencyCompensation

So then i can press up and set my settings based on my ping, i just deleted some things frm some other script and tried to get it to wrk this is what i have so far

Code:
Set1 = 1
#NoEnv
#InstallKeybdHook

return

$F9::
{
if Set1 = 1
{
 SetKeyDelay, 10,10
 Send, {sc029}
 Send, {Enter}
 Sleep 100
 Send, SettingsManager.U32Set GSInterpolationTime 19
 Send, {Enter}
 Send, SettingsManager.floatSet GSDefaultLatencyCompensation 0.019
 Send, {Enter}
 Sleep 100
 Send, {sc029}
 Sleep 100
 SoundBeep, 500, 100
 Set1 = 2
}
}
return






The problem is it works once then i have to minimize and restart the script to make it work again any help?
Back to top
AZA



Joined: 10 Mar 2008
Posts: 159
Location: USA

PostPosted: Mon Jul 07, 2008 1:44 pm    Post subject: Re: Help plz Reply with quote

lollerskates wrote:
Hey first time editing these scripts but i want a script that auto pulls down console and types
SettingsManager.U32Set GSInterpolationTime

SettingsManager.floatSet GSDefaultLatencyCompensation

So then i can press up and set my settings based on my ping, i just deleted some things frm some other script and tried to get it to wrk this is what i have so far

[REMOVED CODE]

The problem is it works once then i have to minimize and restart the script to make it work again any help?


Yea simple mistake in your code that is messing it up.

Set1 = 2

This piece of code at the end of your script is what is stopping it from working a second time. because your script requires Set1 = 1 at the beginning to run the full command. Should be easy for you to fix 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 player
Guest





PostPosted: Mon Jul 07, 2008 2:27 pm    Post subject: @AZA Reply with quote

You seem well clued up on AHK can you do me a favour and create a little gui thing that can show me what active scripts i have running ?

I run 3 scripts 1 is permanently active the other 2 i have to suspend and activate during game play and i find it a real pain keeping track of what is in what state, and would just like a little gui indicator that i can dump on screen to show me what is and is not active.

Pretty Please Very Happy
Back to top
AZA



Joined: 10 Mar 2008
Posts: 159
Location: USA

PostPosted: Tue Jul 08, 2008 1:22 am    Post subject: Re: @AZA Reply with quote

BF2 player wrote:
You seem well clued up on AHK can you do me a favour and create a little gui thing that can show me what active scripts i have running ?

I run 3 scripts 1 is permanently active the other 2 i have to suspend and activate during game play and i find it a real pain keeping track of what is in what state, and would just like a little gui indicator that i can dump on screen to show me what is and is not active.

Pretty Please Very Happy


Send me your scripts and ill see what i can do.
_________________
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
XtremE
Guest





PostPosted: Mon Jul 14, 2008 1:15 am    Post subject: bf2 script help Reply with quote

Code:

#NoEnv
SendMode Input

_auto := true

~LButton::autofire()
+LButton::_auto := ! _auto
+RButton::ExitApp

autofire()
{
global _auto
if _auto
{
Loop
{
if GetKeyState("LButton", "P")
{
SendInput {LButton DownTemp}
Sleep 85
mouseXY(0, 6)
SendInput {LButton Up}
Sleep 45
}
else
break
} ;; loop
} ;; if
} ;; autofire()

mouseXY(x,y)
{
DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0)
}

;;;;;;
;;; End script
;;;;;;


I have this script, but when i put sleep to 50 and 20, and go on bf2, when i hold down the mouse button the gun, when on single mode, fires very slowly, even though it is moving down as if it is being clicked every second.

the script works fine as when i am on the menu screen and hold it down, it goes down very fast.

any suggestions would help, thanks[/code]
Back to top
Mysterious Dude



Joined: 28 Oct 2007
Posts: 11

PostPosted: Sun Jul 20, 2008 6:52 pm    Post subject: Reply with quote

lollerskates wrote:
Hey first time editing these scripts but i want a script that auto pulls down console and types
SettingsManager.U32Set GSInterpolationTime

SettingsManager.floatSet GSDefaultLatencyCompensation


This is NOT my code. It was written by someone on another forum named DupaUnit.

You open the console, press the left Ctrl + 0 and then enter your ping. It'll automatically enter the best values for Interpolation, Extrapolation and Latency Compensation based on the ping you typed in.

This application has been approved by Punkbuster, so it is 100% safe to use.

Here's the download link.
http://www.mediafire.com/?yigayixxgd0

Here's what it looks like.


Here's a video demonstration of the better hit reg.
http://www.vimeo.com/1313131

Here's a picture tutorial if your having trouble.
http://img66.imageshack.us/img66/2879/tutorial01xu3.jpg

If you don't like the settings it gave you, you can just press the up arrow to scroll through the commands that the script entered and edit them manually.
Back to top
View user's profile Send private message
AZA



Joined: 10 Mar 2008
Posts: 159
Location: USA

PostPosted: Sun Jul 20, 2008 7:53 pm    Post subject: Reply with quote

Mysterious Dude wrote:
lollerskates wrote:
Hey first time editing these scripts but i want a script that auto pulls down console and types
SettingsManager.U32Set GSInterpolationTime

SettingsManager.floatSet GSDefaultLatencyCompensation


This is NOT my code. It was written by someone on another forum named DupaUnit.

You open the console, press the left Ctrl + 0 and then enter your ping. It'll automatically enter the best values for Interpolation, Extrapolation and Latency Compensation based on the ping you typed in.

This application has been approved by Punkbuster, so it is 100% safe to use.

Here's the download link.
http://www.mediafire.com/?yigayixxgd0

Here's what it looks like.


Here's a video demonstration of the better hit reg.
http://www.vimeo.com/1313131

Here's a picture tutorial if your having trouble.
http://img66.imageshack.us/img66/2879/tutorial01xu3.jpg

If you don't like the settings it gave you, you can just press the up arrow to scroll through the commands that the script entered and edit them manually.


There is already a thread for this here: http://www.autohotkey.com/forum/viewtopic.php?t=33763

This script is by Delusion with help from Alekoz and AZA. We got the idea from DupaUnit's script so he deserves the credit.

You can check out Alekoz's scripts here: http://www.autohotkey.com/forum/viewtopic.php?t=26071
And AZA's here: http://www.autohotkey.com/forum/viewtopic.php?t=29706
_________________
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
philskilz



Joined: 25 Jun 2008
Posts: 9
Location: England

PostPosted: Mon Jul 21, 2008 8:45 am    Post subject: Reply with quote

would any1 no how 2 make a TV missile script where u can steer the TV with the arrow keys, somethin like the pixel movement script im guessin.

Thx in advance.
Back to top
View user's profile Send private message
Mysterious Dude



Joined: 28 Oct 2007
Posts: 11

PostPosted: Mon Jul 21, 2008 6:32 pm    Post subject: Reply with quote

philskilz wrote:
would any1 no how 2 make a TV missile script where u can steer the TV with the arrow keys, somethin like the pixel movement script im guessin.

Thx in advance.

Why the arrow keys? Wouldn't it be easier to steer with the mouse?
Back to top
View user's profile Send private message
philskilz



Joined: 25 Jun 2008
Posts: 9
Location: England

PostPosted: Wed Jul 23, 2008 3:13 am    Post subject: Reply with quote

no dude ive been usin mouse since i played BF2 (4 like 4 years now) i was just wonderin if there was a scrip already or if some1 could make 1, i just wonna try if it is possible an c what it feels like.
Back to top
View user's profile Send private message
AZA



Joined: 10 Mar 2008
Posts: 159
Location: USA

PostPosted: Wed Jul 23, 2008 4:43 am    Post subject: Reply with quote

philskilz wrote:
no dude ive been usin mouse since i played BF2 (4 like 4 years now) i was just wonderin if there was a scrip already or if some1 could make 1, i just wonna try if it is possible an c what it feels like.


Wow, thats some shocker spelling! Shocked

I kinda kicked round the idea of making this script for you, but i really don't think it will work well. Moving the TV with the arrow keys would lack speed or if you increase the amount it moves by would become inaccurate. I can see why people may want to try a script like that because it seams to me flying with the keyboard gives you more control over the helicopter and then you wouldn't need to switch to the mouse to use the TV missile. If you look a few pages back i posted a script for mouse look, you could easily change it to give you the basics of a TV missile steering script. I already have several new BF2 scripts I'm working on at the moment, however if I get board I may mock up a basic TV missile script for you.
_________________
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
philskilz



Joined: 25 Jun 2008
Posts: 9
Location: England

PostPosted: Wed Jul 23, 2008 7:01 am    Post subject: Reply with quote

ite ty AZA, ive downloaded all of ur scripts btw Very Happy, ill post mine up soon prob (btw i typed that last response within like 3 secs so sry 4 the spelling ;p, used 2 text chat etc), ty 4 ur help & msg me if u get any cool Tv scripts.
Back to top
View user's profile Send private message
lollerskates
Guest





PostPosted: Wed Jul 23, 2008 12:57 pm    Post subject: hotkeys notwrking Reply with quote

guys, i start my interpolation script and the quickswitch script before entering bf2 but the keys dont working anymore, they worked before but now have stooped working since i turned UAC bak on vista 64 anyway to make em work again
Back to top
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 ... 115, 116, 117 ... 119, 120, 121  Next
Page 116 of 121

 
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