Search found 374 matches

by sarf
2003-06-12 05:38
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119092

0.25105k

Well, I fail to see much of a difference between your two kickban commands, except that one includes "reason strings". Oh well. Hope you'll like the new version - it should fix some of the issues I've found. -- 0.25105k -- * MuLTe edition (new and improved!) * Added some more detection to th...
by sarf
2003-06-11 03:21
Forum: Off Topic
Topic: Linking to a post within a thread?
Replies: 1
Views: 770

Get the number of the post by checking its quote-button URL.
You can simply use this :

Code: Select all

http://dcplusplus.sourceforge.net/forum/viewtopic.php?p=<QUOTED_POST_NUMBER>#<QUOTED_POST_NUMBER>

Sarf
---
I need someone real bad. Are you real bad?
by sarf
2003-06-10 11:35
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119092

Released v0.251042k

Yet another version released - changelog follows : -- 0.251042k -- * MuLTe edition * Added a small patch to the QueueFrame which may stop Wisp's Unhandled Exceptions "user-less sources" are now ignored - this is merely a patch for the problem * Added a small framework for identifying the c...
by sarf
2003-06-10 10:09
Forum: Hubs and scripts
Topic: Search Spam?
Replies: 8
Views: 1526

Are you sure that the script only does ONE search?

Sarf
---
Weather's here, wish you were beautiful.
by sarf
2003-06-10 07:46
Forum: Hubs and scripts
Topic: Search Spam?
Replies: 8
Views: 1526

The bot must be sending a search query a lot more often than once per minute - DC++ allows about one search every seven seconds or somesuch before it ignores the searchspammer for a while. There is no way to "hide" the search from the clients, so you are better of ensuring that it really does not se...
by sarf
2003-06-10 05:23
Forum: Programmer's Help
Topic: config.h HASH_MAP
Replies: 2
Views: 908

Ehmmm.... no?

I don't think it should be any different from what it is - does it fail/give errors when you compile it?

Sarf
---
Mysteries are good for the soul, and a pain in the neck.
by sarf
2003-06-10 05:09
Forum: Feature Discussion (Archived)
Topic: Favorite Hubs - Ability to make duplicates
Replies: 12
Views: 1932

Well, the problem is that this could be used by users to connect multiple times to your hub, which would make other clients behave erratically (would probably allow the users to use one slot / login from other users, thus hogging the slots of users).

Sarf
---
Insanity is bliss.
by sarf
2003-06-09 16:18
Forum: Off Topic
Topic: NTFS
Replies: 10
Views: 2483

There are programs that will convert a partition to NTFS from FAT. I would recommend the command CONVERT (available in Windows 2000 and above, I think) - just use "CONVERT drive: /fs:ntfs" and you are done. If you wish to use non-Microsoft programs (or do not have Windows 2000) then I would recommen...
by sarf
2003-06-09 13:51
Forum: Protocol Alley
Topic: single client search
Replies: 3
Views: 1279

Ah. Good that you've realized this - it'll make your life a little bit less frustrating. Anyhow, the only thing I can think of is having a "backdoor" in a script which would issue a search request to a certain client - this should work since it looks the same as any other search to the client in que...
by sarf
2003-06-09 09:33
Forum: Protocol Alley
Topic: lock/pk combos.
Replies: 2
Views: 1363

Contact xAyiDe on the DC++ Developer hub - he's making a client detection/kicking modification himself.

Sarf
---
If work were so wonderful, the rich would keep it all for themselves.
by sarf
2003-06-09 09:31
Forum: Protocol Alley
Topic: single client search
Replies: 3
Views: 1279

Yes, you can do this - you merely need a special command on the hub that will send a string of characters to a certain user. There is no way of doing this using the standard DC protocol AFAIK. Also, if I were doing a slotlocker (actually, when I DID do a slotlocker) I simply reprogrammed DC++ to bel...
by sarf
2003-06-09 09:24
Forum: Feature Discussion (Archived)
Topic: Download next hublist..
Replies: 7
Views: 1434

Unfortunately, the current model of hublists are that they take care of validation / updating the number of users, not the client. The hub-owners would also be quite upset if all DC++ users occasionally tried to ping them to see if they were valid and how many users they had. The size of the hub lis...
by sarf
2003-06-09 09:09
Forum: Hubs and scripts
Topic: lanparty hub ?
Replies: 2
Views: 628

