PDA

View Full Version : Mirc Rollback....



shinzuiski
11-08-2003, 02:26 PM
i remmember seeing the command but i cant remmember it, can someone please just post the rollback command for mirc.


i read krackheads guide again but i couldent find it in there.


thnx in advanced.

ZaZu
11-08-2003, 04:34 PM
You might find the answer here (http://dooyoo-uk.tripod.com/mirc/index.htm) I did not have time to go through the entire site ;)

shinzuiski
11-08-2003, 06:05 PM
yooooou son of a bitch!

:lol: jk

i cant seem to find it on that site, krackhead plz tell me it!

kaiweiler
11-09-2003, 06:07 PM
oh oh tell me too! :D
no i really do wanna know actually, i couldn't find it on that site either :unsure:

james_bond_rulez
11-09-2003, 06:20 PM
from krackhead's guide

Exit the Optins window, Press alt+r and paste this exact code in the window that pops up (it should be the mIRC Script Editor, Remote tab):


CODE
On *:GETFAIL:*: {
btrunc $filename $iif($calc($file($filename).size - 102400 ) > 0, $ifmatch, 0)
}

on *:FILERCVD:*: { .timers off }


The first command is an implementation of RESUME ROLLBACK. I can't stress enough how important this is. This means that whenever a send dies and we resume, the file is resumed some 100KB (or any other number you choose) before the last reception. This should ELIMINATE corruption problems which I for one have had a lot of - cases where I'd download a 2 GB tar file, only to find out quite a few rar files inside were corrupted. And if you think that doesn't happen often statisticly, think again. There are whole (packed) channels dedicated for sending missing rar files to ppl whose tars were corrupted. The best one i know of, btw, is #incomplete on Efnet, they have explanations there, a list of other similar chans, a web site, the works. It's a mandatory channel (actually more like a network) to know of, regardless.

shinzuiski
11-25-2003, 11:26 AM
ok umm i pasted it, now how do i set it to rollback 1mb ? or is it set as that already?

oh and in the code do i paste

CODE
On *:GETFAIL:*: {
btrunc $filename $iif($calc($file($filename).size - 102400 ) > 0, $ifmatch, 0)
}

on *:FILERCVD:*: { .timers off }

or --------------

On *:GETFAIL:*: {
btrunc $filename $iif($calc($file($filename).size - 102400 ) > 0, $ifmatch, 0)
}

on *:FILERCVD:*: { .timers off }

notice the difference between the 2 is that 1 has the word CODE ontop and the other doesnt.

james_bond_rulez
11-25-2003, 12:10 PM
how about adding a zero to 102400?

doh!!!