Du bist nicht angemeldet.
|
|
Quellcode |
1 |
bool CUploadQueue::AcceptNewClient(){// check if we can allow a new client to start downloading form usif (::GetTickCount() - m_nLastStartUpload < 1000 && datarate < 102400 )return false;if (uploadinglist.GetCount() < MIN_UP_CLIENTS_ALLOWED)return true;else if (uploadinglist.GetCount() >= MAX_UP_CLIENTS_ALLOWED)return false;uint32 upPerClient = UPLOAD_CLIENT_DATARATE + datarate/50;if( upPerClient > 11000 )upPerClient = 11000;//now the final checkif (theApp.glob_prefs->GetMaxUpload() == UNLIMITED){if ((uint32)uploadinglist.GetCount() < ((datarate/upPerClient)+2))return true;}else{uint16 nMaxSlots = 0;if (theApp.glob_prefs->GetMaxUpload() > 10){nMaxSlots += 2;nMaxSlots += (uint16)ceil((float)((theApp.glob_prefs->GetMaxUpload() - 10)*1024) / upPerClient);}elsenMaxSlots = MIN_UP_CLIENTS_ALLOWED;//theApp.emuledlg->AddLogLine(true,"maxslots=%u, upPerClient=%u",nMaxSlots,upPerClient);if ((uint32)uploadinglist.GetCount() < (datarate/UPLOAD_CHECK_CLIENT_DR) && uploadinglist.GetCount() <= nMaxSlots )return true;}//nopereturn false;}
|
|
|
Quellcode |
1 |
bool CUploadQueue::AcceptNewClient(){return false;}
|
nRw | Cr3w ` S4v4s
unregistriert
Zitat
Original von spieletermine|l3374ever
nettes TUT wobei ich Leecher Mods Prinzipiell als Mist einstufe wenn es jeder nutzt ...... naja. egal.
Solange es kein Link is zu nem fertigen Emule leecher Mod.....so habt ihr wenigstens was zu tun LOL
cu
