Search found 134 matches

by Gratch06
2003-06-10 15:05
Forum: Hubs and scripts
Topic: VB Hub, Scripting Language
Replies: 1
Views: 1289

VB Hub, Scripting Language

I'm curious if there is a scripting language that can be implemented into an existing Visual Basic server program. Currently, the server has no scripting capabilites. I've found information on implementing a scriping langauge into a C/C++ server, but not VB. The actual language of the scripting itse...
by Gratch06
2003-06-10 14:08
Forum: Feature Discussion (Archived)
Topic: New users on top of the userlist
Replies: 6
Views: 2765

Set the showing of parts and joins to on (in settings). When a user enters the hub, check their list at that time. You can also do a "mass get on enter" by getting the file lists of everyone in the room as you enter it and just slowly going through each one, grabbing the lists of new people as they ...
by Gratch06
2003-06-10 11:51
Forum: Feature Discussion (Archived)
Topic: Logging into different folders
Replies: 9
Views: 3817

Only downside to this that I see is if the same user is in more than one hub. You'd have two separate logs to search through to find info. Though as you're discussing with OPchat, it would be a good system to separate it out. That said, I haven't looked at all into coding it, but it doesn't *seem* t...
by Gratch06
2003-06-10 11:01
Forum: Off Topic
Topic: I have been using DC++ since ...
Replies: 17
Views: 8747

TheParanoidOne wrote:OK. We now have one persion with 0.05 to 0.09 and another with 0.04 or earlier!
I'm willing to bet that one of them is arne ;) As for the other one, all I know is that it's not me! I got my start at .181.

- Gratch
by Gratch06
2003-06-09 22:44
Forum: Programmer's Help
Topic: Force get theirlist.bz2
Replies: 6
Views: 3339

"thanks for pointing me to to a tool that let me solve the problem on my own." :D I can say that too, but the first one makes you look better ;) I'm glad those tools are out there, but not being a network admin, I had heard of them, but never seen actually seen or used one. It took a little getting...
by Gratch06
2003-06-09 15:30
Forum: Feature Discussion (Archived)
Topic: Thoughts on ADL Searches
Replies: 30
Views: 10984

Here is how it will work with the new 'break on first' switch Where will this switch be located? on each individual file or a "master switch" in settings? If one uses (a new special) Destination = 'Discard' for one or more search items, they will never be shown in the output. The garbage file idea ...
by Gratch06
2003-06-09 12:20
Forum: Feature Discussion (Archived)
Topic: Thoughts on ADL Searches
Replies: 30
Views: 10984

It must traverse the entire listing of files once, that's correct. But at every single step, it must examine the files/directories and compare them to each search term. Obviously if you have one or two search terms, it isn't going to be a big deal. If/when you get up to 200 or so search terms, it ta...
by Gratch06
2003-06-09 02:20
Forum: Programmer's Help
Topic: Ignore List - Implementation Help
Replies: 13
Views: 5234

After toying with an implementation using User::List* and another using a stack and getting very similar errors, I decided to just to give up on implementing this on the .181 codebase and start bumping the other source updates into .251. I haven't actually hit implementing this yet, so I can't confi...
by Gratch06
2003-06-09 01:24
Forum: Feature Discussion (Archived)
Topic: Thoughts on ADL Searches
Replies: 30
Views: 10984

Addition to filter concept in above post: This would speed up the search as the filter would only need to be applied to results that match the main results, and not everything else in the file list. Less total scans would be the end result.

- Gratch
by Gratch06
2003-06-09 01:21
Forum: Programmer's Help
Topic: Force get theirlist.bz2
Replies: 6
Views: 3339

Awrighty....Ethereal worked wonders! It appears that the modified client also modified the values for pk("DCPLUSPLUS" VERSIONSTRING "ABCABC"). Once that was fixed, It was all good to go. Thanks again for the speedy knowledgeable help :D

- Gratch
by Gratch06
2003-06-08 22:31
Forum: Feature Discussion (Archived)
Topic: simple solution to a minor problem..
Replies: 7
Views: 3278

The DC++ system is set to add that as an alternate to an already enqueued file. I think this is really a superior method of doing things. It makes it harder to mass leech...who wants someone grabbing a file from them at 10K/s just to not use it. This causes two things: 1) wasted bandwidth on everyon...
by Gratch06
2003-06-08 16:50
Forum: Feature Discussion (Archived)
Topic: Thoughts on ADL Searches
Replies: 30
Views: 10984

