Nurgling - Custom client

Forum for alternative clients, mods & discussions on the same.

Nurgling - Custom client

Postby ksetrad » Wed Nov 30, 2022 2:20 pm

This is a bot client.

I made it for myself, my computer and my monitor
Image

Many aspects of this game - a monotonous routine.
The goal of this client is to free the player's time from boring and monotonous work.
The client is based on the current vanilla client, so most of the familiar features from other clients are missing.

1. The client's work is based on a system of areas. You determine what and where will be stored, how it is organized and just start the work. Areas can be dynamic or static.
To save static areas, I use a system of sign(game object) with pictures. A pair of sign defines the area in the client (via settings)

2. In addition, the client uses an ingredient system that allows the use of barter. For each item in the game, you can specify in which zone to take it and whether to use barter
Image
The ingredient system works in all bots that produce skins, metal ingots, bones or meat.
You can specialize a area for a specific ingredient in the client settings. To do this, first set the area in the AreasID section, and then set this area for your ingredient. Also, you can set a threshold for quality. Items above this threshold will use the ingredient system, otherwise the normal rules will apply.

3. In terms of code, bots are made up of actions. Many actions are reusable. For example, an ignition system that allows you to kindle the same object using a candelabra or branches.

4. Many things do not require manual configuration to run, so I implemented a scheduler that allows you to run specific bots at specific times. (I do this because some people already have such things)

What is in the client:
Minor interface changes (map, chat, craft window) Most of the changes are made by analogy with the ender
Quest helper
Ability to highlight objects with circles
Laying paths, calculating distances to questers (Ender)

Bots:
Forager:
Bot for chopping trees
Bots for collecting bark, boughs, nuts, leaves, and fruits from trees
Bot for chipping boulders
Boat for digging sand and clay
Bot for plow
Boat for collecting catail fibres
Bot for butchering large animals
Bot for collecting truffles

Labourer:
Bot for making boards and blocks
Bot for drying seeds
Bot for drying skins and scales
Bot for drying fish
Bot for refilling tarkilns
Metal smelting bot
Bot for frying fish on roasting spit
Bot for burning bricks
Bot for burning branch to ashes
Bot for leather tanning
Bot for making branch
Bot for making branch
Bot for making branch

Crafter:
Fabric Creation Bot
Rope bot

Farmer:
Carrot planter
Flax planter
Herd bot for all types of animals with quality improvement:
Bot for pigs.
Bot for cows.
Bot for sheep.
Bot for goats.
Bot for horses.
Bot for chickens.
Bot for rabbits
Branding bot

Build:
Build Bots for: Trellis (3 per tile), Drying frames, Metal Cabinets, Cupboards, Barrels, Cheese Racks, Tanning tubs, Chests, Beacons, Crates, Tarkilns, Smoke sheds
Bot for cellar digging
Bot for destroing

Tools:
Boat for transporting logs
Improved miner
Bot for destroying soil piles
Bot for baking bread
Bot for smoking fish
Bot for creating a tanning liquid
Bot for picking berries and seeds for lp
Cart unloading boat

Latest release:
https://github.com/Katodiy/nurgling/rel ... g0.03d.zip

Autolauncher
Image

You can create scripts to run a specific piece of functionality at a specific time. Or repeat launches
This will allow you to get: truffles, whales, peppers, control the world's resources, etc.

You need to put the jar file in the client folder (in the root) and run it as a jar.

releases: https://github.com/Katodiy/hhautolauncher/releases
src:https://github.com/Katodiy/hhautolauncher
jar: https://github.com/Katodiy/hhautolauncher/releases/download/0.01/hhrunner-1.0-SNAPSHOT.jar
Last edited by ksetrad on Mon Jan 16, 2023 12:36 pm, edited 20 times in total.
ksetrad
 
Posts: 55
Joined: Sun Feb 21, 2016 9:13 pm

Re: Nurgling

Postby ksetrad » Wed Nov 30, 2022 5:27 pm

Small fixes and renaming
https://github.com/Katodiy/nurgling/rel ... _0.01a.zip

add doc https://github.com/Katodiy/nurgling/rel ... 1a/doc.pdf

So you can get info about ​​what kind of shit I started posting here.
ksetrad
 
Posts: 55
Joined: Sun Feb 21, 2016 9:13 pm

Re: Nurgling

Postby DeadHazard » Wed Nov 30, 2022 6:33 pm

Where i can find this file: "Bot for walking a pig and a full cycle of animal care without branding."
DeadHazard
 
