Author Topic: How to automatically download a magnet link ?  (Read 4406 times)

0 Members and 1 Guest are viewing this topic.

Offline Kanubach

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-1
How to automatically download a magnet link ?
« on: 14 January, 2009, 14:24:33 »
Hi.

On my hub, I have a lua bot that collects stuffs posted by users. All the stuffs are logged within a file on the server by the bot, when it receives the new stuff command. Each stuff-record have many fields (file name, date, magnet link, etc.). The bot provides commands that display stuffs history, with magnet link for each stuff. Every user may click on the magnet on their client to launch the download of the corresponding file.
There are a lot of bots worldaround that do the same things.

My question is : is there a way, when a new stuff is trapped by the bot, to send to a (predefined list of) client a command that simulates a mouse-click on the corresponding magnet, ie that requests to the client the downloading of the file corresponding to the magnet ? All the clients are not concerned, only ones that have subscripted to this functionnality. This function would permit to concerned users to get all posted stuff, even if there are not working on their computer (during office time, night, etc.).

I'm currently working with PtokaX 0.3.6.0 / Lua 5.1.2
The must frequently client used is ApexDC++.

Many thanks.

PtokaX forum

How to automatically download a magnet link ?
« on: 14 January, 2009, 14:24:33 »

Offline HyperT3nsion

  • Junior Member
  • **
  • Posts: 18
  • Karma: +0/-1
  • Hyper T3nsion...! Magician!
    • Dirty South Crew Website
Re: How to automatically download a magnet link ?
« Reply #1 on: 14 January, 2009, 14:39:23 »
Nice...
but Ptokax 0.4.4.1 is out now...
try downloading that
most of the scripts are being made for that

http://www.dscmz.co.cc <--- My Website

Ptokax Rules...

Offline Kanubach

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-1
Re: How to automatically download a magnet link ?
« Reply #2 on: 14 January, 2009, 18:37:42 »
Thank's. I will try the last version.

Offline Madman

  • Scripter
  • Emperor
  • ******
  • Posts: 1 316
  • Karma: +75/-1
Re: How to automatically download a magnet link ?
« Reply #3 on: 14 January, 2009, 21:17:45 »
It is not posible to do that. If it where, hubowners could force users to download stuff.
And that would defently be abused

Only user can click the magnet link.

*Edit*

How ever, you still upgrade.
It's not like you drive a horse and wagon on the highway?
« Last Edit: 14 January, 2009, 21:19:20 by Madman »
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Offline CrazyGuy

  • Viking
  • ****
  • Posts: 506
  • Karma: +83/-20
    • ?????=-_The NightHawk_-=?????
Re: How to automatically download a magnet link ?
« Reply #4 on: 10 February, 2009, 08:57:35 »
I don't like your attitude!

Describe your concerns instead so they can be looked at

PtokaX forum

Re: How to automatically download a magnet link ?
« Reply #4 on: 10 February, 2009, 08:57:35 »