This bot going to tap dice roller on each VMs
The following components will be installed in your Windows machine,
- MEmu - Android emulator
- MEmu Commands - memuc supports to manipulate multiple instances (VMs) such as reboot emulator, check status, install apk, run app and etc.
- One or more VMs installed with MEmu Android emulator
- These VMS should be handles by multicore of CPU
📍 It is recommended to have more VMs to get more result choice.
The Git repository contains the following directories under monopoly-bot
.
📁 monopoly-bot
├─📁 bot_diceRoller.ps1
└─📁 README.md
📍 The adb shell getevent -l
commad will showing the coordinates of tap in hex, need to converted it into decimal.
-
Copy the result then converted the hex to decimal and start filling out all the $tapLocation variables.
All are required unless otherwise noted in the comments.
/dev/input/event1: EV_ABS ABS_MT_POSITION_X 000001b3 /dev/input/event1: EV_ABS ABS_MT_POSITION_Y 00000320
-
Once that is done, verify the configuration is correct by running:
getevent -l | awk '{ printf "%s %s %s %d\n", $1, $2, $3, ("0x" $4)+0 }'
📍 Will be running as main emulator
📍 After installing the emulator, create new VM's with most recent version
-
Ensure you are able to
adb shell
into your nodes from your workstation -
Get list of connected internet
PS C:\Program Files\Microvirt\MEmu> Get-NetAdapter Name InterfaceDescription ifIndex Status MacAddress LinkSpeed ---- -------------------- ------- ------ ---------- --------- Bluetooth Network Conn... Bluetooth Device (Personal Area Netw... 20 Disconnected F0-57-A6-0F-46-54 3 Mbps Ethernet Realtek PCIe GbE Family Controller 13 Up A8-A1-59-E0-9C-EA 100 Mbps WiFi Intel(R) Dual Band Wireless-AC 3168 9 Disconnected F0-57-A6-0F-46-50 0 bps
-
Verify the vms has been started
cd "C:\Program Files\Microvirt\MEmu" memuc.exe listvms
After all has been configured, use the command below;
-
Simply execute the following command in current path, with administrator privilege on terminal by right clicking on it;
monopoly-bot\bot_diceRoller.ps1
So you got the policy error run this beforehand
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process