1. I have corrected the e-mail settings so that outgoing e-mails from these forums should be sent now. If you tried to Register or Reset your Password, please try again!
    Dismiss Notice

Pull outfit information

Discussion in 'Census: Planetside 2' started by FrenchBread, Mar 27, 2013.

  1. FrenchBread

    FrenchBread Guest

  2. Feldon

    Feldon Guest

    Looks like outfit_rank gives you the names of the different ranks within an Outfit if the Outfit Leader has customized them.

    For example this outfit:
    https://census.daybreakgames.com/xml/get/ps2-beta/outfit/37512160159744009?c:limit=10

    Code:
    <outfit id="37512160159744009" alias="" name="BTSK8" time_created="1.363788092E9" leader_character_id="5428053362661713425"/>
    has these ranks:
    https://census.daybreakgames.com/xml/get/ps2-beta/outfit_rank/37512160159744009?c:limit=99

    Code:
    <outfit_rank_list limit="0" returned="5" milliseconds="12"><outfit_rank id="37512160159744009" description="Outfit Leader" name="Chef" ordinal="1"/><outfit_rank id="37512160159744009" description="Outfit Officer" name="Co Chef" ordinal="2"/><outfit_rank id="37512160159744009" description="Outfit Private" name="Freunde" ordinal="4"/><outfit_rank id="37512160159744009" description="Outfit Member" name="Homie :D" ordinal="3"/><outfit_rank id="37512160159744009" description="Outfit Recruit" name="Recruit" ordinal="5"/></outfit_rank_list>
    Rather than doing 2 separate pulls, you can do a Resolve:
    https://census.daybreakgames.com/xml/get/ps2-beta/outfit/37512160159744009?c:resolve=rank&c:limit=10

    In fact, there are a number of resolves you can do under outfit:
    https://census.daybreakgames.com/xml/get/ps2-...name.first),member_character(rank,name.first)

    <outfit_list limit="0" returned="1" milliseconds="5">
    .<outfit id="37512160159744009" alias="" name="BTSK8" time_created="1.363788092E9" leader_character_id="5428053362661713425">
    ..<ranks_list>
    ...<ranks description="Outfit Leader" name="Chef" ordinal="1"/>
    ...<ranks description="Outfit Officer" name="Co Chef" ordinal="2"/>
    ...<ranks description="Outfit Private" name="Freunde" ordinal="4"/>
    ...<ranks description="Outfit Member" name="Homie :D" ordinal="3"/>
    ...<ranks description="Outfit Recruit" name="Recruit" ordinal="5"/>
    ..</ranks_list>
    ..<leader id="5428053362661713425">
    ...<name first="scater123"/>
    ...<type faction="vs"/>
    ..</leader>
    ..<members_list>
    ...<members rank="Chef" member_since="1.363788092E9" character_id="5428053362661713425">
    ....<name first="scater123"/>
    ...</members>
    ..</members_list>
    .</outfit>
    </outfit_list>

    If the Outfit Leader leaves the Ranks at the default settings, then the rank data does not come through:
    https://census.daybreakgames.com/xml/get/ps2-...name.first),member_character(rank,name.first)


    By the way, I have not played Planetside 2 so I am only going based on what I can learn from the PlanetSide 2 Players site and from looking at the data.
     

Share This Page