Try changing the longs to bytes. It's confusing, because potentially the bitsum could go over 255 (with enough players in it), but when I was running message logger, both arguments were bytes and not longs. Maybe it's clever enough to only use the data type required for whatever the value is.
__________________
No longer around. Thanks your support, everyone! As always: