Room filter should be inlcusive range.
-
Hosting a game with a filter on the player's rating. Seem the filter for the lower range should be >= (greater or equal) not a simple > (greater than)...
Seems currently a player's rating will be floor'ed then compared to the allowed lower. Say had a friend that has a global score of 835, and had a filter of 800 to 1300 and they were not able to join. Interesting in this case there was no message like "Rating not within allowed ranking" as i've seen when i've attempted to enter a room where my ranking was out of range. Just seem the ranking in the room filter should be >= Lower && <= Upper.
Didn't test the upper range, but lower check sure seems to be:
if( Math.Floor( player.Rating) > lobby.lowerRankAllowed)
{
// let em in...
}
else
{
// sorry charlie
}
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login