Search found 427 matches

by Sedulus
2005-02-04 08:30
Forum: Programmer's Help
Topic: generating Geoipcountrywhois.csv
Replies: 5
Views: 3865

no
Returns an iterator pointing to the first element whose key is not less than k. Returns a.end() if no such element exists.
by Sedulus
2005-02-03 15:51
Forum: Programmer's Help
Topic: generating Geoipcountrywhois.csv
Replies: 5
Views: 3865

perl is your friend ;)

Code: Select all

[0:wza:g]$ cat in
"2.6.190.56","2.6.190.63","33996344","33996351","GB","United Kingdom"
"3.0.0.0","4.18.32.71","50331648","68296775","US","United States"
[0:wza:g]$ cat in |perl -e 'for(<>){/^([^,]*,){3}"(\d+)","(..).*$/;print "$2,$3\n";}'
33996351,GB
68296775,US
by Sedulus
2005-01-30 13:24
Forum: DCH++ General
Topic: Connection problem
Replies: 15
Views: 13490

this is intruiging.. I've just noticed the same problem, it occurs only when I try to load everything from somewhere else than the build dir. (I don't normally use win32)
by Sedulus
2005-01-24 13:22
Forum: Programmer's Help
Topic: x User removed: <unknown>
Replies: 29
Views: 14866

I give up, go read TPO's suggested reading:
http://dcplusplus.sourceforge.net/forum ... 5438#75438
by Sedulus
2005-01-24 11:32
Forum: Programmer's Help
Topic: x User removed: <unknown>
Replies: 29
Views: 14866

??
I send:
$Key somekey|$ValidateNick root|$Version 12345|$GetNickList|$MyINFO $ALL root $ $0$$0$|
the hub sends the other stuff from $Lock and onwards

