Replies: 1 comment
-
code looks correct to me. ImagePutBuffer is a little faster keep using imageputwindow to check ur captures |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
part of my code
basically i wrote a bot, and im using imageput for checking if my character is moving or not, so i check every 500ms if "map" in the game changed, which mean character moved. The problem is, that after few hours of working something happening and every imagesearch in my script is stopping to work, for example i made a hotkey like that:
for few hours it works fine, but when it broke then it return just empty strings, so it mean it doesnt find the image.
reloading script is fixing the problem, but i would prefer no to reload it every 30min.
I was thinking maybe its some kind of memory leak, but idk
im using ahk 1.1
Beta Was this translation helpful? Give feedback.
All reactions