Code Monkey home page Code Monkey logo

Comments (5)

nopeAnon avatar nopeAnon commented on June 12, 2024

It update's when the program is closed or switching the capture to a different program.

That wouldn't make sense. It shouldn't do anything when it's closed.

if hwndMain == 0:
time.sleep(1)
continue

And it shouldn't even switch programs, since there should only be one application with the window class YYGameMakerYY and title HoloCure

hwndMain = win32gui.FindWindow("YYGameMakerYY", "HoloCure")

image

Can you try running the script again with all windows closed except holocure?

from automated-holocure-fishing.

davidqian88 avatar davidqian88 commented on June 12, 2024

This is what I got after closing the browser and launch the game before running the script. I was switching the capture window in the script manually to check if it is looking for the correct window.
image

from automated-holocure-fishing.

davidqian88 avatar davidqian88 commented on June 12, 2024

It update's when the program is closed or switching the capture to a different program.

The screenshot "resets" when I run the script without opening the HoloCure. The screenshot will stay the same when I stop the script and HolocCure and run the script after HoloCure is launched or if I stop the script and re-run while HoloCure is running.

from automated-holocure-fishing.

Hexus-One avatar Hexus-One commented on June 12, 2024

Hi it looks like you're on Windows 11 - I wrote and tested the code on Windows 10 only (using VS Code) so I'm not sure how it would behave on Win11. Does the program still work regardless of the debug window display?

from automated-holocure-fishing.

davidqian88 avatar davidqian88 commented on June 12, 2024

Does the program still work regardless of the debug window display?

Unfortunately it’s not. I’ll try the timer you mentioned in issue 21.

from automated-holocure-fishing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.