gemidyne / microtf2

A custom gamemode for Team Fortress 2 - Players compete against each other to get the most points by playing a series of rapid fire microgames in order to win the round!
https://www.gemidyne.com/projects/microtf2
GNU General Public License v2.0
30 stars 16 forks source link

MoreColors heap error spam in SM 1.11 #238

Closed sirdigbot closed 1 year ago

sirdigbot commented 1 year ago

Describe the bug MoreColors heap allocation error while calling CReplaceColorCodes probably due to SM 1.11 changing the heap array sizing during compilation. This doesn't happen in the 1.10 build from here

Expected behavior To not error I guess.

Screenshots image

Do you know what version of the gamemode this bug occurred on?

Additional info The issue seems to be morecolors itself. The suggestions I was told were to try a newer morecolors include or to use #pragma dynamic to increase the heap size enough to not error.

safalin1 commented 1 year ago

https://github.com/gemidyne/microtf2/releases/tag/v5.2.6 has been released which should fix this error. We added #pragma dynamic to the plugin rather than using an updated morecolors include.

Apologies on the slow turnaround on this fix. We aim to automate releases asap so we can accelerate fixes and updates.