Borg-King,
ist das echt so schwierig zu finden? Für mich war das 5 Minuten Arbeit. Schau mal in die Datei UploadClient.cpp:
Code:
bool CUpDownClient::CreateNextBlockPackage(){
// Maella -Upload Stop Reason-
// Maella -Allow Hybrid to download from eMule-
if (theApp.uploadqueue->CheckForTimeOver(this) == true){
// TimeOver => back on the waitqueue
theApp.uploadqueue->RemoveFromUploadQueue(this, CUpDownClient::USR_TIMEOVER);
theApp.uploadqueue->AddClientToQueue(this,true);
// Signal to the remote side the end of the upload session
if(socket != NULL){
Packet* packet = new Packet(OP_OUTOFPARTREQS, 0);
theApp.uploadqueue->AddUpDataOverheadOther(packet->size);
socket->SendPacket(packet, true, true);
}
return false;
}
else if(theApp.glob_prefs->TransferFullChunks() == true && IsDifferentPartBlock() == true){
// Different chunk => back on the waitqueue
theApp.uploadqueue->RemoveFromUploadQueue(this, CUpDownClient::USR_NEW_CHUNK);
theApp.uploadqueue->AddClientToQueue(this,true);
// Signal to the remote side the end of the upload session
if(socket != NULL){
Packet* packet = new Packet(OP_OUTOFPARTREQS, 0);
theApp.uploadqueue->AddUpDataOverheadOther(packet->size);
socket->SendPacket(packet, true, true);
}
return false;
}
// Maella end
Kann sein, das ich nicht alles erwischt habe, aber der Punkt im Code dürfte der richtige sein.