New Script

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

BladerunnerUk
Posts: 3
Joined: 2003-07-03 19:57
Location: Lancashire

New Script

Post by BladerunnerUk » 2003-07-26 20:21

Can anybody help me to make a new script please as i am not sure how to do this myself, thanx for any help iin advance

TheParanoidOne
Forum Moderator
Posts: 1420
Joined: 2003-04-22 19:37

Post by TheParanoidOne » 2003-07-26 21:32

The first step would be to describe the type of script you are after.
The world is coming to an end. Please log off.

DC++ Guide | Words

BladerunnerUk
Posts: 3
Joined: 2003-07-03 19:57
Location: Lancashire

Post by BladerunnerUk » 2003-07-26 21:39

similar to the general bot script would be good with a couple of extra commands

1. command for the hub owner to hide his nick from the user list.
2. a call command that would pm the user.

or just a completely new script for the DCHub, I'm open to ideas


Many thanks :)))

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Post by GargoyleMT » 2003-07-27 15:08

BladerunnerUk wrote:1. command for the hub owner to hide his nick from the user list.


You realize that you won't be able to download anything from DC++ users, right? It drops connections from users that are offline.

HaArD
Posts: 147
Joined: 2003-01-04 07:20
Location: Canada http://hub-link.sf.net

Post by HaArD » 2003-07-27 16:52

GargoyleMT wrote:
BladerunnerUk wrote:1. command for the hub owner to hide his nick from the user list.


You realize that you won't be able to download anything from DC++ users, right? It drops connections from users that are offline.


Actually dropping the connection is an option which can be turned off. The real issue is that DC++ won't allow a user who isn't in the User list to initiate a connection with you which means no filelists or downloads.

I'm curious why you would want someone to re-write General Bot, why not just use it?

As for invisible Admin/Op accounts check out the latest release of Shadows DC Hub, v .20 which has multiple User Classes including invisible Ops/Admins.

HaArD

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Post by GargoyleMT » 2003-07-27 18:59

HaArD wrote:Actually dropping the connection is an option which can be turned off. The real issue is that DC++ won't allow a user who isn't in the User list to initiate a connection with you which means no filelists or downloads.


Although my comment sounded a lot like the "disconnect users who leave the hub", I was actually referring to this piece of code:

Code: Select all

   if(!aSource->getUser()) {
      // Make sure we know who it is, i e that he/she is connected...
      if(!ClientManager::getInstance()->isOnline(aNick)) {
         dcdebug("CM::onMyNick Incoming connection from unknown user %s\n", aNick.c_str());
         putConnection(aSource);
         return;
      }


The rest of it is your bailiwick, I defer to your advice. :)

Who is online

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