Search found 205 matches

by Pothead
2006-08-16 10:21
Forum: Programmer's Help
Topic: adch++ win32 release build
Replies: 3
Views: 3635

Patch to fix the errors Index: adchpp/Util.cpp =================================================================== --- adchpp/Util.cpp (revision 20) +++ adchpp/Util.cpp (working copy) @@ -35,7 +35,7 @@ namespace adchpp { #ifndef _DEBUG -FastCriticalSection FastAllocBase::cs; +FastMutex FastAllocBase...
by Pothead
2006-08-16 05:28
Forum: Programmer's Help
Topic: STLPort upgrade
Replies: 2
Views: 3132

STLPort upgrade

DC++ currently uses STLPort 4.6.2, however there is a new full release version (5.0.2). Winmerging standard STLPort with the DCplusplus one, shows the following changes to definitions. #define _STLP_NO_IOSTREAMS 1 #define _STLP_NO_CUSTOM_IO #define _STLP_NO_ANACHRONISMS 1 #define _STLP_NEW_PLATFORM_...
by Pothead
2006-08-15 04:07
Forum: Proposals
Topic: Block certain private messages
Replies: 34
Views: 25263

Hub owners are not taking measures to reduce spam and sometimes are the perpetrators themselves, sending messages to vote on some site to increase a rating somewhere. Leave their hubs and join ones that listen to you as a user and value your presence. Put D2AF in the hublist filter, and them hubs a...
by Pothead
2006-08-13 09:35
Forum: Proposals
Topic: Cycle through downloads
Replies: 10
Views: 7520

Kind of is. Remove all other sources. :)
by Pothead
2006-08-11 11:48
Forum: Proposals
Topic: Favourite searches.
Replies: 9
Views: 6616

Eventually moved it to the dcplusplus.rc file and all the other changes i've had to do. Please comment. :) One bug i know of is if there is that with no autosearches in it, and if you run a search while it's in the "time period" it will list results from that search. Also not entirely sure if i put ...
by Pothead
2006-08-04 12:43
Forum: adchpp general
Topic: adchpp available
Replies: 12
Views: 10701

You can ditch step 9.
Because it's written
set: blah
It sets the wrong thing. And since it still builds without that being correct . . . :)
(if using that, the : (colon) should be removed)
(btw a few  's have appeared in the introduction, step 1 and step 10 :wink: )
by Pothead
2006-07-30 07:42
Forum: Hubs and scripts
Topic: SPAMMING
Replies: 7
Views: 5489

Update if you not running the latest version. Also "tweak" the deflood page, if it's that type of spam.
by Pothead
2006-07-30 06:52
Forum: Protocol Alley
Topic: Packet Injection
Replies: 11
Views: 7916

[NL]Pur wrote:So how can you inject a packet ?
Send a Raw packet with someone elses ip. Assuming it doesn't get killed by your firewall / router / isp. :)
by Pothead
2006-07-29 21:20
Forum: Hubs and scripts
Topic: SPAMMING
Replies: 7
Views: 5489

Death to adult finder will ban spamming people, but still allow normal users to post links, incase you don't want a total ban on web links, like the other scripts do.
by Pothead
2006-07-19 10:59
Forum: Protocol Alley
Topic: Split: Passives and SR's
Replies: 27
Views: 16037

i'm pretty sure there won't be so bad implications as you said... Do not under estimate the stupidity of stupid op's. This is a bad idea because it'll result in 1000's of innocent users being kicked by stupid op's. Ain't broke don't fix, and all that. There is no problem at the moment. Stop trying ...
by Pothead
2006-07-17 06:51
Forum: Proposals
Topic: Wishlist
Replies: 4
Views: 4299

http://www.dcpp.net/forum/viewtopic.php?t=16570 :) (Made, but using a different RC and Resource.h, so gonna have to re-do some of the shit to make a patch. Also i doubt what i wrote is upto dc++ standards. :? O, and also my way of notification of found sommit kind of sucks, but meh, i'm happy with i...
by Pothead
2006-07-16 20:10
Forum: Protocol Alley
Topic: Split: Passives and SR's
Replies: 27
Views: 16037

And if they want to search for bad files of all users, well, get the hub to run a script or a bot. why we have to waste more bandwidth using bots if we can let the OPs do the same job? then, let's also consider those hubs that can't be checked by bots... and believe me, they exist... From a Search ...
by Pothead
2006-07-16 09:53
Forum: Developer's resort
Topic: Crash collector
Replies: 15
Views: 8288

a partial list I've scribbled down is this: Vslp (V-One Smartpass) mclsp (McAfee AV) Niphk (Norman AV) aslsp (Aventail Corporation VPN) AXShlEx (alcohol 100%) gdlsphlr (MCafee) mlang (IE) cslsp (McAfee) winsflt (PureSight Internet Content Filter) dnsapi imslsp (ZoneLabs IM Secure) apitrap (Norton C...
by Pothead
2006-07-15 21:36
Forum: Protocol Alley
Topic: Split: Passives and SR's
Replies: 27
Views: 16037

PseudonympH wrote:Of course, then ops will try to download some files, and kick you for them not being able to download from you.
Yup, i foresee that happening as well. :(
I personally think it works fine as it is. And if they want to search for bad files of all users, well, get the hub to run a script or a bot. :)
by Pothead
2006-07-13 20:23
Forum: Programmer's Help
Topic: Compile help [split]
Replies: 25
Views: 14690

What I did: unzipped your file into that folder, I Kept only the correct files into it and run the bat file one. Finally, I used Visual Studio to build the exe file, but... still the same problem... Did I do correctly? :oops: :oops: :oops: With that, you can unzip anywhere, don't delete anything, r...
by Pothead
2006-07-13 10:39
Forum: Off Topic
Topic: My new DC++ site :)
Replies: 12
Views: 8548

