546
edits
Epoximator (talk | contribs) No edit summary |
Epoximator (talk | contribs) (encryption and buddy support) |
||
Line 25: | Line 25: | ||
: I think it's a good idea. Modified a bit. --[[User:Epoximator|Epoximator]] 13:38, 26 November 2005 (CET) | : I think it's a good idea. Modified a bit. --[[User:Epoximator|Epoximator]] 13:38, 26 November 2005 (CET) | ||
== | == Buddy Commands == | ||
Group of commands used to administrate your buddylist. | |||
=== | === ADDBUDDY === | ||
=== | '''Command String:''' | ||
=== | * ADDBUDDY uid={int4 buddy uid} | ||
=== | * ADDBUDDY uname={int4 buddy name} | ||
=== | '''Possible Replies:''' | ||
=== | * XXX BUDDY ADDED | ||
=== | * XXX NO SUCH USER | ||
=== DELBUDDY === | |||
'''Command String:''' | |||
* DELBUDDY uid={int4 buddy uid} | |||
'''Possible Replies:''' | |||
* XXX BUDDY DELETED | |||
* XXX NO SUCH BUDDY | |||
* XXX YOU GOT NO FRIENDS | |||
=== ACCEPTBUDDY === | |||
'''Command String:''' | |||
* ACCEPTBUDDY uid=NNN | |||
'''Possible Replies:''' | |||
* XXX BUDDY ACCEPTED | |||
=== DENYBUDDY === | |||
'''Command String:''' | |||
* DENYBUDDY uid={int4 buddy uid} | |||
'''Possible Replies:''' | |||
* XXX BUDDY DENIED | |||
* XXX NO SUCH USER | |||
=== BUDDYLIST === | |||
'''Command String:''' | |||
* BUDDYLIST startat={int2 start at #} | |||
'''Possible Replies:''' | |||
* NNN {int2 start} {int2 end} {int2 total} BUDDY LIST | |||
: {int4 uid}|{str username}|{int2 accepted} | |||
: ... | |||
=== BUDDYSTATE === | |||
'''Command String:''' | |||
* BUDDYSTATE startat={int2 start at #} | |||
'''Possible Replies:''' | |||
* XXX {int2 start} {int2 end} {int2 total} BUDDY STATE | |||
: {int4 uid}|{int2 onlinestate} | |||
: ... | |||
'''Info:''' | |||
* onlinestate: 0=offline, 1=http online, 2=udp api online, 3=http&udp api online | |||
== Misc Commands == | == Misc Commands == | ||
=== | === ENCRYPT === | ||
== | Will cause all responses, except the first, to be encrypted (128 bit AES). The client will also have to encrypt the requests. The encryption key is the md5 hash of a special (new/to be added) password defined in the users profile. Normal AUTH is still necessary to authenticate. | ||
'''Command String:''' | |||
* ENCRYPT user={str name}[&type={int2 type}] | |||
'''Possible Replies:''' | |||
* XXX ENCRYPTION ENABLED | |||
* XXX NO SUCH USER | |||
* XXX ENCRYPTION PASSWORD NOT DEFINED | |||
* XXX NO SUCH TYPE | |||
'''Info:''' | |||
* user is username | |||
* type is type of encryption, 1 => 128 bit AES, none other defined atm | |||
* encryption pass must be set in profile settings | |||
* not possible to disable/escape. | |||
[[Category:Development]] | [[Category:Development]] |
edits