When you ban someone with byond stickybans system and put in ban message even one non-latin character dream daemon goes insane and start to check ban.txt every server tick, forcing the IsBanned() call on every connected and still connecting clients
Numbered Steps to Reproduce Problem:
Add a stickyban to someone and put some, e.x., cyrillic characters in its ban message
Add code from code snippet to your project
Join your server and watch
Code Snippet (if applicable) to Reproduce Problem:
/world/IsBanned(key, address, computer_id, type, real_bans_only)
var/static/calls_total = 0
var/static/calls_done = 0
calls_done++
calls_total++
if(calls_done > 30)
calls_done = 0
world << "isBanned called total: [calls_total], [key] [address] [computer_id] [type] [real_bans_only]"
. = ..()
Expected Results:
No excess calls to ban.txt
Actual Results:
An insane amount of unnecessary calls
Does the problem occur:
Every time? Or how often?
Every time
In other games?
Yes
In other user accounts?
Yes
On other computers?
Yes
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Probably exists from the first appear of stickybans
Workarounds:
Use only latin characters in your stickybans