(further.. the [0:wza:root]# is my command prompt, echo is a program that echoes text, nc is a program that connects to wza:1416 over tcpip)
by Sedulus
2005-01-24 10:40
Forum: Programmer's Help
Topic: x User removed: <unknown>
Replies: 29
Views: 14866

[1:wza:root]# echo '$Key somekey|$ValidateNick root|$Version 12345|$GetNickList|$MyINFO $ALL root $ $0$$0$|' | nc wza 1416 $Lock EXTENDEDPROTOCOLABCABC Pk=DCHUBPLUSPLUS0.33ABCABC|$HubName DCDev Public|<DCH++> This hub is running DCH++ v0.33-Release (Plugin API v0.33) on Linux 2.6.8.1-wza-1 (i686)|$...
by Sedulus
2005-01-24 09:34
Forum: Programmer's Help
Topic: x User removed: <unknown>
Replies: 29
Views: 14866

try $GetNickList|
by Sedulus
2005-01-22 15:47
Forum: DCH++ General
Topic: Lua script, tohostname
Replies: 2
Views: 3429

I'd like to point out that you don't want dns or reverse dns lookups in the worker thread as the hub would block everytime such a query was performed, resulting in major lag. ideally, one would run a separate plugin doing these lookups in a separate thread, but unfortunately nmdc dch++ doesn't do pl...
by Sedulus
2005-01-22 15:31
Forum: DCH++ General
Topic: DCH++ on FreeBSD
Replies: 1
Views: 3133

r59 | walter | 2005-01-22 21:28:41 +0100 (Sat, 22 Jan 2005) | 7 lines ported to FreeBSD notes: - /bin/sh doesn't know pushd/popd - dlopen is in libc (not in libdl) - recursive mutexes do not exist (or do they?), use only FastLock - added atomic stuff from stlport/__gxx to use if there's no asm/atom...
by Sedulus
2005-01-20 13:38
Forum: DCH++ General
Topic: problem compiling dch++ on slacware 10
Replies: 5
Views: 4917

whitewidow wrote:gcc version 3.3.4
yakko wrote:might
INSTALL wrote:- g++-3.4.1 (3.2.x/3.3.x won't work!) (*3.4.3)
by Sedulus
2005-01-19 10:07
Forum: Feature Discussion (Archived)
Topic: some other kind of priority queing for uploads... + notes.
Replies: 13
Views: 9777

You're sharing files you wish others not to download? Seems like a strange way to administrate your machine/share :wink: I do not find this odd at all. imagine I'm sharing popular open source tools tutorial movies e.g. about raw(8), Bitchx(1), who(1), ar(1), less(1), nice(1), or whereis(1), more(1)...
by Sedulus
2005-01-19 09:40
Forum: Feature Discussion (Archived)
Topic: About small files (<= 64 Kb)
Replies: 6
Views: 6001

bolamix: filelists are not checked for size. they get a minislot just like small files however big they may be. filelists and minislots do use up one of three minislots. only when those minislots are all used, could someone be refused to download a filelist. this limitation however does not apply to...
by Sedulus
2005-01-19 08:21
Forum: DCH++ General
Topic: TriggerBoy Script
Replies: 13
Views: 9663

-- vim:ts=4:sw=4:noet dchpp.loadLib( "math" ) local function oneOf( tbl ) return tbl[math.random( table.getn( tbl ) )] end local Actions = { ["+me"] = function( nick, arg ) return "* " .. nick .. " " .. arg end, ["/me"] = function( nick, arg ) return "* " .. nick .. " " .. arg end, ["+slap"] = func...
by Sedulus
2005-01-05 06:26
Forum: DCH++ General
Topic: Windows Configuration Issue
Replies: 4
Views: 4513

try C:/DCH++/plugins/ (<-- trailing slash)

Code: Select all

        if(!Util::isAbsolutePath(file)) {
                h = PM_LOAD_LIBRARY((pluginPath + file).c_str());
        } else {
                h = PM_LOAD_LIBRARY(file.c_str());
        }
by Sedulus
2004-12-23 16:02
Forum: Feature Discussion (Archived)
Topic: Mass Magnet-Link Production ?
Replies: 3
Views: 4537

what does the title have of your post have to do with the contents of your post?

if it's mass magnet link creation you're after, you should look at tthsum (google)
by Sedulus
2004-12-18 16:10
Forum: Feature Discussion (Archived)
Topic: Start DC++ on system startup
Replies: 10
Views: 5723

Xan1977 wrote:How much is "some time"? DC++ should take all of 5-20 seconds to load, depending on how much you're sharing. If not, something else is wrong.
several minutes if I keep the dupe check enabled
by Sedulus
2004-12-18 06:57
Forum: Protocol Alley
Topic: ADC - BASE
Replies: 6
Views: 5781

Re: ADC - BASE

According to 0.8 draft: The feature name should use only upper case letters, and possible a number to signal a revised feature. A central register of known features should be kept, to avoid clashes. All ADC clients should support the BASE feature (unless a future revision takes its place), which is...
by Sedulus
2004-12-15 19:28
Forum: Programmer's Help
Topic: Feature and Bugfix help
Replies: 8
Views: 4761

PseudonympH wrote:Intelligent discussion? On DCDev Public? :o :shock:
didn't I give you the right to kick users at one point? ;)
by Sedulus
2004-12-05 09:19
Forum: Programmer's Help
Topic: Reading from file and outputting it using user commands
Replies: 2
Views: 2171

imagine you could do that. e.g. we add %[exec:some command to execute] that would allow you to do this: <%[mynick]> Ban statistics: %[exec:type mybans.txt | sort]| which would execute "type mybans.txt | sort" (a sorted mybans.txt) and send the output to the hub as a chat command. now imagine me bein...
by Sedulus
2004-12-02 21:53
Forum: Feature Discussion (Archived)
Topic: Minimize to the LITTLE icon, not just minimized.
Replies: 3
Views: 2647

Please make users read the fucking settings before posting questions like how to open the Settings menu, get to the Appearance box, and Check the fucking Minimize To Tray option.
by Sedulus
2004-11-17 21:11
Forum: Hubs and scripts
Topic: Userlist to php?
Replies: 2
Views: 2173

if you're using a hubsoft that supports scripting (e.g. ptokax), it's easy. just hook in the ontimer function and dump a list of users to some text file every minute (or whatever timespan you choose). with php you can parse that list and print it any way you like.
by Sedulus
2004-11-05 19:16
Forum: Programmer's Help
Topic: Passive Search and Special chars in Nick = disconnect
Replies: 5
Views: 3534

er.. I guess chars = sprintf(buf, "$Search Hub:%s %c?%c?%s?%d?%s|", getNick().c_str(), c1, c2, Util::toString(aSize).c_str(), aFileType+1, tmp.c_str()); should be chars = sprintf(buf, "$Search Hub:%s %c?%c?%s?%d?%s|", toNmdc(getNick()).c_str(), c1, c2, Util::toString(aSize).c_str(), aFileType+1, tmp...
by Sedulus
2004-11-05 19:04
Forum: Programmer's Help
Topic: TTH Example for Visual Basic
Replies: 2
Views: 2346

from the tthsum manual ;))) DESCRIPTION tthsum generates or checks TTH checksums (root of the THEX hash tree). The Merkle Hash Tree, invented by Ralph Merkle, is a hash construct that exhibits desirable prop­ erties for verifying the integrity of files and file sub­ ranges in an incremental or...
by Sedulus
2004-11-02 16:03
Forum: Hubs and scripts
Topic: Please Help
Replies: 5
Views: 3561

Re: Please Help

I know that it takes time to see the hub on publichublist but 72 hours and i still can't see my hub. 72 hours is nothing, wait at least a week and.. you must make sure that pingers are allowed to enter.. if you have abnormal nick naming rules, or other abnormal checks (e.g. only newest dc++ allowed...
by Sedulus
2004-11-02 16:03
Forum: Hubs and scripts
Topic: Please Help
Replies: 5
Views: 3561

multiple?

Code: Select all

[0:wza:walter]$ for x in dreamland.gotdns.org dcreg.mine.nu ; do host $x ; done
dreamland.gotdns.org has address 213.226.69.87
dcreg.mine.nu has address 213.226.69.87
notice the same dotted ipv4 addresses ;)
by Sedulus
2004-10-31 09:31
Forum: Feature Discussion (Archived)
Topic: PublicHub List Management
Replies: 5
Views: 4485

