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

Coming Soon: Dungeons!

Discussion in 'Census: General Discussion' started by DanKinney, Feb 13, 2012.

  1. DanKinney

    DanKinney Guest

    We will soon be including dungeon information in the data feeds.  Some of this will appear in the feeds in tomorrow's game update.  However, we found some issues that will not be live until the next update, which will be on Thursday.  I would recommend that you not rely on this data until Thursday.

    This data will appear in two new elements:

    First will be the dungeon_list.  This will be similar to the house_list, providing a list of the dungeons created by the character.

    <dungeon_list>    <dungeon id="6467174824018947072" name="Dungeon Name 1" published="0" type="Crushbone Keep 1"/>    <dungeon id="6467174824018947073" name="Dungeon Name 2" published="0" type="Lair of Scale 3"/>    <dungeon id="6467174824018947074" name="Dungeon Name 3" published="0" type="Chardok 01"/></dungeon_list>

    There will also be a dungeon_item_list, which will contain the items that the character can use within the Dungeon Maker tool.

    <span style="text-decoration: line-through;"><dungeon_item_list>    <dungeon_item id="399301099"/>    <dungeon_item id="2412141712"/>    <dungeon_item id="2474787494"/>    <dungeon_item id="3372759704"/></dungeon_item_list>

    Code:
    <dungeon_item_list>    <dungeon_item>399301099</dungeon_item>    <dungeon_item>2412141712</dungeon_item>    <dungeon_item>2474787494</dungeon_item>    <dungeon_item>3372759704</dungeon_item></dungeon_item_list>
     

    In JSON, this will be a simple array:

    Code:
    "dungeon_item_list": [399301099, 2412141712, 2474787494, 3372759704]
    These items will be in the items collection, referenced by a new attribute on those items: dungeon_item_id<span style="font-family: verdana, arial, helvetica, sans-serif;">.  This attribute will not be populated until Thursday.  

    We will be providing a c:resolve for these items soon after they are reliably in the feed.

    We are told that images will be provided for dungeons as well...no ETA yet on when they will be available.

    -dan



     
  2. Quicktiger

    Quicktiger Guest

    Woot + 1 <img src="/station/images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" border="0" />

    What is integer size for ids?  64 bits still?  Those numbers are getting close to the 2^63 size...

     
  3. DanKinney

    DanKinney Guest

    They should be of type "long long int" (64 bit).

    If you look at the feed after this morning's update, you will see something called dm_item_list.  On Thursday, this will be the dungeon_item_list and will have the format I described previously.  It will also contain the id for the appropriate item (today's does not).  I hope to also have the c:resolve ready on Thursday as well.

    -dan

     
  4. Quicktiger

    Quicktiger Guest

    I see the dm_item_list you mention, but it does include an item_id.  Looking that item up though results in no such item.

    Do you mean the item_id is bogus today?

    <span style="font-family: Times; font-size: medium;">
    Code:
     dm_item_list: - {item_id: 1266362962} dungeon_list: [] 

     
  5. DanKinney

    DanKinney Guest

    Correct.  It is the wrong ID.  It will be fixed on Thursday.  It will also be id (instead of item_id) to be consistent.  This (corrected) id will be resolvable to the item collection.

    -dan




     
  6. Quicktiger

    Quicktiger Guest

    btw, if it's just containing a reference to the item, is there any reason this isn't more like the spell_list and just an array of items?  Or is that how it is to be presented in json with the new change?

     
  7. DanKinney

    DanKinney Guest

    Yes, it should look like this in JSON:

    "dungeon_item_list": [    {        "id": 399301099    },     {        "id": 2412141712    },    {        "id": 2474787494   },    {        "id": 3372759704   }]

    -dan

     
  8. Proopai

    Proopai Guest

    I like this a lot its going to help me with my Dungeon Maker website more than expected.

     
  9. Quicktiger

    Quicktiger Guest

    OK, then the spell_list and dungeon_item_list are both listing just IDs, but both do it differently.  Any chance to normalize them to both list the items as a simple array of ids, or both as a hash with a single id field?

    --Quicktiger

     
  10. Zoltaroth

    Zoltaroth Guest

    Change it to be an array.  The IDs are unsigned 32bit ints.

    The IDs are acutally item IDs but they are IDs to the placable dungeon item which is never discovered and therefore never shows up.  Those aren't what you want anyway, what you want is the unlocker item.  So after the next update Dungeon Item Unlocker Items will have a dungeon_item_id which will then link to this ID.  Does that make sense?

    <span><dungeon_item_list>
    <span><dungeon_item><span >399301099<span></dungeon_item>
    <span><dungeon_item><span >2412141712<span></dungeon_item>
    <span><dungeon_item><span >2474787494<span></dungeon_item>
    <span><dungeon_item><span >3372759704<span></dungeon_item>

    <span></dungeon_item_list>


     
  11. Quicktiger

    Quicktiger Guest

    Yeppers, makes perfect sense.  <img src="/station/images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" border="0" />

    I think a strong recomendation would be to treat them as 64-bit integers though.  If they are going to be item IDs anyway, they may be 32-bit bit many other IDs are certanly not.  I've made the decision that unless it appears to be a small, simple counter (language id, faction id, etc) I assume it's 64-bit.

     
  12. DanKinney

    DanKinney Guest

    ...and if you like your data JSON-flavored, this should come across like the spell_list (as Quicktiger suggested)...

    "dungeon_item_list": [399301099, 2412141712, 2474787494, 3372759704]

    -dan

     
  13. Quicktiger

    Quicktiger Guest

    Awesome.  Will that go out in today's update?  Is there a fixed time for these periodic updates to your cluster?

     
  14. DanKinney

    DanKinney Guest

    It will be in tomorrow (Thursday, 16 Feb) as part of the game update.  We will follow that up with a minor update to our system to clean up the old data and to add the c:resolve.

    -dan

     
  15. Dethdlr

    Dethdlr Guest

    Is this (or did this) going out today or did it get pushed back a little? 

    No hurry or anything, just want to know if I should bother to keep checking for it today.  :)

    Thanks!

     
  16. DanKinney

    DanKinney Guest

    It was supposed to go out this morning....checking........

    -dan

     
  17. Lempo

    Lempo Guest

    The unlocked DM items are in the character feed as of today.

     
  18. Zoltaroth

    Zoltaroth Guest

    We didn't hotfix this morning.  Current plan is for a hotfix friday.

     
  19. Lempo

    Lempo Guest

    what is the dm_item_list in the character data then?

     
  20. Dethdlr

    Dethdlr Guest

    That went in Tuesday.  It's changing with the next hotfix.

     

Share This Page