Howto:setup xdcc/fserv on IRC

From Wiki

Jump to: navigation, search

Please Read How to download off IRC so you have a clue on what this is about.

If you just want to leech, read the above link. If you want to serve, continue reading.

You should be only doing ONE of the following options in this tutorial (1 bot, or 1 fserv)

Bots are a great way to contribute over irc. In this tutorial, we will go over the basics, using the programs IROFFER, Kiri, Sysreset, ATMA, Excursion, UPP and Invision.

Contents

XDCC

IROFFER

This guide is very basic, in that the iroffer config file has the best commenting ever, and there isn't much to say, unless you want to copy and paste every line from the config file.

First nab iroffer from

http://iroffer.org/download.html

Compiling: If your on a *nix system, just make sure you have gcc, make and configure, and just use your generic compile:


tar -zxpf (name of tarball you downloaded) cd (name of directory extracted to, its the same as the tar ball's name without the .tar.gz) ./configure make make install

[ ending compiling section ]


you can also add it to your cron...

# --- How To Use Cron ---
#
# Edit the iroffer.cron file's iroffer_dir, iroffer_exec, and
# iroffer_pid variables
#
# then crontab -e and place the following line in the editor
#
# */5 * * * * /full/path/to/iroffer/iroffer.cron
#


If you dont know what cron is... Cron is the name of program that enables unix users to execute commands or scripts (groups of commands) automatically at a specified time/date.

You can also add it to your init/rc so it runs on boot

On windows, you can just download the binary, and set it up.

Now its time to edit the config file... Its very well commented, so even a moron can do it. ( No offense to you morons out there)

f your on *nix, you should be out of xwindows, and in the console.

Just type in: pico (config file name)

On windows, you can open the config file in a text editor that supports unix line endings (use something like edit pad pro)

After your done with the configuration file, do this (VERY IMPORTANT):

  • NIX:./iroffer -c

WINDOWS: iroffer -c

Enter into your config file, and you are set!!!


Now, its the easy part.... starting iroffer

If you want to manage over irc, use these commands:

  • nix:./iroffer -b (config file name)

WINDOWS: iroffer -b (config file name)


If you want to manage the bot over a console:

  • nix: ./iroffer (config file name)

WINDOWS: iroffer (config file name)

If you are running this from home, id opt for the 2nd option, but if you are running this on a STRO, id opt for the 1st option.

Now, forward the ports you set in the config file and wait til the bot joins irc!!!

Now, let the leechers leech.


Some basic commands:

http://iroffer.org/docs/admin.html

make sure to assign a pack number usinc chdesc (pack and description) after using the add command.

For remote : /msg (bot name) admin pass ADD (file name) /msg (bot name) admin pass CDESC (pack number) (description)

For forground mode: ADD (file name) CDESC (pack number) (description)

If you use the help command, youll notice you can add entire directories.

Now, we will go on to KIRI.

KIRI

This is a gui based config, so if you do not understand this, you should just quit.

http://kiri.zsoft.co.uk/

Just install it, launch it, and go through the easy to use GUI configuration.

Also , make sure dont send to bottlers is on, because bottlers = fags.

And Now on to FSERV's

FSERV

1. Download and install MIRC

http://mirc.com

2. complete the How to download off IRC tutorial [Howto:Download_off_IRC|Here]

here are your options: 1. Download UPP 2. Download Invision 3. Download Sysreset 4. Download Excursion 5. Download ATMA (An fserv addon that works with nns)

ATMA Download link:

http://www.phoenixinquis.net/atma/

You can find links to all of these at How to download off IRC tutorial.

3. Install the script of your choice.


Now, we will go to single scripts.

UPP 1. Download and install UPP. 2. Go to upp's control panel 3. Double click the 'FILE SERVER' button, and go to the shared tab. 4. Click add.

This is relativly simple.

The directory is the real directory on yoru harddrive.

Example: C:\ICY\NARUTO - directory

Click add.

5. Go to the trigger tab and click ADD TRIGGER.

You can chose a normal trigger or a ctcp trigger.

Normal triggers are usually !(person name) (some crap here). ctcp triggers start as /ctcp (person name) (some crap here)

Id reccomend ctcp triggers... they dont show up in the channel, cutting down on annoying people.

So, fill in your trigger, and select the mount point you made in the previous step.

(this brings up a screen called browser\cache browser depending on yoru version) Okay out of that after you select your mount point, and then On the trigger screen, check respond to !list reply.

In the channel part, if you are on multiple channels that allow fserv's , set it to all. If you only want a trigger to be on one channel, select only, and add the channel you want it to be in.

Check enable welcome text, and select a text file that has TOS for your server.

Now,go to the queue pool. 7. click add, and set your settings to your upload.

Id reccomend 1 to 2 sends, and about 10 queues.

And a instant send is okay, for small files under 5 kb, so that you dont waste queues on those people.

Min CPS is the amount of speed that must be maintained, just ignore it, and then click okay.

Make sure each user can only have 1 send and 1 queue to be fair.

Make sure the send fail system is checked, just incase if a send fails, and keepspeed is checked. 8. Okay out of that till you get back to the trigger screen. 9. go to the fserv ad tab. Check all the boxes, and in channels, put it in only channels your serving in. Set the scheduled time to however often you want the ad to appear. 10. Go to the general tab and check enale fserv on start. 11. Click Apply 12. Click OKay

Note: To add more triggers repeat steps 3 to end. CONGRATULATIONS!!! YOU HAVE YOUR OWN UPP SERVER

ATMA This script can be added on to any other one that does not have a built in fserv. Common configuration is NoNameScript combined with ATMA.

1. Download atma, and unzip it into your mirc directory\atma. 2. run //load -rs " $+ $mircdir $+ atma\atma-install.mrc $+ " in mirc 3. Restart mirc 4. In the nonamescript menu, you should have ATMA listed. 5. Go to nonamescript->atma->configure 6. ON the server config screen, set your sends, enable a fserv ad every x minutes and make the server start on startup. 7. Now click triggers, and add one. Add a root directory, and check "This trigger is enabled. Set the channels your serving in. 8. Make sure the server starts on startup, and press enable file server. 9. The last part is the fserv ad. Click ad style, and select a preset. 10. Restart mIRC

YOUR DONE WITH ATMA!!!

For a complete setup, use a Fserv navigator such as Ren-Ren's Fserve Navigator, so you dont have to keep typing annoying triggers

INVISION

Invision is a great script for chatting and serving. It is aesthetically pleasing, and has many features suitable for new and old users.

1. Download and install invision 2. Go to invision -> File server manager 3. enable the following check boxes (setup tab): File server chat Anounce open slots Auto start on connect Enable !search and @find Enable Anti-camp (reccomended) Ctcp triggers only Enable all ad options but 2 line ad. Put a motd describing your files.

Now, add the channels you'll be serving on in advertising channels.

Press apply. 4. Click on the trigger tab.

Enable each trigger you are going to use. Set a directory adn a welcome file for each. The welcome file will be displayed when that triger is used, and the files will be served from the directory selected.

Make sure allow /ctcp is selected in each enabled trigger.

Press channels for each enabled trigger, and press on for each channel that should be served in.

Press apply. 5. Go to invision -> Save all settings.

6. Restart mIRC.

Note: The fserv should auto start, when serving channels are joined. However, if the server fails to autostart, go to Server Controls > File Server -> Start NOW


CONGRATS!!! YOU HAVE SETUP INVISION FOR FILE SERVING!!!

EXCURSION

Excursion is a great script for serving files. Most of its features are just for file serving, because basically thats all its good for. And the only part thats good in it is the fserv's.

1. Download and install Excursion. 2. Go to Script Options -> Script Settings -> Serving Choices and click FSERV. 3. Go to the general tab, and enable the following check boxes: /ctcp on Allow !list Enable file server 4. Go to the trigger tab, and uncheck all channels, and add the channels you will be serving on.

Then check the checkboxes: Enable Enable on start

Fill in the trigger, and some information about the files in your Note.

Then, select your root directory (where you are serving the files from) and select your welcome file (usually some legal mumbo jumbo).

Set your access levels allowed. If a certain group isnt selected, they cannot download from the fserv. THis is good for limiting files between user groups. 5. Repeat step 4 until all triggers needed are done. 6. Click okay, and restart mIRC. 7. If the server does not start when entering a channel, do this: Serving Ads -> Fserve Ads -> (trigger number) > Start

Note: This script will probably burn your eyes out, because it is REALLY that ugly.

SYSRESET

Haven't you ever heard "save the best for last"? Well, thats exactly what this script is. It has the best fserv features, but has the standard mirc look. Many people choose to setup an fserv with this, and then use another script like nnscript or invision to chat. If your serious about file serving, Sysreset is the script for you.

1. Download and install sysreset. 2. Go to sysreset -> file server manager. 3. Click the file server trigger tab. 4. Under settings, check the following: /ctcp trigger Enabled Respond to !list

Then, click add, under triggers.

It will ask you for your root directory (where you are serving files from) and your welcome file (the legal mumbo jumbo). If you want the default welcome, hit cancel when it asks you for it.

Then, select the trigger, and add channels you want to serve on. (You will have to uncheck "All channels") 5. Head to the Server Config tab.

Check the following: Ad delay (set it to something) Force close (set it to something, that people have enough time to grab what they want, and get kicked off , so others can look) Instant send (good for sending nfo's in a jiffy) Queues enabled

In resend control, check send.

Set a descripive file server ad message. If you want ops or voices or someone to have priority, then click priority queue control, and set that up. 6.Go to advanced options in server config, and select all the statistics you want in your ad.

Check the following boxes: Respond to /ctcp #channel !list Abort if user leaves (delay) Show triggers with full queues Clone protection enabled Assign channels per triggers


Set event reporting to 6.

if you have a firewall/router, check advanced firewall workaround and set the port to 59. Forward port 59 in your firewall/router. Then click done.

Otherwise, just click done.

7. Restart mirc

8. Go to syreset-> servers active -> on (if the channel you are on doesnt allow fserv ads, choose silent with !list)


CONGRATS, YOU SET YOURSELF UP WITH SYSRESET!!!

Personal tools