Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

new: HighwayTools #1226

Open
wants to merge 561 commits into
base: master
Choose a base branch
from
Open

new: HighwayTools #1226

wants to merge 561 commits into from

Conversation

Avanatiker
Copy link
Contributor

@Avanatiker Avanatiker commented Aug 19, 2020

Description
Adding fully automated highway building as module to KAMI Blue. The tool places building material and destroys wrong blocks in high frequency using well timed packets. The module can build autonomously highways in all 8 directions while its pathfinder keeps you at the desired position and takes care of any possible dangerours situation. It is highly customizable and allows deep changes in system using configurations. It is fully compatible with most modules of KAMI blue like AutoObsidian, LagNotifier etc and also is confirmed to work with Rusherhack Future Impact etc.

Features

  • Digs tunnel and paves Obsidian floor at the same time
  • Faster block breaking and placing then any other solution
    • Reaches 30+ blocks per second mining interactions on 2b2t
    • Reaches 7+ blocks per second placing interactions on 2b2t
    • Confirmed over 300% faster then previous cutting edge digging solutions (source: MEG)
  • Intelligent liquid handling
    • Reacts on liquid pockets using cutting edge placing exploits to patch lava pockets before even opening them
    • Reacts on complex flow strucutres and cleans up
  • Diagonal highway mode
  • Intelligent repair mode
  • The built in Anti-Anti-Cheat works with 2b2t's anti-cheat and NoCheatPlus
  • Pauses on lag to avoid kick (enable LagNotifier for this feature)
  • Ignore Blocks: Signs, Portals, Banners, Bedrock and more
  • Choose custom building materials
  • Auto clipping to starting coordinates
  • Commands:
    • ;highwaytools - alias: ;ht
    • ;ht ignore add <block> Adds block to ignore list
    • ;ht ignore del <block> Removes block from ignore list
    • ;ht material <block> Choose an alternative building block (default: Obsidian)
    • ;ht filler <block> Choose an alternative filler block to fill liquids (default: Netherrack)
    • ;ht settings or ;ht Shows detailed settings of the module
    • ;ht west 0 for starting the bot with direction west clipped at the coordinate 0 (Planned)
  • Compatible with:
    • LagNotifier (Baritone mode) To stop while lagging to not get kicked
    • AutoObsidian to automatically get new Obsidian from Ender Chests even from shulker boxes
    • AutoEat set PauseBaritone on false and below health 19.0 and u are safe from lava and other threads having gapples in inventory
    • InventoryManager (Support pending) to refill the Hotbar and get rid of overburden (mostly Netherrack)
    • AutoLog to logout on any given danger
    • AutoReconnect (Support pending) to get back on server after waiting (for example a player comes in range)
    • AntiHunger slows food level decrease but makes block breaking slower
  • Highly dynamical generated blueprints:
    • Three Modes: Highway (for full highways), Tunnel (optimized for digging), Flat (for repair obsidian sky)
    • ClearSpace: Choose to break wrong blocks and tunneling
    • ClearHeight: Choose the height of tunnel
    • BuildWidth: Choose the width of the highway
    • Railing: Choose if the highway has rims/guardrails
    • RailingHeight: Choose height of the rims/guardrails
    • CornerBlock: Choose if u want to have a corner block or not

Pending for update v9.9
Last stable version before merge

  • Fix diagonal default blueprint tunnel floor
  • Fix adding break tasks for ignore blocks
  • Fix wrong hardness calculation when fast switching slot
  • Refactor Place Deep Search > Return list of shortest path to position
  • Fix mining portal blocks inside the structure
  • Click slot when stuck
  • Stop bot after x distance / change direction
  • Priorize container position on same Y as player
  • Fix item drop finder to get only correct drops
  • Fix cleanfloor on narrow tunnels
  • Fix CornerBlock option
  • Fix onStuck on new states
  • Get deep place working
  • AntiHunger activation for idle walking
  • AnfiAFK by cycling a place break
  • Fix inventory desync when placing more blocks then blocks are in inv
  • Optimize placements for no anticheat servers
  • Maybe change origin of total blocks broken placed
  • Make pending task check packets for other not pending tasks

Read NCP Code

  • Fix random place freeze
  • Check if hard limit for mining is needed

Pending for update v11 post merge
Features:

  • Smart back fill: Saves block states and remembers where to place the blocks
  • Long term inventory management: InventoryProcessor
    • Burn overburden with Lava
    • If inventory is empty get all mats from shulker or from enderchest
    • Priority: Inventory, Shulker in Inventory, E-Chest, Shulker in E-Chest
    • Cache shulker storage
    • Easy way to select shulker for usage
  • Skynet
    • Make bots communicate over whisper
    • Use different lanes
    • Assign jobs: Miner, Scaffolder, Restock etc
  • MovementProcessor
    • LiquidHandler > Move to liquids source when out of reach
    • Make any width possible
  • Commands to force specific mode, position and direction

AutoObsidian:

  • Fix that the player places last e chest but never breaks it
  • Fix when in placing state and no e chest check for shulker again
  • Fix when switching position to leave a chest
  • Fix using the last echest in inventory

Planned

  • Maybe add setting for placing enderchests or portals all x blocks (auto milestones)
  • With new settings and config module:
    • Save stats with server etc hashed
  • Keep maparts at walls with prio at the block behind it
  • Create costum blueprints to get something like buildrepeat
  • Fix NCP internal catches
  • Algorithm for dynamic fillerblock generation for support structures and liquid handling > liquid handler refactor

Known issues

  • AutoLog is not compatible with AutoReconnect > Should

Troubleshooting

  • Deactivate AntiHunger for faster block breaking
  • If stuck check if AutoCenter is on MOTION to get moved to middle of the block (Baritone cant move exactly to block center)
  • If placed block disappear increase the TickDelayPlace until it works
  • Deactivate IllegalPlacements if the server requires (like 2b2t)
  • Check if the Baritone process KAMI Blue Pauser is active in GUI. Sometimes it does not stop correctly

Testing

Server Status
2b2t.org Working
0b0t.org Working
8b8t.xyz Working
oldfag.org Test pending
5b5t.org Test pending
9b9t.com Test pending

@5HT2 5HT2 added --changes-requested Changes need to be made to the pull --review-pending Pending a review of the pull enhancement/module labels Aug 19, 2020
@5HT2 5HT2 added this to the v1.1.7 milestone Aug 19, 2020
@5HT2 5HT2 modified the milestones: v1.1.7, v1.1.8 Aug 27, 2020
@5HT2 5HT2 linked an issue Aug 27, 2020 that may be closed by this pull request
7 tasks
@Avanatiker Avanatiker requested a review from 5HT2 September 1, 2020 19:45
@5HT2
Copy link
Member

5HT2 commented Sep 1, 2020

I'll review this when I get back from vacation, on the 5th

@Avanatiker
Copy link
Contributor Author

I'll review this when I get back from vacation, on the 5th

sry i didnt know about this review call feature. was by accident. go relaxing now xD

@5HT2 5HT2 removed the --review-pending Pending a review of the pull label Sep 14, 2020
@Luna5ama
Copy link
Contributor

Oops build failed

@Avanatiker
Copy link
Contributor Author

Oops build failed

already fixed it but have more to commit be patient :D

@Avanatiker
Copy link
Contributor Author

Avanatiker commented Sep 20, 2020

Yo sry will continue work after advanced datastructures and algorithms exam i write in uni at 28/09/20 but dont bother to test the tool https://cdn.discordapp.com/attachments/716805893886312589/755668519957561435/client-1.1.7-beta-release.jar (latest commits are only anticheat use the latest working version ) @Xiaro ill rewrite this with better datastructure anyways

@5HT2
Copy link
Member

5HT2 commented Sep 20, 2020

don't worry about it, everyone needs a break sometimes. thanks for all your work on this c:

@5HT2 5HT2 added the -blocked Something is preventing this from being possible label Sep 20, 2020
@5HT2 5HT2 marked this pull request as draft October 26, 2020 21:16
@spide-r
Copy link
Contributor

spide-r commented Oct 30, 2020

I just wanna say you're making a wonderful module. Looks super awesome and looking at your todo list its not even done. :O

@5HT2 5HT2 changed the title Added HighwayTools [feature] HighwayTools Oct 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom Baritone selections command AutoHighway
7 participants