Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Array issues
Post: Array issues

Getting a too many indices for array error while trying to make a function repeat. Is there a way to remove Array data or overwrite it maybe?def Begin(): RAtext = pyautogui.locateOnScreen("RAtext....
Bmart6969 Data Science 1 2,105 Jul-17-2020, 01:46 AM
    Thread: image grid coordinate system
Post: image grid coordinate system

i am trying to make an x, y coordinate system to enable my bot to tell where it is at any given point in game. i've mapped the entire game screen and have a script the takes 50x50pixel screenshots of ...
Bmart6969 General Coding Help 0 1,360 Oct-12-2019, 05:20 AM
    Thread: naming images adding to number within multiple functions
Post: naming images adding to number within multiple fun...

I am trying to map an image within a game that is a scrollable background. I am trying to figure out how to name the screenshots taken and adding +1 to the image name after every screenshot is taken h...
Bmart6969 General Coding Help 0 1,894 Oct-09-2019, 10:11 PM
    Thread: Pyautogui script runs fine if split into two parts together it does not
Post: RE: Pyautogui script runs fine if split into two p...

solved. gui is somehow defaulting to a generic location when finding none due to being scanning entire screen in the milisecond it took for the app to load next screen. it's leaving the gui in process...
Bmart6969 General Coding Help 1 2,503 Oct-07-2019, 10:53 PM
    Thread: Pyautogui script runs fine if split into two parts together it does not
Post: Pyautogui script runs fine if split into two parts...

Making a small bot to automate daily activities in a game the script runs fine and fully gets into the game. i Made another script to check resource levels that somewhat works other than needs tweaked...
Bmart6969 General Coding Help 1 2,503 Oct-07-2019, 09:10 PM
    Thread: can't assign to literal error in pycharm
Post: RE: can't assign to literal error in pycharm

try backing your triple quotation marks back to your object on line 5
Bmart6969 General Coding Help 2 2,926 Oct-07-2019, 08:57 PM
    Thread: pyautogui screenshotting region relative to image found on screen
Post: RE: pyautogui screenshotting region relative to im...

i figured out a way to do it however it is now saying too many indices for array for oil1[0]food1 = numpy.array(foodi) food1[0] += 32 food1[1] += 7 food1[2] += 30 food1[3] -= 10 food = pyautogui.scr...
Bmart6969 General Coding Help 3 6,339 Oct-05-2019, 06:20 PM
    Thread: pyautogui screenshotting region relative to image found on screen
Post: RE: pyautogui screenshotting region relative to im...

got it to modify the values of a found images region however it is still giving me an error this is what i have and the error. print(foodi) foodil = numpy.array(foodi) print(foodil.astype(int)[[0]+32...
Bmart6969 General Coding Help 3 6,339 Oct-05-2019, 02:15 AM
    Thread: pyautogui screenshotting region relative to image found on screen
Post: pyautogui screenshotting region relative to image ...

i am trying to manipulate a known region found by using the locate on screen feature then changing these points to select a region beside the found image and take a screenshot of it. no clue how to go...
Bmart6969 General Coding Help 3 6,339 Oct-05-2019, 12:02 AM
    Thread: pyautogui while loop
Post: pyautogui while loop

Having an issue with my script i am trying to get the script to wait until an image is no longer displayed on screen to continue to the next task. Here is what i have hangs up and just keeps posting P...
Bmart6969 General Coding Help 0 6,526 Oct-03-2019, 03:32 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020