• Visit Rebornbuddy
  • Maps

    Discussion in 'Plugins' started by Trittium, Sep 24, 2015.

    1. Trittium

      Trittium New Member

      Joined:
      Aug 8, 2015
      Messages:
      127
      Likes Received:
      1
      Trophy Points:
      0
      Is there anything that will auto target maps while gathering. Meaning.....

      I run any sort of gathering profiles and when the plug in detects a map it auto takes over grabs map then resumes normal profile.
       
    2. y2krazy

      y2krazy Community Developer

      Joined:
      Jun 21, 2011
      Messages:
      2,805
      Likes Received:
      66
      Trophy Points:
      48
      It needs to be added into the profile you're running. Feel free to lmk what profile(s) you're using and if they're mine, I can add that in, or if they are other's profiles, I can show you what needs to be added/modified to include them.
       
    3. Veigue

      Veigue Member

      Joined:
      Jun 24, 2013
      Messages:
      69
      Likes Received:
      0
      Trophy Points:
      6
      By the way talking about that, y2krazy, could you show us how to add (if it is possible) to gather let's say X item on a node (a rare hidden item like a bottle treasure map) and when it's not there just take Y and if Y is not there take Z.
      Actually a priority gathering.

      Let's say in this profile (Just a basic one) :

      <Profile>
      <Name>Enter your profile name here</Name>
      <KillRadius>50</KillRadius>
      <CodeChunks>
      <CodeChunk Name="Botany">
      <![CDATA[ff14bot.Managers.ChatManager.SendChat("/gs 18");]]>
      </CodeChunk>
      </CodeChunks>
      <Order>
      <If Condition="not IsOnMap(155)">
      <TeleportTo Name="Dragonhead" AetheryteId="23" />
      </If>
      <Gather while="True">
      <GatherObject>Mature Tree</GatherObject>
      <HotSpots>
      <Hotspot Radius="80" X="-694.4224" Y="253.8849" Z="507.1119" name="Coerthas" />
      </HotSpots>
      <ItemNames>
      <ItemName>Mistletoe</ItemName>
      </ItemNames>
      <GatheringSkillOrder>
      <GatheringSkill SpellName="Blessed Harvest II" TimesToCast="1" />
      </GatheringSkillOrder>
      </Gather>
      <RunCode Name="Bard" />
      </Order>
      </Profile>

      Actually I'm really interested in creating profiles,and making them more complexe as time goes by so I'm really curious about all of this.

      And last question, is there an order you need to follow in the <Codechunk>,<order>,<profile> etc...? For example, I don't understand why " <RunCode Name="Bard" />" needs to be on that line and not in the <Codechunk> thing.

      Sorry for the annoying post.

      Cheers!
       
    4. y2krazy

      y2krazy Community Developer

      Joined:
      Jun 21, 2011
      Messages:
      2,805
      Likes Received:
      66
      Trophy Points:
      48
      Code:
      <Profile>
      <Name>Enter your profile name here</Name>
      <KillRadius>50</KillRadius>
      <CodeChunks>
      <CodeChunk Name="Botany">
      <![CDATA[ff14bot.Managers.ChatManager.SendChat("/gs 18");]]>
      </CodeChunk>
      </CodeChunks>
      <Order>
      <If Condition="not IsOnMap(155)">
      <TeleportTo Name="Dragonhead" AetheryteId="23" />
      </If>
      <Gather while="True">
      <GatherObject>Mature Tree</GatherObject>
      <HotSpots>
      <Hotspot Radius="80" X="-694.4224" Y="253.8849" Z="507.1119" name="Coerthas" />
      </HotSpots>
      <ItemNames>
      [B][COLOR="#FF0000"]<ItemName>Timeworn Goatskin Map</ItemName>[/COLOR][/B]
      <ItemName>Mistletoe</ItemName>
      [B][COLOR="#FF0000"]<ItemName>Ice Shard</ItemName>[/COLOR][/B]
      </ItemNames>
      <GatheringSkillOrder>
      <GatheringSkill SpellName="Blessed Harvest II" TimesToCast="1" /> 
      </GatheringSkillOrder>
      </Gather>
      <RunCode Name="Bard" />
      </Order>
      </Profile>
      ^ See bold, red text for how to setup an item priority. In this example, Timeworn Goatskin Map would be gathered first and Ice Shards would only be gathered if Mistletoe was not present.

      The <Profile> tag contains everything you want to use within the profile and should always be at the beginning and end of the .xml file. What you have between the <Order> tags is actually what will be run by the profile, in that order, from top to bottom. <CodeChunks> are snippets of code that you can call during what is being run between the <Order> tags, hence why you have to use <RunCode> to actually call the code "chunk" to be run at that specific time in the profile (in the above case, after your <Gather> tag has ended.

      Feel free to look at my profiles (and others') in order to get an idea of how the code is being used if you'd like.
       
    5. Veigue

      Veigue Member

      Joined:
      Jun 24, 2013
      Messages:
      69
      Likes Received:
      0
      Trophy Points:
      6
      Oh it's that simple, just put the top one as a priority. Easy :p Thank you! Very useful information.

      I'm gonna check your profiles and try to get some inspiration :=)

      EDIT : Are the spaces you leave from the left part of the page important or do they just serve for better reading?
       
      Last edited: Oct 15, 2015
    6. y2krazy

      y2krazy Community Developer

      Joined:
      Jun 21, 2011
      Messages:
      2,805
      Likes Received:
      66
      Trophy Points:
      48
      For ease of reading, basically. You could have no tabs or spaces and it would function the same.
       

    Share This Page