New P2P plugins (Azureus & Emule)
Posted: December 11th, 2007, 1:27 am
Hello.
( I divided the original post in two, one for each plugin, and I've reviewed the readme files for each one looking, for errors ).
This the Emule plugin I've wrote:
[...]
(28-Dec-2007) Update:
- Second function added (an 'about' info string).
- Now the plugin uses a config *.INI file.
- Rewriten file access (better error handling).
- The syntax of main function changes, please read the instructions.
- A example of config file is added.
(22-Mar-2008) Update
- Rewrite from scratch. New refresh interval: from 1 sec to 15 min (default: 5sec).
(02-May-2008) Update
- Bug fixed: The Emule stats file was opened in exclusive mode, this may lead to sharing conflicts when it was accessed at the same time by the plugin and Emule.
Use
---
Funtcion1 - Emule Global Stats
$dll(emule,1,<field_index>,<ignored>);
Where <field_index> values are:
Field
index
0 - Online flag (Value: 0=Offline, 1=Online)
1 - Server name
2 - Server IP
3 - Server Port
4 - Download Speed (in Kb/s)
5 - Upload Speed (in Kb/s)
6 - Number of clients in the download queue
Examples:
$dll(emule,1,1,) Show the Emule Server name
$dll(emule,1,2,) Show the Emule Server IP
...
Function2 - About info
$dll(emule,2,<ignored>,<ignored>)
Example:
$dll(emule,2,,)
bye
( I divided the original post in two, one for each plugin, and I've reviewed the readme files for each one looking, for errors ).
This the Emule plugin I've wrote:
[...]
(28-Dec-2007) Update:
- Second function added (an 'about' info string).
- Now the plugin uses a config *.INI file.
- Rewriten file access (better error handling).
- The syntax of main function changes, please read the instructions.
- A example of config file is added.
(22-Mar-2008) Update
- Rewrite from scratch. New refresh interval: from 1 sec to 15 min (default: 5sec).
(02-May-2008) Update
- Bug fixed: The Emule stats file was opened in exclusive mode, this may lead to sharing conflicts when it was accessed at the same time by the plugin and Emule.
Use
---
Funtcion1 - Emule Global Stats
$dll(emule,1,<field_index>,<ignored>);
Where <field_index> values are:
Field
index
0 - Online flag (Value: 0=Offline, 1=Online)
1 - Server name
2 - Server IP
3 - Server Port
4 - Download Speed (in Kb/s)
5 - Upload Speed (in Kb/s)
6 - Number of clients in the download queue
Examples:
$dll(emule,1,1,) Show the Emule Server name
$dll(emule,1,2,) Show the Emule Server IP
...
Function2 - About info
$dll(emule,2,<ignored>,<ignored>)
Example:
$dll(emule,2,,)
bye