Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Premium and Cracked Accounts #46

Open
ErikLavr opened this issue Sep 11, 2024 · 40 comments
Open

Premium and Cracked Accounts #46

ErikLavr opened this issue Sep 11, 2024 · 40 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request question Further information is requested

Comments

@ErikLavr
Copy link

First off, can you use your Premium (Actual) Accounts from Minecraft? Or is it only cracked, since I couldn't start it yet because I get this error running under Fedora
image
I'll just try Ubuntu, I'll say everything that happens. Also, great work. This is crazy stuff and it's really cool.

@SilkePilon
Copy link
Owner

"getaddrinfo ENOTFOUND means client was not able to connect to given address." The backend will try to connect and run its server on your local network ip. (for example 192.168.X.X) but it seems its unable to.

i will add an option to select and ip!

give me a few seconds and you will need to delete the dir and rerun the command.

also funny thing: this project only works with paid (Premium) accounts. once you enter the username it asks you to login. only if you set the host to localhost it will use an offline account. this is to stop users spamming servers.

i will comment below once i update the code (should be a few mintues)

@SilkePilon SilkePilon self-assigned this Sep 11, 2024
@SilkePilon SilkePilon added bug Something isn't working enhancement New feature or request question Further information is requested labels Sep 11, 2024
@ErikLavr
Copy link
Author

Perfect timing, just finished installing Ubuntu. Tell me when you updated it and I'll install it fresh.

@SilkePilon
Copy link
Owner

added!

@SilkePilon
Copy link
Owner

it may take a few seconds to update over on github's servers tho

@ErikLavr
Copy link
Author

Yup, I'll install it in a sec

@SilkePilon
Copy link
Owner

let me know if you have any issues!

@ErikLavr
Copy link
Author

Please wait...
node:internal/modules/cjs/loader:1137
throw err;
^

Error: Cannot find module 'mineflayer'
Require stack:

  • /home/erik/OpenDeliveryBot/main.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
    at Module._load (node:internal/modules/cjs/loader:975:27)
    at Module.require (node:internal/modules/cjs/loader:1225:19)
    at require (node:internal/modules/helpers:177:18)
    at Object. (/home/erik/OpenDeliveryBot/main.js:3:20)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [ '/home/erik/OpenDeliveryBot/main.js' ]
    }

Node.js v18.19.1
Tried to run node main.js

@ErikLavr
Copy link
Author

Nvm, I'm stupid.

@ErikLavr
Copy link
Author

Nvm installing the module didnt work

@SilkePilon
Copy link
Owner

Mmmm this seems to be more a node issue than my code issue

@SilkePilon
Copy link
Owner

Try running npm install

@SilkePilon
Copy link
Owner

Or look up: error ubuntu npm cant find packages

@ErikLavr
Copy link
Author

Npm install just installes the same package, doesn't fix it really. Idk I guess Mineflyer doesnt work

@SilkePilon
Copy link
Owner

Mineflyer is the 1 package that is needed. tho i know it can be installed

@SilkePilon
Copy link
Owner

npm i should install it

@SilkePilon
Copy link
Owner

it works fine on my windows (11) pc and on the github codespaces (linux with node 16 i think)

@SilkePilon
Copy link
Owner

SilkePilon commented Sep 11, 2024

maybe:

sudo rm -rf /usr/local/lib/node_modules/npm 

and then re-install Node.js will work in most cases

from https://stackoverflow.com/a/47083659

@ErikLavr
Copy link
Author

I'll do that after school tomorrow.

@ErikLavr
Copy link
Author

Also, is the Nvidia API key required?

@SilkePilon
Copy link
Owner

No, tho it's needed if you want to generate nodes using ai, the key is free to get and only requires an account. You can make 1000 nodes using it. There are instructions on the site on how to obtain a key if you want one

@SilkePilon
Copy link
Owner

i also just changed the url to https://knowledgebook.vercel.app/

@ErikLavr
Copy link
Author

Is there an AutoLog feature? Like when you get hit the bot disconnects?

@ErikLavr
Copy link
Author

Going to school in abit, I'll try the thing around 12:30

@SilkePilon
Copy link
Owner

Well you can make the ai code an autolog node.

Or if you want I can make it an switch in the dashboard

@ErikLavr
Copy link
Author

It would be better to be a switch in the Dashboard

@ErikLavr
Copy link
Author

Got it working

@ErikLavr
Copy link
Author

Just creating the bot since my machine is slow which I'm running this on

@ErikLavr
Copy link
Author

Okay, so the thing generally works, but a few things to mention. So firstly it's really slow, but that's the issue of my specs. But then when I try to connect using another PC I can't it's the same network and stuff but still.

@SilkePilon
Copy link
Owner

some schools bock things like this. is this at school or home.
if you want to access it on other pc's in the same network make sure to use the first option from the list when starting the backend. if its running on localhost it wont work as that can only be accessed on the pc its running on.

@ErikLavr
Copy link
Author

Nah im at home

@ErikLavr
Copy link
Author

Is it possible to grab Planks from my Ender Chest and deliver them to a spot where there is a normal chest?

@SilkePilon
Copy link
Owner

yes. atm you do need to make it using nodes. so make a node that gets items from the ender chest, then a node that walks to a location and then a node that drops off the items. You can do all this uisng the ai option

@ErikLavr
Copy link
Author

Does the ai work well?

@SilkePilon
Copy link
Owner

yea and its free

@SilkePilon
Copy link
Owner

@ErikLavr do you have any suggestions of what I can add next?

I don't get a lot of feedback so it would be really appreciated!

@ErikLavr
Copy link
Author

Prob auto log. That would make it perfect. For 6b6t a TPA mode maybe?

@SilkePilon
Copy link
Owner

Sure i can add that!

@SilkePilon
Copy link
Owner

@ErikLavr added!

@ErikLavr
Copy link
Author

Tysm, didn't see your message in time.

@ErikLavr
Copy link
Author

Hey so a little question, I wanted to make my own Mineflayer bot that uses Mineflayer-elytrafly thingy but i can get it to work. I would like to ask you for help since youre the best one to ask. Chat GPT doesnt really help either the docs arent really good and yeah. Its on 8b8t. I want it to just fly around and search for stashes. Like random positions. If it finds one it Logs it to a TxT file. I really have tried everything (and also taking some stuff from your code) but it just doesnt work. Could you help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants