how to grant a slot to user that PM me

Asked by matej_bb on 2009-12-18

Well the summary is pretty self-expnalatory I think. When some user wants to download something from me, and I have no free slots, this user kindly asks for a slot via PM, and I want that user to be able to download (grant him a slot), it looks like it is impossible in current Linuxdcpp.
The context option to grant extra slot is only available when I right-click a user who is already downloading (which is almost useless I think), or in each hub's user list, but also - when someone PMs me, I have no idea what hub does this user belong to. And also I have no idea, with current Grant Slot functionality, for how much time the slot is being granted.? In strongdc i have the options - for from 10min up to a week, it would be great to have similar functionality in Linuxdcpp.

Question information

Language:
English Edit question
Status:
Answered
For:
LinuxDC++ Edit question
Assignee:
No assignee Edit question
Last query:
2009-12-18
Last reply:
2010-01-17
Razzloss (razzloss) said : #1

There's no GUI support for what you describe. All the grant slot/add favorite user options are dimmed and waiting for someone to write the implementation. The core supports at least permanent slot granting, but for this to work you'll have to edit the favorites.xml by hand and restart Linuxdcpp.

And I guess this to be implemented someone has to send a patch for it. At least that would speed up the process. I wouldn't hold my breath waiting for myself or Steven to come up with a code for this.

--RZ

Razzloss (razzloss) said : #2

Yeah, the previous answer doesn't really answer the question. Was somehow stuck with the favorite users, which doesn't have GUI implementation yet.

Grant slot of course works as you described, from the user context menu (from transfers tab or in the nicklist). Apparently the user context menu isn't available from pm window (I think there's a bug report/feature request already? If not feel free to make one).

As for the duration of the granted slot, I think it is for one connection. After the user disconnects the temporary slot is removed. I'm not 100% sure about this though, should probably check the code or just try it.

--RZ

Olorin (vivliofika) said : #3

I have no problems with granting the slots. I use "disconnect" option for all other leechers. Havn't you thought about?

matej_bb (matej-bb) said : #4

Olorin, that means that you sit there and kick any user that wants to download but does not ask for a slot?! Well, first with the amount of "leechers" I have I wouldn't be doing anything else all day. And secondly, did you imagine that you would have to ask each user you want to download something from... is this what DC++ should be about?

However, since someone proposed to use /grant command in the PM window (which I didn't know about), I use that and it works... but that GUI option would be nice anyway :)

Olorin (vivliofika) said : #5

Do you store unique content? I'm holding a fast mirror with gigabit uplink. And what problem with?

Can you help with this problem?

Provide an answer of your own, or ask matej_bb for more information if necessary.

To post a message you must log in.