mIRC

Home About Download Register Community Help

Page 1 of 1 1
Topic Options
#7532 - 20/01/03 04:52 PM XDCC auto resume?
mazza2002
stranger


Registered: 20/01/03
Posts: 3
Hi all

I need a script to auto resume a started download.
I work away for 2 or more weeks at a time and usualy que up a load of downloads for the next time i am back.

As you can imagine most of the biggish ones fail. This is annoying as half the time I cannot find the same file again etc.

Does a script exist to enable me to auto resume?
if my download fails before completion the script pops me back into the cue with the same bot to resume the download.

This would realy make my day, thanks all.

Top
#7533 - 20/01/03 05:12 PM Re: XDCC auto resume?
MonoSex
addict


Registered: 10/12/02
Posts: 409
Loc: Ireland
In reply to:

This is annoying as half the time I cannot find the same file again etc.




Ofcourse it is, it's becouse mIRC is a CHAT client, not file sharing tool
You can go to this page and search for scripts.
Or better, use p2p program such as Kazaa

Top
#7534 - 20/01/03 05:17 PM Re: XDCC auto resume?
mazza2002
stranger


Registered: 20/01/03
Posts: 3
Thanks for your reply

Mirc is primarily a chat proggy but you can not find the wealth of files that reside on mirc fileshares and xdcc bots on Kazza.

I have been looking at some script pages but the descriptions are vague for most. Was wondering if anyone knew if this was possible and if so knew the name/location of a script for the job.

any takers?

Top
#7535 - 20/01/03 06:03 PM Re: XDCC auto resume?
Online
Pooh-Bah


Registered: 09/12/02
Posts: 2077
Since mIRC allows file transferring, and the rest is under the user's responsibility, and since I know the answer as one asked me for such a script in the past, I think it wouldn't be so bad to post it.

To make a XDCC request, you send:

/msg botnick XDCC Send #N

Now, all we need to do is creating a custom /msg alias, which stores the requests, and if a download stops, we'll know which pack number has to be requested again.

Note that it wouldn't work if you have a few files queued. It saves only the last request.

code:
alias msg {
msg $1-
if $2-3 == XDCC Send {
;
; The hash table 'xdcc' will look like:
;
; Item value
; <nick> <pack>
;
hadd -m xdcc $1 $4
}
}

On *:getfail:*:{
if $hget(xdcc,$nick) {
!msg $nick xdcc send $ifmatch
}
}


This script will send request every time the send stops. if you want to retry only 1 time, add hdel xdcc $nick under the msg $nick xdcc send $ifmatch line.

Top
#7536 - 20/01/03 06:54 PM Re: XDCC auto resume?
BlackAle
journeyman


Registered: 23/12/02
Posts: 82
Loc: Staffordshire, UK
You might like to try my script dccAssist it handles resumes and local queueing for xdcc packs, together with a pack catcher and many other facilities.
Top
#7537 - 21/01/03 10:21 AM Thanks Guys!
mazza2002
stranger


Registered: 20/01/03
Posts: 3
Thanks guys

anyone recommend me a good resource for learning how to script for mirc myself? Could do with a basic overview of what is possible then a syntax guide. Im a programmer by profession so it should not be to difficult to pick up the basics.

Thanks again.
Mazza

Top
#7538 - 21/01/03 04:03 PM Re: Thanks Guys!
Online
Pooh-Bah


Registered: 09/12/02
Posts: 2077
I'd recommend you to start with pairc.com, but unfortunately it's been down... too bad.

Helpdesk's website has a few well-explained tutorials, which covers most of the scripting aspects, plus links to other guides.

After you get the basics, check mircscripts.org's tutorial archive.

Good luck

Top
Page 1 of 1 1


Moderator:  d00dman, Hammer, Karen, Krejt, Mentality, Merlin, MIMP, ParaBrat, qwerty 
Hop to: