TeamChocoQuest / ChocolateQuestRepoured

ChocolateQuest Re-poured!
Other
75 stars 25 forks source link

Grappling Hook Crashes Other Players #325

Closed Foulest closed 2 years ago

Foulest commented 2 years ago

General Information To check a checkbox: Insert a X between the square brackets, you need to remove the space though.

Describe the bug Using a grappling hook near other players can sometimes cause their clients to crash. The crash seems to only happen when players are at a far-away distance.

Screenshots Here's a video: https://youtu.be/5NLkof1Uacc

Versions (Note that 'latest' is NOT a valid version! Chocolate Quest Repoured: In the crash report. Forge: In the crash report. Minecraft: In the crash report. Other mods (necessary to reproduce the bug): In the crash report.

Crash Report https://pastebin.com/raw/sndhhX7W

DerToaster98 commented 2 years ago

Won't be worked on until reproduced with only CQR and it's dependencies.

Foulest commented 2 years ago

There are no other mods present in the stacktrace.

Foulest commented 2 years ago

The ProjectileHookShotHook entity has no vehicle (Entity's Vehicle: ERROR NullPointerException: null) which is reflected in the NullPointerException, causing the crash for other players.

DerToaster98 commented 2 years ago

that is not really correct. THe NPE occurs cause the shooter is null, which only can occur if there is a problem in the base projectile.

The stacktrace also notices that the player class has changed to something non-vanilla and thus i don't care about your provided log until it is proven that this is a definite cqr problem.

DerToaster98 commented 2 years ago

also that "entity's vehicle is null" is not an error, it is diagnostic information and hints that the entity is currently riding nothing, that can be ignored.

DerToaster98 commented 2 years ago

and what you mentioned is not even the stacktrace. And just because another mod is not in the stacktrace doesn't mean that another mod can't cause it. That's just the call history that lead to the line causing the application to crash.

Foulest commented 2 years ago

Just tested it again with just CQR on a localhost server; it's a CQR issue.

Crash report: https://pastebin.com/raw/bpEWi0xX

DerToaster98 commented 2 years ago

ok, then we'll look at it.

Probably it's just that the shooter information doesn't get synched across all tracking players

DerToaster98 commented 2 years ago

should be patched in v2.6.7B