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.

Running 2 or more eggies from the same directory

Old posts that have not been replied to for several years.
Locked
User avatar
z_one
Master
Posts: 269
Joined: Mon Jan 14, 2002 8:00 pm
Location: Canada

Running 2 or more eggies from the same directory

Post by z_one »

Hi,

Suppose I have installed an eggdrop in the directory "eggdrop"
Can I put 2 configuration files there ? file1.conf and file2.con (of course each file with a different bot nick and ip) then run 2 bots each on a configuration file from that same installation directory ?
I just wanna make sure that it won't create any problem. And I am trying to avoid installing Eggdrop twice on my shell account (due to the lack of disk space allocated to me).

Thanks
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

yes you can.. just make all filenames and such in the bots conf's unique.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Also, don't forget to have two distinct listen ports (if are running from the same ip), user and chanlist file.
Once the game is over, the king and the pawn go back in the same box.
k
kyotou

Post by kyotou »

I've written a HOWTO about this (not perfect, but kinda useful).

http://www.windrop.com.ar (ignore the "windrop" name, "eggdrop" was already registered :cry:)

:)
User avatar
z_one
Master
Posts: 269
Joined: Mon Jan 14, 2002 8:00 pm
Location: Canada

Post by z_one »

http://www.windrop.com.ar/

The page cannot be displayed
|
|_aban

Post by |_aban »

But would the bots then be able to be linked together in a botnet? And if you use different vhosts for each one of the bots, would that cause any problems (ie is it required for them to use the same vhost)?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

if they don't have the same bonet nick and different stuff I've mentioned earlier will be allright.
Once the game is over, the king and the pawn go back in the same box.
k
kyotou

Post by kyotou »

http://www.windrop.com.ar/

The page cannot be displayed
Yeah.. it was down for a while.
But would the bots then be able to be linked together in a botnet? And if you use different vhosts for each one of the bots, would that cause any problems (ie is it required for them to use the same vhost)?
nick, vhost and other configs alike are set in a per-bot config file, and if you wish to set specific options that are in the global.conf file to a specific bot, then you just do it after the "source global.conf" line. (ex. to make them join different servers).

About botnet linking, i haven't tried (i never needed to), so i cannot assure for good it will work that way, although i guess it should work.
User avatar
Yourname
Master
Posts: 358
Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto

Post by Yourname »

It's just the port and vhost that matters, mainly the port. Running it from the same dir will not at all hamper the botnet... and also what caesar said, same botnetname will cause problems.

Try it.
Dormant egghead.
User avatar
CrazyCat
Revered One
Posts: 1358
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Don't stress: I've 12 eggdrops in the same directory (yes, a small box) and no trouble to make them running together and linked via botnet.
The only things you have to do:
- make sure that the 9 first letters of nicks (and botnet-name) are differents,
- avoid having listen ports with "all" value, separate bots and users is better.
and so, the link is:
<egg1> .+bot egg2 127.0.0.1:bport2/uport2
<egg1> .botattr egg2 +h

<egg2> .+bot egg1 127.0.0.1:bport1/uport1
<egg2> .botattr egg1 +h

Why the two with +h flag? because if you have too much eggdrops with the same IP (127.0.0.1) linked, the real hub may ignore some of them when they all reconnect, so this little tip allow hub to link to an ignored leaf :)
Locked