The hardware requirements are quite low for a LAN-party, since you do not need much scripts (I assume that you do not want to enforce any share limits). I'd guess that a Pentium-II 400 MHz would do the trick quite nicely, since all the hub does (if scripting is disabled) is shuffling network data. C...
by sarf
2003-06-09 08:57
Forum: Protocol Alley
Topic: Storing a variable?
Replies: 1
Views: 919

Ehm... OK, here a short-short howto : Add a variable to the SettingsManager. Add an edit field (or somesuch) to the IDD_UPLOADPAGE or whatever. Connect the variable with the edit field in the UploadPage.cpp. Use the variable in SettingsManager from the ShareManager class. Sarf --- The Eleventh Comma...
by sarf
2003-06-09 08:04
Forum: Protocol Alley
Topic: ShareManager::getInstance()->getDirectories();
Replies: 4
Views: 1374

Well, ummm... the ShareManager retrieves the shared directories from the DCPlusPlus.xml file when the file have been loaded. It then creates a list which contains the directories and files in the shared directories. The MapIter is a Map Iterator, and it goes through all the "base" shared directories...
by sarf
2003-06-09 08:00
Forum: Feature Discussion (Archived)
Topic: Hub Specific Shares....help needed
Replies: 16
Views: 2656

Well... if it is newer than the version we know of, then it must be the latest version, right? :)

Sarf
---
Damn the torpedoes.
by sarf
2003-06-08 15:19
Forum: Feature Discussion (Archived)
Topic: Connecting to Kazaa and WinMX networks with DC++ ?
Replies: 7
Views: 1236

So, to answer your question with just one word Adreno, yes.

Sarf
---
Standing on head makes smile of frown, but rest of face also upside down.
by sarf
2003-06-08 15:18
Forum: Protocol Alley
Topic: getting from user to hubframe
Replies: 1
Views: 851

One possible way would be to use the Client pointer that is present in the user. Add this code to the Client class (in the public part of the class, I might add) : void addLine(string line) { fire(ClientListener::MESSAGE, this, Util::validateMessage(line, true)); } ...
by sarf
2003-06-08 06:10
Forum: Feature Discussion (Archived)
Topic: Hub Specific Shares....help needed
Replies: 16
Views: 2656

No, the best thing to do is to run multiple copies of the same version (the latest version).

Sarf
---
First I must sprinkle you with fairy dust...
by sarf
2003-06-07 18:55
Forum: Feature Discussion (Archived)
Topic: Hub Specific Shares....help needed
Replies: 16
Views: 2656

Well, PJ_Consumer, if you have a problem with getting a rise out of your HTML, you are advised to seek help elsewhere... However, as you seem to want the feature - either a) code it yourself and submit it to arnetheduck (trust me - if it works and is not too ugly it will be used) or b) hex-edit your...
by sarf
2003-06-07 14:28
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119092

I've made a little how-to page on the "raw command". It can be found here. Check it out for some ideas about what you can do. If you have any suggestions for things I should write about on the page, feel free to tell me about it in a PM.

Sarf
---
The future ain't what it used to be.
by sarf
2003-06-07 05:00
Forum: Programmer's Help
Topic: Force get theirlist.bz2
Replies: 6
Views: 1561

Oops - didn't read your post thoroughly enough. You should be able to get their filelist with 0.251 if you could get it with 0.181. If you really want to know what is different, just start NM DC hub, enter it with three clients (two 0.181 modified and one 0.251), slotlock, try to get the lists and s...
by sarf
2003-06-07 04:02
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119092

I've fixed a few minor bugs in this release. If you find any more unhandled exceptions, be sure to PM me with an exceptioninfo.txt file that includes the method names (e.g. you have the appropriate pdb file) - otherwise I can't do anything about it. Release info : -- 0.251041k -- * MuLTe edition * A...
by sarf
2003-06-07 03:46
Forum: Programmer's Help
Topic: help: Compiling
Replies: 22
Views: 5027

Try getting and "installing" the STLport and the WTL package. Then try to compile DC++ - if it fails you might have done something wrong while installing the STL/WTL so check out the forum for posts about it (there are quite a few). If you still can't get it to work after your include files director...
by sarf
2003-06-05 01:34
Forum: Feature Discussion (Archived)
Topic: upload speed limiter
Replies: 56
Views: 8373

Just to make another thing clear - this problem is not solvable in 15 minutes by programmers, either. :lol:

Sarf
---
I believe that everyone is entitled to my opinion.
by sarf
2003-06-04 16:07
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119092

