This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Eggdrop 1.6.7 and Non-IRC Bot

Old posts that have not been replied to for several years.
Locked
n
narnia1

Post by narnia1 »

Hey,

I have just noticed this when I tried to create a non-irc bot for a botnet I co-own.
I have commented out the following modules:
- server
- irc
- ctcp

Yet I noticed this when I tried to start the bot:

Eggdrop v1.6.7 (C)1997 Robey Pointer (C)2001 Eggheads
[20:30] --- Loading eggdrop v1.6.7 (Wed Dec 26 2001)
[20:30] Listening at telnet port 46857 (all)
[20:30] Module loaded: dns
[20:30] Module loaded: channels
[20:30] Module loaded: transfer (with lang support)
[20:30] Module loaded: share
[20:30] Module loaded: notes (with lang support)
[20:30] Module loaded: console (with lang support)
[20:30] Module loaded: blowfish
[20:30] Module loaded: wire (with lang support)
[20:30] Module loaded: server
[20:30] Module loaded: uptime
[20:30] * NO SERVER.

It loads all the normal modules but then it loads the server module aswell. Looking over the conf file, the server module is definatly commented out.

Anyone have any views on this?

Stuart.
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

where its loading the server module is not the place it would be in one of the example confs. check the end of your conf, and any tcls that you're loading.
n
narnia1

Post by narnia1 »

Petersen,

I am not loading any tcl scripts because it's a non-irc bot. I have used the search feature on my text editor to look for the word 'server' and it only found a few instances and all but one where in comments which were promptly deleted, leaving only the one which read:

#loadmodule server

I know the simple answer would be to delete this line, but that would defeat the point of being able to comment out lines.

Stuart,

<font size=-1>[ This Message was edited by: narnia1 on 2001-12-26 18:16 ]</font>
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

May I ask, what is the name of the config file, after you saved it, and what are you typing to load the bot.

And yes, you should try deleting the line, even if you did comment it out. Some editors will not show all the chars in a file, some are bugs, some are features. In this case, it maybe the same, but the Tcl parser is treating it as a new line char.

delete the line, and rule your commenting skill out, 100%.
n
narnia1

Post by narnia1 »

ppslim,

the conf file is called hub.conf and to start the bot I type: ./eggdrop -m hub.conf

I will delete the line later today when I have another go.

Stuart,
n
narnia1

Post by narnia1 »

Update: just looked at the conf file again and this time I deleted the line which loaded the server module. Then saved the file and tried to start the bot and got the following:-

Eggdrop v1.6.7 (C)1997 Robey Pointer (C)2001 Eggheads
[13:53] --- Loading eggdrop v1.6.7 (Thu Dec 27 2001)
[13:53] Listening at telnet port 9000 (all)
[13:53] Module loaded: dns
[13:53] Module loaded: channels
[13:53] Module loaded: transfer (with lang support)
[13:53] Module loaded: share
[13:53] Module loaded: notes (with lang support)
[13:53] Module loaded: console (with lang support)
[13:53] Module loaded: blowfish
[13:53] Module loaded: wire (with lang support)
[13:53] Module loaded: server
[13:53] Module loaded: uptime
[13:53] * NO SERVER.

Now I am lost, I have gone over the script with a fine tooth combe and there is no mention of it loading the server module.

Stuart,
t
theunforgiven

Post by theunforgiven »

regiesterd just to post.. i had this problem too delete the modules and it should work i think this is a bug
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

from a quick scan of the source, it looks like the uptime module is invoking it.
a
airsoft

Post by airsoft »

hmm i cant find a button to post a new thread lol
someone ?
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

top of screen, to the right of the broken eggs picture
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

After looking myself, it is indeed the uptime module loading the server module.

At time of press, the uptime.mod in 1.6.7 had no real documentation, which has been rectified for 1.6.8 (which, if all goes to plan, will be available on Jan 1st 2002).

The uptime site, has the job of tracking servers, as well as uptime, and as such, requires a server name to be sent. Hence, if your bot is a limbo bot (the eggdrop name for NON_IRC_BOT), then you can't use the uptime.mod

Slennox noted the lack of docs for the uptime.mod when he annouced the release of 1.6.7, and produced a small page, discribing it;s purpose and so on, you can read it Here
Locked