I noticed that /worlds populated lists all worlds that are loaded, but surely this will mean that if the main world is empty, it will still be listed? I noticed this and changed it to: if (world.Players.Count > 0)
I also noticed quite a while back that in /help mark it says "/Mark X Y H".
H is like.... soooooooo last branch xD
[FIXED] /Worlds populated
[FIXED] /Worlds populated
You cannot use certain BBCodes: [img].
Re: /Worlds populated
If you use...
...then you will be revealing worlds that have hidden players online. To be safe, I recommend doing...
fCraft already uses this method for "/worlds populated" since 0.611 (r1277+).
I fixed "/Help Mark" in 0.700 (r1340), thank you for catching it.
Code: Select all
.Where( w => w.Count > 0 )
Code: Select all
.Where( w => w.Players.Any( player.CanSee ) )
I fixed "/Help Mark" in 0.700 (r1340), thank you for catching it.
Re: /Worlds populated
Oh, facepalm, I forgot about hidden players thanks!
Is there a way I can see a long list of all your commits? Cia only shows me the last 20 or something.
Is there a way I can see a long list of all your commits? Cia only shows me the last 20 or something.
You cannot use certain BBCodes: [img].
Re: /Worlds populated
Use an SVN client to see the complete revision log.