Looks nice. :) "What can I do with DC++?" you might wanna change the text in that area. Either specify you mean "homebrew" games, movies or music, or remove that text. People can get very uptight about suggesting copywrite violation (sometimes with good reason). You should also always post a link to...
by Pothead
2006-07-13 10:37
Forum: Programmer's Help
Topic: Compile help [split]
Replies: 25
Views: 14690

you should only have the files from the source subfolder of stlport o, my bad, didn't know that one. Lord.Sabbath, something i wrote a long time ago might help you compile StlPort . . . . Easy way to compile STLPort. Download http://www.freetohost.co.uk/mike/STLport-4.6.2-With-Installer.rar Run the...
by Pothead
2006-07-13 07:49
Forum: Programmer's Help
Topic: Compile help [split]
Replies: 25
Views: 14690

Nope, that looks fine. :)
Is Zion multisource ? If so you'll need to compile the STLPort. :)
by Pothead
2006-07-12 19:57
Forum: Programmer's Help
Topic: Compile help [split]
Replies: 25
Views: 14690

Wrong STL Port ? STL Port included badly ?
by Pothead
2006-07-12 19:56
Forum: Programmer's Help
Topic: compile error?
Replies: 9
Views: 6605

I thought fulDC needed VS 2005 and a newer STLPort. Could be that ? :)
by Pothead
2006-07-06 05:18
Forum: Other Direct Connect tools
Topic: Looking for non-hashing client
Replies: 11
Views: 7621

i will make this clear the newer vers are a POS comapred to the old ones... even with everything hashed they suck Well stick with the old ones. Which since they don't hash, and have quite a lot of security holes, means that you'll get banned from a lot of hubs. And the rest will just reject you. :w...
by Pothead
2006-07-04 09:41
Forum: Protocol Alley
Topic: GetZBlock in Hub supports
Replies: 5
Views: 4604

I've not seen an option for that anywhere, but thanks for the example of where it could be useful. :)
by Pothead
2006-07-04 08:21
Forum: Protocol Alley
Topic: GetZBlock in Hub supports
Replies: 5
Views: 4604

GetZBlock in Hub supports

Someone was asking me earlier about GetZBlock being in the supports sent to the hub, because they couldn't think of a reason for this (and to be honest i couldn't either). So could this be removed, or does it actually serve a purpose ? :)
by Pothead
2006-07-02 11:08
Forum: Off Topic
Topic: What country/city are you from?
Replies: 37
Views: 24483

CavecrashX wrote:United Kingdom, Earth.

Greatest country in the world if you removed all the politicians
Sad but very true.
by Pothead
2006-06-26 18:53
Forum: Programmer's Help
Topic: problem with linking :?
Replies: 14
Views: 9824

