Recent content by DavidAndara

  1. DavidAndara

    Sorting players list

    That's what I needed! Thanks PyrO Thanks Voxpire, I knew there was a cleaner method to do the task, I just lack of knowledge about the matter. Thank you all!
  2. DavidAndara

    Sorting players list

    Hey guys! it's me again. I'm facing a new problem sorting my players list, I'm currently using the code bellow, it works to sort mobiles which where added to the list checking the Player bool, the problem itself is when I try to use a Variable which is playermobile exclusive to sort the list...
  3. DavidAndara

    Sorting players list

    Thanks for your help Lotus I did the trick creating a new list and filling with the sorted first list. (and changed the starting i to 0, it was ignoring the first player on top): var players = new List<Mobile>(World.Mobiles.Values.Where(x=>x is PlayerMobile)); List<Mobile>...
  4. DavidAndara

    Sorting players list

    Thank you all four your replies! I'm using the standart WebStatus.cs as base, using the tools you gave me I wrote (pasted :D) this little code, but it's not working properly, it does get a list of all the players in the world, it does list only 10, but is not sorting the list as it should...
  5. DavidAndara

    Sorting players list

    Hey guys! First post here. I'm currently working on a custom webstatus page but I'm having troubles finding a way to sort players in the list by criterias, ie: kills. Is there a system which implements this function already? So I can use it as a guide. I had no luck using the search function...
Back