AutoHotkey Community

It is currently May 27th, 2012, 3:18 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: May 17th, 2010, 7:13 pm 
#MaxThreadsPerHotkey 2
Up::
Toggle:=!Toggle
While (Toggle)
{
Send {up down}
Sleep 22
}
Send {up up}
Return

Down::
Toggle:=!Toggle
While (Toggle)
{
Send {down down}
Sleep 22
}
Send {down up}
Return

Right::
Toggle:=!Toggle
While (Toggle)
{
Send {right down}
Sleep 22
}
Send {right up}
Return

Left::
Toggle:=!Toggle
While (Toggle)
{
Send {left down}
Sleep 22
}
Send {left up}
Return

AppsKey::
Toggle:=!Toggle
While (Toggle)
{
Send {f down}
Sleep 22
}
Send {f up}
Return

AppsKey::f
return

BS::return


Leave comments and Leave this one up , this is the completed script for your Enjoyment and or noobs to learn from as sample

[Deleted double posts. ~jaco0646]


Report this post
Top
  
Reply with quote  
 Post subject: Muahahah
PostPosted: May 17th, 2010, 7:21 pm 
Thats just what I needed ! Btw, How do you make the keys a bit faster?


Report this post
Top
  
Reply with quote  
 Post subject: no problem
PostPosted: May 17th, 2010, 7:27 pm 
leave comments and suggestions for better ways :) if you know of any,Enjoy and thanks for th comment


Report this post
Top
  
Reply with quote  
 Post subject: Re: Muahahah
PostPosted: May 17th, 2010, 7:34 pm 
Offline

Joined: February 13th, 2010, 3:52 pm
Posts: 175
Benargdu wrote:
Thats just what I needed ! Btw, How do you make the keys a bit faster?


At a guess, lower the numbers after each sleep. Not really 100% sure what the script does, or what you want, but I think that should make it faster.

To OP: post in [code] tags please, for easier reading of code ;)

EDIT: I think I worked out what it does. And yeah, what I said should make it faster.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: OP
PostPosted: May 17th, 2010, 7:51 pm 
this toggles autowalking in few games like ... counterstrike,sod,nova,plainshift, portal and morrowind games, along with fallout 3 and portal 2 as well few others !

It works as follows;

Use up to walk auto forward and hit it again or other directional keys to stop it ! Use down/up/left/right to autowalk and as said,pressing it or others will cancel the walk.

Enjoy and last thing ! THe main ingredient here is the 2 way processiong thats at the top highlighted in red at the start of this script!



Please leave a thank you or suggestions/codes/ and or comments please i hope some find this usefull like I would when I started out, happy scripting guys ! and Enjoy


Report this post
Top
  
Reply with quote  
 Post subject: OP
PostPosted: May 17th, 2010, 7:55 pm 
SOmetimes tho

If the script doesnt work for your game , you might wanna try using
SendInput {up down} as example ,replacing the original Send


Report this post
Top
  
Reply with quote  
 Post subject: Re: Muahahah
PostPosted: May 17th, 2010, 8:06 pm 
SifJar wrote:
Benargdu wrote:
Thats just what I needed ! Btw, How do you make the keys a bit faster?


At a guess, lower the numbers after each sleep. Not really 100% sure what the script does, or what you want, but I think that should make it faster.

To OP: post in [code] tags please, for easier reading of code ;)

EDIT: I think I worked out what it does. And yeah, what I said should make it faster.


Thank you , It works as you suggested


Report this post
Top
  
Reply with quote  
PostPosted: May 17th, 2010, 8:16 pm 
whitefang181h wrote:
#MaxThreadsPerHotkey 2
Up::
Toggle:=!Toggle
While (Toggle)
{
Send {up down}
Sleep 22
}
Send {up up}
Return

Down::
Toggle:=!Toggle
While (Toggle)
{
Send {down down}
Sleep 22
}
Send {down up}
Return

Right::
Toggle:=!Toggle
While (Toggle)
{
Send {right down}
Sleep 22
}
Send {right up}
Return

Left::
Toggle:=!Toggle
While (Toggle)
{
Send {left down}
Sleep 22
}
Send {left up}
Return

AppsKey::
Toggle:=!Toggle
While (Toggle)
{
Send {f down}
Sleep 22
}
Send {f up}
Return

AppsKey::f
return

BS::return


Leave comments and Leave this one up , this is the completed script for your Enjoyment and or noobs to learn from as sample



Workingon Aim Bot now ! Stay tuned : :twisted:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 17th, 2010, 8:41 pm 
Offline

Joined: February 13th, 2010, 3:52 pm
Posts: 175
Well when you're done it, don't post it half a dozen times like you seem to have with this.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: OP
PostPosted: May 17th, 2010, 8:45 pm 
SifJar wrote:
Well when you're done it, don't post it half a dozen times like you seem to have with this.


Yeah :) I just sharing the love ! *throws scripts at you!*

Wish i had more to share.... but im new at this and just started ! :roll:

soon soon Ill pile you in scripts :S


Report this post
Top
  
Reply with quote  
 Post subject: Re: OP
PostPosted: May 17th, 2010, 9:23 pm 
Offline

Joined: February 13th, 2010, 3:52 pm
Posts: 175
OP wrote:
SifJar wrote:
Well when you're done it, don't post it half a dozen times like you seem to have with this.


Yeah :) I just sharing the love ! *throws scripts at you!*

Wish i had more to share.... but im new at this and just started ! :roll:

soon soon Ill pile you in scripts :S


i look forward to it :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: OP
PostPosted: May 18th, 2010, 10:04 am 
i look forward to it :)[/quote]
Me too!


Report this post
Top
  
Reply with quote  
PostPosted: May 18th, 2010, 2:52 pm 
Offline

Joined: August 26th, 2009, 11:15 pm
Posts: 38
Location: Canada
Quote:
Leave comments and Leave this one up , this is the completed script for your Enjoyment and or noobs to learn from as sample


--

Quote:
Leave comments
this is the completed script for your Enjoyment
and or noobs to learn from as sample


--


Quote:
Leave noob



Ok fixed. Thanks for coming out!

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 19th, 2010, 6:23 am 
Offline

Joined: January 25th, 2010, 5:37 am
Posts: 18
Code:
#MaxThreadsPerHotkey 2
Up::
Down::
Right::
Left::
Toggle:=!Toggle
While (Toggle)
{
Send {%A_ThisHotKey% down}
Sleep 22
}
Send {%A_ThisHotKey% up}
Return

AppsKey::
Toggle:=!Toggle
While (Toggle)
{
Send {f down}
Sleep 22
}
Send {f up}
Return

AppsKey::f
return

BS::return

i think it can be done shorter like this.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: not bad
PostPosted: May 27th, 2010, 11:30 am 
Its the original poster here :) Still debugging my auto aim bot to work alot of games ,some of them dont work using it as its not reading the screan right ,as i found out most games dont use the same screen x,y cords.

as for the shorter version, interesting concept ! Ill test it out :) Thanks!


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher, rbrtryn and 19 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group