home *** CD-ROM | disk | FTP | other *** search
- Documentation for TorXDCC
-
- Current version : 0.9 beta 4, january 22 1996
-
- TorXDCC is a program to implement the XDCC protocol for mIRC, the windows IRC
- client by Khaled Mardam-Bey.
-
-
- INTRODUCTION
-
- The XDCC protocol on IRC is an extension of DCC functions already available in
- mIRC with which users can make files available to other users. In contrast to
- DCC filetransfers are not intiated by the sender, but by the receiver of the
- files. It consists essentially of two commands, 'xdcc list' and 'xdcc send'.
- With 'xdcc list' a person can ask which files are available from another user,
- and with 'xdcc send' the actual filetransfer is requested. This filetransfer
- is done with the standard DCC functions.
-
- XDCC can be implemented in mIRC by using the programmable parts of mIRC, but
- this is not easily done and changing to the offered files costs quite some
- time. For some time a utility, in the form of mIRC offer by st0rmcat, was
- available to automate the creation of suitable command and event sections, but
- the author has decided to discontinue supporting it.
- Because of some changes in mIRC 3.8 it can no longer be used, and therefore
- I decided to write my own XDCC utility.
-
- TorXDCC uses the DDE capability introduced in version 3.9 and cannot be used
- with earlier versions of mIRC. This means that TorXDCC is required to run
- simultaneously with mIRC, and that essentially only 2 lines need to be added
- to the events and command section of mIRC, On the other hand some more lines
- are added for easier usage of TorXDCC.
-
-
- CAUTION
-
- Be aware that this is a beta version of the program. I would really like
- comments and bug-reports on it.
-
-
- INSTALLATION
-
- 1. mIRC doesn't start automatically in DDE-server mode, you must put this on
- yourself by performing '/DDESERVER ON mirc'
-
- 2. From TorXDCC perform 'Tools|Install mirc'
- A check is performed to see whether mIRC is running, this is required to find
- the location of the mirc.ini file. A dialogbox appears where several options
- can be set.
-
- mIRC doesn't have to be closed for the installation, but the perform
- actionlist cannot be changed while mIRC is running. If the mirc file location
- contains spaces (win95 long filenames), mIRC must be closed during
- installation.
-
- When you have installed mIRC before and you want to change the userlevel for
- XDCC transfers you can choose to 'change userlevels in Remote sections' in
- stead of a 'Full install', only the Commands section and the Events section
- will be changed then.
-
- With 'Minimum userlevel for XDCC requests' you can limit access to the offered
- packs. With userlevel 1 all users on IRC have access to your packs.
-
-
- Manual Installation to mIRC
-
- The following changes are made to the mirc .ini-files. You can use these steps
- if installation to mIRC fails. Exchange <userlevel> with your actual chosen
- userlevel
-
- 1 'File|Options|Action Lists|Perform'
- Add '/ddeserver on mirc | /run <torxdcc path>TORXDCC.EXE'
- make sure 'Active' is checked
-
- 2 'Tools|Aliases'
- Add these 2 lines
- /tordde /dde torxdcc command XDCC *1
- /toffer /dde torxdcc command XDCC # list
-
- 3 'Tools|Popups'
- Add 4 lines to 'Main window'
- TorXDCC
- .Offer to current channel:/dde torxdcc command XDCC # list
- .Show summary to current channel:/dde torxdcc command XDCC # summary
- .Run TorXDCC:/run C:\DELPHI\PROJECT\TESTDDE\TORXDCC.EXE
- Add these lines to both 'Query/Chat window' and 'Channel names list'
- TorXDCC
- .Offer list:/dde torxdcc command XDCC $1 list
- .Send pack #?:/dde torxdcc command XDCC $1 send #$?
- If userlevel > 1 add lines to add remove people for access
- .Enable XDCC transfer:/auser -a <userlevel> $1
- .Disable XDCC transfer:/ruser <userlevel> $1
- Set all Popup windows to 'Active'
-
- 4 'Tools|Remote
- Add 2 lines to 'Commands'
- 1:Version:/notice $nick $dde torxdcc info VERSION
- <userlevel>:XDCC:/dde torxdcc command XDCC $nick $parms
- And one line to 'Events'
- <userlevel>:ON TEXT:XDCC*:?:/Closemsg $nick | /dde torxdcc command XDCC $nick $parm2*
- And set both these panels to 'Listening'
-
-
- Using TorXDCC
-
- First start up mIRC. The installation routine has put commands in the perform
- actionlist which will activate DDE-server mode and start up TorXDCC. TorXDCC
- will try to contact mIRC, and if it is succesfull, it will show some
- statistics from mIRC (version, connection, server,nickname and the number of
- channels). If it could not connect a messagebox is displayed which tells you
- to start up mIRC or put it in DDE-server mode.
-
- A list of offered files can be made with 'Tools|Edit XDCC list' In this
- dialogbox packs are formed. The descriptions of the packs appear in the left
- listbox, and the currently selected description can be edited in the editline
- at the right. Each pack can contain a number of files, which can be chosen
- with a fileselector. Multiple files can be selected at the same time. If a
- pack description doesn't contain files it is considered a comment.
-
- The packs you make can be saved and loaded in the file menu.
-
- The mIRC statistics in the main screen are updated every 2 minutes, the XDCC
- statistics every few seconds. Using 'File|Get mIRC data' forces TorXDCC to
- display the updated mIRC statistics within some seconds.
-
- The appearance of the offered lists to other users can be changed in
- 'Options|Offer Line Masks'. At the moment 4 lines can be edited. The place of
- the actual information in the lines can be set with placeholders with the
- following form; %xx%. You can insert these variables in the lines by pressing
- the buttons on the bottom of the dialogbox.
-
- The following variables are supported:
- For packs and general description.
- %np% number of packs
- %nn% own nickname
- %rn% Requester nickname/channel
- %sb% total size (bytes)
- %sk% total size (kilobytes)
- %sm% total size (megabytes)
-
- For the pack description and the line for sending a pack
- %pn% number of pack
- %pd% description of pack
- %pf% number of files in pack
- %pg% number of gets for the pack
- %pb% packsize (bytes)
- %pk% packsize (kilobytes)
- %pm% packsize (megabytes)
-
- 'Options|Appearance in mIRC' controls the notification sent to mIRC on the
- different requests to TorXDCC. These can be done with notices, which are sent
- to the currently opened window in mIRC or with messages which are sent to a
- separate query window with your own nickname. The form of these lines can be
- changed in the same way as the offerline masks.
-
- With 'Tools|Log Window' some of the communication between mIRC and TorXDCC
- can be observed, but at the moment it is mainly there for debugging purposes.
- The contents of the window can be copied to the clipboard, or saved in a file.
- Yours truly may ask you to do this sometime.
-
- To offer files in a channel type /toffer<enter> or right-click on the channel
- and choose 'TorXDCC|Offer to the current channel'. In some channels it is
- thought inappropriate to offer complete lists. Here you can make people aware
- of your offer with a summary.
- With 'Tools|Timed offer to channels' you can choose to offer your list to
- certain channels in regular intervals. The list included channels you're
- currently connected to, and channels already in the list. The interval must
- lie between 1 and 60 minutes. If the number entered here doesn't lie within
- that range the channel is excluded from the timed offer. You can choose if the
- offer is done in the form of a list or as a summary.
- You can also offer to individual people on a channel by selecting them in the
- names-list and right-clicking. Choose 'Offer list' to send a list, or
- 'Send pack ?', for sending a pack.
- If the installed userlevel in TorXDCC is higher than 1 also the possibility
- of enabling and disabling users for filetransfer is available here.
-
- Another alias can be used with the form '/tordde [Nick|Channel] [list|send #n]
- <enter>'. This performs the chosen XDCC command.
-
- ADVANCED FEATURES
-
- Timing of commands sent to mIRC:
- The default interval between commands sent to mIRC is 1000 ms (1 second) this
- value can be changed in the torxdcc.ini in section [General]-CommandInterval.
- Values between 100 and 30000 are accepted. With this value at 1000 I have not
- been flooded of IRC by XDCC requests yet.
-
-
- VERSION HISTORY
- 05-01-96 0.9 b1 :
- First public release
-
- 07-01-96 0.9 b2 :
- Automatic installation
- Bugfixes
- SendingLine missed a space
- Timed updating gave GPFs in mIRC -> disabled
-
- 12-01-96 0.9 b3 :
- Several popups added to installation
- Saving of Logwindow to File and Clipboard
- Added timed updating of statistics again
- Added %pg% variable in offer lines for number of gets
- Added XDCC statistics to main window for number of lists and
- pack requests in current session.
- When a user /msg'es a XDCC list or send, the message window
- gets automatically closed
- Notices of Lists and sends to other users do not appear anymore
- in the windows of mIRC
- Bugfixes
- 'List index out of bounds' should not appear anymore
- Changed wrong popups definitions
- Known bugs
- Very long lines in the .inis (remote/alias/popups) are
- truncated at 256 chars
-
- 22-01-96 0.9 b4
- Added notification of filetransfers to mIRC
- Improved installation
- Saving and loading of packs
- TorXDCC now can check if mIRC is running.
- Dialogbox for editing packs improved on several points, packs
- can now also be added to the last position of the list
- BugFixes
- Disabled running of TorXDCC twice
- Fixed a small memory leak on deletion of files from packs
- It was possible for a file to be twice in the same pack
-
-
- 28-01-96 0.9 b5
- Offering of a 'summary' now possible
- Timed offering to channels
- Comments can include variables now
- Improved dialogbox for line masks
- Automatic activation of Popups and Perform list during installation
- Bugfixes
- Better removal of previous XDCC commands
- Long lines in .ini's are not truncated anymore
- Improved versionreply :)
-
- FUTURE FEATURES
-
- - Keeping the mIRC stats more uptodate with mIRC
- - Getting transfer speeds
- - Even more statistics about the filetransfers, maybe setting up a
- list of the people that requested packs or lists
- - Getting mIRC to minimize DCC send windows (and making progress)
- - More configurability on message window closing
- - A helpfile
-
-
- Let me know what you think about the program. My e-mail address is
- j.oosting@farmaco.rulimburg.nl and I can sometimes be found on IRC, with
- nickname Torkie.
-