Search found 374 matches

by sarf
2003-05-27 14:59
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

That error is caused by a corrupt file list and is now considered a Cheat (note the capital C - it means that the offending user will get a fat red C over their user icon). Released 0.25084k by the way - here's the relevant changelog : -- 0.25084k -- * Fixed a small announcement message problem than...
by sarf
2003-05-27 13:16
Forum: Programmer's Help
Topic: How to auto-kick in UserConnection.cpp
Replies: 7
Views: 1728

Sorry - I forgot to check the topic name. :blush: some code follows: // check if we're an OP if(aSource->getUser()->getClient()->getOp()) { bool kickUser = false; string kickReason = "Using a modified client which is forbidden"; // do your lock detectio...
by sarf
2003-05-27 12:20
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

I am considering to put in a timeout thingy that would report the user as "slotlocking and/or not answering to requests". Also, I am considering to put the user as a cheater if the filelist is not available. There is, however, a problem with Ragnaroks detection - there are only 3 upload slots, so if...
by sarf
2003-05-27 12:06
Forum: Programmer's Help
Topic: How to auto-kick in UserConnection.cpp
Replies: 7
Views: 1728

Well, if you specified what, exactly, you wanted help with it would help us help you, as GargoyleMT put it in another thread. Do you want to know where you should put your code so that you can access the lock/pk of a user, or what? Sarf --- It's not that life is too short, it's that death is too long.
by sarf
2003-05-27 04:19
Forum: Programmer's Help
Topic: add to include path
Replies: 22
Views: 4930

You add all directories to the include path. The way this works, you normally just install the SDK and it sets up Visual Studio for you (but make sure the SDK directory is "above" the normal Visual Studio includes). Then add the WTL directory and make sure it is on top. Finally, and the STL-port dir...
by sarf
2003-05-27 04:15
Forum: Programmer's Help
Topic: Need Help Compiling 0.25
Replies: 13
Views: 3192

