Jump to content

d2038

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by d2038

  1. The first 2 could most likely be done fairly easy, the other 2 I'm not so sure about..The Bandwidth control i pretty much have no idea how to do And the problem with the Resume Capability is that Rapidshares server doesn't allow for specific offset requests as a Free RS user, that means when i send "GET blabla.rar at Offset 30000bytes" It wouldn't answer me back. It's intentionally disabled by RS to get people to buy Premium accounts for resume. So basically that's pretty much impossible to implement unless Rapidshare changed as to allow resume for Free accounts. Good ideas nonetheless. Oh i wasn't aware of the resume limitation, maybe i was confused with megaupload... About the speed control, the only way i see to do this is to find some app with command line parameters, i tried to find some kind of autoit functions but i didn't find any. The sort "links found" column could be done with _GUICtrlListView_SimpleSort(limited) or _GUICtrlListView_SortItems I implemented the deselect ip refresh, it was merely a copy/paste of the deselect shutdown feature, i changed this: $TrayShutdownToggle = TrayCreateItem("Shutdown On Finish") TrayItemSetOnEvent(-1,"TrayShutdownToggle") If BitAND(GUICtrlRead($CheckboxShutdown), $GUI_CHECKED) = $GUI_CHECKED Then TrayItemSetState($TrayShutdownToggle, 1) $TrayQuit = TrayCreateItem("Quit") TrayItemSetOnEvent(-1, "TrayExit") TraySetToolTip("RapidQueuer") TrayTip("RapidQueuer","Use tray for control.",5,16) With this: $TrayShutdownToggle = TrayCreateItem("Shutdown On Finish") TrayItemSetOnEvent(-1,"TrayShutdownToggle") If BitAND(GUICtrlRead($CheckboxShutdown), $GUI_CHECKED) = $GUI_CHECKED Then TrayItemSetState($TrayShutdownToggle, 1) $TrayIPRefreshToggle = TrayCreateItem("Refresh Ip") TrayItemSetOnEvent(-1,"TrayIPRefreshToggle") If BitAND(GUICtrlRead($CheckboxIPRefresh), $GUI_CHECKED) = $GUI_CHECKED Then TrayItemSetState($TrayIPRefreshToggle, 1) $TrayQuit = TrayCreateItem("Quit") TrayItemSetOnEvent(-1, "TrayExit") TraySetToolTip("RapidQueuer") TrayTip("RapidQueuer","Use tray for control.",5,16) An added this function: Func TrayIPRefreshToggle() ; Allows to enable/disable this feature during download if the user changes his/her mind. Select Case BitAND(GUICtrlRead($CheckboxIPRefresh), $GUI_CHECKED) = $GUI_CHECKED TrayItemSetState($TrayIPRefreshToggle, 4) ; tray unchecked GUICtrlSetState($CheckboxIPRefresh,$GUI_UNCHECKED) Case BitAND(GUICtrlRead($CheckboxIPRefresh), $GUI_UNCHECKED) = $GUI_UNCHECKED TrayItemSetState($TrayIPRefreshToggle, 1) ; tray checked GUICtrlSetState($CheckboxIPRefresh,$GUI_CHECKED) EndSelect Endfunc Another feature that could be implemented is "preferred mirrors", pick your favorites 2-3 rapishare mirrors. An easy way to select a mirror its to change the $DownloadFinalLink variable with the mirror you like, but if that mirrors fails or isn't available the download fails. Cheers.
  2. Hello Datenshi, thx for this great app, works like a charm . Currently my isp blocks (in reality slows down) rapidshare and megaupload downloads, so when a link that i try to download has "rapidshare" or "megaupload" in it, or in the http referer, it goes SLOWWWW!!!, the only way around this is to use the ip instead of the hostname, and to remove the referer (or never have it xD) Previously i was using jdownloader, but there wasn't any way that i could implement a workaround in it, but in rapidqueuer it was a matter of milliseconds xD, i just changed this: $DownloadFinalLink = "http://rs"&$ServerID&$APIMirror&".rapidshare.com/files/"&$FileID&$TicketNR[0]&$Filename With this: TCPStartup()$ RDomain = TCPNameToIP("rs"&$ServerID&$APIMirror&".rapidshare.com") $DownloadFinalLink = "http://"&$RDomain&"/files/"&$FileID&$TicketNR[0]&$Filename And voilà, full speed back again. The other great feature is the reset ip, i just changed the function with my code and all done, goodbye 15 minutes waiting xD So here a few features suggestions: -Make the "links found" column able to order the links alphabetically -Be able to deselect "ip change between downloads" on the tray icon -Some kind of speed/bandwidth control -Resume capabilities?, maybe something with curl, never tried it but it has this parameter: -C/--continue-at <offset> Continue/Resume a previous file transfer at the given offset. The given offset is the exact number of bytes that will be skipped, counting from the beginning of the source file before it is transferred to the destination. If used with uploads, the FTP server command SIZE will not be used by curl. Use "-C -" to tell curl to automatically find out where/how to resume the transfer. It then uses the given output/input files to figure that out. If this option is used several times, the last one will be used. Cheers
  3. Ty both for ur help, problem solved, StringInStr() and StringLeft() were the functions that i needed, these will help me in the future xD, back to testing and finishing my script, cheers.
  4. Hello, i need a little help, im using this code to get my public ip and make it a variable: #include <Inet.au3> Do $1=_GetIP() Until $1<> MsgBox(0, "", "It works")Lets say that the ip is 142.13.76.245, what i want is to match only the 142.13 part, so when in the script it differs from this range, the msgbox pops up. Hope u can help me. Sorry for bad english. Cheers.
×
×
  • Create New...