-
-
Notifications
You must be signed in to change notification settings - Fork 272
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
When launching, it fails with this error: Do not have protocol data for protocol version 764 (attempted to use 763 data) #33
Comments
Answer a couple of questions to help you:
As I understand it now, you have an error with the fact that you specified the version of the minecraft server in the program code is not correct. |
Python
Nope
1.20.2
…On Mon, Oct 23, 2023 at 10:11 PM FORT ***@***.***> wrote:
Answer a couple of questions to help you:
1. Which version are you running (python/nodeJS)
2. Have you changed the program code
3. What is the version of your minecraft server
As I understand it now, you have an error with the fact that you specified
the version of the minecraft server in the program code is not correct.
—
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASUBMKYEACPDJ542FIRNBVTYA3FQ7AVCNFSM6AAAAAA6MSU6RWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZVHE2DKNRQHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
try running the bot on an empty server. If everything works, then I understand what's going on. |
I will when I get home, thank you for the help
What do you mean by an empty server?
…On Thu, Oct 26, 2023 at 11:58 AM FORT ***@***.***> wrote:
try running the bot on an empty server. If everything works, then I
understand what's going on.
—
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASUBMK7ZNLOXGPV6L7KRS4DYBIX4LAVCNFSM6AAAAAA6MSU6RWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBQG44TMOBRGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
A newly created server, without plugins and so on. Only install the game version 1.20.2 |
I did it, and I get the same error |
Look, there are two options.
|
def started(stop): |
I will try it when i get home in a few days thank you
…On Sun, Oct 29, 2023 at 9:31 PM FORT ***@***.***> wrote:
def started(stop):
bot = mineflayer.createBot({
'host': config.get('server', 'host'),
'port': config.get('server', 'port'),
'version': '1.20.2', # If it doesn't help, write 'false' instead of
'1.20.2'
'username': config.get('bot', 'name') })
print('Start')
—
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASUBMK4RE6PQIXVB5P6JSLLYB2OJRAVCNFSM6AAAAAA6MSU6RWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBUGE4TCMJYGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I have attempted the above fix, it returns If I'm interpreting the cause of the error correctly, it appears mineflayer itself (a dependency of this project) doesn't yet support 1.20.2, as pointed out by a contributor in an issue there. The issue is still open; so for now, there's nothing we can do except wait for the upstream dependency to be updated for 1.20.2. |
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),)
The text was updated successfully, but these errors were encountered: