The Basics of setting up an IRC server using Sysreset
Silent_Moon's n00b corner
OK. This has no pretention of being the only way of setting up a server under mIRC. This is just, written down once for all, the same stuff that i keep repeating day after day to people who want to serve and don't have a clue about scripts whatsoever. Yeah, YOU ! =p
Hopefully this will lighten my burden a bit... ^^;
1st Step :
Get yourself a copy of the latest sysreset client for mIRC. This is not the only script around, but it is fairly complete, has an intuitive GUI interface, and most importantly of all, is used by the majority of people, which is always helpful in case of troubleshooting. You can get it here.
2nd Step :
Once you've installed it, you will notice it looks a lot like your original mIRC client. This is because it IS indeed mIRC. Sysreset is a pack of scripts that enhances mIRC fonctionality, not a program by itself. Keep that in mind. If you were to have 1337 programming skills you could have done it yourself. But that's not the point.
The main difference between plain mIRC and Sysreset is that new menu item. This is where you want to go. Pick up the File Server Manager item.
You'll be prompted to a new window with several possible choices :
|Transfer Manager is for
keeping an eye on your sends and gets. There's nothing to it really, you
can pretty much figure it out by yourself.
Server Config holds all the parameters and setups for your server in terms of connection and general interactivity... We'll come back to that one in step 4.
File Server Triggers, TDCC Triggers and XDCC Triggers are respectively places to set up specific Fserves, TDCCs and XDCCs
A Fserve is the most spread out type of server around. It allows people to browse one of your folders that you decided to share and pick file from it. Since this is perfect for beginners i'll explain in detail how to set up this kind of server in the next step.
A TDCC is used when you only want to serve one file. It allows people to get or queue that particular file from you without browsing your folders, which is quite less demanding in terms of ressources on your side.
A XDCC can be seen as a multiple-files TDCC. It allows users to pick among a list of shared file, not necessarily in the same folder. Be warned however that for many files, the ressources drain is a lot heavier than with a regular fserve, since it sends on request to each user the whole list of files served. It is also the method used by most broadband releasing bots.
3rd Step : Setting up an Fserve
Go to the File Server Triggers Section. This is what you should see, more or less :
Main difference would be that your screen does not show anything in the trigger list, nor in the channel list.
So then, for your first trigger, push the Add button and type in whatever you want. It will then prompt you for a welcome file, which you can skip, and for a folder to share - the Server Root.
Once this is done, highlight the trigger you just created and check the following boxes : Enabled, /CTCP Trigger (which will make your trigger silent, required in a number of channels), and Respond to !list.
For now, you shouldn't be able to access the channel list. This means your server will show in all the rooms you are in. If you don't want that, there is a way that will be explained in Step 5
The Access Mode menu lets you choose if you want this particular trigger to be accessible only to voiced people, ops, voiced and ops, or to just everyone.
The Queue Pool lets you assign different queues to different triggers. For example, you may want that people getting 3 megs mp3s do not wait in the same line as people queueing for 700 megs movies... just to make things fair. Be warned, however, that you must have at least 1 send at any time for each queue pool you're using. We'll see in next step how to create new queue pools.
4th Step : Server Configuration
Now go to the Server Config section. You will see that screen :
The big blank space in the left part lets you set a Server Message. This is what people will see, when !listing in a channel you are serving in, just after your trigger. Most people just write here a quick summary of what they are sharing, but you're free to come up with whatever you wish. Or nothing at all, for that matter.
If you want to run your server silent, as it is mandatory in many channels, you'll have to disable the channel ads (uncheck the ad delay box). This way, people will know about your server only if they !list.
Set the force close to whatever you want. It's the delay until which your server will close the session automatically, to avoid camping.
The Max Users setting allows you to choose how many people will be able to log into your server at the same time. It is NOT the number of people that can download from you at the same time. Set it to what you want, more than 1 is recommended to avoid lag issues.
The Queue pool thing in the middle of the window is where you can create new pools by choosing Add and providing a name. All the settings on the left are specific to each queue pool, so be careful to be consistent when playing with those. Once a new pool has been created, go back to the File Server Triggers section and assign this pool to your trigger. Remember to always highlight the trigger before you try to change any settings there, or it won't do anything.
The Lower-middle part of the tab allows you to set parameters relative to speed. Instant send sets the maximum size below which the user will get the file instantly, whatever the queue may be. This can be dangerous if you are too slow, and share stuff like pictures for example. If you set this too high, all pictures will be instant sends, and you will end up flooding out. here again, try to be consistent with your share and bandwith. The min cps and max cps are respectively the minimum required and maximum allowed speed on your server. Sends below the min cps for a certain time will be terminated, and no send will go above your set max cps. The values are in bytes per second.
To the Right, Max Sends determines how many simultaneous sends you can have, for each user and in total. It would seem kinda logical to set up "each" lower than "total", but you're free to look smart ^^
Max Queues is the same thing with queues. You better enable them by the way; could prove useful. Of course, those settings are to be done for each queue pool.
Resend Control lets you set the number of times a failed send will try again, and how it will do: resend directly (send), requeue in 1st place (start) or in last place (end)
Send Bumping is used when you want your sends to show some flexibility. If the total amount of bandwith used for all your sends is smaller than the min cps set here, it will increase the number of send slots by the value you specify. This is the theory, don't ask me more about that. My poor upload doesn't allow me to enjoy this tool to its fullest, you see ^^;
5th Step : Advanced Options
You thought you were done ! Ha ! Just switch from basic options to advanced options... this is what you get :
There are both very important settings and totally useless ones here. Let's look at them as they come, you'll do the sorting by yourself
The Color Configuration is one of the very important features. It lets you decide which colors will be used for your server. Beware ! This will have a direct impact on the way people see you. Chose Purple and Blue, you are 1337. Pick Yellow and Brown, you need a eye-check. Follow your taste or your friends' here.
The Advanced Fileserver part contains some of the most useful tools. You can basically ignore most of them but if you are a LAN user, or using any type of nasty firewall, you will love the Firewall Workaround. Enable it and pick a port (usually 59, that's what most people use and it's easier for leechers), and you WILL be able to serve even though behind a firewall. Yeah. Just like that. ... Or not, but then you're screwed anyway. Try other ports which might be open on your system, but it gets complicated and i hate routers. So bear with it.
Show Triggers with Full Queues, if uncheck, will hide your server if all your queues are full, so that people won't hammer you in vain (that's the theory)
Assign channels per trigger is another very important feature. You may want to serve certain stuff in a certain channel, and some other elsewhere. But as things are set up now, all your triggers show in all rooms you are in. Check this box and... Go back to File Server Triggers. You will now have to uncheck the "all channels" box on the right and add, for each trigger, the names of the channels you want them to be advertised in. Pretty useful, trust me.
The Statistics gathering on the right is stuff that is shown in your server ad. If you want people to awe before your record cps or the number of files you sent, check the boxes.
6th Step : Starting the Server
|You're done with the
setup... All that's left is to start the server. In order to achieve that,
press Done in the File Server Manager.
Go back to the sysreset menu, Server Active, and put it ON. Since you already disabled the ads, your server will effectively be silent.
That's it. You're ready to share the wealth, enjoy ! ^__^
On a side note, you can also look to the server addon manager, and load whatever appeals to you... there are lots of useful tools in there, or at least funny ones. Go look for yourself !
I will add a Troubleshouting section if needed... as soon as i meet the cases. But for now, that's it.
Please send any bug, lack of information, mistake or new release to Silent_Moon. ^^