Galaxy Legion Forum
http://galaxylegion.com/forum/

Battle tab rank order
http://galaxylegion.com/forum/viewtopic.php?f=5&t=11122
Page 1 of 1

Author:  NikeMikey [ Sun Aug 07, 2011 3:52 am ]
Post subject:  Battle tab rank order

When organizing the ships in the battle tab by rank, I noticed a strange thing about how it's ordered when I saw my first person ranked 100+:

Image

I don't know why it does that, but it happens every time a person ranked 100+ shows up. Just thought I'd share. :)

Author:  TheSpartan [ Sun Aug 07, 2011 5:02 am ]
Post subject:  Re: Battle tab rank order

it's because it's not actually listing them by rank, but the first number, THEN the second number....1 is less that 8, and since it's the first number, it comes first

Author:  Lone.Lycan [ Sun Aug 07, 2011 5:05 am ]
Post subject:  Re: Battle tab rank order

TheSpartan wrote:
it's because it's not actually listing them by rank, but the first number, THEN the second number....1 is less that 8, and since it's the first number, it comes first
exactly... it's alphabetic order... the sorting routine isn't being told it's numbers

i wonder if this is something Dan would be able to fix easily or if it would take a while

Author:  thunderbolta [ Sun Aug 07, 2011 8:56 am ]
Post subject:  Re: Battle tab rank order

Not sure, but in the coding only he could change the variable it to "000105" "000065"
Then 1>0 so 65 would go before 105. :D
Not sure if it's set just to read out the variable though, which would be difficult.

I'm assuming this happens for rank 1000+ aswell?

Author:  Lone.Lycan [ Sun Aug 07, 2011 9:04 am ]
Post subject:  Re: Battle tab rank order

thunderbolta wrote:
Not sure, but in the coding only he could change the variable it to "000105" "000065"
Then 1>0 so 65 would go before 105. :D
Not sure if it's set just to read out the variable though, which would be difficult.

I'm assuming this happens for rank 1000+ aswell?
heck with 6 digits, it'll work fine for correctly sorting lvl 99,999 vs lvl 100,000.... though i wouldn't want to see leading 0's in the actual list (but that's easily removable)

Author:  NikeMikey [ Sun Aug 07, 2011 4:31 pm ]
Post subject:  Re: Battle tab rank order

I wonder if this is another problem that Dan didn't think of that's easy to fix.

Author:  sith squirrel [ Sun Aug 07, 2011 5:30 pm ]
Post subject:  Re: Battle tab rank order

doesnt really seem necacaery to fix tbh

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/