Project MMO

Project MMO

10M Downloads

Fireworks On Repsawn

SomewhatDamaged opened this issue ยท 5 comments

commented

Describe the bug
Massive amount of fireworks go off when you die and respawn.

Expected behavior
My death to not be celebrated quite so much.

To Reproduce
Steps to reproduce the behavior:

  1. Get some levels
  2. Sudoku
  3. See error

Versions:
1.20.1 (massive amount)
1.19.4 (one firework)
1.19.2 (one firework)
1.18.2 (no fireworks)

commented

linking the xp rework since i'm certain that will involve testing and fixing the level-up issues..

commented

Unlinking since i think the xp refactor is going to have to be a 1.21 feature. In any case, the logic that is firing these extra fireworks is intended to reapply attributes after a player dies. since attributes don't persist death, the only way to give back the extra hearts, damage, speed, etc from leveling up is to trigger a skillup event on respawn. Naturally this fires the fireworks as well. I need to find a way to not have fireworks proc, but that might not be possible.

commented

nvm. that was actually an easy fix

commented

those silly number puzzles do indeed make me unalive myself, but yes this is easily repeatable and can cause quite a lot of lag also noticed it does it on world join aswell sometimes

commented

Can confirm that it happens in PMMO version 1.20.1-1.2.8.