andreped / super-ml-pets

🐢 AI for Super Auto Pets
MIT License
31 stars 13 forks source link

Not doing anything. #73

Open 9ny4 opened 11 months ago

9ny4 commented 11 months ago

Describe the bug the bot is not doing anything after pressing space. I have 3 monitors, i pluged out 2 of them so only 1 was active and set the resolution to 1920x1080. The console is logging the info but after a good 15 seconds it says its finished and a loading bar appears. when its done it exits out of the file.

To Reproduce Steps to reproduce the behavior:

  1. Run ai
  2. go to game and press space
  3. wait 15 secs
  4. Ai "Finishes"

Expected behavior The ai to play or do a action.

Screenshots image

Desktop (please complete the following information):

andreped commented 11 months ago

See issue https://github.com/andreped/super-ml-pets/issues/70#issue-1940966548.

Basically, they changed the game quite a bit, which resulted in the computer vision system no longer being compatible.

9ny4 commented 11 months ago

So it dosent work anymore at all?

andreped commented 11 months ago

So it dosent work anymore at all?

With the current version of the game, no.

I mean, it runs, the computer vision system just fails to capture what is on the screen, hence, the RL agent is not given what it needs to play the game.

As I personally have stopped playing the game, I do not see myself resolving this issue. Hopefully, someone else interested, can have a look.

The first task is mainly to update all the templates in: https://github.com/andreped/super-ml-pets/tree/main/smp/SAP_res

andreped commented 10 months ago

I have updated all pet and food items in https://github.com/andreped/super-ml-pets/commit/5ce7b6671bc6d0d067155ea72e5c454599f4d735.

But I need to run some tests tomorrow on my windows laptop. Will keep you updated!

andreped commented 10 months ago

I made progress on the CV system in https://github.com/andreped/super-ml-pets/commit/11853610f78153849c3423f5d8f71803619e6241.

Sadly, the game logic has changed quite a big, so it requires some work, but hopefully I should have this working very soon.