Suggestion : Uninstall / remove / annihilate your SDK installation. You might need to reinstall VS .NET (unlikely). I only had the November 2001 SDK installed (since I used Visual Studio 6.0). I "upgraded" to VS .NET without installing any new SDK (I think). Thus, it is the SDK that is the problem (...
by sarf
2003-05-27 04:08
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

Then download a newer version of DC++k, and check the "Ignore junk files altogether" option, Spookie. There was also a problem with the fake-share detector being too "intolerant" (the default 20% allowed fake share was really 2% due to an error on my part). On the other hand... isn't this a good thi...
by sarf
2003-05-26 13:54
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

*cough* last one for the day, I promise!

Released v0.25082k

Code: Select all

* Fixed the detector settings pane
* Fixed the so that the show share checked users is shown immediately
* Fixed so that the percent fake shared tolerated weren't quite so intolerant
Sarf
---
Will answer stupid user questions for food.
by sarf
2003-05-26 11:17
Forum: Programmer's Help
Topic: Stupid Question
Replies: 10
Views: 2341

Possible - yes, probably not even very hard to do for someone that is reasonably familiar with the DC++ source code. If you have never made a program before, do not start off with DC++. While it is a neat program, it requires quite a bit of experience to understand what it it does. Sarf --- Ashes to...
by sarf
2003-05-26 09:43
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

Heh, released the new version a bit early due to an "oops" from my side. DC++k v0.25081k changelog : -- 0.25081k * Added show share checked users * Added ignore junk files * Fixed fake share detector now the percent fake shared tolerated is percent and not times -- 0.2508k * Added %[file] as a param...
by sarf
2003-05-26 09:22
Forum: Programmer's Help
Topic: Can I, daddy?
Replies: 10
Views: 2289

DC++ already allows OPs to get their filelist no matter how many slots the client have used.

But no, there is no way to force other clients to send you their filelist.

Sarf
---
Computers, like cats, can operate crossdimensionally; the trick is in getting them to do what you want.
by sarf
2003-05-26 09:19
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

There is no real need to keep track of which users have been checked (at least not for me) since I cache the results. If you try to check someones filelist when they have already been checked and their share has not changed the program will not try to download their filelist again. Nonetheless, I'll...
by sarf
2003-05-26 07:39
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

Hmm... well, I wish you luck on the kicking and banning - I hope you enjoy the Fake Share Command.

Sarf
---
"Big donkeys, small donkeys, all good to eat!"
by sarf
2003-05-26 07:36
Forum: Programmer's Help
Topic: Need Help Compiling 0.25
Replies: 13
Views: 3192

Stupid question time (wheee) ! Have you the November 2001 SDK installed? What OS are you running? Have you reinstalled your OS lately? Have you uninstalled the SDK but kept the files? (unlikely, but...) Umm... I don't have any more questions at the moment. Sarf --- " Anybody who cannot comprehend ma...
by sarf
2003-05-26 07:32
Forum: Programmer's Help
Topic: Can I, daddy?
Replies: 10
Views: 2289

Okay... The User Commands (also known as User Menu) is available in all recent DC++ versions in the Advanced pane in the Settings window. You need to do the changes in the HubFrame.h - not HubFrame.cpp. For further info, please ask more specific questions. Sarf --- " If debugging is the act of remov...
by sarf
2003-05-26 07:27
Forum: Feature Discussion (Archived)
Topic: %[file]
Replies: 3
Views: 766

I've added this in my upcoming version of DC++k (v0.2508k) as well as having sent away a patch to arnetheduck. It uses %[file], as you suggested.

Sarf
---
There is no heavier burden than a great potential.
by sarf
2003-05-26 00:27
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

Well, here's something for you Spookie : -- 0.2507k -- * Added more options to the fake share detector A *RAW* command has been added - this will be sent DIRECTLY to the hub, so if you want to send, for instance, a normal "+kick user" message you would enter "<%[mynick]> +kick %[nick]...
by sarf
2003-05-25 22:42
Forum: Programmer's Help
Topic: Can I, daddy?
Replies: 10
Views: 2289

Have any of you nice fellas checked out the Custom user commands in Settings / Advanced ? Gratch, when you add a command to the menu you need to add a #define IDC_WHATEVER_YOU_WANT SOMENUMBERHERE to resource.h as well as adding a command id handler such as this : COMMAND_ID_HANDLER(IDC_WHATEVER_...
by sarf
2003-05-25 22:18
Forum: Programmer's Help
Topic: Need Help Compiling 0.25
Replies: 13
Views: 3192

In my Visual Studio .NET configuration I have this set-up with regards to include directories : stlport wtl7.0 $(VCInstallDir)include $(VCInstallDir)atlmfc\include $(VCInstallDir)PlatFormSDK\include\prerelease $(VCInstallDir)PlatFormSDK\include $(FrameWorkSDKDir)include ... thus I draw the conclusio...
by sarf
2003-05-25 14:38
Forum: Feature Discussion (Archived)
Topic: New ICON for Dc++ VIP'z
Replies: 23
Views: 2954

... if you are talking about making a new icon for anyone with [VIP] at the start of their nicks, however, you might get somewhere. Be specific. Act smart. Don't do drugs (except legal ones). And, for the love of Baphomet, Eris and Loki, do not take everything too seriously. By the way, the above-me...
by sarf
2003-05-25 14:32
Forum: Other Direct Connect tools
Topic: Where can I find DC++k ?
Replies: 11
Views: 4564

Auto kick is now on my todo list... and I have some special options on the property page currently.

Sarf
---
Why is the cheese moving?
by sarf
2003-05-25 14:28
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

Released v0.2506k now. Changelog follows : -- 0.2506k -- * Revamped some code in order to increase stability will produce (hopefully much) fewer threads now -- 0.2505k -- * Fixed stringdefs error - sorry about that - (thanks to Sedulus once again!) -- 0.2504k -- * Added some extra fi...
by sarf
2003-05-24 12:58
Forum: Off Topic
Topic: Mounting ISO's under Windows
Replies: 8
Views: 1886

You're welcome.

Daemon-Tools is exceptionally good for ... eh... playing backed-up games. Right. That's the ticket. And... ah... eh... other stuff.

Sarf
---
To be happy living in this world, there are sides of the soul one must entirely paralyze.
by sarf
2003-05-24 10:05
Forum: Off Topic
Topic: Mounting ISO's under Windows
Replies: 8
Views: 1886

Daemon Tools official homepage, seems to work better than the old one

Sarf
---
People will buy anything that's one to a customer.
by sarf
2003-05-24 08:43
Forum: Other Direct Connect tools
Topic: Where can I find DC++k ?
Replies: 11
Views: 4564

I listened to your complaint, OLDoMiNiON, and thus made the fakeshare-checker people have asked for... hope you like it.

Go here to see what's new and where to download it.

Sarf
---
Mmm. I forgot about that.
by sarf
2003-05-24 08:43
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

Released 0.2502k : * Added a way to toggle "chat-only" mode in DC++k it can be toggled in a hub by writing /chatonly and it can be set up in the Favorite Hubs window it will ensure that you will only be able to chat in that hub and that people from that hub will not be able to get files &#...
by sarf
2003-05-24 08:40
Forum: Programmer's Help
Topic: 0.25 compiling error
Replies: 10
Views: 2277

Strange... ah well. Visual Studio has a tendency to dislike DC++, for some reason (and arne is a bit absentminded sometimes).

Sarf
---
Today is a good day to bribe a high ranking public official.
by sarf
2003-05-24 04:34
Forum: Feature Discussion (Archived)
Topic: mp3 bitrate
Replies: 64
Views: 9092

Care to share the code, dieselmachine (preferably in another thread, I guess) ?

Sarf
---
We learn from history that we do not learn anything from history.
by sarf
2003-05-24 01:18
Forum: Programmer's Help
Topic: 0.25 compiling error
Replies: 10
Views: 2277

valloth: you could've simply added "StringSearch.h" to your "client" project - it should have fixed your problem.

Sarf
---
It is easier to fight for one's principles than to live up to them.
by sarf
2003-05-24 01:16
Forum: Feature Discussion (Archived)
Topic: Automated Collection Downloader
Replies: 5
Views: 1090

If the "search for alternates" functionality accepts files based on size and file extension (a.k.a. "type") you'll get lots of invalid .r01 and similar files. It currently does some file name validation which prevents these mistakes. Sarf --- And the first one said to the second one there, "I hope y...
by sarf
2003-05-24 00:47
Forum: Other Direct Connect tools
Topic: Where can I find DC++k ?
Replies: 11
Views: 4564

I'm curious sarf. Why did you get rid of the useful OP-like tools in DC++k? Well... some of them was incorporated (well, kinda...) into DC++ (custom commands), and the others were quite instable (not to mention a pain in the neck to add back into DC++ all the time). Also, there are people which are...
by sarf
2003-05-22 12:56
Forum: Other Direct Connect tools
Topic: Where can I find DC++k ?
Replies: 11
Views: 4564

Re: why do you

I don't know exactly why it's allowed, but it might be due to me being a kind and nice person, or it might be because it kinda helps people with the infamous "maxing upload means less download" problem, as well as containing some small fixes for other problems. <-- shameless plug. But I don't know, ...
by sarf
2003-05-22 12:51
Forum: Off Topic
Topic: Programming
Replies: 8
Views: 2093

I heartily recommend the IntelliJ IDEA for truly powerful Java development.

Sarf
---
The universe is laughing behind your back.
by sarf
2003-05-21 13:57
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

Released v0.2501k - simply DC++ v0.25 with my features in it. Same URLs as before.

Enjoy.

Sarf
---
I dance around and sing a song and know that I can do no wrong.
by sarf
2003-05-20 16:20
Forum: Feature Discussion (Archived)
Topic: [ 652713 ] group together same files in search
Replies: 23
Views: 2694

Re: Once again we come back to hashes

[snip] similar? why not exact size? Because there is currently no way of searching for files with exactly the same size. if we can't be sure that two files with exact filenames and size are the same file, how come DC++ decides to continue downloading from another file which is 'similar' but clearly...
by sarf
2003-05-20 16:13
Forum: Off Topic
Topic: Programming
Replies: 8
Views: 2093

Umm... I'd recommend you to take courses in programming (though I'd stay away from anything under university level courses - with the possible exception of some college courses) - especially if you live in a nation where the education is free. If you aren't studying at a university currently it is v...
by sarf
2003-05-19 10:55
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

DC++k 0.2425k now released. Changes: * Fixed the match queue button so that it is now disabled while the queue-matching is done (thanks to all the nice fellas on the DC++ developer hub!) * Added some code that will try to reconnect to a user if the download speed should reach zero bytes / se...
by sarf
2003-05-19 10:26
Forum: Feature Discussion (Archived)
Topic: [ 652713 ] group together same files in search
Replies: 23
Views: 2694

Re: Once again we come back to hashes

mai9 wrote:[snip]
And what does "Search for Alternate Locations" do?

It searches for other files with a... similar size and with the same filename (well, almost) as the file searched for.

Sarf
---
Confidence: a feeling peculiar to the stage just before full comprehension of the problem.
by sarf
2003-05-18 05:56
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

I've updated the feature page now... sorry for not doing this earlier.
By the way, the changelog contains all changes I've done to the program.

Sarf
---
When Cthulhu calls, he calls collect.
by sarf
2003-05-17 12:05
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

[snip] I've tried using the program with /showuserresponse but I just cant get it working. Whats the trick? Same with the usercommands %lock, %prevlock and %supports. When I put that into my right-click menu like the document says, DC++ just used 100% cpu until I restarted it. If you are using a ne...
by sarf
2003-05-17 12:02
Forum: Feature Discussion (Archived)
Topic: Status window for system msg and bots
Replies: 16
Views: 2147

