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

Resolving Members from Guilds

Discussion in 'Census: EverQuest II' started by ShidenSan, Dec 3, 2012.

  1. ShidenSan

    ShidenSan Guest

    Hey.  I'm working on a roster import from EQ2.  I'm having some issues getting the results I desire.

    Firstly, I don't understand why these two links are not producing similar data or a lack of a clear error message.  Can someone clarify why certain members won't resolve and others will?

    census.daybreakgames.com/xml/get/eq2/gui...resolve=members

    census.daybreakgames.com/xml/get/eq2/gui...resolve=members

    Secondly, I'm basically going to be writing a script to import all members of a guild into the website.  Unfortunately, from the "census.daybreakgames.com/xml/get/eq2/guild/id" call, we can not get deep-level character information like crafting and such.  So my approach is going to be to resolve the member list, get the ID to look them up by, then do a character lookup one at a time.

    However, I wound up coming up with this request as well:

    census.daybreakgames.com/xml/get/eq2/cha...3&c:limit=5

    This will get me the information I want and can get the entire list by adjusting the limit to 0.  However, this query appears to be dreadfully inefficient.  Any insight into the matter?

    Thanks!

     
  2. Dethdlr

    Dethdlr Guest

    Here's what's going on.  

    The Guild collection has the list of all the characters in the guild, their name, and their dbid.

    IF the character is visible in the data feeds, and IF the character has logged in since the data feeds went live (almost a year ago), then the guild collection will also have the id of the character. 

    When the ids are available, the resolve can do some pretty powerful things.  See if this query is close to what you're wanting to do:

    census.daybreakgames.com/xml/get/eq2/guild/1824...arytradeskills)

    You can add in pretty much anything from the character collection.  You just add c:resolve=members(whatever.you.want).

    Hope that helps.

    Dethdlr

    EQ2U Lead Programmer

     
  3. ShidenSan

    ShidenSan Guest

    That's perfect man.  I appreciate the quick response on the matter!

     
  4. Dethdlr

    Dethdlr Guest

    Glad I could help.  :)

     

Share This Page