where exacly?
![Smile :)](./images/smilies/icon_smile.gif)
Moderator: Moderators
Yes you need to change code in 0.68+, it is easy.adrian_007 wrote:can i change some part of code, to download filelist from dc++ 0.401?
DownloadManager.cpp, you need to use $Get command to get userlist from them instead of buggy $UGetBlock...adrian_007 wrote:where exacly?
Code: Select all
if(BOOLSETTING(COMPRESS_TRANSFERS) && aConn->isSet(UserConnection::FLAG_SUPPORTS_GETZBLOCK) && d->getSize() != -1 ) {
// This one, we'll download with a zblock download instead...
d->setFlag(Download::FLAG_ZDOWNLOAD);
aConn->getZBlock(d->getSource(), d->getPos(), d->getBytesLeft(), d->isSet(Download::FLAG_UTF8));
} else if(aConn->isSet(UserConnection::FLAG_SUPPORTS_XML_BZLIST) && d->isSet(Download::FLAG_UTF8)) {
Code: Select all
if(BOOLSETTING(COMPRESS_TRANSFERS) && aConn->isSet(UserConnection::FLAG_SUPPORTS_GETZBLOCK) && d->getSize() != -1 && d->isSet(Download::FLAG_USER_LIST) == false) {
// This one, we'll download with a zblock download instead...
d->setFlag(Download::FLAG_ZDOWNLOAD);
aConn->getZBlock(d->getSource(), d->getPos(), d->getBytesLeft(), d->isSet(Download::FLAG_UTF8));
} else if(aConn->isSet(UserConnection::FLAG_SUPPORTS_XML_BZLIST) && d->isSet(Download::FLAG_UTF8) && d->isSet(Download::FLAG_USER_LIST) == false) {