Giter Site home page Giter Site logo

ytfort / 24-aternos Goto Github PK

View Code? Open in Web Editor NEW
69.0 6.0 230.0 293 KB

This is a bot for minecraft hosting aternos. This bot does not allow the server to shut down.

License: The Unlicense

JavaScript 31.28% Python 68.72%
minecraft bot aternos minecraft-bot aternos-bot server-minecraft 24-aternos daily 24-7-hosting minecraft-server

24-aternos's Introduction

header

Man Technologist About Me ;

Flying Saucer I am a Developer and Youtuber

High Voltage I make interesting programs just like that

Camera with Flash I make videos about the coolest programs on my YouTube channel

Rocket Far I am engaged in all aspects of programming

Video Game I help people with programming and games

Man Student Mostly I'm still studying

Ringed Planet Languages and Tools ;

My Skills

Ringed Planet I would like to study ;

Study

Fire My Stats ;

Stat1 Stat2 Stat3 Stat4

projects

24-aternos's People

Contributors

ytfort avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

24-aternos's Issues

Error when running bot.js

When I run bot.js it gives me this error:
2023-02-20

I didn't edit much, just putting in the username and port and ip for my server
I also am just assuming the server ip goes in the host section but I don't think that has anything to do with this error

error with main.py

Start
I was kicked: {"translate":"multiplayer.disconnect.unverified_username"} (False,)
reconnect
[JSE] node:internal/process/promises:288
[JSE] triggerUncaughtException(err, true /* fromPromise */);
[JSE] ^
[JSE]
[JSE] [🐍 Python Error JavaScript attempt to call 'some function' in Python failed:
[JSE] > bot.emit('kicked', packet.reason, false)
[JSE] at Client. (C:\Python311\Lib\site-packages\javascript\js\node_modules\mineflayer\lib\plugins\kick.js:8:9)
[JSE] at Client.emit (node:events:525:35)
[JSE] at emitPacket (C:\Python311\Lib\site-packages\javascript\js\node_modules\minecraft-protocol\src\client.js:83:12)
[JSE] at FullPacketParser. (C:\Python311\Lib\site-packages\javascript\js\node_modules\minecraft-protocol\src\client.js:106:9)
[JSE] at FullPacketParser.emit (node:events:513:28)
[JSE] at addChunk (C:\Python311\Lib\site-packages\javascript\js\node_modules\protodef\node_modules\readable-stream\lib_stream_readable.js:279:12)
[JSE] at readableAddChunk (C:\Python311\Lib\site-packages\javascript\js\node_modules\protodef\node_modules\readable-stream\lib_stream_readable.js:262:11)
[JSE]
[JSE] ... across the bridge ...
[JSE]
[JSE] > bot.end(); bot.join()
[JSE] at kicked (D:\24.Aternos.V2\Python\main.py:36)
[JSE] 🌉 TypeError: 'NoneType' object is not callable]
[JSE]
[JSE] Node.js v18.16.1

Ошибка

Здравствуйте, нашел ошибкув Pyton версии (пишет что неверный аргумент javascript.
Номер ошибки:
85828264 No module named 'javascript'

Ошибка

Error: connect ENOENT Айпи_сервера
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1487:16) {
errno: -4058,
code: 'ENOENT',
syscall: 'connect',
address: 'Айпи Сервера'

бот не заходит на сервер. Версия сервера - 1 16 5

When launching, it fails with this error: Do not have protocol data for protocol version 764 (attempted to use 763 data)

Start
Error: Do not have protocol data for protocol version 764 (attempted to use 763 data)
at createProtocol (C:\Users\letsg\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\javascript\js\node_modules\minecraft-protocol\src\transforms\serializer.js:26:11)
at createSerializer (C:\Users\letsg\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\javascript\js\node_modules\minecraft-protocol\src\transforms\serializer.js:46:25)
at Client.setSerializer (C:\Users\letsg\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\javascript\js\node_modules\minecraft-protocol\src\client.js:42:23)
at set state [as state] (C:\Users\letsg\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\javascript\js\node_modules\minecraft-protocol\src\client.js:128:10)
at C:\Users\letsg\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\javascript\js\node_modules\minecraft-protocol\src\client\autoVersion.js:43:18
at C:\Users\letsg\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\javascript\js\node_modules\minecraft-protocol\src\ping.js:13:7
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Connect ERROR: EventEmitter {
_events: [Object: null prototype] {
error: [ [Function (anonymous)], (Some Python object) ],
inject_allowed: [Function: bound onceWrapper] {
listener: [Function: onInjectAllowed]
},
login: (Some Python object),
kicked: (Some Python object),
chat: (Some Python object),
spawn: (Some Python object),
death: (Some Python object)
},
_eventsCount: 7,
_maxListeners: undefined,
_client: Client {
_events: [Object: null prototype] {
connect: [Array],
keep_alive: [Function: onKeepAlive],
end: [Array],
encryption_begin: [Function],
server_data: [Function (anonymous)],
login: [Function],
success: [Function],
compress: [Function],
set_compression: [Function: onCompressionRequest],
login_plugin_request: [Function: onLoginPluginRequest],
custom_payload: [Function: onCustomPayload],
disconnect: [Function (anonymous)],
error: [Function (anonymous)],
connect_allowed: [Array]
},
_eventsCount: 14,
_maxListeners: undefined,
customPackets: undefined,
version: '1.20.2',
isServer: false,
splitter: Splitter {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 5,
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: true,
buffer: ,
recognizeLegacyPing: true,
[Symbol(kCapture)]: false,
[Symbol(kCallback)]: null
},
packetsToParse: {},
compressor: null,
framer: Framer {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: true,
[Symbol(kCapture)]: false,
[Symbol(kCallback)]: null
},
cipher: null,
decipher: null,
decompressor: null,
ended: false,
latency: 0,
hideErrors: false,
closeTimer: null,
protocolState: 'handshaking',
serializer: Serializer {
_readableState: [ReadableState],
readable: true,
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_writableState: [WritableState],
writable: true,
allowHalfOpen: true,
_transformState: [Object],
proto: [CompiledProtodef],
mainType: 'packet',
queue: ,
[Symbol(kCapture)]: false
},
deserializer: FullPacketParser {
_readableState: [ReadableState],
readable: true,
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_writableState: [WritableState],
writable: true,
allowHalfOpen: true,
_transformState: [Object],
proto: [CompiledProtodef],
mainType: 'packet',
noErrorLogging: false,
[Symbol(kCapture)]: false
},
_mcBundle: [],
_hasBundlePacket: true,
username: 'notabot',
socket: Socket {
connecting: false,
_hadError: false,
_parent: null,
_host: 'bdaworshippers.aternos.me',
_closeAfterHandlingError: false,
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 8,
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
[Symbol(async_id_symbol)]: 30,
[Symbol(kHandle)]: [TCP],
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kSetNoDelay)]: true,
[Symbol(kSetKeepAlive)]: false,
[Symbol(kSetKeepAliveInitialDelay)]: 0,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0
},
wait_connect: true,
serverFeatures: {},
registerChannel: [Function: registerChannel],
unregisterChannel: [Function: unregisterChannel],
writeChannel: [Function: writeChannel],
[Symbol(kCapture)]: false
},
end: [Function (anonymous)],
loadPlugin: [Function: loadPlugin],
loadPlugins: [Function: loadPlugins],
hasPlugin: [Function: hasPlugin],
[Symbol(kCapture)]: false
} (Error: Do not have protocol data for protocol version 764 (attempted to use 763 data)
at createProtocol (C:\Users\letsg\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\javascript\js\node_modules\minecraft-protocol\src\transforms\serializer.js:26:11)
at createSerializer (C:\Users\letsg\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\javascript\js\node_modules\minecraft-protocol\src\transforms\serializer.js:46:25)
at Client.setSerializer (C:\Users\letsg\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\javascript\js\node_modules\minecraft-protocol\src\client.js:42:23)
at set state [as state] (C:\Users\letsg\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\javascript\js\node_modules\minecraft-protocol\src\client.js:128:10)
at C:\Users\letsg\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\javascript\js\node_modules\minecraft-protocol\src\client\autoVersion.js:43:18
at C:\Users\letsg\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\javascript\js\node_modules\minecraft-protocol\src\ping.js:13:7
at process.processTicksAndRejections (node:internal/process/task_queues:95:5),)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.