CaptainDeathead / Eatventure-Bot

Shhhh... It's a bot that can (kinda) play eatventure
5 stars 2 forks source link

Failed to connect to the phone, please try again with a new different IP address! #9

Closed ksk233 closed 2 months ago

ksk233 commented 3 months ago

Hi, i did everything you instructed but when I am going to run it with python updater.py its says "Failed to connect to the phone, please try again with a new different IP address!" then asks for IP. tried with different ports but is always showing the same massage. can you help, please?

sefgsdfsdsfsd

CaptainDeathead commented 3 months ago

Do you have droidVNC running on android, if so it will yell you your phones IP address and port.

If you are on ios unfortunatly they do not support VNC to my knowledge :(

ksk233 commented 3 months ago

Yes i got that IP and port after starting the droidVNC. could it be an issue with python soft? As I cannot run python3 updater.py, I need to use python updater.py.

CaptainDeathead commented 3 months ago

Is your phone on the same wifi as computer?

Also maybe try not putting to port number in, just the ip address.

ksk233 commented 3 months ago

Is your phone on the same wifi as computer? Yes

Also maybe try not putting to port number in, just the ip address. tried both

ksk233 commented 3 months ago

Update: after reinstalling Python and some changes, I was finally able to start the bot, but it seems very very slow, should I change anything? it is only going to upgrades option and only opening and upgrading the last foods. like the way it clicks it would take a couple of hours or more to complete a station (I am at 60 City) which I could complete within 10-15 min max. Is there anything I can do about it.

Thanks a lot for the work you put in on this, really appreciate the efforts.

CaptainDeathead commented 2 months ago

Cheers :)

The reason the bot isn't doing the top station is because it needs to be tinkered with because your on a different device. The scrolling is a bit bugged because eatventure has custom scrolling functionality.

To get the bot working better on your device, open data.py in notepad and try lowering these values by just a smidge, to low and the Ai will click other random stuff.

# Confordence values
STATION_UPGRADES_CONFORDENCE: float = 0.8
CRATES_CONFORDENCE: float = 0.8
EXPLINATION_CONFORDENCE: float = 0.85
POPUP_CONFORDENCE: float = 0.8
RENOVATE_UPGRADE_CONFORDENCE: float = 0.8

To stop the autoscroll simply set max_scrolls to 0 in the menu.

CaptainDeathead commented 2 months ago

Sorry mate, didn't see your messages :( Thanks a lot! (Oops wrong issue)