├── datas.txt ├── proxies.txt ├── wallets.txt ├── meomundep.js ├── configs.json ├── README.md ├── setup.bat └── setup.sh /datas.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxies.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wallets.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /meomundep.js: -------------------------------------------------------------------------------- 1 | console.log(`This game is broken, please choose another scripts!`) 2 | -------------------------------------------------------------------------------- /configs.json: -------------------------------------------------------------------------------- 1 | { 2 | "timeZone": "en-US", 3 | "rotateProxy": false, 4 | "skipInvalidProxy": false, 5 | "proxyRotationInterval": 2, 6 | "delayEachAccount": [3, 12], 7 | "timeToRestartAllAccounts": 300, 8 | "howManyAccountsRunInOneTime": 10, 9 | "doTasks": true, 10 | "playGames": true, 11 | "walletFeatures": { 12 | "connectWallet": false, 13 | "activate": false 14 | }, 15 | "upgradeBuildings": true, 16 | "maxBuildingUgradePrice": 500000, 17 | "doLessions": true, 18 | "doBattle": true, 19 | "howManyBattle": 100, 20 | "howManyPercentOfCoinsToStake": 10 21 | } 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 📞 Contact 2 | 3 | > If you encounter any issues or have questions, feel free to reach out: 4 | 5 | - Contact: [Link](t.me/MeoMunDep) 6 | - Group: [Link](t.me/KeoAirDropFreeNe) 7 | - Channel: [Link](t.me/KeoAirDropFreeNee) 8 | 9 | > Help me with your referral [Link](https://t.me/avagoldcoin_bot?start=ca4b067a9bdb14c59eea) 10 | 11 | ## 🚀 Getting Started 12 | 13 | To get started with the bot, follow these steps: 14 | 15 | 0. **Dowload NodeJS to run the bot** 16 | 17 | > Remember to download Nodejs version: **22.11.0** and NPM version: **10.9.0** > [Download Link](https://t.me/KeoAirDropFreeNe/257/1462) 18 | 19 | 1. **Install Dependencies and Modules:** 20 | 21 | ``` 22 | npm i user-agents axios colors p-limit https-proxy-agent socks-proxy-agent crypto-js ws uuid 23 | ``` 24 | 25 | 2. **Prepare Configuration Files:** 26 | 27 | > You'll need to set up a few configuration files for the bot to work properly. 28 | 29 | ## 📁 Configuration Files 30 | 31 | ### 1. `configs.json` 📜 - Adjust configuration 32 | 33 | ```json 34 | { 35 | "timeZone": "en-US", 36 | "rotateProxy": false, 37 | "skipInvalidProxy": false, 38 | "proxyRotationInterval": 2, 39 | "delayEachAccount": [3, 12], 40 | "timeToRestartAllAccounts": 300, 41 | "howManyAccountsRunInOneTime": 10, 42 | "doTasks": true, 43 | "playGames": true, 44 | "walletFeatures": { 45 | "connectWallet": false, 46 | "activate": false 47 | }, 48 | "upgradeBuildings": true, 49 | "maxBuildingUgradePrice": 500000, 50 | "doLessions": true, 51 | "doBattle": true, 52 | "howManyBattle": 100 53 | } 54 | ``` 55 | 56 | ### 2. `datas.txt` 🗂️ - Get it from here >>> [Link](https://t.me/KeoAirDropFreeNe/257/6879) 57 | 58 | ```txt 59 | query_id.../user... 60 | query_id.../user... 61 | query_id.../user... 62 | ``` 63 | 64 | ### 3. `wallets.txt` 💼 - Cannot update yet. 65 | 66 | ```txt - wallet address 67 | abc...xyz 68 | abc...xyz 69 | abc...xyz 70 | ``` 71 | 72 | ### 4. `proxies.txt` 🌐 - Proxy is an option. If you have one, fill it in; otherwise, leave it blank. 73 | 74 | ```txt 75 | http://user:password@host:port 76 | https://user:password@host:port 77 | socks4://user:password@host:port 78 | socks5://user:password@host:port 79 | ``` 80 | 81 | 💡 Usage: 82 | 83 | > You need to `cd` to the file after extract it. 84 | > To run the bot, use the following command: `cd avacoin; node meomundep` 85 | 86 | 🎇Enjoy! 87 | -------------------------------------------------------------------------------- /setup.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | title Avacoin Bot 3 | color 0A 4 | 5 | cd .. 6 | if exist node_modules ( 7 | echo Found node_modules in parent directory 8 | cd %~dp0 9 | ) else ( 10 | cd %~dp0 11 | echo node_modules not found in parent directory 12 | ) 13 | 14 | :MENU 15 | cls 16 | echo ================================================================= 17 | echo Avacoin BOT SETUP AND RUN SCRIPT 18 | echo ================================================================= 19 | echo. 20 | echo Current directory: %CD% 21 | echo Parent node_modules: %~dp0..\node_modules 22 | echo. 23 | echo 1. Install/Update Node.js Dependencies 24 | echo 2. Create/Edit Configuration Files 25 | echo 3. Run the Bot 26 | echo 4. Exit 27 | echo. 28 | set /p choice="Enter your choice (1-4): " 29 | 30 | if "%choice%"=="1" goto INSTALL 31 | if "%choice%"=="2" goto CONFIG 32 | if "%choice%"=="3" goto RUN 33 | if "%choice%"=="4" goto EXIT 34 | 35 | :INSTALL 36 | cls 37 | echo Checking node_modules location... 38 | if exist "..\node_modules" ( 39 | cd .. 40 | echo Installing/Updating dependencies in parent directory... 41 | npm install user-agents axios colors p-limit https-proxy-agent socks-proxy-agent crypto-js ws uuid xlsx readline-sync 42 | cd %~dp0 43 | ) else ( 44 | echo Installing dependencies in current directory... 45 | npm install user-agents axios colors p-limit https-proxy-agent socks-proxy-agent crypto-js ws uuid xlsx readline-sync 46 | ) 47 | echo. 48 | echo Dependencies installation completed! 49 | pause 50 | goto MENU 51 | 52 | :CONFIG 53 | cls 54 | echo Creating configuration files... 55 | 56 | if not exist configs.json ( 57 | echo {> configs.json 58 | echo "timeZone": "en-US",>> configs.json 59 | echo "rotateProxy": false,>> configs.json 60 | echo "skipInvalidProxy": false,>> configs.json 61 | echo "proxyRotationInterval": 2,>> configs.json 62 | echo "delayEachAccount": [3, 12],>> configs.json 63 | echo "timeToRestartAllAccounts": 300,>> configs.json 64 | echo "howManyAccountsRunInOneTime": 10,>> configs.json 65 | echo "doTasks": true,>> configs.json 66 | echo "playGames": true,>> configs.json 67 | echo "walletFeatures": {>> configs.json 68 | echo "connectWallet": false,>> configs.json 69 | echo "activate": false>> configs.json 70 | echo },>> configs.json 71 | echo "upgradeBuildings": true,>> configs.json 72 | echo "maxBuildingUgradePrice": 500000,>> configs.json 73 | echo "doLessions": true,>> configs.json 74 | echo "doBattle": true,>> configs.json 75 | echo "howManyBattle": 100,>> configs.json 76 | echo "howManyPercentOfCoinsToStake": 10>> configs.json 77 | echo }>> configs.json 78 | echo Created configs.json 79 | ) 80 | 81 | 82 | 83 | if not exist datas.txt ( 84 | type nul > datas.txt 85 | echo Created datas.txt 86 | ) 87 | if not exist wallets.txt ( 88 | type nul > wallets.txt 89 | echo Created wallets.txt 90 | ) 91 | if not exist proxies.txt ( 92 | type nul > proxies.txt 93 | echo Created proxies.txt 94 | ) 95 | 96 | echo. 97 | echo Configuration files have been created/checked. 98 | echo Please edit the files with your data before running the bot. 99 | echo. 100 | pause 101 | goto MENU 102 | 103 | :RUN 104 | cls 105 | echo Starting the bot... 106 | if exist "..\node_modules" ( 107 | echo Using node_modules from parent directory 108 | ) else ( 109 | echo Using node_modules from current directory 110 | ) 111 | node meomundep 112 | pause 113 | goto MENU 114 | 115 | :EXIT 116 | exit 117 | -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | RED='\033[0;31m' 4 | GREEN='\033[0;32m' 5 | YELLOW='\033[1;33m' 6 | NC='\033[0m' 7 | 8 | print_green() { 9 | echo -e "${GREEN}$1${NC}" 10 | } 11 | 12 | print_yellow() { 13 | echo -e "${YELLOW}$1${NC}" 14 | } 15 | 16 | print_red() { 17 | echo -e "${RED}$1${NC}" 18 | } 19 | 20 | chmod +x "$0" 21 | 22 | if [ -d "../node_modules" ]; then 23 | print_green "Found node_modules in parent directory" 24 | MODULES_DIR=".." 25 | else 26 | print_green "Using current directory for node_modules" 27 | MODULES_DIR="." 28 | fi 29 | 30 | create_default_configs() { 31 | cat > configs.json << EOL 32 | { 33 | "timeZone": "en-US", 34 | "rotateProxy": false, 35 | "skipInvalidProxy": false, 36 | "proxyRotationInterval": 2, 37 | "delayEachAccount": [3, 12], 38 | "timeToRestartAllAccounts": 300, 39 | "howManyAccountsRunInOneTime": 10, 40 | "doTasks": true, 41 | "playGames": true, 42 | "walletFeatures": { 43 | "connectWallet": false, 44 | "activate": false 45 | }, 46 | "upgradeBuildings": true, 47 | "maxBuildingUgradePrice": 500000, 48 | "doLessions": true, 49 | "doBattle": true, 50 | "howManyBattle": 100, 51 | "howManyPercentOfCoinsToStake": 10 52 | } 53 | EOL 54 | } 55 | 56 | check_configs() { 57 | if ! node -e "const cfg=require('./configs.json');if(typeof cfg.howManyAccountsRunInOneTime !== 'number' || cfg.howManyAccountsRunInOneTime < 1) throw new Error('Invalid config');" 2>/dev/null; then 58 | print_red "Invalid configuration detected. Resetting to default values..." 59 | create_default_configs 60 | print_green "Configuration reset completed." 61 | fi 62 | } 63 | 64 | while true; do 65 | clear 66 | echo "============================================================================" 67 | echo " Avacoin BOT SETUP AND RUN SCRIPT" 68 | echo "============================================================================" 69 | echo 70 | echo "Current directory: $(pwd)" 71 | echo "Node modules directory: $MODULES_DIR/node_modules" 72 | echo 73 | echo "1. Install/Update Node.js Dependencies" 74 | echo "2. Create/Edit Configuration Files" 75 | echo "3. Run the Bot" 76 | echo "4. Exit" 77 | echo 78 | read -p "Enter your choice (1-4): " choice 79 | 80 | case $choice in 81 | 1) 82 | clear 83 | print_yellow "Installing/Updating Node.js dependencies..." 84 | cd "$MODULES_DIR" 85 | npm install user-agents axios colors p-limit https-proxy-agent socks-proxy-agent crypto-js ws uuid xlsx readline-sync 86 | cd - > /dev/null 87 | print_green "Dependencies installation completed!" 88 | read -p "Press Enter to continue..." 89 | ;; 90 | 2) 91 | clear 92 | print_yellow "Setting up configuration files..." 93 | 94 | if [ ! -f configs.json ]; then 95 | create_default_configs 96 | print_green "Created configs.json with default values" 97 | fi 98 | 99 | check_configs 100 | 101 | for file in datas.txt wallets.txt proxies.txt; do 102 | if [ ! -f "$file" ]; then 103 | touch "$file" 104 | print_green "Created $file" 105 | fi 106 | done 107 | 108 | print_green "\nConfiguration files have been created/checked." 109 | print_yellow "Please edit the files with your data before running the bot." 110 | read -p "Press Enter to continue..." 111 | ;; 112 | 3) 113 | clear 114 | print_yellow "Checking configuration before starting..." 115 | if ! check_configs; then 116 | print_red "Error: Invalid configuration detected. Please run option 2 to fix configuration." 117 | read -p "Press Enter to continue..." 118 | continue 119 | fi 120 | 121 | print_green "Starting the bot..." 122 | if [ -d "../node_modules" ]; then 123 | print_green "Using node_modules from parent directory" 124 | else 125 | print_green "Using node_modules from current directory" 126 | fi 127 | node meomundep 128 | read -p "Press Enter to continue..." 129 | ;; 130 | 4) 131 | print_green "Exiting..." 132 | exit 0 133 | ;; 134 | *) 135 | print_red "Invalid option. Please try again." 136 | read -p "Press Enter to continue..." 137 | ;; 138 | esac 139 | done 140 | --------------------------------------------------------------------------------