Search found 218 matches

by ender
2003-01-26 11:56
Forum: Feature Discussion (Archived)
Topic: DC++ and remote refresh command
Replies: 21
Views: 8204

Re: DC++ and remote refresh command

I decided that you have to specify a "passphrase" and then any PM with the "!refresh <passphrase>" syntax which matches the passphrases causes an immediate forced refresh. This is pretty useless IMO - a much better approach is that DC++ would automatically refresh the share when a requested file (w...
by ender
2003-01-26 05:43
Forum: Other Direct Connect tools
Topic: Ragnarok - Take Back Your Hub!
Replies: 11
Views: 7396

Try to send EXTENDEDPROTOCOL lock without the $Supports BZList, you should get HE3 list back. Otherwise you'll need a BZ2 decompression library (not zlib!) - ask aDe how to use it.
by ender
2003-01-26 05:43
Forum: Feature Discussion (Archived)
Topic: custom name tags?
Replies: 2
Views: 2207

It's not possible... And anyway, why would you want that?
by ender
2003-01-26 05:33
Forum: Feature Discussion (Archived)
Topic: Custom User Menu Commands
Replies: 13
Views: 6475

If I understand the text in the Modify user command correctly, you need to do something like this:

+AddReg %[nick] %[line:Password] %[line:Status]
by ender
2003-01-24 14:02
Forum: Hubs and scripts
Topic: Two bots in same Hub
Replies: 12
Views: 6020

Large scripts will work just fine - my YAMB is 150 kB, and StimBot is over 200... Just don't try to edit them in NMDC Hub.
by ender
2003-01-24 13:14
Forum: Hubs and scripts
Topic: command for connections?
Replies: 14
Views: 6764

Hint (before you go mad "why doesn't this work at all"): curUser.sMyInfoString stays empty until the user actually sends $MyINFO - and that doesn't happen in NewUserConnected/OpConnected - you'll have to watch DataArival for $MyINFO
by ender
2003-01-24 02:47
Forum: Protocol Alley
Topic: Client->Client question
Replies: 13
Views: 6609

http://odc.sf.net/ -> click on the first link, then go to the docs page. There are 3 protocol specifications, one of them covers Client-client protocol, too.
by ender
2003-01-23 17:32
Forum: Hubs and scripts
Topic: Hub-Scripts
Replies: 21
Views: 11318

There is a big difference between DC++ and that image: DC++ has a license that allows you to use it freely. There isn't any such thing at that image.
by ender
2003-01-23 06:10
Forum: Hubs and scripts
Topic: help me with button
Replies: 4
Views: 2726

You can't
by ender
2003-01-23 02:43
Forum: Feature Discussion (Archived)
Topic: Upload Speed Limiting
Replies: 187
Views: 91458

Some people just don't get it - without the upload limiter I had to close uploads all the time when I wanted to download something, with it I could let them be, and since I started using it my ul:dl ratio went from 0.90 to 2.2...
by ender
2003-01-22 03:07
Forum: Hubs and scripts
Topic: DL and UP check in BCDC++ .22
Replies: 28
Views: 14317

You've gotta be kidding! 1 kB/s on cable. Leech somewhere else.
by ender
2003-01-21 16:19
Forum: Feature Discussion (Archived)
Topic: Find New Sources needs rate control - It causes search spams
Replies: 15
Views: 7196

This searchlimit should be different passive and active clients. active clients should be able to search more often than passive. What is a good limit? i don't know? what do you think? I'm ignoring the search requests in my hub if the client is sending more than 1 active search per 0.5 seconds or m...
by ender
2003-01-20 11:04
Forum: Feature Discussion (Archived)
Topic: DC++ and remote refresh command
Replies: 21
Views: 8204

A "forced refresh" should be implemented into DC++, once / hour, to make people stop moving their shared files somewhere else to avoid uploading to people. Naah, it can take pretty long to refresh your shares, especially if you share a lot of small files from network drives. A much better approach ...
by ender
2003-01-20 11:02
Forum: Hubs and scripts
Topic: DL and UP check in BCDC++ .22
Replies: 28
Views: 14317

Apps like BCDC++ ruin the DC network.
That's a stupid thing to say. BCDC can be easily detected, even if the tag is hidden and Lock/Pk are changed. If you don't know how to do it, you're not fit to be a hub op.
There are much more dangerous DC applications out there...
by ender
2003-01-19 13:12
Forum: Hubs and scripts
Topic: Hub owners active search script
Replies: 3
Views: 2671

Re: Hub owners active search script

FRANKE wrote: For Each User in ColUsers
User.SendData CStr(sCurData)
Next
Wouldn't this be much faster:

Code: Select all

colUsers.SendToAll (sCurData)
by ender
2003-01-17 20:00
Forum: Protocol Alley
Topic: Problem with loggin into server
Replies: 24
Views: 10614

Interestng, I'm using Windows-1250 (Central-European, I'm from Slovenia), thought Poland uses the same...
by ender
2003-01-17 09:11
Forum: Protocol Alley
Topic: Problem with loggin into server
Replies: 24
Views: 10614

