Returns an iterator pointing to the first element whose key is not less than k. Returns a.end() if no such element exists.
Search found 427 matches
- 2005-02-04 08:30
- Forum: Programmer's Help
- Topic: generating Geoipcountrywhois.csv
- Replies: 5
- Views: 3946
- 2005-02-03 15:51
- Forum: Programmer's Help
- Topic: generating Geoipcountrywhois.csv
- Replies: 5
- Views: 3946
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
- 2005-01-30 13:24
- Forum: DCH++ General
- Topic: Connection problem
- Replies: 15
- Views: 14242
- 2005-01-24 13:22
- Forum: Programmer's Help
- Topic: x User removed: <unknown>
- Replies: 29
- Views: 15104
I give up, go read TPO's suggested reading:
http://dcplusplus.sourceforge.net/forum ... 5438#75438
http://dcplusplus.sourceforge.net/forum ... 5438#75438
- 2005-01-24 11:32
- Forum: Programmer's Help
- Topic: x User removed: <unknown>
- Replies: 29
- Views: 15104
- 2005-01-24 10:40
- Forum: Programmer's Help
- Topic: x User removed: <unknown>
- Replies: 29
- Views: 15104
[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)|$...
- 2005-01-24 09:34
- Forum: Programmer's Help
- Topic: x User removed: <unknown>
- Replies: 29
- Views: 15104
- 2005-01-22 15:47
- Forum: DCH++ General
- Topic: Lua script, tohostname
- Replies: 2
- Views: 4039
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...
- 2005-01-22 15:31
- Forum: DCH++ General
- Topic: DCH++ on FreeBSD
- Replies: 1
- Views: 3742
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...
- 2005-01-20 13:38
- Forum: DCH++ General
- Topic: problem compiling dch++ on slacware 10
- Replies: 5
- Views: 5756
- 2005-01-19 10:07
- Forum: Feature Discussion (Archived)
- Topic: some other kind of priority queing for uploads... + notes.
- Replies: 13
- Views: 10605
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)...
- 2005-01-19 09:40
- Forum: Feature Discussion (Archived)
- Topic: About small files (<= 64 Kb)
- Replies: 6
- Views: 6638
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...
- 2005-01-19 08:21
- Forum: DCH++ General
- Topic: TriggerBoy Script
- Replies: 13
- Views: 10577
-- 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...
- 2005-01-05 06:26
- Forum: DCH++ General
- Topic: Windows Configuration Issue
- Replies: 4
- Views: 5132
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());
}
- 2004-12-23 16:02
- Forum: Feature Discussion (Archived)
- Topic: Mass Magnet-Link Production ?
- Replies: 3
- Views: 5151
- 2004-12-18 16:10
- Forum: Feature Discussion (Archived)
- Topic: Start DC++ on system startup
- Replies: 10
- Views: 5833
- 2004-12-18 06:57
- Forum: Protocol Alley
- Topic: ADC - BASE
- Replies: 6
- Views: 6629
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...
- 2004-12-15 19:28
- Forum: Programmer's Help
- Topic: Feature and Bugfix help
- Replies: 8
- Views: 4892
- 2004-12-05 09:19
- Forum: Programmer's Help
- Topic: Reading from file and outputting it using user commands
- Replies: 2
- Views: 2232
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...
- 2004-12-02 21:53
- Forum: Feature Discussion (Archived)
- Topic: Minimize to the LITTLE icon, not just minimized.
- Replies: 3
- Views: 2734
- 2004-11-17 21:11
- Forum: Hubs and scripts
- Topic: Userlist to php?
- Replies: 2
- Views: 2267
- 2004-11-05 19:16
- Forum: Programmer's Help
- Topic: Passive Search and Special chars in Nick = disconnect
- Replies: 5
- Views: 3603
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...
- 2004-11-05 19:04
- Forum: Programmer's Help
- Topic: TTH Example for Visual Basic
- Replies: 2
- Views: 2391
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...
- 2004-11-02 16:03
- Forum: Hubs and scripts
- Topic: Please Help
- Replies: 5
- Views: 3629
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...
- 2004-11-02 16:03
- Forum: Hubs and scripts
- Topic: Please Help
- Replies: 5
- Views: 3629
multiple?
notice the same dotted ipv4 addresses ;)
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
- 2004-10-31 09:31
- Forum: Feature Discussion (Archived)
- Topic: PublicHub List Management
- Replies: 5
- Views: 4557
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...
- 2004-10-30 09:01
- Forum: Feature Discussion (Archived)
- Topic: People changing extensions to avoid downloaders.
- Replies: 8
- Views: 5185
- 2004-10-27 07:46
- Forum: Programmer's Help
- Topic: DC++ crash
- Replies: 17
- Views: 8904
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...
- 2004-10-22 03:22
- Forum: Feature Discussion (Archived)
- Topic: udp-ports
- Replies: 14
- Views: 7295
- 2004-10-22 03:10
- Forum: Feature Discussion (Archived)
- Topic: udp-ports
- Replies: 14
- Views: 7295
- 2004-10-22 02:59
- Forum: Feature Discussion (Archived)
- Topic: udp-ports
- Replies: 14
- Views: 7295
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...
- 2004-10-21 16:05
- Forum: Feature Discussion (Archived)
- Topic: Incomplete files and download folders
- Replies: 24
- Views: 12350
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...
- 2004-10-17 11:34
- Forum: Programmer's Help
- Topic: What is wrong here? Please help me!
- Replies: 3
- Views: 2699
- 2004-10-05 09:37
- Forum: Feature Discussion (Archived)
- Topic: Automatically search for alternate download locations
- Replies: 9
- Views: 5714
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...
- 2004-10-04 02:30
- Forum: Feature Discussion (Archived)
- Topic: THEX/TTH, queue cleaning and file management
- Replies: 4
- Views: 3218
- 2004-10-01 09:36
- Forum: Feature Discussion (Archived)
- Topic: IP column optional in hub users list
- Replies: 5
- Views: 3457
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...
- 2004-09-26 14:05
- Forum: Feature Discussion (Archived)
- Topic: IP listed in active transfers
- Replies: 58
- Views: 33989
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...
- 2004-09-26 05:18
- Forum: Feature Discussion (Archived)
- Topic: IP listed in active transfers
- Replies: 58
- Views: 33989
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 ...
- 2004-09-17 19:51
- Forum: Feature Discussion (Archived)
- Topic: Is there a way to implement a program like peerguardian?
- Replies: 5
- Views: 3208
- 2004-09-11 06:36
- Forum: Feature Discussion (Archived)
- Topic: protection for hub owners
- Replies: 36
- Views: 14722
AluminX:
cheats can easily update this fast if the program is open source.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.
- 2004-09-08 12:56
- Forum: Feature Discussion (Archived)
- Topic: suggestions SNMP service
- Replies: 3
- Views: 1817
- 2004-09-08 09:45
- Forum: Feature Discussion (Archived)
- Topic: DC++ on the taskbar
- Replies: 3
- Views: 1818
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...
- 2004-08-29 13:34
- Forum: Programmer's Help
- Topic: Compiling dcplusplus/client v0.401 fails under Linux
- Replies: 45
- Views: 24299
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 ...
- 2004-08-25 15:52
- Forum: Off Topic
- Topic: Really confusing forum!
- Replies: 12
- Views: 8009
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, ...
- 2004-08-25 13:00
- Forum: Off Topic
- Topic: Really confusing forum!
- Replies: 12
- Views: 8009
- 2004-08-25 12:58
- Forum: Hubs and scripts
- Topic: DC++ Hosting?
- Replies: 4
- Views: 2948
you're free to use this image if you like Todi/joakim ;)
http://wza.digitalbrains.com/DC/img/dcpp_howmakehub.jpg
http://wza.digitalbrains.com/DC/img/dcpp_howmakehub.jpg
- 2004-08-25 12:55
- Forum: Hubs and scripts
- Topic: bot that bans users that dont share the right files...?
- Replies: 17
- Views: 8409
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)
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)
- 2004-08-25 12:47
- Forum: Hubs and scripts
- Topic: metal hubs where to find?
- Replies: 1
- Views: 1962
- 2004-08-23 19:37
- Forum: Programmer's Help
- Topic: Database Support fails! Help
- Replies: 2
- Views: 2138
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....
- 2004-08-23 19:26
- Forum: Feature Discussion (Archived)
- Topic: Ability to minimize DC++ when loading
- Replies: 9
- Views: 4507
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...