sorted saved game lists

Post here your ideas for the server software (not campaign)

Moderators: Torren, Moderators

Post Reply
BarukKhazad
MegamekNET Moderator
Posts: 329
Joined: Mon Nov 21, 2011 10:56 pm

sorted saved game lists

Post by BarukKhazad »

When the list of saved games is requested the output looks like this:
Load ./savegames/autosave_2015-12-23_16-25-51.sav.gz 12/23/2015 16:25:53 Load ./savegames/autosave_2015-12-23_16-35-03.sav.gz 12/23/2015 16:35:04 Load ./savegames/autosave_2015-12-23_15-53-31.sav.gz 12/23/2015 15:53:31 Load ./savegames/autosave_2015-12-23_15-50-23.sav.gz 12/23/2015 15:50:23 Load ./savegames/autosave_2015-12-23_16-32-26.sav.gz 12/23/2015 16:32:27 Load ./savegames/autosave_2015-12-23_15-58-03.sav.gz 12/23/2015 15:58:03 Load ./savegames/autosave_2015-12-23_16-34-11.sav.gz 12/23/2015 16:34:11 Load ./savegames/autosave_2015-12-23_15-50-17.sav.gz 12/23/2015 15:50:17 Load ./savegames/autosave_2015-12-23_16-04-21.sav.gz 12/23/2015 16:04:22 Load ./savegames/autosave_2015-12-23_16-11-07.sav.gz 12/23/2015 16:11:07
Could this output be sorted so the latest saves are always at the end?
I had opinions/That didn't matter/I had a brain/That felt like pancake batter
I got a backyard/With nothing in it/Except a stick/A dog/And a box with something in it
The hardest button to button/ /The hardest button to button/ /The hardest button to button

arlith
Posts: 176
Joined: Tue Dec 03, 2013 4:54 am

Re: sorted saved game lists

Post by arlith »

Is this with the /listSaves command, or something like that?
Member of the MegaMek Team.

BarukKhazad
MegamekNET Moderator
Posts: 329
Joined: Mon Nov 21, 2011 10:56 pm

Re: sorted saved game lists

Post by BarukKhazad »

My bad, this is the MekWars dedicated host code. I will do it.
I had opinions/That didn't matter/I had a brain/That felt like pancake batter
I got a backyard/With nothing in it/Except a stick/A dog/And a box with something in it
The hardest button to button/ /The hardest button to button/ /The hardest button to button

Post Reply