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

Bot-like features #56

Open
rom1504 opened this issue Mar 4, 2021 · 24 comments
Open

Bot-like features #56

rom1504 opened this issue Mar 4, 2021 · 24 comments

Comments

@rom1504
Copy link
Member

rom1504 commented Mar 4, 2021

Have some buttons in the ui to:

  • Pathfind
  • Find block
  • Crack world seed
  • Auto build schematics

Would be a cool demo for mineflayer and interesting as an user

@rom1504
Copy link
Member Author

rom1504 commented Mar 14, 2021

https://gist.github.com/rom1504/b8530371c7407f790ca63717ee0f8932 + https://github.com/PrismarineJS/prismarine-web-client#some-debugging-examples is a good start

we could have an optional menu (press a key to show it) with some actions like this

@rom1504
Copy link
Member Author

rom1504 commented Mar 14, 2021

put https://github.com/PrismarineJS/prismarine-viewer/blob/master/examples/clickmove.js under a key (point, press g, it goes there)

@rom1504
Copy link
Member Author

rom1504 commented Mar 14, 2021

other idea of interface: in chat use mc command, for example /goto <player>

@rom1504
Copy link
Member Author

rom1504 commented Mar 14, 2021

we can have a bot.js to put this kind of thing

@u9g
Copy link
Member

u9g commented Mar 14, 2021

other idea of interface: in chat use mc command, for example /goto <player>

i disagree with this because then you have chat conflicts

@u9g
Copy link
Member

u9g commented Mar 14, 2021

put https://github.com/PrismarineJS/prismarine-viewer/blob/master/examples/clickmove.js under a key (point, press g, it goes there)

I think this should only be done when we finish having remappable keys

@u9g
Copy link
Member

u9g commented Mar 14, 2021

https://gist.github.com/rom1504/b8530371c7407f790ca63717ee0f8932 + https://github.com/PrismarineJS/prismarine-web-client#some-debugging-examples is a good start

we could have an optional menu (press a key to show it) with some actions like this

yeah I think this sounds good

@AwesomestCode
Copy link
Member

AwesomestCode commented Mar 14, 2021 via email

@rom1504
Copy link
Member Author

rom1504 commented Mar 14, 2021

you have chat conflicts

what kind of conflict?

@u9g
Copy link
Member

u9g commented Mar 14, 2021

you have chat conflicts

what kind of conflict?

we don't now, but if we add /goto then what if the server had a /goto command too, imo we should stay away from the built in chat box

@rom1504
Copy link
Member Author

rom1504 commented Mar 14, 2021

we can have our own prefix, but imo this is not an issue, it's unlikely to happen (and if it does we can always make it possible to configure the prefix)

@u9g
Copy link
Member

u9g commented Mar 14, 2021

we can have our own prefix, but imo this is not an issue, it's unlikely to happen (and if it does we can always make it possible to configure the prefix)

still theres just no reason to use chat commands when minecraft uses them aswell and we can and will have conflicts, just make a menu or something

@rom1504
Copy link
Member Author

rom1504 commented Mar 14, 2021

I guess we could have a different button to open another bar for text commands, but that sounds really non intuitive

not sure what's the point of overengineer this when there are simple solutions

@rom1504
Copy link
Member Author

rom1504 commented Jun 17, 2021

IMO this issue (along with #3 ) is the way to make mineflayer beat baritone, anyone to do it ?
Plan:

  • put pweb-client in electron
  • add mineflayer menu
  • release as installer
  • profit

@rom1504 rom1504 pinned this issue Jun 17, 2021
@rom1504
Copy link
Member Author

rom1504 commented Jun 17, 2021

it's about "all contained bot app that works for anyone that doesn't know computers" vs "mineflayer examples/ folder"

@AwesomestCode
Copy link
Member

AwesomestCode commented Jun 17, 2021 via email

@AwesomestCode
Copy link
Member

AwesomestCode commented Jun 17, 2021 via email

@rom1504
Copy link
Member Author

rom1504 commented Jun 17, 2021

running in browser alone does not work

@Heath123
Copy link

This makes it a hacked clientt hough which might make servers ban it and ruin things for people who just want to play the game in a browser

@rom1504
Copy link
Member Author

rom1504 commented Jul 18, 2021

Yeah, that's worth it to make it a mineflayer demo

@rom1504
Copy link
Member Author

rom1504 commented Jul 18, 2021

But anyway that doesn't matter until something works (currently it's not good enough to be ban able)

@AwesomestCode
Copy link
Member

AwesomestCode commented Jul 20, 2021

This makes it a hacked clientt hough which might make servers ban it and ruin things for people who just want to play the game in a browser

@Heath123 Call it Prismarine Visual Research Platform and send a plugin message to the servers. Allow the servers to deny just PVR and not prismarine-web-client because webclient would behave like vanilla.
I'd doubt servers would take the hard way of banning webclient vanilla when there's a public plugin to just ban the bot part of it.

@Heath123
Copy link

True, I thought this meant it would be force-enabled by default

@soshimee
Copy link

soshimee commented May 4, 2022

I don't think that will do anything, because I think servers are just going to ban them instantly and cause players who just wanted to test to be banned. Also the ones who really want to bypass it would just modify the code locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants