Which hub software is the best? Where can I find script XXX? Discuss it here...(no, this is not for advertising your hub...)
Moderator: Moderators
-
[PT]Devilishly
- Posts: 96
- Joined: 2003-04-18 10:57
- Location: Oporto, Portugal
Post
by [PT]Devilishly » 2003-06-16 12:08
I’m looking for script that would check if the version which is in the tag description is the version in the “PK� parameter.
This script should also do verify other variations in lock/PK strings:
OLDoMiNiON wrote:- Client with DC++ tag, and random lock & pk strings
- Client w/ DC++ tag, and other non-dc++ lock & pk strings. e.g. too many "ABC"'s in pk.
- Cleint w/ DC++ tag, showing a client version different to that shown in the pk string
- Client w/ DC++ tag\NMDC, with blank lock or pk string
- Client w/ or without DC++ tag, which has a lock of all "A"'s, and a pk of all "B"'s
- Client w/ Incomplete DC++ or DC Gui tag
- Client w/o tag, with only one of either lock or pk
- Client w/o tag, with a pk string <> 16 chars in length
- Client w/o tag, with a lock string outside the min/max char length of a lock string. (whatever that is

)
- Client w/o tag, with a static lock string (in NMDC it changes upon each new connection from client-client)
- Client w/o tag, with DC Gui lock and pk
- Client w/o tag, with DC++ lock and pk
Thanks,
[PT]Devilishly
-
dieselmachine
- Posts: 36
- Joined: 2003-01-20 03:22
- Location: Rochester, NY, USA
Post
by dieselmachine » 2003-06-16 13:19
MacOS NMDC has a 15 character PK, all lowercase letters. So keep that in mind when doing the 'no tag, pk <> 16 chars' test!
-
OLDoMiNiON
- Posts: 202
- Joined: 2003-01-06 11:22
- Location: Salford, England.
Post
by OLDoMiNiON » 2003-06-16 17:11
Really? That's kinda stupid! Why not keep it the same as the rest? Damn you Hess!
Anyway - you can't do all this stuff via script! It's impossible!! - It has to be done via client side Bot.. as locl/pk are only calculated client<>client, not server<>client

-
ender
- Posts: 224
- Joined: 2003-01-03 22:47
Post
by ender » 2003-06-16 22:54
It is possible to retrieve $Lock/Pk via a script, however the script would probably not work properly on hubs with more than 20-30 people...
-
OLDoMiNiON
- Posts: 202
- Joined: 2003-01-06 11:22
- Location: Salford, England.
Post
by OLDoMiNiON » 2003-06-16 23:53
How's that?? I've never heard of a way to do it in 3 years...
-
ender
- Posts: 224
- Joined: 2003-01-03 22:47
Post
by ender » 2003-06-17 08:24
Stimorol wrote a script. It's ugly. Basically, it sends $ConnectToMe to the client with the hub's listening address and then fetches $Lock from the status window.
-
Gadget
- Posts: 62
- Joined: 2003-01-11 11:24
- Location: Finland
Post
by Gadget » 2003-06-17 10:37
No way to do it? That sounded like a challenge...
Download it
-
OLDoMiNiON
- Posts: 202
- Joined: 2003-01-06 11:22
- Location: Salford, England.
Post
by OLDoMiNiON » 2003-06-17 11:04
Nice! Hmm, ok i was wrong. How many users could you support on that script/ has it been tested atall?
-
Gadget
- Posts: 62
- Joined: 2003-01-11 11:24
- Location: Finland
Post
by Gadget » 2003-06-17 11:10
Well the script doesn't wait for locks so it shouldn't slow down the hub much. Included dll will listen for incoming connections and log the locks, so they are available to the hub script when they arrive. I tested a little with 200 users and looked like it worked nicely.
Same method could be used for recieving search results from passive users, getting filelists etc.
-
OLDoMiNiON
- Posts: 202
- Joined: 2003-01-06 11:22
- Location: Salford, England.
Post
by OLDoMiNiON » 2003-06-17 11:54
Very interesting. However my statement *was* infact true (unless what ender says is infact possible on a large scale hub)... as this script is drawing it's info from what is in effect a cleint, that simply interfaces with the hub via a script.
However - i love the idea

Maybe i'll convert it to perl, and use it on my hub

-
Motta_ita
- Posts: 3
- Joined: 2003-02-07 08:44
Post
by Motta_ita » 2003-06-18 15:01
it's possible do it also for ptokax hub?
Thanks
Users browsing this forum: Google [Bot] and 0 guests