New version released - hopefully with a few bugs squashed. -- 0.25104k -- * Restored upload/download limit to use old values - may not work well when you have large limits * Second MuLTe edition * Added yet another option to the share checker - only send fake share command if OP thanks to KLesK for ...
by sarf
2003-06-04 16:02
Forum: Programmer's Help
Topic: help: Compiling
Replies: 22
Views: 5027

Heh, thanks for the heads-up on the date - I just fixed it when I started to prepare my update. The STLport and WTL package should be downloaded from the DC++ project files area on sourceforge (as stated in the compile.txt). Some people need to apply the patch that floats around these forums, but I ...
by sarf
2003-06-04 11:51
Forum: Programmer's Help
Topic: help: Compiling
Replies: 22
Views: 5027

Check out the compile.txt file in the source archive(s). It contains much of what you need to know. This is the software you need : Either Visual Studio 6.0 (or compatible program) with SDK update or Visual Studio .NET (maybe with SDK update) You also need the stlport and WTL archive, but that is co...
by sarf
2003-06-04 09:56
Forum: Programmer's Help
Topic: Ignore List - Implementation Help
Replies: 13
Views: 2388

Hmm... well, it seems like you can't make a direct reference to another list. Try using User::List* and returning a pointer or something like that - it might work. You can also copy the list (but that means some memory management). Sarf --- The sharks can smell blood in the water - make sure that it...
by sarf
2003-06-03 11:24
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119092

Hmm... I'll have to run a few endurance tests with DC++k. In the mean time, try downloading this DC++k binary file (which includes the pdb file), extract it to your DC++k directory and PMing me with the exceptioninfo (the only thing different is the pdb file which allows me to see in what methods th...
by sarf
2003-06-03 10:51
Forum: Protocol Alley
Topic: suggestion for settings
Replies: 2
Views: 1190

I would use checkboxes, then connect them to a function which updated a variable using the checkboxes state and bitshifting. This is how you do it : Create a few checkboxes - I will assume their names are IDC_MISREPORT_SHARE_1 to IDC_MISREPORT_SHARE_7. In the message map of the pane, enter this : CO...
by sarf
2003-06-03 10:31
Forum: Programmer's Help
Topic: Ignore List - Implementation Help
Replies: 13
Views: 2388

I found one problem with my code (stupid me forgot to remove a comment when I got the code out of Visual Studio) : //User::List ignoredUserList = HubManager::getInstance()->getIgnoredUsers(); User::List ignoredUserList; should be User::List ignoredUserList = HubManager::getInstance&#...
by sarf
2003-06-03 10:28
Forum: Feature Discussion (Archived)
Topic: bandwidth usage limit
Replies: 3
Views: 775

Not that it is important, but DC++k 0.25+ "emulates" (i.e. does not advertise that it is DC++k) DC++ perfectly (yet another shameless plug!). Upload limiting will not be added to the orginal DC++ due to several very good reasons - search for upload limiting to find out why. Oh, and DC++ has a settin...
by sarf
2003-06-02 14:14
Forum: Feature Discussion (Archived)
Topic: upload speed limiter
Replies: 56
Views: 8373

[shameless plug mode]
Try DC++k or BCDC++... to get the former, simply press my "www"-button. :)
[/shameless plug mode]

Sarf
---
Only borrow from pessimists--they don't expect to be paid back.
by sarf
2003-06-02 07:39
Forum: Programmer's Help
Topic: Compile Issues
Replies: 10
Views: 2223

OK, CharmNdude, here goes : 1. Reinstall the old STLport. 2. Compile (by doing a "Rebuild solution") 3. Save the buildlog to somewhere where I can get it. 4. Make a screenshot of your include directories. 5. Publish links to the buildlog and the screenshot. Without this information, helping you is r...
by sarf
2003-06-02 07:22
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119092

pkarlstr: "File not available = cheating" is already implemented - it's just called "Assume that exceptions occurring during filelist download is cheating" or somesuch. If you get "No slots available", are an OP and the user is a DC++ client the user is assumed to be faking (since OPs should always ...
by sarf
2003-06-02 07:05
Forum: Programmer's Help
Topic: Ignore List - Implementation Help
Replies: 13
Views: 2388

