Skip to content

Conversation

@evgen1137
Copy link

@evgen1137 evgen1137 commented Jul 28, 2017

This is an a little bit ugly realization of #9694: adds a new column to the server list that displays the total size of all currently loaded resources on the server.
TODO: sorting in this column
Screenshot:
screenshot

adds a new column to the server list that displays the total size of all currently loaded resources on the server
@Disinterpreter
Copy link
Member

anyone?

@Necktrox Necktrox added the enhancement New feature or request label Nov 15, 2017
const SString strPingSortKey = SString ( "%04d-", pServer->nPing ) + pServer->strTieBreakSortKey;

const SString strResSize = GetDataUnit(static_cast < unsigned long long > ( pServer->fResSize * 1024 ) );
const SString strResSizeSortKey = SString ( "-", 0 ) + pServer->strTieBreakSortKey; // TODO
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rogue TODO?

@CrosRoad95
Copy link

I think, this could be in mta even show incorrect value ( due part of files is already downloaded )

@ccw808
Copy link
Member

ccw808 commented Jul 1, 2018

It should display the download size that will actually occur. Otherwise I think this feature will generate complaints

@qaisjp
Copy link
Contributor

qaisjp commented Jul 16, 2018

Thanks for your pull request! Unfortunately we can't merge this as it does not accurately show the correct download size.

@qaisjp qaisjp closed this Jul 16, 2018
@patrikjuvonen patrikjuvonen changed the title Added size column in the server list (mantis 9694) 0009694: Added size column in the server list Sep 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants