viewing paste ra_interserv_doc.txt | Text

Posted on the | Last edited on
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
//===== rAthena Documentation ================================
//= Inter-server <=> map-server packet List
//===== By: ==================================================
//= rAthena Dev Team
//===== Current Version: =====================================
//= 2013/06/08 06:13:39
//===== Description: =========================================
//= List of current packets usages and functions.
//============================================================
 
S map => inter; intif.c => inter.c
R inter => map; inter.c => intif.c
 
Lenght table for packet
S 3000-309f
    -1,-1, 7,-1, -1,13,36, (18 + NAME_LENGTH),  0, 0, 0, 0,  0, 0,  0, 0,   // 3000-
     6,-1, 0, 0,  0, 0, 0, 0, 10,-1, 0, 0,  0, 0,  0, 0,    // 3010
    -1,10,-1,14, 14,19, 6,-1, 14,14, 0, 0,  0, 0,  0, 0,    // 3020
    -1, 6,-1,-1, 55,19, 6,-1, 14,-1,-1,-1, 18,19,186,-1,    // 3030
    -1, 9, 0, 0,  0, 0, 0, 0,  7, 6,10,10, 10,-1,  0, 0,    // 3040
    -1,-1,10,10,  0,-1, 0, 0,  0, 0, 0, 0,  0, 0,  0, 0,    // 3050 
     6,-1, 0, 0,  0, 0, 0, 0,  0, 0, 0, 0,  0, 0,  0, 0,    // 3060
    -1,10, 6,-1,  0, 0, 0, 0,  0, 0, 0, 0, -1,10,  6,-1,    // 3070
    48,14,-1, 6,  0, 0, 0, 0,  0, 0, 0, 0,  0, 0,  0, 0,    // 3080
    -1,10,-1, 6,  0, 0, 0, 0,  0, 0, 0, 0,  0, 0,  0, 0,    // 3090
R 3800-389f
    -1,-1,27,-1, -1, 0,37,-1,  0, 0, 0, 0,  0, 0,  0, 0, //0x3800
     0, 0, 0, 0,  0, 0, 0, 0, -1,11, 0, 0,  0, 0,  0, 0, //0x3810
    39,-1,15,15, 14,19, 7,-1,  0, 0, 0, 0,  0, 0,  0, 0, //0x3820
    10,-1,15, 0, 79,19, 7,-1,  0,-1,-1,-1, 14,67,186,-1, //0x3830
    -1, 0, 0,14,  0, 0, 0, 0, -1,74,-1,11, 11,-1,  0, 0, //0x3840
    -1,-1, 7, 7,  7,11, 0, 0,  0, 0, 0, 0,  0, 0,  0, 0, //0x3850
    -1, 7, 0, 0,  0, 0, 0, 0,  0, 0, 0, 0,  0, 0,  0, 0, //0x3860 
    -1, 3, 3, 0,  0, 0, 0, 0,  0, 0, 0, 0, -1, 3,  3, 0, //0x3870
    11,-1, 7, 3,  0, 0, 0, 0,  0, 0, 0, 0,  0, 0,  0, 0, //0x3880
    -1,-1, 7, 3,  0, 0, 0, 0,  0, 0, 0, 0,  0, 0,  0, 0, //0x3890s
 
S 3000 : <len>.W <fontcolor>.L <fonttype>.W <fontsize>.W <fontalign>.W <fontY>.W <mes>.?B
    Used in :
    int intif_broadcast(const char* mes, int len, int type)
    int intif_broadcast2(const char* mes, int len, unsigned long fontColor, short fontType, short fontSize, short fontAlign, short fontY)
    @fontcolor :
    @fonttype :
    @fontsize :
    @fontalign :
    @fontalign :
    @fontY :
    @mes : message to transmit to all player
    Desc :
    Broadcast message to all other mapserver without self
    
S 3001 : <len>.W <name>.24B <nick>.24B <mes> ?B
    Used in: 
    int intif_wis_message(struct map_session_data *sd, char *nick, char *mes, int mes_len)
    @nick : player nick
    @name : player name
    @mes : message to transmit to "name"
    Desc :
    Transmit whisper to char_serv to found target on other mapserv
    
S 3002 : <id>.L <flag>.B    
    Used in: 
    int intif_wis_replay(int id, int flag)
    @id :
    @flag :
        0 - success to send wisper
        1 - target character is not loged in?
        2 - ignored by target
    Desc :
    Awnser to an 0x3801 request, inform char of the target status in this mapserv.
 
S 3003 : <len>.W <wisp_name>.24B <permission>.L <mes>.?B    
    Used in: 
    int intif_wis_message_to_gm(char *wisp_name, int permission, char *mes)
    @wisp_name :
    @permission : group permission (cf doc/permissions.txt) 
    @mes : message to transmit to "wisp_name"
    Desc :
    Ask to send a multicast message to all player that have "permission", (pass to inter for multimap support)
    
S 3004 : <len>.W <aid>.L <charid>.L <type>.B    
    Used in: 
    int intif_saveregistry(struct map_session_data *sd, int type)
    @aid : user account id
    @charid : user char id
    @type :
        1 - save Account2 registry
        2 - save Account Registry
        3 - save Character registry
    @permission :
    @mes : 
    Desc :
    Save registry values to sql and inform other mapserv to update.
    
S 3005 : <aid>.L <charid>.L <acc-reg2_flag>.B <acc-reg_flag>.B <char-reg_flag>.B
    Used in: 
    int intif_request_registry(struct map_session_data *sd, int flag)
    @aid : user account id
    @charid : user char id
    @acc-reg2_flag : Ask Login Server for Account2 values.
    @acc-reg_flag : Load Account Registry
    @char-reg_flag : Load Char Registry
    Desc :
    Request char-server registry values for player
        
    
 
 
Viewed 1266 times, submitted by lighta.