Search found 141 matches

by mast4rwang
21 Jan 2019, 13:13
Forum: Gaming
Topic: Command bot
Replies: 2
Views: 386

Re: Command bot

you dont have permission to accept private messages :)
contact me when you can
by mast4rwang
19 Jan 2019, 14:46
Forum: Gaming
Topic: How do i make the whole script sleep for 1.2 seconds before accepting any input again?
Replies: 2
Views: 423

Re: How do i make the whole script sleep for 1.2 seconds before accepting any input again?

well, you added a pause of 1200 ms for each of your hotkeys xd

hint:
Spoiler
by mast4rwang
18 Jan 2019, 16:54
Forum: Gaming
Topic: Functions not calling Topic is solved
Replies: 3
Views: 475

Re: Functions not calling Topic is solved

Yeah, each function you create is local by default so it can only access values you define in function itself.
as swag said do this:

myFunction(x,y)
{
global
my code
return
}

Now it can access not only x,y but all other variables you created (except variables from functions that are local).
by mast4rwang
18 Jan 2019, 16:50
Forum: Ask For Help
Topic: hotkeys sometimes don't work
Replies: 4
Views: 452

Re: hotkeys sometimes don't work

What is the purpose of using hook commands in your script?
by mast4rwang
17 Jan 2019, 15:41
Forum: Ask For Help
Topic: Fastest sort
Replies: 9
Views: 1084

Re: Fastest sort

But as FG wrote, if it uses c++ sort I guess there is no chance to surpass the default sort ^^ It would be great if someone implimented this option in AHK through some Mcode or a Dll; or some other way to get a multi-dimensional array sort at C++ speed. FG Yeah and share the code so everyone can he...
by mast4rwang
16 Jan 2019, 15:47
Forum: Gaming
Topic: Left and right click key auto cycle
Replies: 17
Views: 2037

Re: Left and right click key auto cycle

Here's a test script to see if it does what you want. Press "A" to try: #NoEnv #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 ;#NoTrayIcon #KeyHistory 0 ListLines Off Process, Priority, , A SetBatchLines, -1 SetKeyDelay, -1, -1 SetMouseDelay, -1 SetDefaultMouseSpeed, 0 SetWinDelay, -1 Set...
by mast4rwang
16 Jan 2019, 15:43
Forum: Ask For Help
Topic: Fastest sort
Replies: 9
Views: 1084

Re: Fastest sort

A sort truly implemented in AHK is never going to be as fast as a the Sort command which is implemented in C++. The Sort command is probably a Quicksort at its core. It uses qsort from maykrosoft, so YEET. Array[pivot] I'm gonna let someone else spoil your fun and tell you what happens when you do ...
by mast4rwang
15 Jan 2019, 16:52
Forum: Ask For Help
Topic: Fastest sort
Replies: 9
Views: 1084

Fastest sort

I've read this article about sorting: https://en.wikipedia.org/wiki/Quicksort and I made some sort scripts, some using my own way, some similar to the logic of quicksort but it seems that nothing is faster than the default string sort. Here is a code from https://sites.google.com/site/ahkref/custom-...
by mast4rwang
15 Jan 2019, 16:39
Forum: Ask For Help
Topic: Script For Xbutton1 use LMouse Q Q repeat if i hold
Replies: 1
Views: 226

Re: Script For Xbutton1 use LMouse Q Q repeat if i hold

You might get help more easily if you don't mention that cancer game and even more so asking a cheat for it lol
by mast4rwang
15 Jan 2019, 06:50
Forum: Gaming
Topic: Scanning an area for color change.
Replies: 1
Views: 640

Re: Scanning an area for color change.

I can, PM me
by mast4rwang
15 Jan 2019, 06:48
Forum: Gaming
Topic: Movements not tracked
Replies: 1
Views: 345

Re: Movements not tracked

All games have that "system". You must simulate key presses in order for them to be detected.
by mast4rwang
15 Jan 2019, 04:45
Forum: Gaming
Topic: Trying to detect an image seems to do nothing at all
Replies: 10
Views: 965

Re: Trying to detect an image seems to do nothing at all

You play heroes 3? I have it too :D
Btw I don't know if it helps but remember to run in normal windowed mode or pixelsearch and imagesearch won't work! It only worked full screen back when windows was decent (win7).
by mast4rwang
14 Jan 2019, 05:34
Forum: Gaming
Topic: Left and right click key auto cycle
Replies: 17
Views: 2037

Re: Left and right click key auto cycle

You didn't ignore my response and just made a fool out of yourself once again :D Also did you even test your "pretty good" code? It is nowhere near applicable. But you got to love that "good starting point for games" comment. Maybe after a year of trial and error learning from that starting point yo...
by mast4rwang
12 Jan 2019, 18:18
Forum: Gaming
Topic: Left and right click key auto cycle
Replies: 17
Views: 2037

Re: Left and right click key auto cycle

Here's a test script to see if it does what you want. Press "A" to try: #NoEnv #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 ;#NoTrayIcon #KeyHistory 0 ListLines Off Process, Priority, , A SetBatchLines, -1 SetKeyDelay, -1, -1 SetMouseDelay, -1 SetDefaultMouseSpeed, 0 SetWinDelay, -1 SetC...
by mast4rwang
12 Jan 2019, 17:58
Forum: Gaming
Topic: Left and right click key auto cycle
Replies: 17
Views: 2037

Re: Left and right click key auto cycle

It is not clear at all @Masonjar13, what you wrote will not work 9 times out of 10 because you have no context (it will only work in notepad for testing and if lucky, in web browser game chat?). For example OP said he needs to memorize last button and continue the loop from the button it last stoppe...
by mast4rwang
12 Jan 2019, 17:43
Forum: Ask For Help
Topic: Replace lines in a file
Replies: 2
Views: 315

Re: Replace lines in a file

you can easily write your own replaceLine function :D
by mast4rwang
12 Jan 2019, 17:39
Forum: Ask For Help
Topic: Comparing 2 excel Files takes Forever to finish Topic is solved
Replies: 21
Views: 1900

Re: Comparing 2 excel Files takes Forever to finish Topic is solved

Someone suggests this for faster comparison: Sort both lists with an efficient sorting algorithm (or ensure that the lists are "pre-sorted" by whoever/whatever created them). Then, if the first name in both lists is the same you've found a match, otherwise discard whichever name is "earlier"; and do...
by mast4rwang
11 Jan 2019, 13:49
Forum: Ask For Help
Topic: Comparing 2 excel Files takes Forever to finish Topic is solved
Replies: 21
Views: 1900

Re: Comparing 2 excel Files takes Forever to finish Topic is solved

What is the goal of your app? What happens after it compares two excel files?
by mast4rwang
11 Jan 2019, 12:52
Forum: Gaming
Topic: Left and right click key auto cycle
Replies: 17
Views: 2037

Re: Left and right click key auto cycle

It i still very complicated... Cycles in loop is basically as saying loops in a loop and it makes no sense. If you could write down exact steps you need to accomplish I might be able to help you :D Example of a script: 1.I press the number 1 key. 2.AHK sends left button down repeatedly in specific i...

Go to advanced search