Skip to content

waruniversebot/wupacket

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

38 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ WARANGEL - War Universe Game Bot

Wupacket Logo

License Version

๐ŸŒŒ Overview

Wupacket is a sophisticated automation bot for War Universe, providing advanced functionality for combat, resource collection, and survival. Built with performance and customization in mind, this bot offers an extensive range of features to enhance your gameplay experience.

โœจ Features

๐Ÿ›ก๏ธ Combat System

  • Intelligent Target Selection: Prioritize enemies based on custom criteria
  • Weapon Management: Automatic ammunition and rocket usage optimization
  • Combat Tactics: Farm near portals or engage in open space based on configuration

๐Ÿ“ฆ Resource Collection

  • Box Collection: Target specific box types with custom priority levels
  • Resource Optimization: Efficient pathfinding for resource gathering

๐Ÿ”„ Auto-Enhancement

  • Equipment Enrichment: Auto-enhance lasers, rockets, shields, and speed
  • Material Management: Specify material types and minimum amounts

Enrichment Material IDs

Laser Enrichment Materials
  • 0: Disabled
  • 4: Darkonit
  • 5: Uranit
  • 7: Dungid
Generator Enrichment Materials
  • 0: Disabled
  • 5: Uranit
  • 6: Azurit
  • 8: Xureon

๐Ÿ›’ Auto-Buying

  • Equipment Purchasing: Automatically purchase lasers, rockets, and keys
  • Currency Management: Save specific amounts of PLT

๐Ÿ›ก๏ธ Survival Mechanisms

  • Health Management: Configure minimum and advised HP levels
  • Escape System: Automatic escape when in danger
  • Config Switching: Change configurations dynamically based on shield status

๐Ÿ‘ฎ Admin Detection

  • Administrator Avoidance: Detect and avoid game administrators
  • Safety Protocols: Implement delays and evasion tactics

โฐ Anti-Ban Features

  • Break Scheduling: Configure work/break intervals
  • Behavior Randomization: Mimic human-like gameplay patterns

๐Ÿ”ง Configuration

The bot offers extensive configuration options:

client.setSettings({
  workMap: "R-6", // Target map to work on
  killTargets: [
    // Enemy targets with priority
    { name: "-=(Hydro)=-", priority: 1, ammo: 1, rockets: 1, farmNearPortal: false },
    { name: "-=(Hyper|Hidro)=-", priority: 2, ammo: 1, rockets: 1, farmNearPortal: false },
    // More targets...
  ],
  collectBoxTypes: [
    // Box types to collect
    { type: 3, priority: 10 },
    { type: 1, priority: 1 },
  ],
  minHP: 10, // Minimum health percentage
  adviceHP: 70, // Advised health percentage
  kill: {
    targetEngagedNPC: true, // Whether to target already engaged NPCs
  },
  escape: {
    enabled: true, // Enable escape mechanism
    delay: 20000, // Delay before escape
  },
  config: {
    switchConfigOnShieldsDown: true, // Switch config when shields are down
    attacking: 1, // Config for attacking
    fleeing: 2, // Config for fleeing
    flying: 2, // Config for flying
  },
  enrichment: {
    lasers: { enabled: true, materialType: 0 },
    rockets: { enabled: true, materialType: 0 },
    shields: { enabled: true, materialType: 0, amount: 10, minAmount: 10 },
    speed: { enabled: true, materialType: 0, amount: 10, minAmount: 10 },
  },
  autobuy: {
    laser: {
      RLX_1: true,
      GLX_2: true,
      BLX_3: true,
      GLX_2_AS: true,
      MRS_6X: true,
    },
    rockets: {
      KEP_410: true,
      NC_30: true,
      TNC_130: true,
    },
    key: {
      enabled: true,
      savePLT: 50000, // Amount of PLT to save
    },
  },
  break: {
    interval: 3600000, // Break interval (1 hour)
    duration: 300000, // Break duration (5 minutes)
  },
  admin: {
    enabled: true, // Enable admin detection
    delay: 5, // Delay for admin detection processing
  },
});

๐Ÿ•น๏ธ Modes

The bot supports multiple operation modes:

  • Kill Mode: Focus solely on combat and enemy elimination
  • Collect Mode: Focus solely on resource collection
  • KillCollect Mode: Balance between combat and collection
  • Follow Mode: Follow a specific player
client.setMode("kill"); // Options: "follow", "kill", "collect", "killcollect"

๐Ÿš€ Getting Started

Prerequisites

Installation

  1. Clone the repository:
git clone https://github.com/AlloryDante/War-Universe-PacketBot.git
cd War-Universe-PacketBot
  1. (OPTIONAL - Really not required unless you dev the client! )Compile the Java client emulator:
cd wupacket
mvn clean verify
  1. Install dependencies:
npm install
  1. Configure your account in main.js. Don't forget to also edit the settings:
const client = new Client({
  username: "your_username", //Your account username here
  password: "your_password", //Your account password
  serverId: "eu1", //or tr1, na1 I think test1 also work for test server
});
  1. (OPTIONAL) Update the client version and MD5 hash in modules/general/netClient.js :
this.clientVersion = [1, 233, 0]; // Update with current game version
this.clientMD5 = "269980fe6e943c59e8ff10338f719870"; // Calculate using https://emn178.github.io/online-tools/md5_checksum.html
  1. Start the bot:
node main.js

โŒจ๏ธ Manual Controls

The bot supports manual control via console commands:

  • Press h to return to home coordinates
  • Press Enter to target a specific ship - you must edit the id inside the scripts

โš ๏ธ Disclaimer

This bot is for educational purposes only. Use at your own risk. The developers are not responsible for any consequences resulting from the use of this software, including but not limited to account bans or suspensions.

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.


Built with โค๏ธ by Allory Dante

About

POC PacketBot for the 2D game War Universe.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 51.3%
  • JavaScript 44.7%
  • HTML 3.7%
  • CSS 0.3%