Search found 16 matches
- 21 Apr 2024, 03:42
- Forum: Ask for Help (v2)
- Topic: Split a text file based on a delimiter
- Replies: 3
- Views: 122
Re: Split a text file based on a delimiter
Try this, makes the SplitArray which can then be processed in a for-loop Text := " ( SPLIT LINE HERE text line #1 text line #2 text line #3 text line #4 SPLIT LINE HERE text line #1 text line #2 text line #3 text line #4 SPLIT LINE HERE text line #1 text line #2 text line #3 text line #4 )" SplitArr...
- 21 Apr 2024, 03:31
- Forum: Gaming
- Topic: I need tab glitch for roblox
- Replies: 1
- Views: 164
Re: I need tab glitch for roblox
Try this, I don't have web version installed, you can test Hold F1 to tab glitch, release to stop (Also not sure how well this will work with shift-lock and first person mode, If you need it to work with this just say) F1:: { WinGetClientPos(&X, &Y,,, "A") Click X, Y, "Right Down" KeyWait("F1") Clic...
- 21 Apr 2024, 01:51
- Forum: Gaming
- Topic: can anyone help make me a code im new
- Replies: 1
- Views: 148
Re: can anyone help make me a code im new
Try this, use F1 to start/stop
If its too fast or slow edit the delay variable
If its too fast or slow edit the delay variable
Code: Select all
delay := 50
SetKeyDelay(delay)
WASD := false
F1:: {
global
WASD := !WASD
if WASD {
SetTimer(SendCircle, delay)
} else {
SetTimer(SendCircle, 0)
}
}
SendCircle() {
Send("wasd")
}
- 08 Apr 2024, 21:40
- Forum: Scripts and Functions (v1)
- Topic: v1 -> v2 Script Converter
- Replies: 146
- Views: 77181
Re: v1 -> v2 Script Converter
I am keeping track of the changes being made so that I can outline/upload them separately (is that the preferred method?) Yes, we do prefer this as it makes it much easier to pinpoint issues, although I'm not quite sure how you plan to add them to the head repository? I've also since made some chan...
- 08 Apr 2024, 20:59
- Forum: Scripts and Functions (v1)
- Topic: v1 -> v2 Script Converter
- Replies: 146
- Views: 77181
Re: v1 -> v2 Script Converter
clipboard is a string, and shouldn't be converted to A_Clipboard. The test is more to demonstrate that the conversion of ClipWait is working, but yes clipboard should stay the same, feel free to overwrite tests as you see fit.
- 08 Apr 2024, 08:14
- Forum: Scripts and Functions (v1)
- Topic: v1 -> v2 Script Converter
- Replies: 146
- Views: 77181
Re: v1 -> v2 Script Converter
failure-scripts are not part of the Test.ahk afaik test.ahk is more of a legacy file, it existed before the new format with all the .ah1 and .ah2 files. If you're using QuickConvertV2.ahk you can open Settings in the menubar and Turn on Testmode and Include Failing to test failing and existing test...
- 08 Apr 2024, 06:16
- Forum: Scripts and Functions (v1)
- Topic: v1 -> v2 Script Converter
- Replies: 146
- Views: 77181
Re: v1 -> v2 Script Converter
If the idea of full-string masking is not desired, I will not spend time looking for the best spot within the loop to insert/test it. I don't know of any down-side to this approach and I think it comes with benefits. But there may be things that I have not considered up to this point? Many issues c...
- 04 Apr 2024, 07:54
- Forum: Scripts and Functions (v1)
- Topic: v1 -> v2 Script Converter
- Replies: 146
- Views: 77181
Re: v1 -> v2 Script Converter
It was deleted a while ago (I'm not too sure why)Aint no exe in there sir
But as long as you have ahk v2 installed running the QuickConvertorV2.ahk should work (we have #Requires which should force that)
- 21 Mar 2024, 05:54
- Forum: Bug Reports
- Topic: SysGetIPAddresses() causes Invalid memory read/write. Topic is solved
- Replies: 7
- Views: 494
Re: SysGetIPAddresses() causes Invalid memory read/write. Topic is solved
Reread docs and made a mistake (can't edit post in review so new post) This function only returns the IP addresses of the computer's network adapters. Ran "ipconfig /all" via command which says there's one 192.168.X.X address under "Wireless LAN adapter Wi-Fi:" Sorry if the reason is now obvious, ne...
- 21 Mar 2024, 05:43
- Forum: Bug Reports
- Topic: SysGetIPAddresses() causes Invalid memory read/write. Topic is solved
- Replies: 7
- Views: 494
Re: SysGetIPAddresses() causes Invalid memory read/write. Topic is solved
I have a IPv4 address
("curl ident.me" via cmd returns an ipv4)
Also tried a vpn and that didn't work
("curl ident.me" via cmd returns an ipv4)
Also tried a vpn and that didn't work
- 17 Mar 2024, 15:50
- Forum: Gaming Help (v1)
- Topic: Why does it start working inaccurately if I set sleep below 57?
- Replies: 4
- Views: 237
- 17 Mar 2024, 03:34
- Forum: Gaming Help (v1)
- Topic: Roblox Turning, camera turning/rotating.
- Replies: 3
- Views: 328
Re: Roblox Turning, camera turning/rotating.
speed := 10 up:: DllCall("user32.dll\mouse_event", "UInt", 0x0001, "Int", 0, "Int", -speed) down:: DllCall("user32.dll\mouse_event", "UInt", 0x0001, "Int", 0, "Int", speed) left:: DllCall("user32.dll\mouse_event", "UInt", 0x0001, "Int", -speed, "Int", 0) right:: DllCall("user32.dll\mouse_event", "U...
- 17 Mar 2024, 03:01
- Forum: Bug Reports
- Topic: SysGetIPAddresses() causes Invalid memory read/write. Topic is solved
- Replies: 7
- Views: 494
SysGetIPAddresses() causes Invalid memory read/write. Topic is solved
When using the example addresses := SysGetIPAddresses() msg := "IP addresses:`n" for n, address in addresses msg .= address "`n" MsgBox msg [Mod edit: Added [code][/code] tags and replaced ```. Please use them yourself when posting code!] I get this error image.png Using Win 11, also happens Also ha...
- 15 Mar 2024, 02:57
- Forum: Gaming Help (v1)
- Topic: Roblox Turning, camera turning/rotating.
- Replies: 3
- Views: 328
Re: Roblox Turning, camera turning/rotating.
What exactly are you trying to do?
I get you want to move the camera but to achieve what?
You're also posting in the (deprecated) AHK v1 forum, you may want to use AHK v2
I get you want to move the camera but to achieve what?
You're also posting in the (deprecated) AHK v1 forum, you may want to use AHK v2
- 25 Feb 2024, 02:39
- Forum: Scripts and Functions (v2)
- Topic: Simple function to calculate standard deviation
- Replies: 3
- Views: 281
Re: Simple function to calculate standard deviation
I got results ~55% faster, thank you! image.png arr := PopulateArray(100000) DllCall("QueryPerformanceFrequency", "Int64*", &freq := 0) DllCall("QueryPerformanceCounter", "Int64*", &CounterBefore := 0) LoopStandardDeviation(arr) DllCall("QueryPerformanceCounter", "Int64*", &CounterAfter := 0) time1 ...
- 19 Feb 2024, 04:21
- Forum: Scripts and Functions (v2)
- Topic: Simple function to calculate standard deviation
- Replies: 3
- Views: 281
Simple function to calculate standard deviation
Couldn't find any functions to calculate standard deviation so I made my own. StandardDeviation(arr) { mean := sd2 := 0 Loop(arr.Length) { mean += arr[A_Index] } mean /= arr.Length Loop(arr.Length) { sd2 += (arr[A_Index] - mean) ** 2 } return sd := sqrt(sd2 /= arr.Length) } Works well enough, if any...