Changes between Version 15 and Version 16 of MuseekPlusProtocol


Ignore:
Timestamp:
03/07/2009 08:39:36 (8 years ago)
Author:
lbponey
Comment:

Update museekd protocol. Code commits will follow soon. Mostly backward compatible but some deprecations (sorry daelstrom).

Legend:

Unmodified
Added
Removed
Modified
  • MuseekPlusProtocol

    v15 v16  
    99|| 005 || [wiki:MuseekPlusProtocol#a0x0005 Set Status] ||
    1010|| 010 || [wiki:MuseekPlusProtocol#a0x0010 Status Message] ||
    11 || 011 || [wiki:MuseekPlusProtocol#a0x0011 Debug Message] ||Added to museekd-newnet||
     11|| 011 || [wiki:MuseekPlusProtocol#a0x0011 Debug Message] ||
     12|| 012 || [wiki:MuseekPlusProtocol#a0x0012 New Password] ||
    1213|| 100 || [wiki:MuseekPlusProtocol#a0x0100 Config State] ||
    1314|| 101 || [wiki:MuseekPlusProtocol#a0x0101 Config Set] ||
     
    3132|| 308 || [wiki:MuseekPlusProtocol#a0x0308 Room Tickers] ||
    3233|| 309 || [wiki:MuseekPlusProtocol#a0x0309 Set Room Ticker] ||
     34|| 310 || [wiki:MuseekPlusProtocol#a0x0310 Message Users] ||
     35|| 311 || [wiki:MuseekPlusProtocol#a0x0311 Message Buddies] ||
     36|| 312 || [wiki:MuseekPlusProtocol#a0x0312 Message Downloading] ||
     37|| 313 || [wiki:MuseekPlusProtocol#a0x0313 Ask Public Chat] ||
     38|| 314 || [wiki:MuseekPlusProtocol#a0x0314 Stop Public Chat] ||
     39|| 315 || [wiki:MuseekPlusProtocol#a0x0315 Public Chat] ||
     40|| 320 || [wiki:MuseekPlusProtocol#a0x0320 Private Room Toggle] ||
     41|| 321 || [wiki:MuseekPlusProtocol#a0x0321 Private Room List] ||
     42|| 322 || [wiki:MuseekPlusProtocol#a0x0322 Private Room Add User] ||
     43|| 323 || [wiki:MuseekPlusProtocol#a0x0323 Private Room Remove User] ||
     44|| 324 || [wiki:MuseekPlusProtocol#a0x0324 Room Members] ||
     45|| 325 || [wiki:MuseekPlusProtocol#a0x0325 Rooms Tickers] ||
     46|| 326 || [wiki:MuseekPlusProtocol#a0x0326 Private Room Alterable Members] ||
     47|| 327 || [wiki:MuseekPlusProtocol#a0x0327 Private Room Alterable Operators] ||
     48|| 328 || [wiki:MuseekPlusProtocol#a0x0328 Private Room Add Operator] ||
     49|| 329 || [wiki:MuseekPlusProtocol#a0x0329 Private Room Remove Operator] ||
     50|| 330 || [wiki:MuseekPlusProtocol#a0x0330 Private Room Dismember] ||
     51|| 331 || [wiki:MuseekPlusProtocol#a0x0331 Private Room Disown] ||
    3352|| 401 || [wiki:MuseekPlusProtocol#a0x0401 Search] ||
    3453|| 402 || [wiki:MuseekPlusProtocol#a0x0402 Search Reply] ||
     
    4564|| 506 || [wiki:MuseekPlusProtocol#a0x0506 Abort Transfer] ||
    4665|| 507 || [wiki:MuseekPlusProtocol#a0x0507 Upload File] ||
    47 || 508 || [wiki:MuseekPlusProtocol#a0x0508 Download Folder To..] ||Added to museekd-newnet2||
    48 || 509 || [wiki:MuseekPlusProtocol#a0x0509 Upload Folder] ||Added to museekd-newnet2||
     66|| 508 || [wiki:MuseekPlusProtocol#a0x0508 Download Folder To..] ||
     67|| 509 || [wiki:MuseekPlusProtocol#a0x0509 Upload Folder] ||
    4968|| 600 || [wiki:MuseekPlusProtocol#a0x0600 Get Recommendations] ||
    5069|| 601 || [wiki:MuseekPlusProtocol#a0x0601 Get Global Recommendations] ||
     
    142161   2. '''string'''  __message__ - ''If connected, this contains the message''
    143162
     163=== 0x0012 ===
     164'''New Password'''
     165 * Client - 'Sent to change password'
     166   * '''cipher''' __password__
     167 * Daemon - ''Received to confirm password has been changed''
     168   * '''cipher''' __password__
     169
    144170
    145171=== 0x0100 ===
     
    215241   1. '''uint''' __numfiles__ - ''User's file-count''
    216242   1. '''uint''' __numdirs__ - ''User's directory-count''
     243   1. '''bool''' __slotsfull__
     244   1. '''string''' __country__ - ''User's country code''
    217245
    218246=== 0x0204 ===
     
    255283=== 0x0300 ===
    256284'''Room state'''
     285''This message is deprecated since museekd 0.3. Use IRoomList, IPrivRoomList, IRoomMembers and IRoomsTickers instead.
    257286 * Client - ''List of rooms and joined rooms and their users''
    258287   * '''Not Sent'''
     
    300329=== 0x0303 ===
    301330'''Join room'''
    302  * Client - ''Join(ed) a room''
     331 * Client - ''Join a room''
    303332   1. '''string''' __room__ - ''The name of the room to join''
    304  * Daemon
     333   1. '''bool''' __private__ - ''True if the room should be private. Not present otherwise.''
     334 * Daemon - ''Joined a room''
    305335   1. '''string''' __room__ - ''The name of the room we joined''
    306336   1. '''uint''' __numusers__ - ''Number of users in this room''
     
    308338     1. '''string''' __username__ - ''Name of the user''
    309339     1. '''userdata''' __data__ - ''User's statistics''
     340   1. '''string''' __owner__ - ''Name of the private room owner. Only if private.''
     341   1. '''uint''' __numops__ - ''Number of operators in this room. Only if private.''
     342   1. Iterate the range of __numops__ ''Only if private.''
     343     1. '''string''' __username__ - ''Name of the operator. Only if private.''
    310344       
    311345=== 0x0304 ===
     
    363397   1. '''string''' __user__ - ''The user that set the ticker''
    364398   1. '''string''' __message__ - ''The actual ticker message''
     399       
     400=== 0x0310 ===
     401'''Message Users'''
     402 * Client - ''Send a message to a list of users''
     403   1. '''uint''' __numusers     ''How many users will receive this message''
     404   1. Iterate the range of __numusers__
     405     1. '''string''' __user__ - ''The user that will receive this message''
     406   1. '''string''' __message__ - ''The message''
     407 * Daemon
     408   * '''Not Sent by daemon'''
     409       
     410=== 0x0311 ===
     411'''Message Buddies'''
     412 * Client - ''Send a message to all buddies''
     413   1. '''string''' __message__ - ''The message''
     414 * Daemon
     415   * '''Not Sent by daemon'''
     416       
     417=== 0x0312 ===
     418'''Message Downloading'''
     419 * Client - ''Send a message to all downloading users''
     420   1. '''string''' __message__ - ''The message''
     421 * Daemon
     422   * '''Not Sent by daemon'''
     423       
     424=== 0x0313 ===
     425'''Ask Public Chat'''
     426 * Client - ''Ask the server to send us public chat''
     427   1. '''Empty'''
     428 * Daemon - ''Confirmation''
     429   * '''Empty'''
     430       
     431=== 0x0314 ===
     432'''Stop Public Chat'''
     433 * Client - ''Ask the server to stop sending public chat''
     434   1. '''Empty'''
     435 * Daemon - ''Confirmation''
     436   1. '''Empty'''
     437       
     438=== 0x0315 ===
     439'''Public Chat'''
     440 * Client - ''Some public chat''
     441   * '''Not received from clients'''
     442 * Daemon - ''Confirmation''
     443   1. '''string''' - ''room''
     444   1. '''string''' - ''user''
     445   1. '''string''' - ''message''
     446       
     447=== 0x0320 ===
     448'''Private Room Toggle'''
     449 * Client - ''Can we be added as member/op''
     450   1. '''bool''' - ''Enabled''
     451 * Daemon - ''Confirmation''
     452   1. '''bool''' - ''Enabled''
     453       
     454=== 0x0321 ===
     455'''Private Room List'''
     456 * Client
     457   * Not received from clients
     458 * Daemon - ''List of private rooms''
     459   1. '''uint''' __numrooms__ - ''Number of rooms''
     460   1. Iterate the range of __numrooms__
     461     1. '''string''' __room__ - ''The room name''
     462     1. '''uint''' __numusers__ - ''Number of users''
     463     1. '''uint''' __status__ - ''Our status in the room (0=>member, 1=>operator, 2=>owner)''
     464       
     465=== 0x0322 ===
     466'''Private Room Add User'''
     467 * Client - ''Ask to add user''
     468   1. '''string''' - ''Room''
     469   1. '''string''' - ''User''
     470 * Daemon - ''Confirmation''
     471   1. '''string''' - ''Room''
     472   1. '''string''' - ''User''
     473       
     474=== 0x0323 ===
     475'''Private Room Remove User'''
     476 * Client - ''Ask to remove user''
     477   1. '''string''' - ''Room''
     478   1. '''string''' - ''User''
     479 * Daemon - ''Confirmation''
     480   1. '''string''' - ''Room''
     481   1. '''string''' - ''User''
     482       
     483=== 0x0324 ===
     484'''Room Members'''
     485 * Client
     486   * ''Not received from clients''
     487 * Daemon
     488   1. '''uint''' __numrooms__ - ''Number of rooms''
     489   1. Iterate the range of __numrooms__
     490     1. '''string''' __room__ - ''The room name''
     491     1. '''uint''' __numusers__ - ''Number of users''
     492     1. Iterate the range of __numusers__
     493       1. '''UserData''' __userdata__ - ''User data''
     494       1. '''uint''' __status__ - ''User status in the room (0=>member, 1=>operator, 2=>owner)''
     495       
     496=== 0x0325 ===
     497'''Rooms Tickers'''
     498 * Client
     499   * ''Not received from clients''
     500 * Daemon
     501   1. '''uint''' __numrooms__ - ''Number of rooms''
     502   1. Iterate the range of __numrooms__
     503     1. '''string''' __room__ - ''The room name''
     504     1. '''uint''' __numtickers__ - ''Number of tickers''
     505     1. Iterate the range of __numtickers__
     506       1. '''string''' __user__ - ''User name''
     507       1. '''string''' __ticker__ - ''User's message''
     508       
     509=== 0x0326 ===
     510'''Private Room Alterable Members'''
     511 * Client
     512   * ''Not received from clients''
     513 * Daemon
     514   1. '''string''' - Room name
     515   1. '''uint''' __nummembers__ - ''Number of alterable members''
     516   1. Iterate the range of __nummembers__
     517     1. '''string''' __member__ - ''The member's name''
     518       
     519=== 0x0327 ===
     520'''Private Room Alterable Operators'''
     521 * Client
     522   * ''Not received from clients''
     523 * Daemon
     524   1. '''string''' - Room name
     525   1. '''uint''' __numops__ - ''Number of alterable ops''
     526   1. Iterate the range of __numops__
     527     1. '''string''' __operator__ - ''The operator's name''
     528       
     529=== 0x0328 ===
     530'''Private Room Add Operator'''
     531 * Client - ''Ask to add operator''
     532   1. '''string''' - ''Room''
     533   1. '''string''' - ''User''
     534 * Daemon - ''Confirmation''
     535   1. '''string''' - ''Room''
     536   1. '''string''' - ''User''
     537       
     538=== 0x0329 ===
     539'''Private Room Remove Operator'''
     540 * Client - ''Ask to remove operator''
     541   1. '''string''' - ''Room''
     542   1. '''string''' - ''User''
     543 * Daemon - ''Confirmation''
     544   1. '''string''' - ''Room''
     545   1. '''string''' - ''User''
     546       
     547=== 0x0330 ===
     548'''Private Room Dismember'''
     549 * Client - ''Dismember from a room''
     550   1. '''string''' - ''Room''
     551 * Daemon
     552   * ''Not Sent''
     553       
     554=== 0x0331 ===
     555'''Private Room Disown'''
     556 * Client - ''Disown a room''
     557   1. '''string''' - ''Room''
     558 * Daemon
     559   * ''Not Sent''
    365560       
    366561=== 0x0401  ===