Unstable work of python’s GUI automation with game
I’m trying to make a script for auto-moving of items in Reign of Guilds inventory, but I’ve forced problem.
My script for moving an item:
My script is struggling to identify the image
My script is having a hard time identifying the image when it pops up, i ran the script and watched it in game but it failed to idenfity the picture correctly once even after running for more than 1 minute, i tried putting the confidence down to .3 but then it just thinks everything is the image
How to fix pyautogui error when importing
I just installed pyautogui with pip but when I try to run import pyautogui in a python program I get this error, “ImportError: cannot import name ‘_pyautogui_win’ from partially initialized module ‘pyautogui’ (most likely due to a circular import)”
How to find and count multiple images on screen and after a certain amount click on one randomly?
So what I am looking to do is watch an area of the screen until 10 objects that are all the same are present. So having the script count how many are preset? Then within those 10 objects, clikc on on of them at random. I unfortunetly have no code to base this on and its all really theoretical. Thanks!
Why is this loop getting error “pyscreeze.ImageNotFoundException: Could not locate the image”
So I am trying to make this so that it will print “hello” until the ‘logout’ image is found. But unless the image is immidietly on the screen it will just error out. I have also tried iterations but that kind of doesnt work because basically I want this to be just constantly checking to see if this image is present every second or so. I am super new and bad at this so im sure its something easy but I cannot seem to find it.