Official eMule-Board: Upload Start Sense - Official eMule-Board

Jump to content


Page 1 of 1

Upload Start Sense

#1 User is offline   pupet 

  • Member
  • PipPip
  • Group: Members
  • Posts: 49
  • Joined: 24-November 05

Posted 11 May 2011 - 12:40 AM

:ot:

This post has been edited by pupet: 13 May 2011 - 01:55 PM

0

#2 User is offline   Stulle 

  • [Enter Mod] Dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5738
  • Joined: 07-April 04

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! Hate me or people will get suspicious about you! Ever wondered if it's all worth the trouble?

Posted Image

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!
0

#3 User is offline   tHeWiZaRdOfDoS 

  • Man, what a bunch of jokers...
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5630
  • Joined: 28-December 02

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.
0

#4 User is offline   Stulle 

  • [Enter Mod] Dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5738
  • Joined: 07-April 04

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! Hate me or people will get suspicious about you! Ever wondered if it's all worth the trouble?

Posted Image

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!
0

#5 User is offline   tHeWiZaRdOfDoS 

  • Man, what a bunch of jokers...
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5630
  • Joined: 28-December 02

Posted 13 May 2011 - 05:36 AM

Well, from the coding POV...

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
}

Otherwise, Stulle and myself have already written enough, IMHO.
0

#6 User is offline   GeaR 

  • Member
  • PipPip
  • Group: Members
  • Posts: 31
  • Joined: 05-May 07

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.
0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users