cabaletta / baritone

google maps for block game
GNU Lesser General Public License v3.0
7.17k stars 1.44k forks source link

Use baritone on server #2424

Closed Elikill58 closed 3 years ago

Elikill58 commented 3 years ago

What do you need help with?

I would like to use your product on the server side (not on client). Is it possible ? Or I have to fork and made modification to do it ?

Just, is there a discord ? Because i would like to report that the javadoc is not available.

Final checklist

scorbett123 commented 3 years ago

There is not a server side modification for it, however it isn't really needed, you can just have it on all clients. The only discord is the impact discord, and the javadoc sometimes goes down, however I just checked it is currently up. Make sure that you are going to https://baritone.leijurv.com/

Elikill58 commented 3 years ago

In my case, it is ... Because I want to make an anticheat :) So it have to be on server.

Ok, thanks informations about discord.

For the javadoc, when I create the issue, it was returning a 404 error. But it's perfect now !

scorbett123 commented 3 years ago

Why do you want baritone for an anti cheat?

Elikill58 commented 3 years ago

To detect baritone user

5HT2 commented 3 years ago

That's not how any of this works.

RadoslavL commented 3 years ago

If you want to detect Baritone users you don't need to add it server-side. Add simple anticheat - if a player is not looking at the direction he walks for too long kick him. I recommend not banning him, because this user could be looking at something or just holding the w and a/d key. Add discord link to the kick message to know is he really using Baritone. However this will not work if he is mining, because Baritone is looking at the block, which it's mining

Elikill58 commented 3 years ago

The only thing that can really be detected, and have real sens is like sprint jump while going back, which represent a specific moment which not appear lot of time. But this can be fixed by Baritone's devs ... What you propose can be, as you said, a false flag.

Each time that I'm thinking about it, I'm like "go check if the user use the baritone way".

RadoslavL commented 3 years ago

I don't think there is a way to detect Baritone, other that teleporting to random player to check is he using Baritone. I know Baritone doesn't have server-side plugin or mod. I'm sorry if many of your players are using Baritone, but i'm not a professional at modding Minecraft and i don't know how to help you

Elikill58 commented 3 years ago

I think i can just take baritone algorithm. I will see, and maybe send a new message here if I find something. But no problem, I understand that you're not a pro with plugins :)

5HT2 commented 3 years ago

I can't believe this is unironic

scorbett123 commented 3 years ago

I think i can just take baritone algorithm. I will see, and maybe send a new message here if I find something. But no problem, I understand that you're not a pro with plugins :)

Just implement your own version of A*, it would be easier than "just taking the baritone algorithm." If you work hard enough then you will manage to perfectly match baritone, however even this would result in a multitude of false flags. Even though I have contributed to baritone, I don't agree with it being used on non anarchy servers, however I feel like asking baritone contributors for ways to stop baritone working probably won't get you an answer. Just a thought.

Elikill58 commented 3 years ago

I know that my request is very strange, but it's like all cheat maker, they know that they will be fight. I also don't agree to use cheat on no-anarchy, that's why I'm making an anticheat. But yes, i will not find an answer. So, good by and good dev :p

5HT2 commented 3 years ago

why is it always the non-native english speakers with the dumb and overconfident ideas

I mean, me included

RadoslavL commented 3 years ago

I'm working on anticheat plugin. I want it to detect when a player is automining

5HT2 commented 3 years ago

ok.

Elikill58 commented 3 years ago

I'm working on anticheat plugin. I want it to detect when a player is automining

We are in the same case, but they will not help us to counter their product xD

5HT2 commented 3 years ago

kinda because this is not what the baritone issue tracker is for :neutral_face:

and your entire concept for implementing a way to detect baritone from the perspective of an anticheat developer is extremely dumb

scorbett123 commented 3 years ago

Baritone has easier weaknesses to exploit, just look at the abnormal head movement. This would be incredibly inefficient for anything more than about 2 players, and I think that your time would be better spent doing other things, this would also be incredibly easy to get around by just changing a few settings slightly, unless you know the exact configuration of the user then you can't make sure that they are, or not, using baritone. If you just tested every setting then you would get lots of false positives and it would take years.