You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'level id for a frankly unbelievable amount of doors' returns the 0th rankings overall since it includes the word 'rank'... should probably limit that to commands that explicitly include 'rank' or 'rankings'. Ditto for 'stats' and 'statistics', probably others.
The text was updated successfully, but these errors were encountered:
I addressed this issue in a couple of ways in the commit edelkas@bcebbd8. First, I separated the strictly global functions (those that are never going to reference explicit levels or players, like rankings or histories), so they will never be called accidentally by level names.
On the others, which can't be separated (because I'm using the NAME_PATTERN to filter them out), I addressed all problematic level names individually, both by adding word boundaries, and when that's not enough, by excluding other words of the level names, e.g., the level "list of inapropriate words" will no longer trigger the method "send_list".
All in all, there's very few of this cases, so the code has barely been complicated. I've tried to make it as minimal as possible too, with as few restrictions, e.g., I haven't added but the necessary word boundaries to avoid all accidents, so that the string is still matched by as many misprinted inputs as possible.
'level id for a frankly unbelievable amount of doors' returns the 0th rankings overall since it includes the word 'rank'... should probably limit that to commands that explicitly include 'rank' or 'rankings'. Ditto for 'stats' and 'statistics', probably others.
The text was updated successfully, but these errors were encountered: