Wishlist: store and output ratio

Asked by Olorin on 2009-10-30

There are counters in ldcpp now. They store the number of bytes I have already received and transmitted.
So there is no any problem to store these counters in config incrementally. Then on /r or /ratio command the client outputs to the active chat <%[myNI]> received ##, transmitted ## ratio ##. Received total ## tranmitted total ## ratio total ##.

It will be great if this feature detect the active chat for user I click correctly even if I use right click menu and right click menu at the search results or transmittion preview bar at the bottom. Also %[ratio] variable can be very usefull.

Question information

Language:
English Edit question
Status:
Answered
For:
LinuxDC++ Edit question
Assignee:
No assignee Edit question
Last query:
2009-10-30
Last reply:
2009-11-10
Steven Sheehy (steven-sheehy) said : #1

Total download and upload exist already in DCPlusPlus.xml, but apparently this is not saved by the core and the gui has to do it for some stupid reason. There's even a comment above it: /** @todo move this to client/ */. LinuxDC++ needs to fix that, preferably by fixing the core.

If you want such a command to appear in search, hub, transfers then it would need to be a user command and not a /ratio command. In order to do this, received/sent for current and total would need to be added to DC++ as user command substitution variables. Please open a bug in DC++ to get them added.

Can you help with this problem?

Provide an answer of your own, or ask Olorin for more information if necessary.

To post a message you must log in.