Well, I'd like it to be organised like the ordinary hub frame, but with the hubs where the user list is... that would be good for everyone.

Sarf
---
The computer is stronger than the pen, the sword, and usually, the programmer.
by sarf
2003-05-17 09:12
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119077

DC++k

Hi there! DC++k has been released in a new version (0.2424k) now. Download it from either of these places : http://www.fukt.bth.se/~k/dcpp/ http://www.student.bth.se/~pt00akr/dcpp/ http://hem.passagen.se/sarf/dcpp/ - host down at the moment Features : -- 0.2424k -- * Fixed so that the overridden ...
by sarf
2003-05-17 04:25
Forum: Developer's resort
Topic: Regarding QuickSearch variant of the Boyer-Moore.
Replies: 4
Views: 1159

Re: Regarding QuickSearch variant of the Boyer-Moore.

Neat!

Now, if only we could get it to ignore stupid people automatically... :)

Sarf
---
Read my LISP -- no new syntaxes!
by sarf
2003-05-16 17:42
Forum: Feature Discussion (Archived)
Topic: Status window for system msg and bots
Replies: 16
Views: 2147

Re: exactly

How would this window handle the input from several hubs? Or are we talking about one "status window" per hub window here?

Sarf
---
Don't count your money when you're sitting at the keyboard -- there'll be time enough for counting when the program's done
by sarf
2003-05-16 15:43
Forum: Feature Discussion (Archived)
Topic: Status window for system msg and bots
Replies: 16
Views: 2147

I guess the poster wanted a way to monitor all joins/parts/irrelevant information as well as a simple way of ignoring that information (by simply closing/minimizing the window). The join/part could be useful in some instances for hub-ops without access to the computer on which the hub runs. Sarf ---...
by sarf
2003-05-16 14:23
Forum: Feature Discussion (Archived)
Topic: Status window for system msg and bots
Replies: 16
Views: 2147

The poster wants a seperate window for status messages, joins/parts and bot messages - basically, a window which would only be used when necessary to reduce the "clutter" of the chat - but that's just my impressions

Sarf
---
Adding manpower to a late software project makes it later.
by sarf
2003-05-16 10:49
Forum: Programmer's Help
Topic: heap limit error
Replies: 1
Views: 735

Re: heap limit error

Whenever Visual Studio got cranky with my source codes and started bleating errors at me I just did a "rebuild all".

Also, I'd recommend to switch to Visual Studio .NET - it is slightly more stable (and a good bit larger with regards to disk-space).

Sarf
---
Smile! Cthulhu loves you!
by sarf
2003-05-14 11:42
Forum: Protocol Alley
Topic: lock/pk retrieval
Replies: 3
Views: 1337

Ok, first off, thanks for the help. Not a problem - and don't feel bad about not following my advice - heck, even I don't follow my own advice all the time. [snip] Watching the debug window in vc98, when i log into a hub i see the following: [snip] Hmm... this might be due to the fact that some hub...
by sarf
2003-05-13 10:25
Forum: Feature Discussion (Archived)
Topic: Download/upload speed limit
Replies: 1
Views: 654

Hmm... strange as it sounds, this has been discussed before - for your edification, here are the better results of my search for "upload and limit" : http://dcplusplus.sourceforge.net/forum/viewtopic.php?t=24 http://dcplusplus.sourceforge.net/forum/viewtopic.php?t=459 Upload limiting is implemented ...
by sarf
2003-05-13 07:18
Forum: Protocol Alley
Topic: lock/pk retrieval
Replies: 3
Views: 1337

Re: lock/pk retrieval

To avoid being "swamped" by connecting clients, I'd recommend you to create either a new thread or a function which is run once every minute which would scan (at most) one client every second. I'd also recommend you to download the filelist of the user, since that can be used later on for checking t...