GrimAnticheat / Grim

Fully async, multithreaded, predictive, open source, 3.01 reach, 1.005 timer, 0.01% speed, 99.99% antikb, "bypassable" 1.8-1.20 anticheat.
GNU General Public License v3.0
1.1k stars 326 forks source link

Camel, Horse, Strider #1059

Open Envel-Nikita-Gutsenkov opened 1 year ago

Envel-Nikita-Gutsenkov commented 1 year ago

Describe the false positive and how to replicate it

1.Sit on a camel.

  1. Try to jump on it
  2. You will be pushed off the camel

Same with horse (rare) and Strider (especially outside lava)

Grim version

2.3.43

Server version

PaperMC 1.20.1 Build # 39

Plugins

GrimAC

CatTeaA commented 1 year ago

I also encountered this situation 1.20.1,Camels cannot sprint

maglink commented 1 year ago

Mee too

MWHunter commented 1 year ago

https://gist.github.com/MWHunter/f6096b05dd665d98a034ef1d005adc4a

The jumping code for horses would have to be switched to this for camels

Stepping height must also be set to 1.5 for camels

If the camel refuses to move the camel's horizontal velocity would be set to 0

If you want to support camels, I would suggest decompiling MCP-Reborn to get the 1.20 code to port it over to grim

MachineBreaker commented 1 year ago

Working on this

StKillReal commented 1 year ago

Working on this

any news?

Envel-Nikita-Gutsenkov commented 1 year ago

Working on this

any news?

I have no idea how to fix this. After experimenting with horses as well, I saw that GRIM sometimes expects Y = 0 from a jump. As for camels, the mojang code is terrible. In my case I just ignore offset if it is less than 2.5 on horses and camels. this is a dumb solution, but it's temporary (see https://github.com/OpenCommunity-Original/Grim/commit/dc68105e0d26766488b98939f0699ca9939353f7).

molor commented 1 year ago

Still a issue in Paper 1.20.1 :(

7hatGuyAJ commented 1 year ago

Working on this

any news?

I have no idea how to fix this. After experimenting with horses as well, I saw that GRIM sometimes expects Y = 0 from a jump. As for camels, the mojang code is terrible. In my case I just ignore offset if it is less than 2.5 on horses and camels. this is a dumb solution, but it's temporary (see OpenCommunity-Original@dc68105).

When will you be pushing these changes and in the mean time is there a way I can disable these checks?

CatTeaA commented 1 year ago

Is there any progress? Looking forward to it

itsTyrion commented 1 year ago

Can confirm that the OpenCommunity-Original fork fork works for me.

molor commented 11 months ago

Still a issue in Paper 1.20.4 :(

Folas1337 commented 1 month ago

Definitely also still happening on 1.21.1