Search found 78 matches

by John
08 Jun 2016, 07:13
Forum: Ask For Help
Topic: Question About AUTOHOTKEY
Replies: 8
Views: 1775

Re: Question About AUTOHOTKEY

If you can highlight and copy the text then it will be a breeze (or some other way of getting the text with only mouse or keyboard actions), if not then you might have to dedicate a bit more time to it.
by John
08 Jun 2016, 07:10
Forum: Gaming
Topic: Quite a simple script - problem with toggling and stuff
Replies: 15
Views: 3464

Re: Quite a simple script - problem with toggling and stuff

I think it's not that it doesn't send 1, but it doesn't trigger the hotkey so,

Code: Select all

~*4::
send 1
return
by John
08 Jun 2016, 05:03
Forum: Gaming
Topic: Quite a simple script - problem with toggling and stuff
Replies: 15
Views: 3464

Re: Quite a simple script - problem with toggling and stuff

Yup, you need curly snake infront of the hotkey if you want it to not be interrupted. Though, if it passed to the game without snakey even with the script running then there could be some compatibility issues with your game and ahk. For those, I'd recommend googling "[name of your game] ahk" and see...
by John
08 Jun 2016, 04:53
Forum: Ask For Help
Topic: Keep track on usages of script
Replies: 10
Views: 2206

Re: Keep track on usages of script

You want to use iniwrite and iniread for that. Here's an example for your case, ;display the values found in "keylogger.ini" to which you add/write with the "2" hotkey/label 1:: iniread,var,keylogger.ini,KeyCounts MsgBox % var return ;add to the value found in "keylogger.ini" section "KeyCounts" key...
by John
08 Jun 2016, 03:27
Forum: Gaming
Topic: Quite a simple script - problem with toggling and stuff
Replies: 15
Views: 3464

Re: Quite a simple script - problem with toggling and stuff

To send 'special' keys like control, shift etc, you need to wrap them in curly brackets, so "Send LControl" needs to be "Send {LControl}". As for the other part, 4:: if (!tog) { ;handle the toggling within the if check to make it uninterruptable tog := true tooltip, waiting for lbutton down KeyWait,...
by John
07 Jun 2016, 03:45
Forum: Gaming
Topic: Mousemove relative to current position
Replies: 2
Views: 1398

Re: Mousemove relative to current position

You have an infinite loop inside an while loop. You don't need it as the while loop will keep looping for as long as toggle is true. #MaxThreadsPerHotkey 2 space:: toggle:=!toggle while (toggle) { tooltip, looping sleep, 20 } return As for the mousemove, ingame you're manipulating the rotation of th...
by John
06 Jun 2016, 08:40
Forum: Ask For Help
Topic: [Solved] Draw circles inwards (pixel by pixel) leaves small gaps
Replies: 8
Views: 1928

Re: Draw circles inwards (pixel by pixel) leaves small gaps

Here is one way to achieve no gaps, winactivate,ahk_class MSPaintApp stepWidth := 2 radius := 20 loop % (radius) { y:=-radius while (y <= radius) { x := -radius while (x <= radius) { if (x*x + y*y <= radius*radius) { ;~ if (x * x + y * y <= range * range + range * 0.8) { alternative if (mod(radius,s...
by John
27 May 2016, 16:02
Forum: Gaming
Topic: AHK in Dota 2 Topic is solved
Replies: 19
Views: 13385

Re: AHK in Dota 2 Topic is solved

Use different values with "SetKeyDelay,n,n". There's been few scripts which use "send" to overload the servers (crashing the ongoing match) due to which they've had to take some extra precautions to deal with ahk-like languages.
by John
27 May 2016, 15:58
Forum: Gaming
Topic: Could someone make a script for me? Topic is solved
Replies: 5
Views: 1299

Re: Could someone make a script for me? Topic is solved

What you're after is very simple and I'm 100% sure that with little to no effort you can do it on your own.
What you'll need to use are "Mousegetpos", "Loop" and "Send". Everything else would just be additional things for comfyness, but just with those 3 you'll have it working just fine.
by John
27 May 2016, 15:53
Forum: Gaming
Topic: asking for a bit more then help but simple
Replies: 6
Views: 1822

Re: asking for a bit more then help but simple

Here ya go, coordmode,tooltip,screen setbatchlines,-1 setkeydelay,-1 hwnd := winexist("ahk_class Notepad") keyList := strsplit("backspace,space,enter,left,right,up,down,q,w,e,r,t,y,u,i,o,p,a,s,d,f,g,h,j,k,l,z,x,c,v,b,n,m",",") keyQ := array() mousegetpos loop { tt := "" for k,v in keyList { if (GetK...
by John
26 May 2016, 06:22
Forum: Gaming
Topic: Simple first script messed with my mouse? Topic is solved
Replies: 4
Views: 1099

Re: Simple first script messed with my mouse? Topic is solved

Replace the 'special keys' with this, NumpadDot::send {LShift} Not sure what the root issue is, but there is great many mysteries in AHK when it comes to shift key specifically. or if you need respective updown key action then, NumpadDot:: send {lshift down} while (GetKeyState("LShift","P")) sleep, ...
by John
26 May 2016, 05:34
Forum: Gaming
Topic: I need help with making an aimbot for a game. Topic is solved
Replies: 3
Views: 1690

Re: I need help with making an aimbot for a game. Topic is solved

If you want to get started with your project then i'd recommend searching with "ahk pixel aimbot" from google. There is hundreds of examples and tons of questions with tons*tons of answers. Also you will probably find out that when it comes to aimbotting, pixelbots are among the slowest and most unr...
by John
26 May 2016, 05:09
Forum: Gaming
Topic: using PixelSearch to automate.
Replies: 1
Views: 775

Re: using PixelSearch to automate.

Here's something I quickly cooked up that should yield satisfactory results. There is some 'debugging' things to help you with understanding how it works and what you should be looking for when figuring out what went wrong and where. It's usually a good idea to use paint, notepad, etc. simple progra...
by John
23 May 2016, 08:12
Forum: Gaming
Topic: I need help making a minecraft aimbot Topic is solved
Replies: 1
Views: 2342

Re: I need help making a minecraft aimbot Topic is solved

What you're looking for is an memory aimbot and here's an example of that, https://autohotkey.com/board/topic/100625-aimbot-for-assault-cube-workingnot-finished/ If you're lucky then you might find a list of addresses and offsets somewhere, but if not then you'd have to start digging on your own and...
by John
06 May 2016, 08:41
Forum: Gaming
Topic: Need help with this script
Replies: 5
Views: 3555

Re: Need help with this script

While the errorlevel check takes care of the unnecessary execution of labels you'd still need to overcome the 'bottleneck' that comes from pixelgetcolor/pixelsearch. If checking just 1 pixel it's great and works like butter on bread. When checking say, 10x10 pixels you're already calling it 100 time...
by John
06 May 2016, 01:58
Forum: Gaming
Topic: Record mouse movement &/or position for recoil?
Replies: 4
Views: 2698

Re: Record mouse movement &/or position for recoil?

It's semi possible for all games and possible for most games, BUT none is usually easy to do. One way is good old memory reading which depending on the game goes from fairly easy to fml. Then there is is the few rare gems which actually actuate the recoil on the pointer and then it was just tracking...
by John
04 May 2016, 03:51
Forum: Offtopic
Topic: Patterns in the help forum...
Replies: 22
Views: 10531

Re: Patterns in the help forum...

Yup, sorry about that. Seems like my trusty letter-scrambler-brain managed to turn this thread into something semi-nefarious :(
by John
29 Apr 2016, 08:45
Forum: Offtopic
Topic: Patterns in the help forum...
Replies: 22
Views: 10531

Re: Patterns in the help forum...

@Tidbit, I've personally gotten used to using regex for those cases since "strreplace()" the function didn't exist for quite a while and due laziness just went for the other closest one liner. Most of the things mentioned in this topic are pretty okayish and just a case of not looking (properly/at a...
by John
28 Apr 2016, 03:18
Forum: Ask For Help
Topic: Dodging script without interrupting original keys
Replies: 5
Views: 1315

Re: Dodging script without interrupting original keys

@John I'm not quite sure how to use that. @Exa Works only with modifier keys, I tried. Maybe you guys have seen some scripts with similar concept somewhere on forum? I updated my first post for future ease of access. The "SoftSend" function works just like send, except you can provide it a list of ...
by John
27 Apr 2016, 09:01
Forum: Ask For Help
Topic: Dodging script without interrupting original keys
Replies: 5
Views: 1315

Re: Dodging script without interrupting original keys

You'd need to check for whether the key is up or not, e.g. like this, space:: loop, 50 { SoftSend("wasdbunnies","wasd") sleep, 100 } ;SoftSend("wasdbunnies","wasd") will only send "sdbunnies" if W and A and down, "wbunnies" if A,S and D down ;SoftSend("wasdbunnies") will check if any of the keys is ...

Go to advanced search