Search found 374 matches

by sarf
2003-05-12 10:51
Forum: Programmer's Help
Topic: DC++ Url Handler code - please help!
Replies: 16
Views: 7491

As far as I can tell, GargoyleMT seems to imply that using $ to terminate nicks may be a bad thing, since the newest Neo-Modus does not use it.

Sarf
---
Real men write self-modifying code.
by sarf
2003-05-12 10:15
Forum: Feature Discussion (Archived)
Topic: Auto search and add new sources
Replies: 31
Views: 11251

Problem fixed (for me, at least). Added some features you'll like, too, Tr0n.
New version should be up now.

Sarf
---
Software isn't released, it's allowed to escape.
by sarf
2003-05-12 10:11
Forum: Programmer's Help
Topic: High pings while using DC++
Replies: 1
Views: 1541

Re: High pings while using DC++

This happens because the amount of data sent by the DC/DC++ clients saturate your upstream, "crowding" your game-packets out of the way and only letting them slip by occasionally, thus leading to high ping and/or high packet loss rate since they either have to be resent many times or are simply lost...
by sarf
2003-05-12 10:00
Forum: Feature Discussion (Archived)
Topic: Automatic search list
Replies: 15
Views: 6163

Yes, it does work the way it should. It does not, perhaps, work the way you think it should, but looking at the way the auto-search is coded, you can bet your keyboard that it works the way it " should " (= how arnetheduck coded it)... however, I just added some code to allow you to decide what crit...
by sarf
2003-05-12 09:22
Forum: Feature Discussion (Archived)
Topic: Auto search and add new sources
Replies: 31
Views: 11251

I suppose it kinda works. But the uploads don't start (always 0 kb/sec). Argh! <sigh> That's what you get from thinking that the DC++ code base is the same version from version... oh well. Going to kick some bug-behind... see you in a few hours (I hope). Sarf --- A good fight is like a stick of bro...
by sarf
2003-05-11 05:12
Forum: Feature Discussion (Archived)
Topic: Auto search and add new sources
Replies: 31
Views: 11251

[snip]I see. But it should check for alternative sources, even if it already has them. That way you can get files faster. You don't wait for one specific user. You check all of them and you start downloading from the user with a free slot. Yes. This is what will happen (I hope) in DC++k, which is m...
by sarf
2003-05-11 03:55
Forum: Feature Discussion (Archived)
Topic: Auto search and add new sources
Replies: 31
Views: 11251

About your reason #2. I left DC++ running for a whole day and night. Source count didn't change for a bit. Files that I didn't manually searched, still had only one user. After I triggered manual search, others were added. This is the correct behaviour for the program. As I gaze into the beauteous ...
by sarf
2003-05-10 15:44
Forum: Feature Discussion (Archived)
Topic: Auto search and add new sources
Replies: 31
Views: 11251

Re: Auto search and add new sources

Reasons: #1 There are no other sources for that particular freeware program (or whatnot) that you are trying to download. #2 You have too many other things in your download queue - DC++ auto-searches about once every minute - you do the math on how long it'll take for DC++ to iterate through your do...
by sarf
2003-05-10 15:38
Forum: Feature Discussion (Archived)
Topic: Automatic search list
Replies: 15
Views: 6163

mirza, some of what you want is a simple patch in QueueManager.cpp : // SearchManagerListener void QueueManager::onAction(SearchManagerListener::Types type, SearchResult* sr) throw() { if(type == SearchManagerListener::SEARCH_RESULT && BOOLSETTING(AUTO_SEARCH)) { StringList l = getTargetsBySize(sr->...
by sarf
2003-05-10 15:11
Forum: Feature Discussion (Archived)
Topic: Multistreaming
Replies: 39
Views: 14014

Just a little thing I noticed.... Smirnof100 - you do realize that no one is proposing to allow more than one connection from one user to another user, right? That is, just because multi-source-downloading, multistreaming, segmented downloading or whatnot is added, it will still not be possible to c...
by sarf
2003-05-10 14:50
Forum: Programmer's Help
Topic: DC++ Url Handler code - please help!
Replies: 16
Views: 7491

izaram, I can't see any problems with that when I looked at it... however, I haven't tried it "in real life", but since I gather that you have... go for it. Be advised, however, that you probably should ignore the fact that slashes are permitted in nicks. If some person puts up a link to themselves ...
by sarf
2003-05-05 05:45
Forum: Feature Discussion (Archived)
Topic: Seach.File Type: >Any Non MP3 file<
Replies: 16
Views: 6280

Well, those stupid hub bots don't use regexp searches, and if they so desired, they could certainly add $SearchRegex support as easily as a plain $Search variant that happens to use regexes; its being a separate command does nothing to redefine the semantics of how a client should respond to search...
by sarf
2003-05-03 03:47
Forum: Feature Discussion (Archived)
Topic: Seach.File Type: >Any Non MP3 file<
Replies: 16
Views: 6280

I dont see why reg-exp searches couldnt be denied even if theyre using the same command. Because currently search requests are non-deniable. This behaviour is implicit in the protocol, but more importantly are implemented with stupid bots on the hubs. No search results from certain search requests ...
by sarf
2003-05-01 14:37
Forum: Feature Discussion (Archived)
Topic: Seach.File Type: >Any Non MP3 file<
Replies: 16
Views: 6280

Due to the number of search requests DC++ is supposed to keep up with, I do not think regexp-searches are a good idea. Unless they're kept strictly away from the $Search command and maybe uses a $SearchRegExp command, so that it is possible to deny searches if your available CPU time is too low (or ...
by sarf
2003-04-30 08:57
Forum: Feature Discussion (Archived)
Topic: mp3 bitrate
Replies: 64
Views: 21720

Sorry for spamming you with my opinions, but hey, no one has removed my Submit button from me yet... and you'll never get it from me while I'm alive! BWAHAHAHAHA! [snipped my list] Am I wrong to think that this wish list is another way of saying "it's not going to happen for a long, long time, if at...
by sarf
2003-04-28 09:51
Forum: Feature Discussion (Archived)
Topic: mp3 bitrate
Replies: 64
Views: 21720

Disadvantage of metadata thingy: Probability of feature being designed to cope with all things approaches one. If something is designed to cope with all things the time needed to code/design said thing approaches infinity. Thus, what is needed is (in my own, very humble opinion) : 1. A way to get an...
by sarf
2003-04-22 10:07
Forum: Feature Discussion (Archived)
Topic: mp3 bitrate
Replies: 64
Views: 21720

Re: Up with MP3 bitrate encoding!

Sorry to continue a thread that's a kind of repeat, but I think the whole techy metadata discussion has a bigger scope than necessary. A cheap hack to deal with just mp3s would be *very* widely appreciated. Cheap hacks, while popular, have a nasty tendency to sometimes (read: so often you'd be afra...
by sarf
2003-04-22 09:49
Forum: Feature Discussion (Archived)
Topic: Upload Speed Limiting
Replies: 187
Views: 91154

Actually, Sapporo, there is a very good reason not to implement upload limiting (as well as fake sharing, slot locking, ignoring searches and so on) : By having a "vanilla" client, people can say "well, the hax0red clients are bad, but at least we can trust DC++ and arnetheduck". It prevents hub own...
by sarf
2003-04-20 04:31
Forum: Feature Discussion (Archived)
Topic: Match Queue in Search Window
Replies: 1
Views: 1314

Re: Match Queue in Search Window

Actually, this is one of the thing I've fixed in my modified version of DC++. Just press the www button below, or go here . I think the latest version includes an option that will suppress auto-searching for a minute after you search (you can still get search spam if the auto-search fires just befor...
by sarf
2003-04-17 04:04
Forum: Hubs and scripts
Topic: -=*MAC Address Ban*=-
Replies: 8
Views: 4431