Try changing the Calling convention in the project properties. :)
by Pothead
2006-06-22 06:18
Forum: Proposals
Topic: People taking multiple slots
Replies: 46
Views: 31602

This can be sorted for downloads which start with getting a filelist. Since for a while now the filelist has contained the users CID. So suppose could use that to match users up, and replace the "made" cid (from hub and nick) with the actual cid. :)
by Pothead
2006-06-21 05:16
Forum: Hubs and scripts
Topic: list of "hash-less" clients and stuff
Replies: 17
Views: 10757

Looking at the Version numbers in the change log would be a good start.
by Pothead
2006-06-21 03:31
Forum: Proposals
Topic: People taking multiple slots
Replies: 46
Views: 31602

Atleast then it knew that two people on different hubs were the same. Nope. It chose the first occurance of that nick it found. Could be a totally different user. So you got 1 bug with it this way, beats the many it used to have, from being unable to identify users. e.g. having to go through every ...
by Pothead
2006-06-20 19:16
Forum: Proposals
Topic: People taking multiple slots
Replies: 46
Views: 31602

When I check my own CID in the userlist it's the same in all the hubs I'm in. Why is my CID the same and the other guy's is different. Because your client knows your proper CID, whereas it's making one for other people What reason is there to include a hub component in calculating the CID? Seems ev...
by Pothead
2006-06-19 19:14
Forum: Proposals
Topic: Favourite searches.
Replies: 9
Views: 6616

Why not restrict the amount of simultaneous auto searches if you want to reduce the strain on hubs. ie no more than 10, and maybe restrict the amount of search results per auto search to say 100, then it wont search anymore. I figure 5 mins between each autosearch, and waiting another 7 hours after...
by Pothead
2006-06-19 05:54
Forum: Proposals
Topic: Favourite searches.
Replies: 9
Views: 6616

Thanks for the tip, some interesting suggestions for Notification, hehe the part i'm trying to figure out how to do now. :? * Sidenote * I figured a 7 hourly interval between starting autosearch would be best, so that over a week period, it will preform a search on each hour. (It'll also wait at lea...
by Pothead
2006-06-13 19:42
Forum: Proposals
Topic: Requesting a new feature, encrypted packets.
Replies: 5
Views: 3983

I used to be with pipex, and also noticed the 20kb/s cap, on everything except http, ftp and encrpyted torrents.
http://www.dcpp.net/forum/viewtopic.php?t=16973 :)
by Pothead
2006-06-11 19:40
Forum: Other Direct Connect tools
Topic: Problem with "Client too old, not supported"
Replies: 2
Views: 2561

The newest is 0.691. Try that one. :)
by Pothead
2006-06-08 10:37
Forum: Programmer's Help
Topic: GeoIpCountryWhois.csv - Add one string.
Replies: 16
Views: 9961

Well, that limit of 2, was restricting the size of country name it would return. Looks like you are only storing the first 2 letters. :P Try using break points, at see where it's going wrong. Could you also disable BBCode in your original post, so we can see all the code, instead of refering to file...
by Pothead
2006-06-08 08:29
Forum: Programmer's Help
Topic: GeoIpCountryWhois.csv - Add one string.
Replies: 16
Views: 9961

