Cyrexxis / RokTracker

Open Source Rise of Kingdoms Stats Management Tool. Track TOP X Players of kingdom / alliance / honor leaderboard.
MIT License
41 stars 19 forks source link

Problem with multiple bluestacks instances #81

Open Cyrexxis opened 5 months ago

Cyrexxis commented 5 months ago

Describe the bug When multiple bluestacks instances are running the scanner fails in some cases. That happens because it for some reason ignores the given port and always uses the first instance.

Expected behavior Always scan the correct instance.

Additional context I suspect the problem lies in the way the adb connection is established. There the serial number is all wildcard and that is resulting in always choosing the first connected device. However, I don't understand why there are multiple connected devices.

Cyrexxis commented 5 months ago

I tried to reproduce that error, but for my setup it worked as expected. Tried two 64 bit Pie instances with BlueStacks 5.11.56.1003.