Elikill58 / Negativity

Github of Negativity, a Minecraft AntiCheat. Premium at 8€:
https://spigotmc.org/resources/86874/
241 stars 64 forks source link

[Bug] Errors when player leave or joins with Denizen plugin #413

Closed Josh65-2201 closed 1 year ago

Josh65-2201 commented 1 year ago

Which platform are you using ?

Paper

Versions of Negativity and of the server

Negativity 2.7.0 Paper 1.20.1 build 108

Step to reproduce

  1. Download https://ci.citizensnpcs.co/job/Denizen/
  2. Join game
  3. See null error

Errors / Logs

error.txt

Elikill58 commented 1 year ago

Failed to reproduce, seems to be because of another plugin

Elikill58 commented 1 year ago

No way - Maybe fixed since or need more context

Josh65-2201 commented 10 months ago

I have found new reproduce steps

  1. Download https://ci.citizensnpcs.co/job/Denizen/
  2. Download https://ci.citizensnpcs.co/job/Citizens2/
  3. Put this script errorScript.dsc.zip in plugins\Denizen\scripts
  4. Start server
  5. Join
  6. Leave
  7. See null error
Elikill58 commented 10 months ago

After checking, for me it seems fixed with 2.7.1 even if I well have error with 2.7

Josh65-2201 commented 10 months ago

I'm on 2.7.2 now still getting having the issue, what does negativity look for when a player connects? I've narrowed it down to be a compatibility issue with Citizen getting interacted with a Denizen script but there isn't any thing obvious to me that would seem to cause this.

Elikill58 commented 10 months ago

Negativity just take the channel of the player connection. Maybe it can be caused by fake player that doesn't have connection, and it can be a nice reason as I didn't take the time to create some citizen fake player.