BBcode enabled removes parts of the function :roll: The answer looks like it lies in the parts of the code that got removed from the post. u_int32_t ipnum = (Util::toUInt32(IP.c_str()) << 24) | (Util::toUInt32(IP.c_str() + a + 1) << 16) | (Util::toUInt32(IP.c_str() + b + 1) << 8) | (Util::toUInt32(I...
by Pothead
2006-06-08 06:20
Forum: Programmer's Help
Topic: Cant build
Replies: 8
Views: 6517

You got filenames with line numbers, -'s telling you to remove a line, and +'s telling you to add a line, and you find this to hard . . . so why are you even bothering trying to build dc++ ?
by Pothead
2006-06-08 04:29
Forum: Proposals
Topic: Some place for small patches
Replies: 3
Views: 2519

Compiling... ExListViewCtrl.cpp c:\dcplusplus\trunk\windows\ExListViewCtrl.cpp(49) : warning C4288: nonstandard extension used : 'j' : loop control variable declared in the for-loop is used outside the for-loop scope; it conflicts with the declaration in the outer scope c:\dcplusplus\trunk\windows\...
by Pothead
2006-06-07 19:33
Forum: Proposals
Topic: Some place for small patches
Replies: 3
Views: 2519

Some place for small patches

I was thinking some place dedicated for small patches might be a good idea, either via a Forum section, or a "sticky" bug in bugzilla, or something along them lines. My reasoning behind this, is because i got a couple of changes for dc++, but think making a bug for them is a bit excessive. i.e. This...
by Pothead
2006-06-06 09:08
Forum: Programmer's Help
Topic: GeoIpCountryWhois.csv - Add one string.
Replies: 16
Views: 9961

Yup, poy, that confused me as well. Until i looked in Util.cpp :)
by Pothead
2006-05-28 05:27
Forum: Proposals
Topic: disable/restrict use of bandwidth limiters
Replies: 37
Views: 21530

You might not think it's true, but that doesn't make it not true. I'm refering to the fact that if i upload over 20kb/s i cannot download more than 10kb/s. Whereas if i upload at 16kb/s, i can download at 120kb/s. Quite i bit of difference in download speed, for just 4kb/s upload.
by Pothead
2006-05-26 05:48
Forum: Programmer's Help
Topic: Trouble getting Client \ User information from Private frame
Replies: 10
Views: 6478

heh, but turns out getUser(nick, url) doesn't work for adc hubs (which i'm trying to use to get Opstatus). Again made by just editig the above code a little bit. Would be better to provide functionality for getUser, but since i only wanted opstatus, this gets the correct one :) bool ClientManager::i...
by Pothead
2006-05-24 20:43
Forum: Programmer's Help
Topic: Trouble getting Client \ User information from Private frame
Replies: 10
Views: 6478

For anybody interested this copy, pasted and edited a little bit of dc++ code returns your correct username, from a specific url. :) string ClientManager::getMyNick(const string& aHubUrl) { Lock l(cs); pair<OnlineIter> p = onlineUsers.equal_range(getMe()->getCID()); for(OnlineIter i = p.first; i != ...
by Pothead
2006-05-23 19:50
Forum: Programmer's Help
Topic: Trouble getting Client \ User information from Private frame
Replies: 10
Views: 6478

client->getMe()->getNick() as there is GETSET(string, nick, Nick); in user.h, i believe this one should be ok... getMe() is from ClientManager and getNick() is part of OnlineUser class. getFirstNick() is a member of User, cannot get it going at moment (to test again), but when it was working a few ...
by Pothead
2006-05-23 09:13
Forum: Programmer's Help
Topic: Trouble getting Client \ User information from Private frame
Replies: 10
Views: 6478

Because getNick() isn't a member of client.
by Pothead
2006-05-22 19:36
Forum: Programmer's Help
Topic: Trouble getting Client \ User information from Private frame
Replies: 10
Views: 6478

It works in neither NMDC or ADC hubs.
It's not really set, it's more of referenced . . .
Client.h
const string& getMyNick() const { return getMyIdentity().getNick(); }
by Pothead
2006-05-22 06:59
Forum: Programmer's Help
Topic: Trouble getting Client \ User information from Private frame
Replies: 10
Views: 6478

Trouble getting Client \ User information from Private frame

I've been trying to colour text in Priavte frame, and to get a few parameters to affect text colouring, i've got a bit stuck, trying to get MyNick, and Op status the user who is talking, but having trouble with both. To get mynick I've tried using getFirstNick() from clientmananger, but that always ...
by Pothead
2006-05-20 10:25
Forum: Programmer's Help
Topic: file transfer
Replies: 8
Views: 6200

O, I see. :oops:
I also thought that only uploaders should send that. :P
by Pothead
2006-05-20 07:26
Forum: Programmer's Help
Topic: file transfer
Replies: 8
Views: 6200

No slots available :wink:
by Pothead
2006-05-17 08:04
Forum: Other Direct Connect tools
Topic: Search spy times don’t sort correctly
Replies: 5
Views: 4295

Change the start of the timestamp format from
H to HH.
Dunno how that will work with the am / pm thingy. Use 24 hour clock instead.

That's assuming it's a setting, and not hardcoded. :)
by Pothead
2006-05-11 07:54
Forum: Hubs and scripts
Topic: Complete share list
Replies: 19
Views: 18069