Ehm... <cough cough>... wouldn't the clients be stupid if they identify themselves? That said, what you can do to identify clients is to either save their hublist then use that to compare when new users connect (downloading their hublist and comparing with the saved ones, if they match to (75-90) pe...
by sarf
2003-04-15 13:59
Forum: Developer's resort
Topic: Upload reporting...
Replies: 7
Views: 4556

Some points that was discussed earlier

Nice seeing that reporting uploads/downloads has been taken up here. Let me just reiterate a few points of what volkris, I and others discussed : there is no real reason to force the client to participate since this should be a voluntary on the part of the client... the person controlling the client...
by sarf
2003-04-15 13:18
Forum: Feature Discussion (Archived)
Topic: Viewing your own filelist ?
Replies: 5
Views: 2661

Re: Viewing your own filelist ?

If you are using NTFS on your drives, you can use the really neat tool Junction from Sysinternals (a place with some extremely good utilities for the Windows geek). Junction allows you to create hardlinked files that "are" the file they link to. This can be used to manage your share. Good luck. Sarf...
by sarf
2003-04-08 10:58
Forum: Feature Discussion (Archived)
Topic: Auto 1 slot to each hub a user is in
Replies: 119
Views: 34936

Re: I was not quitting

[snippity]Granted , you could make a fake slot hack , but we are talking majority here , not programers, most could not. This is simply not true. Many non-programmers know how to edit stats in games using trainers. Now, making a trainer is not as easy - but there is no need to do so as the trainers...
by sarf
2003-04-08 10:30
Forum: Feature Discussion (Archived)
Topic: Hub Feature: Passive Hub Connect
Replies: 12
Views: 4864

