Search found 36 matches

by Trigun
10 Sep 2020, 00:45
Forum: Ask For Help
Topic: swipe action
Replies: 0
Views: 48

swipe action

how i can do a swipe action?
(click drag and release during drag without stop the mouse)
with MouseClickDrag i can't let the list to continue scroll
by Trigun
08 Sep 2020, 14:18
Forum: Ask For Help
Topic: RHCP readmemory stop working Topic is solved
Replies: 0
Views: 154

RHCP readmemory stop working Topic is solved

hello i was using a function for read a value from memory temp2 := "00 00 80 3E D3 D1 51 3F 8B 8A 0A 3F B6 B5 35 3F 00 00 80 3F D7 D6 D6 3E" pattern := varprocess.hexStringToPattern(temp2) pattern2 := varprocess.hexStringToPattern("00 00 00 00") result := 0x0 while ((result := varprocess.processPatt...
by Trigun
29 Aug 2020, 05:48
Forum: AutoHotkey_H
Topic: I wrote a LuaJIT FFI binding for AutoHotkey_H
Replies: 3
Views: 1634

Re: I wrote a LuaJIT FFI binding for AutoHotkey_H

i never used lua... so i don't understand the basic.... i can use lua and do the same stuff cheat engine scripts do?
i need a value from a getUser function and use that value on ahk, can i do that? (i need the EAX after the execution of the mono function)
by Trigun
27 Aug 2020, 04:01
Forum: Ask For Help
Topic: interrupt a loop
Replies: 3
Views: 188

Re: interrupt a loop

reload exitapp and shutdown will not allow me to restart the loop (both timers are started from a gui click)
by Trigun
26 Aug 2020, 06:37
Forum: Ask For Help
Topic: interrupt a loop
Replies: 3
Views: 188

interrupt a loop

hello i have a long loop cycle something like 20-30 sec then wait then repeat how i can break the loop and stop it from outside? i tried to do something like that SetTimer, startTimer, -10 ;~ SetTimer, UpdateTimer, 5000 where on the updatetimer i check for a condition and launch SetTimer,startTimer,...
by Trigun
23 Aug 2020, 07:25
Forum: Ask For Help
Topic: right click compile
Replies: 5
Views: 1955

Re: right click compile

i compiled and put all the vars precompiled in the ahk :-D psw too :-)
btw my problem was the wrong line on the regedit, was %1 instead of %l if i remember well....
by Trigun
23 Aug 2020, 00:47
Forum: Gaming
Topic: lock ahk to a program?
Replies: 0
Views: 437

lock ahk to a program?

i saw a bot done from some cinese guy for a game that was locking the mouse input for the game and u could still use the mouse during the bot activity. i didn't try the bot just read the readme stuff (windows delete for windows so didn't trust to open when i don't need). don't think the bot was with...
by Trigun
13 Aug 2020, 16:42
Forum: Ask For Help
Topic: right click compile
Replies: 5
Views: 1955

Re: right click compile

so i have to make a new script that launch the compiler and i should launch that 1 instead of the compiler?
by Trigun
13 Aug 2020, 08:12
Forum: Ask For Help
Topic: right click compile
Replies: 5
Views: 1955

right click compile

hello, i think i builded and set up ahk with ahk_h, right now in the compile folder i have ahk2exe.ahk, if i use ahk2exe for selfcompile i get the exe but i can't find a way for run it from command line in the regedit i tried a few combo with "path" "/in" "%1" or something like that but i always get...
by Trigun
09 May 2020, 16:00
Forum: Ask For Help
Topic: ahk and memory read/write like cheat engine? Topic is solved
Replies: 4
Views: 400

Re: ahk and memory read/write like cheat engine? Topic is solved

emm about the scan function... didn't noticed was already made :-D saw only the "common function" and was thinking the less common was some subfunction needed for the other functions :-D and since i didn't saw in the exemple code the use of the search i just skipped the comment of every function :-)...
by Trigun
09 May 2020, 13:33
Forum: Ask For Help
Topic: ahk and memory read/write like cheat engine? Topic is solved
Replies: 4
Views: 400

Re: ahk and memory read/write like cheat engine? Topic is solved