Posts: 63
Joined: Mon Sep 14, 2015 12:15 pm
Location: Dead Region

Re: Nurgling

Postby ksetrad » Wed Nov 30, 2022 6:53 pm

DeadHazard wrote:Where i can find this file: "Bot for walking a pig and a full cycle of animal care without branding."


i use two entities Bot and Action,
but most often the bot consists of one Action that simply manages other Actions

src/nurgling/bots/Truffle.java -bot
src/nurgling/bots/actons/TruffleCollect.java -action

for write pathes i use
src/nurgling/bots/NomadCalibrator.java -bot (Go on your own and the path is written behind you)
src/nurgling/bots/NomadCalibrator2.java -bot (Click path on the minimap)
Image
as a result you get the nomad.dat file
The coordinates are relative, so you need to use some object that will be found at launch: for example, a pow, a road stone, etc


You also need a tool to restart the client after a time, which I have not yet begun to spread. The resulting nomad.dat needs to be renamed to pig.dat. If I have the patience and they stop trying to kill me every day, I will write it all down in more detail.
ksetrad
 
Posts: 55
Joined: Sun Feb 21, 2016 9:13 pm

Re: Nurgling

Postby ksetrad » Wed Nov 30, 2022 6:57 pm

The full cycle of pigs, goats, sheep and cows is
src/nurgling/bots/Pigs.java
src/nurgling/bots/Goats.java
src/nurgling/bots/Cows.java
src/nurgling/bots/Sheeps.java

Also in the roster there is a new column - rating. But for now it is hardcoded (calculation formula)
ksetrad
 
Posts: 55
Joined: Sun Feb 21, 2016 9:13 pm

Re: Nurgling

Postby ksetrad » Wed Nov 30, 2022 8:36 pm

I already wrote (in the document), but I will repeat it again. My client works with zones if you want to repeat some action without prior configuration. Zones are formed using iconsign (a game object with a picture). I find a couple of iconsign with pictures and restore areas. Without reference to IDs (which are not available) and global coordinates (which are also not available)

Image

Next, I set up related ingredients for the zones that can be used in crafting, or simply stored in an orderly manner.

Image

All this is set in the Nurgling settings.

I added descriptions and tweaked the bot miner and carrot bot that didn't work. Miner bot just digs in the area, sometimes stupid. Does not dig under breaking columns. Chips boulders. Throws garbage on the ground (including non-garbage =). Farmer bot only for carrots because I grew carrots. Plus, you need to configure zones for it ..
ksetrad
 
Posts: 55
Joined: Sun Feb 21, 2016 9:13 pm

Re: Nurgling - Custom client

Postby irongete » Thu Dec 01, 2022 10:57 pm

Is FarmerCarrot not working at the moment?
irongete
 
Posts: 50
Joined: Wed Jun 02, 2010 12:28 pm

Re: Nurgling - Custom client

Postby blocker2 » Thu Dec 01, 2022 11:03 pm

Interesting stuff indeed.
blocker2
 
Posts: 13
Joined: Wed Mar 02, 2022 4:10 am

Re: Nurgling - Custom client

Postby ksetrad » Thu Dec 01, 2022 11:23 pm

irongete wrote:Is FarmerCarrot not working at the moment?


Image

Only with today's push. (There is no release yet, only source code. Maybe tomorrow)
This bot needs 2 stationary zones: carrot - field. In this area u need 1 barrel ( free or with carrot seeds(yellow box) And silo - area with trough. Also u can have 1 cistern. When through is full bot transfer this in cistern. Bots work in two stages: harvest and reseed.
for example AreasID setting (Nurgling settings -> areasid)
Image
ksetrad
 
Posts: 55
Joined: Sun Feb 21, 2016 9:13 pm

Re: Nurgling - Custom client

Postby irongete » Thu Dec 01, 2022 11:38 pm

ksetrad wrote:
irongete wrote:Is FarmerCarrot not working at the moment?


Image

Only with today's push. (There is no release yet, only source code. Maybe tomorrow)
This bot needs 2 stationary zones: carrot - field. In this area u need 1 barrel ( free or with carrot seeds(yellow box) And silo - area with trough. Also u can have 1 cistern. When through is full bot transfer this in cistern. Bots work in two stages: harvest and reseed.
for example AreasID setting (Nurgling settings -> areasid)
Image


Thank you, i made it work with Barley. I was missing the Silo area.
irongete
 
Posts: 50
Joined: Wed Jun 02, 2010 12:28 pm

Next

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 1 guest