PDA

View Full Version : I'm making an open-source farming bot for Growtopia



MrEventual
06-22-2019, 02:07 PM
For a month now I've been developing TeslaX, the next generation farming bot.

The way it works is that it recreates normal farming behavior: punching blocks in front of it and moving forward. This way it prevents you from being detected, without losing out on efficiency.

The bot uses information from the screen to generate a grid, use it to detect player and blocks next to him, calculate the distance between them, and decide whether to hold down Left/Right. There are multiple checks to prevent too much input in short time, as a proactive measure against detection.

Right now it only supports players wearing Barky's Mask breaking Laser Grids in a Wooden Platform farm. However, it's designed to be extensible, so that in the end, any player would be able to farm any block in any condition, as long as it's placed in a row in front of him. I've already implemented a system that allows to swap out Laser Grids for most other farmables.

All of the code is available at https://github.com/TheLeftExit/TeslaX. I'll be more than happy to explain what each part of it does (I could write pages about all of the in-game quirks that had to be considered) if you're interested in contributing, as well as answer any other questions. I might create a Discord server if at least a few people show interest. It's still a work in progress, but at the moment most of the base is written, and it's mostly about polishing it.

Current version can simulate A/D buttons to move left/right, depending on the distance between the player and nearest blocks (except breaking to the left is a bit bugged, still figuring it out). I'll continue the work once my Laser Grid trees are ready.

Decided to post it here since most other Growtopia-related places will quickly police this, and this forum is particularly popular with developers.

MrEventual
06-23-2019, 05:03 PM
Anyhow, here's a Discord if you wanna ask anything: https://discord.gg/9Zv2ppD

Smokedayeveryweed
06-24-2019, 03:41 AM
Anyhow, here's a Discord if you wanna ask anything: https://discord.gg/9Zv2ppD

You're spare parts, aren't ya bud? Growtopia aint even here anymore foh degen

Eddie Federmeyer
06-24-2019, 06:11 AM
breaking Laser Grids

First of all, what the hell is a laser grid?


Decided to post it here since most other Growtopia-related places will quickly police this, and this forum is particularly popular with developers.

And honestly not many people really come here anymore other to just say hi and see if anyone else is on. I mean some of us might tinker with the base code but I’m afraid not much more than that. Nice project though!

MrEventual
06-24-2019, 07:17 AM
First of all, what the hell is a laser grid?

And honestly not many people really come here anymore other to just say hi and see if anyone else is on. I mean some of us might tinker with the base code but I’m afraid not much more than that. Nice project though!

It's a block you can break and farm for gems.

Well, any attention's good attention, main goal is that maybe someone other than me will find use for it once it's released. Although given popularity of this place, I have to admit that's unlikely.

MrEventual
06-27-2019, 10:11 AM
Quick demo of what I have so far:

https://i.imgur.com/i7CdiNr.gif

I'm documenting my progress on the Discord server.

DynPlaysGT
06-27-2019, 12:45 PM
For a month now I've been developing TeslaX, the next generation farming bot.

TeslaX? Isn't that the name of a music producer (https://teslax11.newgrounds.com/audio)?

MrEventual
07-06-2019, 02:37 PM
First public version. Public means you don't have to download developer tools to run it. Here's the GitHub release (https://github.com/TheLeftExit/TeslaX/releases/tag/v0.1). I'm very receptive to the feedback on my Discord (see above).

MrEventual
07-09-2019, 02:05 PM
New demo. Movement is automated, all I'm doing is contantly punching.

https://i.imgur.com/v2Nuklm.gif

You can already select from a bunch of other farmables and, if you just want to test it, Dirt.

MrEventual
07-18-2019, 10:34 PM
We can now select from a buttload of farmables (or load our own spritesheet), swap textures so that dust explosions aren't visible, and break an entire world with a single click of a button. Apart from average daily users (almost 1), I'm really happy with how this is going.

MrEventual
10-02-2019, 08:33 AM
So uhh I've quit after getting 60-blasted for trying to manually debug the game. Unbanned now but not motivated for anything. You can fork the project, find the pointers again and make it work again, might take like 10 minutes.