[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-users] Gui Protocol Question [1]
From: |
Mathias |
Subject: |
[Mldonkey-users] Gui Protocol Question [1] |
Date: |
Sun, 28 Sep 2003 19:51:47 +0200 |
User-agent: |
KMail/1.4.3 |
Aloha,
im just spended some hours of playing around with the gui-
protocol and mldonkey 2.5-3.
at the moment i:
- tell the core my version (16 ... i dont know what exactly to use ;)
- get the version of the core (16)
- get the networks like this:
Identifier : 7
Name : Donkey
En/Dis-abled:
ConfigFile : ./donkey.ini
Uploaded :
Downloaded :
- get the MOTD as OpCode 19
Question 1)
Why are in all network-propertys the following fields emty?
enabled/disabled, uploaded, downloaded.
Isnt that implemented yet?
- now if i want to turn on gui extensions
( http://mldonkey.lemmster.de/wiki/index.php/GuiExtensions )
with:
function TellExtensions($a,$b){
TellInt32(10); #length
TellInt16(47); #opcode
TellInt16(2); # number of list elements
TellInt32($a);
TellInt16($b);
}
TellExtensions(1,1);
the core logs on stdout:
Using protocol 16 for communications with the GUI
Decoding gui proto[16]: exception Invalid_argument("out-of-bound array or
string access"), opcode 47
ascii: [ /(0)(2)(0)(1)(0)(0)(0)(1)(0)]
dec: [(47)(0)(2)(0)(1)(0)(0)(0)(1)(0)]
Which is the correct format for gui extensions?
TellInt32() and TellInt(16) are working fine so far...
Regards,
Mathias
- [Mldonkey-users] Gui Protocol Question [1],
Mathias <=