LeverylTeam / Leveryl

An Advanced & Feature Rich Server Software for MC:PE 1.1.x
GNU Lesser General Public License v3.0
44 stars 23 forks source link

Combat Logger Duplication glitch (Works only on Leveryl) #133

Closed TacosYum closed 7 years ago

TacosYum commented 7 years ago

Hit an alt account into Combat Log then once they log off they die and drop stuff when they log back in they still have their stuff

TacosYum commented 7 years ago

This only works on Leveryl and I used the plugin off of the PMMP forums the one made for the old tesseract API does the same

XDqrkneZ commented 7 years ago

pugin issue.. are you using CombatLogger? is so you need to update it

TacosYum commented 7 years ago

It's the PMMP version latest

TacosYum commented 7 years ago

And it's a issuenonly present on Leveryl

CortexPE commented 7 years ago

can you send me the plugin or a link to download it?

CortexPE commented 7 years ago

nvm. lemme just test it.

CortexPE commented 7 years ago

Reproduced!

TacosYum commented 7 years ago

Sorry I was asleep glad you actually got this reproduced though :D

CortexPE commented 7 years ago

I'm thinking it's probably because of how PMMP handles it. (A more laggy and delayed way) $this->inventory->clearAll() sometimes works and sometimes doesn't. So, my best guess is (step by step):

  1. the inv clear gets delayed
  2. the player gets killed instantly after the inv clear gets executed (not having to be finished)
  3. the inv clear gets cancelled because, the player is... ded.
XDqrkneZ commented 7 years ago

just add a line to combatLogger that deletes the player's data

NidPlays commented 7 years ago

That would delete other valuable information

XDqrkneZ commented 7 years ago

The player's data is their spawn point, inventory and their achievements.. They die so these shits don't matter

XDqrkneZ commented 7 years ago

and there's also other way than deleting the player's data