Aphrodite script v2.2 with DC++0.24 new tags

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

skol
Posts: 2
Joined: 2003-05-07 18:02

Aphrodite script v2.2 with DC++0.24 new tags

Post by skol » 2003-05-07 18:16

Hi,

is there anyone who has been able to edit the Knoton's Aphrodite script v2.2 so that the buildt in hub/slot ratio works with the latest DC++ builds from v0.24 and up.
Apparently the new tags in the latest builds of the DC++ clients renders the hub/slot feature in aphrodite useless.
Does anyone have a fix for this in Aphrodite, or is there anyone with a small hub/slot ratio only script that works with the newest DC++ clients?

Any input appreciated and welcome

ivulfusbar
Posts: 506
Joined: 2003-01-03 12:33

Post by ivulfusbar » 2003-05-08 07:45

i can quote what knoton usually answers to this question;

Knoton;
No, I have not updated the script to handle the new description.

I will most likely not update it anymore, I am so tired of scripting for the NMDCHub. I am currently trying to make an alternative hub instead that will allow people to make their own alterations in VB to fit their hubs needs. A hub with native commands and functionality will always be more stable than a hub relaying on scriptengines...


The hub is currently under devolpment, and we will let you know when its finished.
Everyone is supposed to download from the hubs, - I don´t know why, but I never do anymore.

skol
Posts: 2
Joined: 2003-05-07 18:02

Post by skol » 2003-05-08 18:57

I got a reply on another board from Gadget and this is what he told me to do:

Code: Select all

Never tried Aphrodite but i think this should do it (untested), from line #294, just add one line:
-----------
            If CheckDCPlusPlus Then
       
                MyArray(2) = Trim(MyArray(2))
                If InStrRev(MyArray(2), "H:") And InStrRev(MyArray(2), "S:") Then
                    i = InStrRev(MyArray(2), "H")
                    If i > 0 Then

                        MyArray(2) = Mid(MyArray(2), i, Len(MyArray(2)))
                        myArray2 = Split(MyArray(2), ",S:", -1, 1)
                        hub = Replace(myArray2(0), "H:", "")
                        If InStr(hub,"/") Then hub = Left(hub,InStr(hub,"/")-1)
                        slot = Replace(myArray2(1), ">", "")
                        If Not IsNumeric(slot) Then
                            myArray3 = Split(slot, ",", -1, 1)
                            slot = myArray3(0)
                        End If
-----------


In fact the ekstra line of code added: If InStr(hub,"/") Then hub = Left(hub,InStr(hub,"/")-1)
actually works for unregistered users, although it doesn't make the hub/slot ratio work for registered users.
Is there anyone who can help me enable the hub/slot ratio for registered users as well (ops, vips and admins not included) ?

Who is online

Users browsing this forum: Google [Bot] and 0 guests