Windows-1252 is the Western Windows codepage. It differs from ISO-8859-1 in chatacters with codes from 128 to 160 (they're used in Win1252 but not in iso). Anyway, I'm only saying that this codepage should be used, since most people using DC use it. The only real difference will be seen with users w...
by ender
2003-01-17 09:08
Forum: Hubs and scripts
Topic: Download slot
Replies: 3
Views: 2660

It is not possible, and I don't see any point in why would DC++ announce how many download slots does somebody have.
by ender
2003-01-17 06:50
Forum: Feature Discussion (Archived)
Topic: System Tray Minimization
Replies: 2
Views: 2062

Check the settings dialog before asking for features.
by ender
2003-01-17 05:24
Forum: Protocol Alley
Topic: Adding file hashes to the protocol
Replies: 97
Views: 46333

In mature and well managed hubs, all shares consist of 90% orginal-releases with full .nfo, .sfv and no renaming of releases. In such hubs you don't have any need for the hashing. You never visited an anime hub, have you? You'll never find SFV checks there, and with popular files you can expect as ...
by ender
2003-01-17 04:16
Forum: Protocol Alley
Topic: Comments on QuickList please
Replies: 11
Views: 5839

Actually it goes like this when the hub supports QuickList:
H>C: $Lock EXTENDEDPROTOCOL<random> Pk=<random>|$HubName blahblah|
C>H: $Key ...|$Supports QuickList|
H>C: $Supports QuickList|
...

The hub doesn't send $Supports first, the client does.
by ender
2003-01-17 04:13
Forum: Protocol Alley
Topic: DCExt..
Replies: 11
Views: 5883

Yes, hashing only the first 4k of the file doesn't solve anything - most corrupted files are missing something in the end (or in the middle) - if they were corrupted in the first 4k, they probably wouldn't work at all...
by ender
2003-01-17 04:12
Forum: Protocol Alley
Topic: Problem with loggin into server
Replies: 24
Views: 10614

Actually it should be Windows-1252, which difers a little from ISO-8859-1...
by ender
2003-01-17 04:06
Forum: Protocol Alley
Topic: Adding file hashes to the protocol
Replies: 97
Views: 46333

do-you-know-how-long-it-takes-to-get-a-hash-of-more-than-100000-files-ly'ers? eDonkey on linux, VIA Eden 533 MHz machine, 240 GB of data shared, it takes a little less than two hours to generate the hashes for the first time. When it's run the next time, the files are checked in around 20 minutes (...
by ender
2003-01-16 17:50
Forum: Protocol Alley
Topic: DCExt..
Replies: 11
Views: 5883

$Capabilities CAP1[$CAP2....]| Hmm, DC++ (and compatible clients) use $Supports, where features are separated by spaces. Currently BZList is supported, and ZLib file compression is planned. $Search sender a.md?b?c?d?e There was talk about hashes already, IIRC it was suggested that the size would be...
by ender
2003-01-16 15:49
Forum: Protocol Alley
Topic: DCExt..
Replies: 11
Views: 5883

IMO, %DCN encoding should be standarised for escaping $ (only in private messages, it displays fine in the main chat) and | - %DCN is already used in DC, even though it bloats everything...

As for UniSearch, is there any detailed description available on how to use it?
by ender
2003-01-16 15:09
Forum: Protocol Alley
Topic: Problem with loggin into server
Replies: 24
Views: 10614

Read another line from the hub - this is what I get if I connect to a hub with telnet (without sending anything): $Lock a?Kl0(@2X\nk(=?\@Lx;k+znDdA)AD,5+zubQnys.cbqO>bvy+r'C1IjE5.J]13gHmFNIV3Jv+ Pk=JIm4@X+I'J%Vuik^|$HubName Test|<Hub-Security> This hub is running version 1.0.25 of Luke-Jr's DC Hub (...
by ender
2003-01-16 14:20
Forum: Protocol Alley
Topic: Problem with loggin into server
Replies: 24
Views: 10614

you must send $ValidateNick after the $Key, after that, the hub will either answer with $ValidateDenide (the nickname is taken or it contains invalid characters), $GetPass (the nickname is password-protected), or $Hello. BTW: there are two open-source Java clients out there already, you can learn fr...
by ender
2003-01-16 10:06
Forum: Protocol Alley
Topic: $UserIP
Replies: 37
Views: 18426

FYI, I implemented $UserIP in my hub...
by ender
2003-01-16 06:20
Forum: Hubs and scripts
Topic: Two bots in same Hub
Replies: 12
Views: 6020

You can use as many scripts as you wish, but the more scripts, the more CPU power they need.
by ender
2003-01-15 18:13
Forum: Protocol Alley
Topic: File upload/download
Replies: 2
Views: 2462

No part of DC protocol is based on any other standard protocol (well, except TCP/UDP). The Client-client protocol was posted on these forums, search around a little.
by ender
2003-01-15 16:26
Forum: Protocol Alley
Topic: Hub-client protocol extension: $xKick
Replies: 17
Views: 9211

Ok, how about this: $xKick nick list $ ban time $ show in chat $ reason | nick list : nicknames, separated by space ban time : ban time (positive values: ban time in seconds, 0: just disconnect, negative values: permban) show in chat : T = show kick in the main chat; F = don't show it reason : kick ...
by ender
2003-01-15 15:04
Forum: Feature Discussion (Archived)
Topic: Passive Mode
Replies: 24
Views: 12061

here's a script I used to use (somebody on the old lichlord forums posted it): #! /bin/sh EXT_IF="<external interface (eth0, ppp0...)>" EXT_IP="<your external IP here>" INT_IP="<the IP you're forwarding to>" PORT="<port you wish to use>" # Allow DC++ connections to firewall ipchains -A input -j ACCE...
by ender
2003-01-14 14:31
Forum: Protocol Alley
Topic: Time to write a complete RFC.
Replies: 28
Views: 12930

Sedulus wrote:shouldn't the $ForceMove be fixed?
I think that the only reason why $ForceMove doesn't disconnect the client (when using NMDC hub) is because Mr. Hess didn't know how to flush the socket before disconnecting it...
by ender
2003-01-14 02:29
Forum: Feature Discussion (Archived)
Topic: Upload Speed Limiting
Replies: 187
Views: 91458

What about people who have faster connections? What if they, too capped their DC++ to 64 kbps?
by ender
2003-01-13 16:55
Forum: Feature Discussion (Archived)
Topic: Download from multiple users
Replies: 14
Views: 11532

eHast wrote:You can't use more than one slot from a single user.
Actually, you can, if the user is on multiple hubs (I've seen it several times, both with DC++ and DCGui).
by ender
2003-01-13 12:50
Forum: Protocol Alley
Topic: $UserIP
Replies: 37
Views: 18426

better ask for $MyIP then, and the nickname part is useless IMO...
client: $MyIP|
hub: $YourIP 123.45.67.89|
by ender
2003-01-11 16:23
Forum: Protocol Alley
Topic: Question to Arne about original design of DC
Replies: 25
Views: 14233

Are there any big flaws in DC protocol? Better ask "Is there anything in DC protocol that isn't flawed?" :mrgreen:
The whole protocol is one big mess - just look for the QuickList proposed by Nev, it's trying to fix one of the big flaws... and there are others...
by ender
2003-01-11 13:37
Forum: Hubs and scripts
Topic: Passive Mode Port Range
Replies: 1
Views: 1700

In passive mode probably the first available port is used (it's probably left to the TCP/IP stack to choose the port).
by ender
2003-01-11 12:42
Forum: Other Direct Connect tools
Topic: Anyone familiar with Starster (*ster)?
Replies: 8
Views: 6396

If Arne decided, he could close the CVS and make the DC closed-source, pay-for version, since it's his program. However, since the souce code (before he'd have closed it) was released under GPL, he could not stop developement (also, he'd either have to remove all code that wasn't written by him, or ...
by ender
2003-01-10 03:22
Forum: Feature Discussion (Archived)
Topic: dc++ autoconnect when kicked.....
Replies: 1
Views: 1841

The DC++ autoconnecting can be easily solved: if the client tries to connect before his tempban time is up, reset the tempban time and disconnect him. That's what I'm doing in my hub, and it works (but I, too send $Kick to the client when he's kicked).
by ender
2003-01-09 18:36
Forum: Feature Discussion (Archived)
Topic: Download from multiple users
Replies: 14
Views: 11532

To tell the truth, I've been using the linux client, DCGui for some time, and it has no problems with downloading files from multiple sources at once... Actually, I never had a corrupted file, which wasn't the case with DC++...
by ender
2003-01-09 14:30
Forum: Protocol Alley
Topic: DC Protocol HELP
Replies: 12
Views: 6480

You can't change the protocol without having an option to use the old protocol... There are a few improvements planned, but only in the client-hub protocol, not client-client.
by ender
2003-01-08 15:14
Forum: Protocol Alley
Topic: Question on detecting dc++ clients
Replies: 19
Views: 10011

Re: How to do this with a script.

Remember.. if another client logs in when this process is running, the winsock is not listening anymore, and client wont be checked. Therefore it is wise to create a array of winsocks to accept connections. However, that is not necessary if this function will run upon request, going through each cl...
by ender
2003-01-08 15:12
Forum: Hubs and scripts
Topic: Goose script-site
Replies: 10
Views: 5610

It's a script, but comes with an installer, since a DLL file has to be registered (and the script also uses the install folder that the installer writes to the registry) to store it's config files). The installer is Inno Setup, and it should be virus-free (if it isn't, then I'm infected, too - but I...
by ender
2003-01-08 13:29
Forum: Feature Discussion (Archived)
Topic: Download Speed Limiting
Replies: 8
Views: 5524

BCDC++ has had upload limiting for as long as I remember (at least since 0.181, probably earlier)...
by ender
2003-01-07 17:55
Forum: Feature Discussion (Archived)
Topic: Auto /refresh when file not available
Replies: 8
Views: 4565

The tricky part is that it would have to be somehow limited or it might get turned into DoS tool (it takes some time to scan the disk for files, imagine it running again and again and again and...). Maybe setting like "no more than once in xx minutes"? It's not tricky at all - if the share was refr...
by ender
2003-01-07 17:17
Forum: Feature Discussion (Archived)
Topic: Auto /refresh when file not available
Replies: 8
Views: 4565

Here's a pretty simple way to implement it: if the user requests a file that should be available (is on DC++'s internal sharelist), but DC++ can't open it, DC++ should automatically refresh the share and reply that the file isn't available if a user requests a file that isn't on DC++'s internal file...
by ender
2003-01-07 14:01
Forum: Feature Discussion (Archived)
Topic: dchub:// url register
Replies: 14
Views: 7935

Check your install folder (or if you selected multiuser install, the config folder) - you'll find Opera6.ini there (6 is the version of the file, not program :lol: )
by ender
2003-01-07 10:20
Forum: Feature Discussion (Archived)
Topic: dchub:// url register
Replies: 14
Views: 7935

OLDoMiNiON wrote:erm and also, the dchub:// thing doesn't work with alt. browsers like Opera, IE only i think.. or am i talk crap??
Sore it does, just add TrustedExternalURLProtocols=dchub to the [User Prefs] section of Opera6.ini