Code: Select all
while(i != pendingDown.end()) {
ConnectionQueueItem* cqi = i->first;
dcassert(cqi->getUser());
Thank you.
Moderator: Moderators
Code: Select all
while(i != pendingDown.end()) {
ConnectionQueueItem* cqi = i->first;
dcassert(cqi->getUser());
Code: Select all
LRESULT MainFrame::onForce(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) {
int i = -1;
while( (i = ctrlTransfers.GetNextItem(i, LVNI_SELECTED)) != -1) {
ctrlTransfers.SetItemText(i, COLUMN_STATUS, CSTRING(CONNECTING_FORCED));
((ItemInfo*)ctrlTransfers.GetItemData(i))->user->connect();
}
return 0;
}
If they also have files they want to download from you, this would explain the lack of a GUI update. This is a problem that Sedulus experiences frequently... I tried to make a patch, very early in my DC++ experiments. Bug 687087 is the tracker number for it. Take a look, this is probably what you're seeing.Duran wrote:I have found line where it checks time. Current problem is that I need to use 'Force attempt' pretty many times (it just says "Connecting...". When I press 'Force attempt', it starts downloading or gives normal error message ('no slots available' etc.). I want to use 'force attempt' feature for some users on every 10th time it tries to connect).