you have no idea how much the hublist downloading strains the hublist servers. downloading multiple hublists simultaneously nullifies the redundant b/w that having the multiple hublists creates. so.. alternatively, one could store the hublists locally, and only refresh them once every, say, couple o...
by Sedulus
2004-10-30 09:01
Forum: Feature Discussion (Archived)
Topic: People changing extensions to avoid downloaders.
Replies: 8
Views: 5098

slicemaster101 wrote:when will the multiple issue be fixed?
when it's fixed
by Sedulus
2004-10-27 07:46
Forum: Programmer's Help
Topic: DC++ crash
Replies: 17
Views: 8718

insults never get you far, Coockoo MT told you to upgrade, because the bug in question might have been fixed (intentionally or unintentionally.. you never know if the bug was a sideeffect of something that _is_ mentioned in the changelog). at no point did he insult you. now.. as far as this goes: Si...
by Sedulus
2004-10-22 03:22
Forum: Feature Discussion (Archived)
Topic: udp-ports
Replies: 14
Views: 7136

so.. you want source ports to be definable?
post a RFE on the bugtracker (dcplusplus.sf.net/bugs) or write your own and send a patch to arnetheduck.
by Sedulus
2004-10-22 03:10
Forum: Feature Discussion (Archived)
Topic: udp-ports
Replies: 14
Views: 7136

no, read my post.

