New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhashable type numpy error #52
Comments
I'm currently on Easter holiday, but I could take a look after the weekend. I believe the deployment used to work just fine. Might be that we should change the numpy version, or similar. Could also be that the deployment was not done according to the documentations. Could you take another look to ensure you have followed every single step (see here). Could also be that the game's UI has changed drastically from last time resulting in unexpected behaviour. |
BTW: Did you observe any mouse movements? I launched the game to check, and I noticed that the icons of all animals seem to have changed. The UI also has been modified slightly. Hence, we might have to update the machine vision system to work with the new version of the game. |
I was unable to debug this right now, as I only have a macbook and ran into the issue #54. |
Yeah, I'm leaning towards UI changes. I reverted animal icons to classic style, and that helped the script to see them, but I think it has troubles with the interface. No mouse movements over here. Gonna tinker a bit with the vision system on my side see what I can come up. CHeers! |
Oh, it is possible to do that! Great! I could see if it works on my old ass windows laptop. Hang on a bit. If you fork the repo, you could adjust it as you'd like. If you manage to get it working, you could make a PR and I could try it on my end :] |
Its a bit counter intuitive to change the animal graphics. You do it in the main menu, customize, pets, change all, classic. |
Yeah, I tried. Did not seem like it changed the animals, but it did change the UI in general, as far as I could see.
I made an issue regarding that which I could assign to you if you want, see issue #17. I made a new comment there regarding what you likely need to change to get this working (see here). |
I managed to reproduce this issue. Note that you can increase verbosity by adding From my verbose below, you can see this line Could you send me a screenshot how it looks before and after changing style of animals/UI? This is my verbose:
|
A fix for this was added by @laughinggaschambers in dd96345. See #55 (comment) for more information. |
Hi!
I'm trying to run the script, but I'm getting the numpy error "TypeError: unhashable type: 'numpy.ndarray'". This is on latest version, tried in windows and ubuntu, same issue. Python 3.10 and 3.11. The script seems to see the screen, but fails to continue.
Any idea?
Thanks!
The text was updated successfully, but these errors were encountered: