• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [OrderBot] BTN/MIN Cluster Farm

    Discussion in 'Mining-Botany Profiles' started by Sodimm, Dec 4, 2014.

    1. Tinytox

      Tinytox Member

      Joined:
      Nov 5, 2014
      Messages:
      370
      Likes Received:
      7
      Trophy Points:
      18
      Disclaimer: This is totally Sodimm's profile that I just modified the quantity of the clusters to be acquired. Literally, Fire clusters are the first one this script tries to obtain, that being said, I just raised the value to 9900 (find and replace all for the value of 500 -> 9900)

      In the future, if you would like to make it just obtain one type of cluster, you simply have to change the item ID's and the slot number, as well as the quantity value.
      View attachment ModifiedClusterFarm_Tinytox.xml
       
    2. sasytherev

      sasytherev New Member

      Joined:
      May 1, 2015
      Messages:
      44
      Likes Received:
      0
      Trophy Points:
      0
      thy so much!
       
    3. altnob

      altnob New Member

      Joined:
      Nov 24, 2012
      Messages:
      183
      Likes Received:
      1
      Trophy Points:
      0
      anyway to use this without botany?
       
    4. Sodimm

      Sodimm Member

      Joined:
      Nov 8, 2014
      Messages:
      383
      Likes Received:
      7
      Trophy Points:
      18
      Latest patch removed this profiles ability to restart. I've re-added the <While> tags, which; in theory, should allow the profile to loop. But it may stop the profile after a full round of each cluster. Which is why I put the restart code in to begin with. Apologies if this doesn't work fully as intended, there's nothing I can do about it.
       
    5. sasytherev

      sasytherev New Member

      Joined:
      May 1, 2015
      Messages:
      44
      Likes Received:
      0
      Trophy Points:
      0
      is second day consecutive that after i let bot open for some times, when i come back is stucked. Here's the message

      [15:00:01.021 D] Removed hook [PoiAction] 4f0d77fc-c57a-4884-914b-fc13d93170f5
      [15:00:01.021 V] [Poi.Clear] Reason: Current behavior changed to RunCode: LineNumber: 165, Name: ReStart, IsDone: False, HighPriority: False, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: TreeSharp.ActionRunCoroutine, .
      [15:00:01.021 D] Replaced hook [ProfileOrderBehavior_Hook] cc466745-2d3d-4b2f-90cd-39a3f9b80c86
      [15:00:01.022 N] Stopping the bot.
      [15:00:01.022 D] CurrentBot.Stop()
      [15:00:01.026 N] Connection closed! 192.99.148.87:31214

      I have to put start again for make it continue farming!

      reason?
       
    6. Sodimm

      Sodimm Member

      Joined:
      Nov 8, 2014
      Messages:
      383
      Likes Received:
      7
      Trophy Points:
      18
      Restart runcode now non functional, as per my post right above yours, download and use v1.6 from the first post.
       
    7. sasytherev

      sasytherev New Member

      Joined:
      May 1, 2015
      Messages:
      44
      Likes Received:
      0
      Trophy Points:
      0
      the bot is already updated. u mean i have to download ur profile again?

      Seems to working now with ur 1.6 profile
       
      Last edited: Jun 14, 2015
    8. Sinanju

      Sinanju Member

      Joined:
      Apr 14, 2015
      Messages:
      59
      Likes Received:
      0
      Trophy Points:
      6
      Is there any way to get this profile to teleport to your personal or FC housing after it gets the clusters? I just want it to seem less conspicuous because I can see a ton of people standing around at the hotspots during the downtime. I've tried altering the profile to teleport to my own house, but the command will make my character teleport back to my house non-stop.
       
    9. becto

      becto Member

      Joined:
      Mar 14, 2014
      Messages:
      104
      Likes Received:
      5
      Trophy Points:
      18
      I had the same issue as you and received help from mastahg. This is what I created in a few of my custom profiles. IsOnMap(341) is my housing area. You can get that by using this in the console.
      Log("{0} {1}",WorldManager.ZoneId,Core.Player.Location);​

      This is in the Order section of the profile.
      Code:
      	<If Condition="IsTimeBetween(0,2)">
      		<If Condition="not IsOnMap(341)">
      			<!--<TeleportTo Name="Personal Housing" AetheryteId="61" />-->
      			<RunCode Name="TeleHome" />
      		</If>
      		<RunCode Name="BTN"/>
      		<LogMessage Message= "Waiting until 2AM Eorzea"/>
      		<WaitWhile Condition ="IsTimeBetween(0,2)" />
      	</If>	
      
      In the CodeChunks section I added this. 61 is for "The Goblet" in Ul'dah.
      Code:
      		<CodeChunk Name="TeleHome">
      		<![CDATA[ ff14bot.Managers.Actionmanager.Dismount(); 
      				await Buddy.Coroutines.Coroutine.Sleep(3000);
      				WorldManager.TeleportById(61);
      				await Buddy.Coroutines.Coroutine.Sleep(3000); ]]>
      		</CodeChunk>
      
       
    10. Sinanju

      Sinanju Member

      Joined:
      Apr 14, 2015
      Messages:
      59
      Likes Received:
      0
      Trophy Points:
      6
      For this specific profile, would I have to alter all of the IsTimeBetween(0,13) and IsTimeBetween(13,24) to actual times of 1/5/9 AM/PM Eorzea time so I can fit in your codechunks inbetween?
       
    11. becto

      becto Member

      Joined:
      Mar 14, 2014
      Messages:
      104
      Likes Received:
      5
      Trophy Points:
      18
      No, you will have to rewrite the whole script to condition your time for each step. you can use my profile i use to gather shards, crystals and clusters as an example. I have not given this out as I still use it, but since this new expansion is here, I may as well share it. If you end up using this, you will need the NPCRepairTag.cs found in the profile forums and i would highly suggest changing xyz coordinates to your own. will look awful if someone is following your same path. I have three different profiles of the below, running different times and harvesting different places. This is just one of them.

      View attachment [OrderBot] BTN MIN Cluster Farm Bot-1.xml
       
    12. PureFresh

      PureFresh Member

      Joined:
      Nov 10, 2014
      Messages:
      46
      Likes Received:
      0
      Trophy Points:
      6
      good morning guys -- Sodim
      any idea why it is NOT turning on Truth of Mountains

      i am attaching log.

      it was working fine
      then one day it just doesnt turn on Truth of Mountains
       

      Attached Files:

    13. becto

      becto Member

      Joined:
      Mar 14, 2014
      Messages:
      104
      Likes Received:
      5
      Trophy Points:
      18
      I have had this issue happen as well. I just force it on. here is an example of Gold Ore:
      Code:
      <!-- Mining: Eastern Thanalan - Gold Ore -->
      <If Condition="IsTimeBetween(9,11)">
      	<If Condition="not IsOnMap(145)">
      		<TeleportTo Name="Camp Drybone" AetheryteId="18" />
      	</If>
      	<RunCode Name="Dismount" />
      	<If Condition="Core.Me.CurrentJob != ClassJobType.Miner">
      		<RunCode Name="MIN"/>
      		<WaitTimer WaitTime="3"/>
      		<RunCode Name="UseMINBuff"/>
      		<WaitTimer WaitTime="3"/>
      	</If>
      	<Gather Loops="1">
      		<GatherObject>Unspoiled Mineral Deposit</GatherObject>
      		<HotSpots>
      			<Hotspot Z="-11.36177" Y="10.22671" X="306.1508" Radius="500"/> 
      		</HotSpots>
      		<Slot>5</Slot> 
      		<GatheringSkillOrder>
      			<GatheringSkill SpellName="King's Yield II" TimesToCast="1" />
      		</GatheringSkillOrder>
      	</Gather>
      	<WaitWhile Condition ="IsTimeBetween(9,10)" />
      </If>
      
      
      As you can see, I have put <RunCode Name="UseMINBuff"/> within the section that will mine for Gold Ore. I have the following in my code chunks:

      Code:
      <CodeChunk Name="UseMINBuff">
      <![CDATA[ SpellData data; 
      	if (!Core.Me.HasAura("Truth of Mountains") && 
      		Actionmanager.CurrentActions.TryGetValue("Truth of Mountains", out data) && 
      		Actionmanager.CanCast(data, Core.Me)) {
      		Actionmanager.DoAction("Truth of Mountains", Core.Me); }]]>
      </CodeChunk>
      <CodeChunk Name="UseBTNBuff">
      <![CDATA[ SpellData data; 
      		if (!Core.Me.HasAura("Truth of Forests") && 
      		Actionmanager.CurrentActions.TryGetValue("Truth of Forests", out data) && 
      		Actionmanager.CanCast(data, Core.Me)) { 
      			Actionmanager.DoAction("Truth of Forests", Core.Me); }]]>
      </CodeChunk>
      
      
      You can try that, see if you get better results. good luck.
       
    14. PureFresh

      PureFresh Member

      Joined:
      Nov 10, 2014
      Messages:
      46
      Likes Received:
      0
      Trophy Points:
      6
      hey becto

      sorry i never thanked you.
      i did try your suggestion and worked better

      now if i knew
      how to incorporate
      going to get the blacktruffles
      into the profile
      i should be able to go back to a full night
      sleep :)


      thanks a lot man.
       
    15. tichy

      tichy Member

      Joined:
      Jun 6, 2015
      Messages:
      142
      Likes Received:
      3
      Trophy Points:
      18
      Has anyone else had troubles with this profile and any of the modifications getting stuck in mor dhona straight after farming the fire clusters?
       

    Share This Page