Closed hjk22 closed 4 years ago
@hjk22 I was using the bot on my phone because my PC can't run an emulator. And with the new adb.init() it doesn't connect to my phone or something I don't know...
@hjk22 I was using the bot on my phone because my PC can't run an emulator. And with the new adb.init() it doesn't connect to my phone or something I don't know...
I managed to resolve it myself
Yes, I saw your pull request. Sorry that my changes made you unable to use the bot. I didn't take into consideration that people might use their phones to bot since the script requires a very specific screen resolution that some(?) devices may not be able to support.
We just need to implement support for other resolutions (LOL)
start-server
function: theconnect
command is now used only when necessary, since some emulators are automatically added to the adb daemon.-e
: this way if the daemon finds more than one device, but there is only one emulator, the script won't stop working due to a "more than one device" error.