sirhamsteralot / HaE-PBLimiter

Profiles pb's and damages them when their runtime goes over a set value
MIT License
11 stars 5 forks source link

Investigate issue where hangaring pblimited pb causes recurring warnings #41

Closed sirhamsteralot closed 1 day ago

sirhamsteralot commented 1 day ago

Just heard this was an issue, apparently it can happen when a pb is in the warning range and gets hangared at that moment.

sirhamsteralot commented 1 day ago

Apparently it is for this message: "Your PB {PBID} has overheated due to excessive usage!"

sirhamsteralot commented 1 day ago

Possible cause: when a player goes over the limit and has multiple pbs it will start killing pbs with the biggest impact first if that pb is hangared at that time it may cause that error as it tries to kill it over and over?

sirhamsteralot commented 1 day ago

Possibly change DamagePB to do cleanup when the pb is null or nonfunctional

sirhamsteralot commented 1 day ago

Merged, possible fix out for testing. Reopen issue if issue persists