the only thing that might be possible, is to have a small range of _source_ ports that could be defined and let your firewall check for those. but this would involve some coding which serves no purpose to most people (and isn't fun to code).
by Sedulus
2004-10-22 02:59
Forum: Feature Discussion (Archived)
Topic: udp-ports
Replies: 14
Views: 7136

That's my point! Why the heck dc uses whatever port for outgoing when it could use just 1 port? I know incoming port is what I want it to be but outbound just doesn't work right. uh.. why are the results not sent on the port _you_ specify? because your peers aren't listening on every port for searc...
by Sedulus
2004-10-21 16:05
Forum: Feature Discussion (Archived)
Topic: Incomplete files and download folders
Replies: 24
Views: 11647

You still get a mediafile with wrong extension, .dctmp, because dc++ can't rename a file that's _in use_ which is my point. But as most people have already said in this thread: You don't need to rename it, just use a player that reads the content, and not the actual extension. well.. actually.. the...
by Sedulus
2004-10-17 11:34
Forum: Programmer's Help
Topic: What is wrong here? Please help me!
Replies: 3
Views: 2651

do you have the microsoft html help workshop installed?
check the Output tab, it should provide more info.
also, read the compile.cmd batch file from the help/ directory
by Sedulus
2004-10-05 09:37
Forum: Feature Discussion (Archived)
Topic: Automatically search for alternate download locations
Replies: 9
Views: 5480

well.. it's the behaviour you have a problem with, not with the option per se. (I can imagine that my empty/tiny queue would never be a problem for your hub.) so you should ideally try to detect the behaviour and act upon what you think is abuse. look at some hub debug output or sniff the traffic to...
by Sedulus
2004-10-01 09:36
Forum: Feature Discussion (Archived)
Topic: IP column optional in hub users list
Replies: 5
Views: 3380

http://dcplusplus.sourceforge.net/forum/viewtopic.php?t=9074 http://dcplusplus.sourceforge.net/wiki/index.php/UserIP%20command ask your hub owner to implement the latter (UserIP2) for you or all users p.s. using shift-home,ctrl-c and hitting ctrl-v later is just as fast as typing $subj and looks a l...
by Sedulus
2004-09-26 14:05
Forum: Feature Discussion (Archived)
Topic: IP listed in active transfers
Replies: 58
Views: 27176

You could add an option in Advanced to enable "virtual" share as well, it would be just like real share, only it would not be real, just fake ;) yes.. but this can be detected.. even slot-locking clients must open a slot once in a while, either verifiable by statistics (sensitive to false positives...
by Sedulus
2004-09-26 05:18
Forum: Feature Discussion (Archived)
Topic: IP listed in active transfers
Replies: 58
Views: 27176

How is it not the best solution for everyone (you including) to have this as an option controlled by the hub? yes.. let's do that. and then add an option in Advanced to disable hub-requested-show-IP-disabling ;)) cue: it's not in the clients interest to listen to the hub when the hub has no way to ...
by Sedulus
2004-09-17 19:51
Forum: Feature Discussion (Archived)
Topic: Is there a way to implement a program like peerguardian?
Replies: 5
Views: 3127

ask your friendly local hub owner
by Sedulus
2004-09-11 06:36
Forum: Feature Discussion (Archived)
Topic: protection for hub owners
Replies: 36
Views: 14442

AluminX:
http://www.shacknews.com/ja.zz?comments=17882 wrote:The whole point is that it updates itself automatically, and up to several timers per day. That's why it can work effectively. Cheats really can't update that fast, unless players trust their cheat to update itself also.
cheats can easily update this fast if the program is open source.
by Sedulus
2004-09-08 12:56
Forum: Feature Discussion (Archived)
Topic: suggestions SNMP service
Replies: 3
Views: 1744

- are you in the right forum?
- where's the question?
- are you in your right mind?

wtf kind of post is this?
we're all happy to listen to good suggestions for improving DC++... but this....
by Sedulus
2004-09-08 09:45
Forum: Feature Discussion (Archived)
Topic: DC++ on the taskbar
Replies: 3
Views: 1752

Hi to you, I have not appreciated the fact that YOU did not PROVIDE the CORRECT name for the LOCATION that you wanted DC++ to be minimized to. It's very nice when people refer to the thing you provided the SCREENSHOT of as the SYSTEM TRAY or commonly SYSTRAY! If you had done this, you would have fou...
by Sedulus
2004-08-29 13:34
Forum: Programmer's Help
Topic: Compiling dcplusplus/client v0.401 fails under Linux
Replies: 45
Views: 23915

if you donh't have much time to devote atm a tarball would be nice let some people look at the code, and they can decide if it's worth a try to send stuff to arne if you have more time and you want more control over cvs/svn commits, start a sf.net/berlios.de (the latter one has serious issues these ...
by Sedulus
2004-08-25 15:52
Forum: Off Topic
Topic: Really confusing forum!
Replies: 12
Views: 7666

cool it ddb Todi said he could only find a trial version, which your download link is. they state that the trial is crippled, it may very well be fully functional for most normal needs, but Trial usually implies that it is not. if you had said that the Trial is functional enough in the first place, ...
by Sedulus
2004-08-25 13:00
Forum: Off Topic
Topic: Really confusing forum!
Replies: 12
Views: 7666

as a user, I've never had a problem whatsoever with the phpBB forum. as moderator, it could be better.. but it works decently enough.
by Sedulus
2004-08-25 12:58
Forum: Hubs and scripts
Topic: DC++ Hosting?
Replies: 4
Views: 2880

you're free to use this image if you like Todi/joakim ;)
http://wza.digitalbrains.com/DC/img/dcpp_howmakehub.jpg
by Sedulus
2004-08-25 12:55
Forum: Hubs and scripts
Topic: bot that bans users that dont share the right files...?
Replies: 17
Views: 8261

if you force everyone to be active, you can use a hub script to do searches for you
simple one, two or three letter searches should return most files.
you'll need a hub that supports scripting support, e.g. PtokaX
see the ptokax board at board.univ-angers.fr for this (be nice when asking for scripts)
by Sedulus
2004-08-25 12:47
Forum: Hubs and scripts
Topic: metal hubs where to find?
Replies: 1
Views: 1919

see the hublists thread on this board (use search) to find different hub lists

if there are hubs that aren't listed on any one of those, I very much doubt that they are pubilc or exist at all.
by Sedulus
2004-08-23 19:37
Forum: Programmer's Help
Topic: Database Support fails! Help
Replies: 2
Views: 2083

Re: Database Support fails! Help

"c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\afxv_w32.h(18 ): fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>" isn't the error message clear enough? DC++ includes windows.h, and it seems that that other header doesn't like it....
by Sedulus
2004-08-23 19:26
Forum: Feature Discussion (Archived)
Topic: Ability to minimize DC++ when loading
Replies: 9
Views: 4411

10GB? local?! there is something really wrong with your system, it seems. I share ~700GB, mostly from network drives, and it takes me about 3-4 minutes to load (BC)DC++. and I have a slow system, compared to most. (you can try BCDC++ though (find it on google), it will make the bar 70% transparent s...