[snippity]I know its a 'bit' of work... but its not alot, just a little in three diffrent places ;) Ah, but this means three places to update/change whenever something merits it. It is not feasible to try to get people to update three things every time something changes (and please, do not try to m...
by sarf
2003-04-07 11:35
Forum: Feature Discussion (Archived)
Topic: Hub Feature: Passive Hub Connect
Replies: 12
Views: 4864

This is a possible solution to the problem. It requires the modification of hub software, the software that interprets the hublist and the software that connects to a hub. By using "port tunneling" on the server that the hub is run on (so that connecting to, say, port 80 or 21 gets your data forward...
by sarf
2003-04-02 10:55
Forum: Feature Discussion (Archived)
Topic: About Favorites - 2 new feats.
Replies: 4
Views: 2349

Re: About Favorites - 2 new feats.

"Add connected to favorites" Already implemented (though requires you to use a slash-command). Simply type in "/fav" in the chat-editbox in the hub-window (i.e. where you usually type in the text you wish to present to other people in the hub). As to the other... groups of favorites is possible to ...
by sarf
2003-03-17 16:11
Forum: Hubs and scripts
Topic: Quick fix for GeneralBot and DC++ 0.24
Replies: 15
Views: 6582

Just to do some shameless plugging for my new and improved DC++k version - it has the ability to show the H: "As It Was Meant To Be Shown" (tm) as well as the ability to emulate 0.233 (or, indeed, any other DC++ version) to get past the stupid scripts that block 0.24 because it "looks different". An...
by sarf
2003-03-17 16:03
Forum: Feature Discussion (Archived)
Topic: Looking in Filelists\ for alternates
Replies: 16
Views: 6602

Whilst waiting for the filehashes, we could just create a hashtable where the key is the file size.

Sarf
---
"Observe, reason and experiment. (if you are too dumb, just pray)" - Daniel Rutter
by sarf
2003-03-16 08:17
Forum: Feature Discussion (Archived)
Topic: two very simple but very useful features
Replies: 14
Views: 6357

dataholic wrote:So if I right-click on such item, "sfa" option is not in the menu. But can this be done?
Yes... but currently only by either disabling the menu option or having two menus.

Sarf
---
Mate, this parrot wouldn't VOOM if you put four million volts through it!
by sarf
2003-03-14 20:13
Forum: Feature Discussion (Archived)
Topic: two very simple but very useful features
Replies: 14
Views: 6357

possibilities: 1. add user in window selected last 2. if there is more possible users selected, then 2a. add them all 2b. let me choose one to add [or more using checkboxes, but i'm afraid this is getting difficult in terms of coding time required] Unfortunately, you're already a bit far from the "...
by sarf
2003-03-14 09:48
Forum: Feature Discussion (Archived)
Topic: two very simple but very useful features
Replies: 14
Views: 6357

Re: shortcuts

About the "add user to favorites" shortcut... if you pressed it while having a hub window open, with the focus on the input chat text box, what would happen? What window should have it enabled? All windows which have selectable text (private message and hub window) that pertains to users? Now when w...
by sarf
2003-03-14 08:04
Forum: Programmer's Help
Topic: Understanding....
Replies: 5
Views: 3003

Not a problem. I never mix topics (well, only sometimes) and I sometimes let my temper get the best of me, too. If you have any further questions about (D)C++, just post it here - I check all topics on the board that are updated about twice daily, so I'll get back to you ASAP. Sarf --- Despite the h...
by sarf
2003-03-14 07:28
Forum: Feature Discussion (Archived)
Topic: two very simple but very useful features
Replies: 14
Views: 6357

Re: one more

still, I must say being not a coder I don't care much about line commands. Shame on you! :) About the menus... the reason I can see that arnetheduck has not added them is that the menus would get large and harder to use - there is no easy way around this since there is no logical way to divide the ...
by sarf
2003-03-14 07:04
Forum: Feature Discussion (Archived)
Topic: Slot Memory [TM]
Replies: 21
Views: 8000

[friend quote] Ok there appears to be some misunderstanding here. Probably because I am not very clear about it. The downloader only needs to present a unique'ish key with every file requested. Nothing else changes in regards to downloads. There is a different key for each file you want - a large r...
by sarf
2003-03-13 17:22
Forum: Programmer's Help
Topic: Process priority of the VCSPAWN / CL / compile exe (VS 6.0)
Replies: 2
Views: 1797

In Visual Studio .NET (yes, I too have finally succumbed to the lure of this evil beast) you need to patch the file in the following directory : <MS Visual Studio .NET>\Common7\Tools\vcspawn.exe The offset is 0x1930, the byte before should be 0x68, the byte in question should be 0x00 when you start ...
by sarf
2003-03-13 17:14
Forum: Feature Discussion (Archived)
Topic: DC++ and remote refresh command
Replies: 21
Views: 8199

Re: Auto-refresh is good: the Okb bug

There is an hourly share refresher, it may have been in there all along, but the earliest I can see mention of it in the changelog is in 0.23. (It's not important enough to go source diving just to find that out ;)) It was there all along, but it was "neutered" in earlier versions... every hour DC+...
by sarf
2003-03-13 17:12
Forum: Feature Discussion (Archived)
Topic: Upload Speed Limiting
Replies: 187
Views: 91154

[snip]People like ivulfusbar want this thread to disappear, and troll rather than attempt a rational explanation about why bandwidth limiting is wrong. Bandwidth limiting is "wrong" (as are all things, all hail "the ends justify the means"!) only when it limits the greater good. The greater good is...
by sarf
2003-03-13 16:48
Forum: Feature Discussion (Archived)
Topic: Different shares for different hubs
Replies: 9
Views: 4794

Re: Different shares for different hubs

Hopefully this hasn't been suggested yet, or else feel free to yell at me =P Yell, yell, nag, whine, woof. Consider yourself chastised. With the current implementation of DC++ this is hard to do. It requires changing the way the share is handled, as well as how client-side-searches are handled (a s...
by sarf
2003-03-13 16:41
Forum: Feature Discussion (Archived)
Topic: Slot Memory [TM]
Replies: 21
Views: 8000

Thats a load of crap. If you go away to get something you leave a friend in the queue for you. If you have to do something you put a friend in the queue for you. Just because you are not always around it does not mean you should lose your posiiton. This is REAL life and time is limited. Using up al...
by sarf
2003-03-13 16:16
Forum: Programmer's Help
Topic: Understanding....
Replies: 5
Views: 3003

Re: Understanding....

[snip new instances] These start a new instance of that class/object right? What does that actually mean its doing? It loads something into memory or starts a thread? How do these communicate to each other? How do they react to events? Each of these instantiates an object (creates it). As each of t...
by sarf
2003-03-12 12:24
Forum: Programmer's Help
Topic: compiling error .24
Replies: 12
Views: 5919

Re: compiling error .24

Add the wtlport and stlport, posts about this can be found elsewhere on this board.

Sarf
---
To be happy living in this world, there are sides of the soul one must entirely paralyze.
by sarf
2003-03-12 12:20
Forum: Feature Discussion (Archived)
Topic: Slot Memory [TM]
Replies: 21
Views: 8000

The whole upload queue thingy can be solved by "reverse connecting" (an idea that someone on the boards submitted) to the client who is supposed to get the slot. More information about this can be found by searching the boards. It's a very neat way to solve the problem with backwards compatibility, ...
by sarf
2003-03-11 10:35
Forum: Feature Discussion (Archived)
Topic: Slot Memory [TM]
Replies: 21
Views: 8000

Re: Slot Memory [TM]

Ehm... what is the problem that this solution solves?

If it is an upload queue you are looking for then the client might remember the IP and nick of the user instead.

Sarf
---
Everything you know is wrong!
by sarf
2003-03-10 10:36
Forum: Protocol Alley
Topic: upload check flaw?
Replies: 2
Views: 1973

Re: upload check flaw?

Check out the method translateFileName() in ShareManager.

Sarf
---
Use no hooks.
by sarf
2003-03-10 10:30
Forum: Protocol Alley
Topic: Adding file hashes to the protocol
Replies: 97
Views: 45959

I'm not so sure about this - it took about 10 hours for eDonkey to hash 280 GB of data on my VIA Eden 533 MHz, meaning speed of about 8 MB/s... Then again, I could never get my server to read from those disks faster than ~15 MB/s (and the computer isn't really powerful either). Well, I don't think ...
by sarf
2003-03-09 10:35
Forum: Protocol Alley
Topic: Adding file hashes to the protocol
Replies: 97
Views: 45959

Main points I want to take up: I prefer to calculate as many hashes as necessary at the same time because the CPU hit is really irrelevant - it's the I/O that will take time. [snip] I wondered about this. I'm unfamiliar with the services that Bitzi has, but maybe we can use the hashes from the direc...
by sarf
2003-03-09 09:38
Forum: Feature Discussion (Archived)
Topic: Search by keyword in public hub list
Replies: 8
Views: 3352

If at first you don't succeed, quit; don't be a nut about success.

If at first you don't succeed, try following the instructions.

Sarf
---
If it looks like a duck, acts like a duck, and quacks like a duck it is probably just a tool of the conspiracy.
by sarf
2003-03-07 05:47
Forum: Protocol Alley
Topic: Adding file hashes to the protocol
Replies: 97
Views: 45959

Well, in that case, it's time for some code instead of all these posts. :) Yay! Well, some implementation ideas, a quasi-summary: And some of my notes on each... great initiative, though, GargoyleMT. Expanding the structure for each file in the SearchManager to accept a hash Or maybe several hashes...
by sarf
2003-03-05 17:36
Forum: Feature Discussion (Archived)
Topic: Symlimiter
Replies: 1
Views: 1492

Read this post, then search the boards for "upload AND limit".

Have a few beers ready, perhaps some chips (dip is good too) then prepare yourself for some time with the boards.

Sarf
---
Think "HONK" if you're a telepath!
by sarf
2003-03-05 17:34
Forum: Feature Discussion (Archived)
Topic: Leach Control
Replies: 11
Views: 5255

Re: simple solution:symlimiter (but to what problem)

Uploadlimiting has been discussed to death... several times over, ("Die you filthy topic! Die! <WHACK>") but it just refuses to die ("Quick! Use the stake! Fill the coffin with boiling hot holy water! Do something !"). Anyhow... the reasoning is this: There already are clients which allow uploadlimi...