This post has been edited by pupet: 13 May 2011 - 01:55 PM
Page 1 of 1
Upload Start Sense
#2
Posted 11 May 2011 - 05:13 AM
pretty much useless. if clients don't connect or don't request they will eventually be kicked from upload. speeding it up the process of kicking them is not actually helping. if those clients cause your upload to get unstable figure out a way to add new slots if the last added one stalls at the beginning.
This post has been edited by Stulle: 11 May 2011 - 01:27 PM
I am an emule-web.de member and fan!
[Imagine there was a sarcasm meter right here!]
No, there will not be a new version of my mods. No, I do not want your PM. No, I am certain, use the board and quit sending PMs. No, I am not kidding, there will not be a new version of my mods just because of YOU asking for it!
[Imagine there was a sarcasm meter right here!]
No, there will not be a new version of my mods. No, I do not want your PM. No, I am certain, use the board and quit sending PMs. No, I am not kidding, there will not be a new version of my mods just because of YOU asking for it!
#3
Posted 11 May 2011 - 06:07 AM
IMHO the problem should be fixed on the downloaders' side. There may be ppl with poor lines and/or ISPs hampering them but there are also ppl who don't configure their 'mule to work correctly, adjust the proper line speeds and connection limits, etc. IMHO that is the point to change... and if possible this should be done in the official 'mule client so most ppl use and/or apply the changes.
#4
Posted 11 May 2011 - 01:28 PM
That is true. Still, if buggy clients cause instability in the upload - and we always have to expect troublesome downloaders - there needs to be some code that improves upload saturation when needed.
I am an emule-web.de member and fan!
[Imagine there was a sarcasm meter right here!]
No, there will not be a new version of my mods. No, I do not want your PM. No, I am certain, use the board and quit sending PMs. No, I am not kidding, there will not be a new version of my mods just because of YOU asking for it!
[Imagine there was a sarcasm meter right here!]
No, there will not be a new version of my mods. No, I do not want your PM. No, I am certain, use the board and quit sending PMs. No, I am not kidding, there will not be a new version of my mods just because of YOU asking for it!
#5
Posted 13 May 2011 - 05:36 AM
Well, from the coding POV...
Otherwise, Stulle and myself have already written enough, IMHO.
Quote
bool CUploadQueue::StartTimeOver(CUpDownClient* client){
//>>> upload Start Sense
/* value of the slider of upload divided by the number of slot in progress */
int MaxValueSense = thePrefs.GetMaxGraphUploadRate(false)/uploadinglist.GetCount(); //possible division by zero
/* if the timer is finished and that the customer is not to 70% of the desired value */
if(( client->GetUpStartTimeDelay() > SESSION_START_TIME) && ((int) client -> GetDatarate () < MaxValueSense * .7)) //comparing doubles with ints... needs to be checked
//so we...
{
if (thePrefs.GetLogUlDlEvents())
AddDebugLogLine(DLP_LOW, false, _T("%s: Upload session ended due to max time to start the upload : %s."), client->GetUserName(), SESSION_START_TIME/1000); //formatting an int to a string - won't work
return true;
}
else
return false;
//end
}
//>>> upload Start Sense
/* value of the slider of upload divided by the number of slot in progress */
int MaxValueSense = thePrefs.GetMaxGraphUploadRate(false)/uploadinglist.GetCount(); //possible division by zero
/* if the timer is finished and that the customer is not to 70% of the desired value */
if(( client->GetUpStartTimeDelay() > SESSION_START_TIME) && ((int) client -> GetDatarate () < MaxValueSense * .7)) //comparing doubles with ints... needs to be checked
//so we...
{
if (thePrefs.GetLogUlDlEvents())
AddDebugLogLine(DLP_LOW, false, _T("%s: Upload session ended due to max time to start the upload : %s."), client->GetUserName(), SESSION_START_TIME/1000); //formatting an int to a string - won't work
return true;
}
else
return false;
//end
}
Otherwise, Stulle and myself have already written enough, IMHO.
#6
Posted 13 May 2011 - 01:48 PM
This code are from gatchymule and its very old and crappy,so don't spend youre time with this code if you don't have any plan from it.
Page 1 of 1