-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
bot immortal and not moving #523
Comments
Please use the Discord for support questions. If you have an issue please provide full details including:
If you don't provide steps to reproduce issues, then it can't be fixed |
no one answered in discord |
i have this problem too i create a normal client, login to server
|
Same with me There is a code (packet) to move the bot but its so complicated |
but does it work? does the bot actually moves? |
yes it does but like he said it is complicated and you have to send it a lot the packet name is something along the lines of "player_auth_movement" in this it a ton a arguments you can get the data from a relay there might be two packets that move the player but this is one |
you also have to send data to get it out of immortal state not sure what it is atm Sending the movement packets should fix the floating issue not too sure though |
client.on("play_status", (packet) => {
if (packet.status == "player_spawn") {
client.write("serverbound_loading_screen", {
type: 2
});
};
}); This should be able to fix the immortal problem. I found this in the prismarine discord. |
I tried this before today and it didn't seem to work at least on my side and there is also type 1 and 2 I've tried those both and nothing seemed to change either |
Any solution to move the bot?? like I tried all thing and it doesn't work. Please if anyone can help me. |
Try to use the player_auth_input Packet (Everything over 5 Blocks of the Bot Position is getting blocked and make sure it moves with the Ticks) |
you have to send more than that to get it to not be immortal let runtimeEntityId;
client.on('start_game', (packet) => {
runtimeEntityId = packet.runtime_entity_id
console.log(`Runtime Entity ID saved: ${runtimeEntityId}`);
});
client.on('start_game', (packet) => {
client.queue('serverbound_loading_screen', {
"type": 1
})
client.queue('serverbound_loading_screen', {
"type": 2
})
client.queue('interact', {
"action_id": "mouse_over_entity",
"target_entity_id": 0n,
"position": {
"x": 0,
"y": 0,
"z": 0
}
})
client.queue('set_local_player_as_initialized', {
"runtime_entity_id": `${runtimeEntityId}`
})
}) and alongside send the movement packet |
hey so idk why but my bot became immortal (not on creative) and doesnot perform movement. before update it was great but now it has problems. i dont have issue in imortality but i need it to move to location
The text was updated successfully, but these errors were encountered: