Jump to content


Photo

Find.xml Help: How do I add...


    1 reply to this topic

    #1 ssjseifer

    ssjseifer

      Newbie

    • Members
    • Pip
    • 4 posts

      Posted 18 December 2013 - 12:45 AM

      I have the Find.xml script showing a string on my screen. 

              <trackingText>
                  Forbidden Keys: ${ALL:forbidden key}  |  
                  Clusters: ${ALL:cluster}  |  
                  Seals: ${ALL:seal}  |
                  Gil: ${ALL:gil}  |
                  Cruor: ${ALL:cruor}
              </trackingText>
      

      This shows as "Forbidden Keys: ##  |  Clusters: ##  |  Seals: ##  |  Gil: #######  |  Cruor: 0"

       

      This brings up my inventory totals for the above items, except for Gil (displays one higher than I have) and Cruor (displays as 0).  Are there special search instructions for things like Cruor, Allied Notes, Conquest Points, etc? 

       

      When you use the Find plugin to search for gil, it finds 0 in each location except Inventory where it lists the amount of gil you have and 1 in Case where it finds Vigilance Mantle, explaining the 1 extra gil the Find.xml discovered. 

      Meanwhile, the FindAll AddOn only finds the Vigilance Mantle and not the gil.  I'm actually more interested in discovering a way to properly show gil, but not items with gil in the name than the ability to track my cruor without the menu, as they're pretty much all listed in that new Currencies tab in the Status menu, but I'd like an on screen show of gil.



      #2 Arcon

      Arcon

        Advanced Member

      • Windower Staff
      • 1189 posts
      • LocationMunich, Germany

      Posted 18 December 2013 - 05:17 AM

      The problem is on SE's part. They store gil as an item in your inventory that you have a huge amount of. That's the only reason Find can find it at all. findAll can't, because it doesn't have full access to the memory, the inventory struct is cleaned up for it. That's also why cruor don't show up, because they're not found in the inventory at all. There's no way to track that with the Find plugin, and I doubt there ever will be. Maybe it can be added to findAll at some point (you're welcome to do it).

       

      To fix Gil showing up as one too many, use ${INVENTORY:gil} instead of ${ALL:gil}, although the issue with items with gil in their name will persist if you get one of those in your inventory. It's more of an accident that Find allows gil to be tracked than a feature.


      • ssjseifer likes this




      1 user(s) are reading this topic

      0 members, 1 guests, 0 anonymous users