NoCheatPlus / Issues

Issues managment for the NoCheatPlus project.
13 stars 9 forks source link

Ucars #457

Open Bedah95 opened 7 years ago

Bedah95 commented 7 years ago

Using Ucars, Protocollib, NCP, PaperMC 1.11.2. Driving up or downstairs cause some lags(you get teleported back to a previous position).

[00:01:31] [Server thread/INFO]: ---- Version information ---- [00:01:31] [Server thread/INFO]: #### Server #### [00:01:31] [Server thread/INFO]: git-Paper-1104 ~MC: 1.11.2~ [00:01:31] [Server thread/INFO]: detected: 1.11.2 [00:01:31] [Server thread/INFO]: #### NoCheatPlus #### [00:01:31] [Server thread/INFO]: Plugin: 3.15.2-SNAPSHOT-sMD5NET-b1104 [00:01:31] [Server thread/INFO]: MCAccess: 1.11-1.11.2 / Spigot-CB-1.11_R1

[00:01:31] [Server thread/INFO]: blocks: BlocksMC1_4 | BlocksMC1_5 | BlocksMC1_6_1 | BlocksMC1_7_2 | BlocksMC1_8 | BlocksMC1_9 | BlocksMC1_10 | BlocksMC1_11 [00:01:31] [Server thread/INFO]: checks: FastConsume | Gutenberg | HotFixFallingBlockPortalEnter | AttackFrequency | FlyingFrequency | KeepAliveFrequency [00:01:31] [Server thread/INFO]: defaults: pvpKnockBackVelocity [00:01:31] [Server thread/INFO]: packet-listeners: UseEntityAdapter | MovingFlying | OutgoingPosition | KeepAliveAdapter | SoundDistance [00:01:31] [Server thread/INFO]: Hooks: AllViolations~NCP~ 1.0 [00:01:31] [Server thread/INFO]: #### Related Plugins #### [00:01:31] [Server thread/INFO]: ProtocolLib v4.2.1-SNAPSHOT-b348

Driving up or downstairs with minecarts.

no changes in config

With "ncp exempt" or "nocheatplus.checks" (only general one) you can handle it, but this isn´t the best solution^^.

RoboMWM commented 7 years ago

Use /ncp debug on the player that's driving up or down stairs.

Considering that minecarts are controlled server-side, I doubt NCP is the cause of any "lags" or rubber-banding (more like nearly 100% confident), especially if you aren't getting any violation alerts. Perhaps it could be the network connection or other server/client lag.

Bedah95 commented 7 years ago

Driving forward and upstairs with and without "ncp exempt" (20seconds and 40seconds) Driving upstairs without "ncp exempt"

Hopefully videos help for a better understanding.

If you are standing/start driving you get some VehicleMorePackets violations.

RoboMWM commented 7 years ago

Weird - because I use a similar plugin by the same author, his uPlanes plugin, and having no issues with NCP on my end... or at least from what I recall. Probably something for cnpc - though I wonder if "hacking" is possible with minecarts anyways since they're controlled server-side (and thus don't need to be checked by NCP anyways).

Still, a /ncp debug of the player without exemptions would be helpful to see.

Bedah95 commented 7 years ago

Some debug information

asofold commented 7 years ago

Planes could be different, if players are set flying, or things are faked in a different way :).

Not sure what i can do here - need to re-read more closely.

Could "some lags" be quantified?

Bedah95 commented 7 years ago

In the two videos the problem should be recognizable.

Driving forward and upstairs with and without "ncp exempt" (20seconds and 40seconds) Driving upstairs without "ncp exempt"