That makes a lot of sense on the directory search. Thanks! As I was thinking about this some more, perhaps a bit more efficient use of CPU would be to add a "filter" checkbox on each individual item. This way one could set items to filter without having to populate a <<<False Positives>>> folder, si...
by Gratch06
2003-06-08 03:50
Forum: Feature Discussion (Archived)
Topic: Thoughts on ADL Searches
Replies: 30
Views: 10984

That sounds like an excellent implementation concept for me, but I did have one question on it. But if a directory type search is currently matched, a file could end up in two or more searches anyway. Perhaps I don't understand quite how Directory matches work, as I haven't seen a directory in my AD...
by Gratch06
2003-06-07 16:49
Forum: Feature Discussion (Archived)
Topic: Thoughts on ADL Searches
Replies: 30
Views: 10984

I just found an interesting use for the older style of ADLSearch where it would put results in one folder (i.e. the top one) and not in another. I use ADLSearch to filter through file lists looking for material that violates hub rules, but unfortunately, there are always false positives. If the prec...
by Gratch06
2003-06-07 13:59
Forum: Programmer's Help
Topic: Force get theirlist.bz2
Replies: 6
Views: 3339

On the hub's side, everything is identical between what the two clients send. Both send: $RevConnectToMe [10mbt]Gratch06 [NULL]Gratch06|$ConnectToMe [10mbt]Gratch06 xxx.xxx.xxx.xxx:port| If I can get at the communique between the clients, I can tweak a bit more, but really not sure how to do a chees...
by Gratch06
2003-06-07 04:17
Forum: Programmer's Help
Topic: Force get theirlist.bz2
Replies: 6
Views: 3339

Force get theirlist.bz2

I'm playing with some more modifications of source code again. This time with .251 . I need to be able to send a request to get a file list in bz2 format from a user, and be granted a mini slot to do so. I've adjusted code so that bz2 is the default list, but being over the minimum size requirement,...
by Gratch06
2003-06-05 23:43
Forum: Feature Discussion (Archived)
Topic: Thought of a way to have the client d/c people without abuse
Replies: 16
Views: 5736

GargoyleMT wrote:Low speeds might not, and probably does not, bother some people. They will get the file eventually, if they're not in a hurry, they don't mind if whatever large file they're getting on DC chugs along at 2 kbps or 500 bps.
*nods in agreement*

- Gratch
by Gratch06
2003-06-03 14:42
Forum: Feature Discussion (Archived)
Topic: Smart Upload speed limiting
Replies: 8
Views: 3591

just make dc++ "take" 5kB of the upload (no matter the bandwidth) and "lock" those 5kB to the downloads! I think this is a great idea. Everyone on modems or other connections with slow uploads can now choose (or be forced) to chop 5K/s off of their uploads, leaving...let's see...0 Kb/s upload avail...
by Gratch06
2003-06-03 14:12
Forum: Programmer's Help
Topic: Ignore List - Implementation Help
Replies: 13
Views: 5234

Doh...I should have looked closer, would have seen that one. *makes note to examine source he's given a lot more closely next time* User::List ignoredUserList = HubManager::getInstance()->getIgnoredUsers(); Adjusting that line yields a "memory at ...... cannot be 'written'" error. I've tested it out...
by Gratch06
2003-06-02 18:17
Forum: Hubs and scripts
Topic: No-ip
Replies: 2
Views: 1706

go to www.no-ip.com and register one. They have good enough help files there.

- Gratch
by Gratch06
2003-06-02 18:11
Forum: Programmer's Help
Topic: Ignore List - Implementation Help
Replies: 13
Views: 5234

OK, gone back through and debugged somewhat, here's where I'm at... [15:16] --- Currently not ignoring anyone <<< fresh, before doing anything [15:16] Adding [10mbt]Gratch06 to the ignored list. <<< /ignore [10mbt]Gratch06 [15:17] --- Currently not ignoring anyone <<< after /ignore Appears to be one...
by Gratch06
2003-06-02 02:11
Forum: Feature Discussion (Archived)
Topic: Tray Icon
Replies: 12
Views: 4997