To get some debug output : Add the following code right after the "addLine("*** " + WinUtil::commands + ", /join <hub-ip>, /clear, /ts, /showjoins, /close, /userlist, /connection, /favorite");" in HubFrame.cpp } else if(Util::stricmp(s.c_str(), "showignored") == 0&...
by sarf
2003-06-01 04:33
Forum: Programmer's Help
Topic: Ignore List - Implementation Help
Replies: 13
Views: 2388

I'd recommend adding a method to HubManager and then calling that method from the gotMessage... and this is how you do it: // add this to HubManager... bool isUserIgnored(User::Ptr userToCheck) { return (find(ignoredUsers.begin(), ignoredUsers.end(), userToCheck&...
by sarf
2003-06-01 04:27
Forum: Feature Discussion (Archived)
Topic: Stop download if...
Replies: 12
Views: 2873

The thing you searched for can be found here . I used "download AND source" as my query. Yes, what you are asking could be done - understand, however, that it is a quick-fix (a real fix would be allowing segmented (or multi-source) downloading). Any implementation would probably be a quick patch, wh...
by sarf
2003-06-01 03:43
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119092

Unfortunately, I do not understand what you wanted, KLesK. Please re-state your request in a PM, if you would. Just to make it easier on everybody, here's a few suggestions on what to put in the raw command (aka Fake Share Command). I make the following assumptions - !kick <nick> typed in the main c...
by sarf
2003-05-31 12:19
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119092

Well, Linkan, you can always add a user menu item with a kick menu item with "kicked because you shared %[file]" in the kick-reason part of it. If you want help with setting this up then PM me. Sarf --- It would be absurd to leave the Suez Canal and the Panama Canal to the unfettered control of the ...
by sarf
2003-05-31 08:21
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119092

The string "Check user <USERNAME> *** User seems to be using a fakeshare amount/client" does not occur in my client. Is it perhaps something you have added to the Fake Share Command? (I believe it is due to my amazing powers of deduction ) When you want to send a Fake Share command you must terminat...
by sarf
2003-05-31 08:09
Forum: Programmer's Help
Topic: Compile Issues
Replies: 10
Views: 2223

Yeah, Garet that was the post I meant - due to how my perception works, I thought it was you that wanted to get DC++ to compile - a not unreasonable assumption since you want quite a few features... Alright, here goes then : CharmNdude, do you still have a problem, or are you OK now? Sarf --- Your a...
by sarf
2003-05-31 04:43
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119092

Spykie, is there a problem? If so, what is it? I can't get much info from your post... yakko, yeah, it is a known issue - due to the fact that I simply make every user in the hub go "offline" when you are in chat-only mode. I may fix the private message thingy when I work up some energy for it. (Pin...
by sarf
2003-05-31 04:02
Forum: Programmer's Help
Topic: Compile Issues
Replies: 10
Views: 2223

There are several threads regarding this issue. If you have a new, completely unknown problem then please make a new post about it. Garet, have you got it to work yet? Your last post seem to imply you have not... If so, then please state what your problem after doing what TheParanoidOne has suggeste...
by sarf
2003-05-31 03:54
Forum: Programmer's Help
Topic: Ignore List - Implementation Help
Replies: 13
Views: 2388

Hmm... well, here's how you do it : Add "User::List ignoredUsers;" to the private part of the HubManager class. Add this to the public part of the class: // This method is... well... unnecessary for most things // (except if some other class than HubManager has the responsability to save the ign...
by sarf
2003-05-30 10:32
Forum: Feature Discussion (Archived)
Topic: Multistreaming
Replies: 39
Views: 6092

"Bad users" have managed to slot-lock NM DC as well as fakesharing with it... I don't think a closed source DLL will prove a problem, especially as the DLL would have to rely on DC++ to give it data about connections et cetera (unless you want to make 40% of the logic in DC++ part of that DLL). Sarf...
by sarf
2003-05-29 12:21
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119092

Released 0.25101k. -- 0.25101k -- * Cleaned up some constant strings and put them in stringdefs * Thanks to the ViewCVS proggy at sourceforge (http://viewcvs.sourceforge.net/) it helped me upgrade to the 0.251 source base in a few minutes -- 0.25085k -- * Fixed a small issue with matching qu...
by sarf
2003-05-27 17:51
Forum: Feature Discussion (Archived)
Topic: Get auto free slot from ppl uploading from you and vice vers
Replies: 7
Views: 1101

here is another post suggesting what you ask. While this feature is nice and... eh... "fair", it is not something that would be appreciated by some OPs, since it would make the "official" number of slots worthless - or are you suggesting that the slots would be counted and thus lead to users being ...
by sarf
2003-05-27 17:24
Forum: Other Direct Connect tools
Topic: DC++k
Replies: 361
Views: 119092

Created a new mini-version to fix a potentially very annoying problem - thank you so much, GP! -- 0.250841k -- * Added usernames (nicks) to the cheating report - sorry for this one thanks to BSOD2600 for the suggestion * Fixed a small bug in the SimpleXML file which I had introduced by creat...