aMule Forum
English => Offtopic Section (Nonsense inside) => GFX => Topic started by: myth on July 31, 2009, 12:12:33 PM
-
Well...for now i post a screenie of the stats window, until we can have a copy feature of the text! :D
(http://img5.imagebanana.com/img/uw8onyh/thumb/stasts.png) (http://img5.imagebanana.com/view/uw8onyh/stasts.png)
There seems also to be a small bug where it says "Found sources"....without a download they are too much! :D
Post your stats, too! :)
-
That found sources looks like a -1 to me.
-
I think this should fix it:
Index: DownloadQueue.cpp
===================================================================
--- DownloadQueue.cpp (revision 9731)
+++ DownloadQueue.cpp (working copy)
@@ -572,13 +572,7 @@
} else {
// Source was known, but reqfile NULL.
source->SetRequestFile( sender );
- if (source->GetSourceFrom() != nSourceFrom) {
- if (source->GetSourceFrom() != SF_NONE) {
- theStats::RemoveSourceOrigin(source->GetSourceFrom());
- theStats::RemoveFoundSource();
- }
- source->SetSourceFrom(nSourceFrom);
- }
+ source->SetSourceFrom(nSourceFrom);
sender->AddSource( source );
if ( source->GetFileRating() || !source->GetFileComment().IsEmpty() ) {
sender->UpdateFileRatingCommentAvail();
Sources are supposed to be counted through CPartFile::AddSource, CPartFile::DelSource . I don't see why the sourceFrom of a client without a RequestFile should influence the stats. Anybody disagree? :-\
-
Anybody disagree?
No. At least me not.
-
I noticed that the total UL:DL ratio is not displayed. It should be there at the top in parentheses.
-
Yeah, would be nice! ;)
-
Total UL:DL ratio is now displayed (9741). And I committed the fix for the negative sources (9743). Myth, please verify if it fixes the problem.
-
Total UL:DL ratio is now displayed (9741). And I committed the fix for the negative sources (9743). Myth, please verify if it fixes the problem.
Good job, I'll try to verify later.
-
Until now, both work very fine! THX!
-
Here some longtime stats, before using the new gui ;)
(http://www.imagebanana.com/img/6ac8z9gj/thumb/Screenshot1.png) (http://www.imagebanana.com/view/6ac8z9gj/Screenshot1.png)