ironmonk88 / monks-tokenbar

GNU General Public License v3.0
48 stars 44 forks source link

[BUG] Pf2e - adding exp causes extreme CPU spike #367

Closed DawidIzydor closed 1 year ago

DawidIzydor commented 1 year ago

Describe the bug Adding experience using the XP Dialog causes extreme CPU spike, including crashing the server

To Reproduce

  1. Enable XP dialog
  2. Start an encounter with at least one PC
  3. End the encounter and add exp
  4. After clicking "add exp" in the chat CPU spikes rapidly, with multiple players doing it at once it crashes the server

Expected behavior A clear and concise description of what you expected to happen.

Screenshots Screenshot of a snapshot taken in firefox obraz

Please complete as much of the following information as possible:

Additional context Add any other context about the problem here.

ironmonk88 commented 1 year ago

Fixed in the recent release.