thanks for the link, didn't finded that library but only functions for read and write tempVar := 0x00000000 ;~ SetFormat, integer, hex memory.readRaw(0x21E2B010, tempVar,10240000) ;the start value is finded with cheatengine for tests results := searchValue(tempVar,temp2,10240000) ;temp2 is an array ...
by Trigun
01 May 2020, 10:40
Forum: Ask For Help
Topic: ahk and memory read/write like cheat engine? Topic is solved
Replies: 4
Views: 400

ahk and memory read/write like cheat engine? Topic is solved

hello, i found old posts (2015) with functions for read and write on the memory but they use always a memory position for read the value some1 already made a function for search a value in the memory like cheat engine ? i don't think is hard to do something like checkValue(mem, value) { valuebyte = ...
by Trigun
04 Jan 2020, 09:20
Forum: Scripts and Functions
Topic: Vis2 - Image to Text OCR()
Replies: 250
Views: 73155

Re: Vis2 - Image to Text OCR()

hello i'm trying to read numbers like this https://i.ibb.co/0hyLLjn/image.png but i get almost all wrongs result, the comma is always translated in something else (sometimes 1 sometimes 4) for ex that images is "281000" instead of 23000 or 23,000 i think is bc it try to get the black part instead th...
by Trigun
11 Jan 2019, 11:51
Forum: Gaming
Topic: fast getpixelcolor ?
Replies: 3
Views: 1304

Re: fast getpixelcolor ?

much better ^^ i tried with x:=760 y:=100 j:=0 start := A_TickCount while j<65 { snap := new CGdipSnapshot(750 ,890, 430, 1) snap.TakeSnaphot() val1 :=snap.PixelScreen[x,890].rgb val2 :=snap.PixelScreen[x+5,890].rgb val3 :=snap.PixelScreen[x-5,890].rgb if (val1 = red or val2 = red or val3 = red) { C...
by Trigun
09 Jan 2019, 19:41
Forum: Gaming
Topic: fast getpixelcolor ?
Replies: 3
Views: 1304

Re: fast getpixelcolor ?

i search for the start and end of the white area since the bar can start from right or left the +30 pixel is for the delay/lag the bar start from 1 edge till the other side without reverse the direction and all the travel last less than a second i tried to start a timer after the x3 and got 200-600m...
by Trigun
07 Jan 2019, 08:57
Forum: Gaming
Topic: fast getpixelcolor ?
Replies: 3
Views: 1304

fast getpixelcolor ?

hi i made a small script for click on the right zone of a minigame https://i.imgur.com/3oXvhlo.png x = first white pixel from left x2 = first white pixel from right x3 = position of the red bar if the red bar is in the right side it go from right to left otherwise and i switch x2 with x and start th...
by Trigun
23 Jun 2017, 02:56
Forum: Scripts and Functions
Topic: MicroTimer - Sub-10ms timers for AHK (C# DLL)
Replies: 45
Views: 12484

Re: MicroTimer - Sub-10ms timers for AHK (C# DLL)

i don't understand the code... (the demo don't do anything)
if i want replace my sleep commands with this library how i can do it?
something like

Code: Select all

 sleep (t) {
DllCall("MicroTimer.dll\Sleep", "UInt",t)
}
by Trigun
21 May 2017, 11:01
Forum: Scripts and Functions
Topic: MicroTimer - Sub-10ms timers for AHK (C# DLL)
Replies: 45
Views: 12484

Re: MicroTimer - Sub-10ms timers for AHK (C# DLL)

i don't understand ... with this code i can run a sleep that trigger when i want and not on tick timer?
by Trigun
21 May 2017, 07:49
Forum: Gaming
Topic: accurate sleep timers (10ms?)
Replies: 1
Views: 583

accurate sleep timers (10ms?)

hello i was using this sleep function sleep(period := 1) { static Frequency ; frequency can't change while computer is on if !Frequency DllCall("QueryPerformanceFrequency", "Int64*", Frequency) DllCall("QueryPerformanceCounter", "Int64*", Start) Finish := Start + ( Frequency * (period/1000)) loop Dl...
by Trigun
20 May 2017, 16:24
Forum: Ask For Help
Topic: accurate sleep timers (10ms?)
Replies: 0
Views: 347

accurate sleep timers (10ms?)

hello i was using this sleep function sleep(period := 1) { static Frequency ; frequency can't change while computer is on if !Frequency DllCall("QueryPerformanceFrequency", "Int64*", Frequency) DllCall("QueryPerformanceCounter", "Int64*", Start) Finish := Start + ( Frequency * (period/1000)) loop Dl...

Go to advanced search