2) Disconnect menu: sub menu shows list of connected hubs Add a "close tab named <insert name here>" (allows you to remotely close PM's, as well as disconnect from hubs) Add a maximize DC++ with this tab active (same as clicking the tab, would be similar to clicking the >> at the end of the hublist...
by Gratch06
2003-06-01 20:12
Forum: Feature Discussion (Archived)
Topic: "proper" help?
Replies: 33
Views: 10706

OK, just saw this thread about putting together some useful help files. Here's some stuff that I put together after walking altogether too many people through router configurations and the like on the fly. I would hope people know how to configure their own equipment (amazing how many don't) but thi...
by Gratch06
2003-06-01 12:09
Forum: Programmer's Help
Topic: Ignore List - Implementation Help
Replies: 13
Views: 5234

OK, got it all to compile, but I'm only suffering from one little problem...the list isn't actually ignoring people. 1) The list is disappearing before I can check it (out of scope) 2) The onIgnore/onUnignorearen't calling the addIgnoredUser/removeIgnoredUser functions properly 3) The list is not co...
by Gratch06
2003-06-01 02:12
Forum: Programmer's Help
Topic: Ignore List - Implementation Help
Replies: 13
Views: 5234

OK, added all functions, implemented calls, etc. Presumably, I should now be able to add users to the list and remove them from the list. Trying to get AT the userlist is a bit of a problem for me. I need to check received PM's to see if they are from a user on the ignore list, then ignore them if s...
by Gratch06
2003-05-30 19:55
Forum: Hubs and scripts
Topic: Japanese hubs?
Replies: 2
Views: 2205

Gadget's Hublist.org has a search by country feaure - http://www.hublist.org/
and MoGLO's website provides a way to search by country as well - http://moglo.net/hublists.asp
Thanks for this one GargoyleMT!

- Gratch
by Gratch06
2003-05-30 16:05
Forum: Programmer's Help
Topic: Ignore List - Implementation Help
Replies: 13
Views: 5234

Here's the code I have done so far in my attempt to implement the ignore feature: Added stringdefs, and those show up correctly. resource.h #define IDC_IGNORE 1099 #define IDC_UNIGNORE 1100 hubframe.cpp: //handlers for the menus userMenu.AppendMenu(MF_STRING, IDC_IGNORE, CSTRING(IGNORE_USER)); userM...
by Gratch06
2003-05-30 13:05
Forum: Programmer's Help
Topic: Problem
Replies: 6
Views: 3306

You need to include the cstdlib file at the top
#include <cstdlib>

C++ is case sensitive. The command needs to be:

system("PAUSE");

- Gratch
by Gratch06
2003-05-28 21:48
Forum: Programmer's Help
Topic: Ignore List - Implementation Help
Replies: 13
Views: 5234

OK, I've went in and looked at some of that code, still not sure exactly how you mean to implement. I'm still fairly new to messing with the DC++ source...I can make a function User::List& HubManager::getIgnoredUsers() like you reccommended, but I'm not quite sure how to go about the lists. Are you ...
by Gratch06
2003-05-27 02:55
Forum: Programmer's Help
Topic: Warning C4786
Replies: 2
Views: 1745

Thanks for the speedy response!

- Gratch
by Gratch06
2003-05-27 01:06
Forum: Programmer's Help
Topic: Warning C4786
Replies: 2
Views: 1745

Warning C4786

will the folowing warnings actually affect everything? warning C4786: '_STL::unary_function<_STL::pair<_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char> > const ,_STL::basic_string<char,_STL::char_traits<char>,_STL::allocator<char> > >,_STL::basic_string<char,_STL::char_traits<ch...
by Gratch06
2003-05-25 17:04
Forum: Programmer's Help
Topic: Can I, daddy?
Replies: 10
Views: 4776

Spoke too soon. I'm in the process of doing the same thing myself. Now that I've done that much, finding what information to put where is being a bit difficult on me. I notice where the onGrantSlot and similar functions are defined (in UsersFrame.cpp), but getting the menu item (which now appears on...
by Gratch06
2003-05-25 16:18
Forum: Programmer's Help
Topic: Can I, daddy?
Replies: 10
Views: 4776

re: Menus

Add the menu in the hubframe.cpp file.

- Gratch
by Gratch06
2003-05-25 01:58
Forum: Programmer's Help
Topic: Ignore List - Implementation Help
Replies: 13
Views: 5234

Ignore List - Implementation Help

I know this is really not the best way to code things usually, but I want to create a global variable. Where would I stick the declaration for it? (Sorry, I'm still learning C++, and by no means an expert.) The reason for this is that I want to add an ignore option for PM's, and I need to be able to...