• Visit Rebornbuddy
  • [Orderbot]Many farming/harvesting/fishing profiles combined

    Discussion in 'Other Profiles' started by Sycho, Jun 16, 2015.

    1. ssyangaa

      ssyangaa New Member

      Joined:
      Aug 9, 2015
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      Unfortunately, ur new setting couldn't fix the problem. I met the same crashing issue with updated profile. View attachment 8804 2015-08-11 01.40.txt
       
    2. Sycho

      Sycho New Member

      Joined:
      Jan 10, 2015
      Messages:
      143
      Likes Received:
      3
      Trophy Points:
      0
      It does look like it is doing the same thing, when I get a chance will look into redoing the pathing to try and take out the moveto.
       
    3. Sycho

      Sycho New Member

      Joined:
      Jan 10, 2015
      Messages:
      143
      Likes Received:
      3
      Trophy Points:
      0
      I have redone the pathing in the Titanium Ore section, it shouldn't cause any more issues.
       
    4. mumitroll

      mumitroll Member

      Joined:
      Mar 23, 2015
      Messages:
      75
      Likes Received:
      1
      Trophy Points:
      8
      any way you could implement the FlyTo.cs?
       
    5. Sycho

      Sycho New Member

      Joined:
      Jan 10, 2015
      Messages:
      143
      Likes Received:
      3
      Trophy Points:
      0
      It wouldn't be to hard to add that but it makes the character look really bot like.
       
    6. teh4x

      teh4x New Member

      Joined:
      Feb 9, 2015
      Messages:
      15
      Likes Received:
      1
      Trophy Points:
      3
      New flight nav

      I got inspired by what you said here, so I took it upon myself to expand on what FlyTo had achieved. FlightPathTo doesn't look nearly so bot-like when parameterized properly. Here's an example usage of the improved tag:

      Code:
      <FlightPathTo XYZ="162.3942, -21.32502, -197.6516" Radius="2.0" Smoothing="0.2" MountId="45" NavHeight="200" DismountAtDestination="False" />
      That flies up on top of a mountain in Dravanian Forelands. The NavHeight is overkill and probably makes it look very bot-like if you navigate from anywhere that's too close to the target, but it will probably successfully get there from lots of places on the map as the pathfinding follows a parabolic shape. If anyone wants to expand on what I've done, I already wrote a helper method to detect if anything's in the way between two waypoints. I wasn't sure how to efficiently decide how to go around the obstacle though, so I didn't bother.

      View attachment FlightPathTo.cs
       
    7. Sycho

      Sycho New Member

      Joined:
      Jan 10, 2015
      Messages:
      143
      Likes Received:
      3
      Trophy Points:
      0

      I will defiantly take a look at it, there are a lot of HW farms that would be much easier if we could at least fly to the starting location.
       
    8. teh4x

      teh4x New Member

      Joined:
      Feb 9, 2015
      Messages:
      15
      Likes Received:
      1
      Trophy Points:
      3
      Update: The presence of the NoCombatMoveTo seems to be the cause of the FlightPathTo tag only executing once. No idea why, but removing that tag fixes the issue.

      Well, I found a problem I haven't been able to fix already, but it doesn't seem to be related to my code. It looks like the new tag I authored only gets executed during the first loop of a profile... Example profile I'm using:

      Code:
      <Profile>
          <Name>Mining 51+</Name>
          <KillRadius>50</KillRadius>
          <Order>
      	<While Condition="True">
      		<RunCode Name="EnableMount" />
      		<FlightPathTo XYZ="400.7303, -32.20192, -208.9906" Radius="3.0" Smoothing="0.2" MountId="45" NavHeight="200" DismountAtDestination="True" />
      		<RunCode Name="DisableMount" />
      		<RunCode Name="UseStealth" />
      	    <Gather Loops="1">
      			<GatherObject>Mineral Deposit</GatherObject>
               	<HotSpots>
      				<HotSpot Radius="300" XYZ="353.8235, -41.83347, -252.9794" />	
      			</HotSpots>
                  <ItemNames>
      				<ItemName>Titanium Ore</ItemName>
      				<ItemName>Raw Star Sapphire</ItemName>
      			</ItemNames>
      			<GatheringSkillOrder>
      				<GatheringSkill SpellName="Unearth II" TimesToCast="1" />
      				<GatheringSkill SpellName="Deep Vigor" TimesToCast="1" />
      			</GatheringSkillOrder>
            	</Gather>
      		<NoCombatMoveTo XYZ="403.3499, -49.13615, -211.8344" />
      		<RunCode Name="EnableMount" />
      		<FlightPathTo XYZ="299.032, -93.40841, 391.0688" Radius="3.0" Smoothing="0.2" MountId="45" NavHeight="200" DismountAtDestination="True" />
      		<RunCode Name="DisableMount" />
      		<RunCode Name="UseStealth" />
      		<Gather Loops="1">
      			<GatherObject>Mineral Deposit</GatherObject>
               	<HotSpots>
      				<HotSpot Radius="300" XYZ="291.0605, -111.6924, 429.7914" />
      			</HotSpots>
                  <ItemNames>
      				<ItemName>Titanium Ore</ItemName>
      				<ItemName>Raw Star Sapphire</ItemName>
      			</ItemNames>
      			<GatheringSkillOrder>
      				<GatheringSkill SpellName="Unearth II" TimesToCast="1" />
      				<GatheringSkill SpellName="Deep Vigor" TimesToCast="1" />
      			</GatheringSkillOrder>
            	</Gather>
      	</While>
          </Order>
      	
      	<CodeChunks>
      		<CodeChunk Name="UseStealth">
            <![CDATA[
      				SpellData data;
      				if (!Core.Me.HasAura("Stealth") && Actionmanager.CurrentActions.TryGetValue("Stealth", out data) && Actionmanager.CanCast(data, Core.Me))
      				{
      					Actionmanager.DoAction("Stealth", Core.Me);
      					await Buddy.Coroutines.Coroutine.Sleep(500);
      				}
      			]]>
      		</CodeChunk>
      		<CodeChunk Name="UnStealth">
            <![CDATA[
      				SpellData data;
      				if (Core.Me.HasAura("Stealth") && Actionmanager.CurrentActions.TryGetValue("Stealth", out data) && Actionmanager.CanCast(data, Core.Me))
      				{
      					Actionmanager.DoAction("Stealth", Core.Me);
      					await Buddy.Coroutines.Coroutine.Sleep(500);
      				}
      			]]>
      		</CodeChunk>
      		<CodeChunk Name="DisableMount">
            <![CDATA[
      				ff14bot.Settings.CharacterSettings.Instance.UseMount = false;
      				ff14bot.Managers.Actionmanager.Dismount();
      			]]>
          </CodeChunk>
          <CodeChunk Name="EnableMount">
            <![CDATA[
      				ff14bot.Settings.CharacterSettings.Instance.UseMount = true;
      			]]>
          </CodeChunk>
      	</CodeChunks>
      </Profile>
       
      Last edited: Aug 21, 2015
    9. Sycho

      Sycho New Member

      Joined:
      Jan 10, 2015
      Messages:
      143
      Likes Received:
      3
      Trophy Points:
      0
      Code:
      Update:
      
      2015/08/16
      Added: (HW) Dragon Skins
      Added: (HW) Archaeornis Skins
      Added: (HW) Amphiptere Skins
      Added: (HW) Dark Chestnut (Chance of death: Rare) NOTE: You MUST manually harvest the first time so that it is no longer unknown.
      Added: (HW) Dark Chestnut Branch (Chance of death: Rare)
      Added: (HW) Dark Chestnut Log (Chance of death: Rare)
      Added: (HW) Hardsilver Sand (Chance of death: Rare)
      Added: (HW) Cloud Mica (Chance of death: Rare)
       
    10. Wantmymoneyback

      Wantmymoneyback New Member

      Joined:
      Oct 4, 2014
      Messages:
      100
      Likes Received:
      0
      Trophy Points:
      0
      Happened to fill my inventory the other day (decided to spoil myself lol) The one thing bot like i noticed is rather then stop farming it kept trying to farm a node is there a way you can change it so when the bot has 1 last empty bag slot it will stop farming and teleport to limsa for example? I don't think it's possible for it to dump the farmed mats in retainer 1 and continue farming the rest of the remaining amount of mats dump again until that's full then retainer two three and so on so fourth. I might be getting crazy on that one but the first thing i'm curious for sure because it will lit keep trying to farm the mat and get an error message for hours if i left it long enough
       
    11. TexGamer

      TexGamer Member

      Joined:
      Nov 8, 2011
      Messages:
      31
      Likes Received:
      0
      Trophy Points:
      6
      Thanks for the updates. Great stuff. I did want to add that the dark chestnut farm is going rather well, but deaths are occurring about once every 20 min or so. Always happens when you go to cross the river and aggro the clearwater ninki nankas. Very appreciated for the hard work.

      Edit: Uploading a log for you to look at if you so desire. The bot when harvesting in stealth will often stop and hang up. I have left it for about 15 minutes and it just sits there not moving sometimes. Hope the log helps. View attachment 89828 2015-08-19 11.07.txt
       
      Last edited: Aug 19, 2015
    12. Sycho

      Sycho New Member

      Joined:
      Jan 10, 2015
      Messages:
      143
      Likes Received:
      3
      Trophy Points:
      0
      I have thought about that but have not ran into an easy way to set that up. Will continue to look into it though.

      The Dark Chestnut has been by far one the most difficult to get to path correctly and not die. I have been working on it the last day or so and think I have found a way but need to run it for a bit longer.
       
    13. Mooncloud

      Mooncloud Member

      Joined:
      Aug 19, 2015
      Messages:
      120
      Likes Received:
      2
      Trophy Points:
      18
      Sycho I'm seeing the same thing as the previous poster, Wantmymoneyback, but with Stalks of Ramie. Seems to just stay standing in place, stealthed indefinitely.
       
    14. Sycho

      Sycho New Member

      Joined:
      Jan 10, 2015
      Messages:
      143
      Likes Received:
      3
      Trophy Points:
      0
      Okay was going to look into it and possible rewrite that area.
       
    15. Sycho

      Sycho New Member

      Joined:
      Jan 10, 2015
      Messages:
      143
      Likes Received:
      3
      Trophy Points:
      0
      Code:
      Update:
      
      2015/08/24
      Update: Changed pathing for Highland Wheat
      Update: Changed pathing for Stalk of Ramie
       
    16. Mooncloud

      Mooncloud Member

      Joined:
      Aug 19, 2015
      Messages:
      120
      Likes Received:
      2
      Trophy Points:
      18
      Thanks for the update Sycho, I'll get to testing those out the next time I need more Stalks of Ramie.

      One thing I noticed when pulling down a fresh copy of the profile is that you seem to have left a few values in to be harvested, there are a few items set to harvest 4 items.
       
    17. Sycho

      Sycho New Member

      Joined:
      Jan 10, 2015
      Messages:
      143
      Likes Received:
      3
      Trophy Points:
      0
      Got it updated, thanks for letting me know.
       
    18. plebian

      plebian New Member

      Joined:
      Aug 21, 2015
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      Is it possible to add some HW 3.0 fish to this list? I am willing to tip to have this done :*(
       
    19. Sycho

      Sycho New Member

      Joined:
      Jan 10, 2015
      Messages:
      143
      Likes Received:
      3
      Trophy Points:
      0
      Do you have any particular fish in mind?
       
    20. dayum12

      dayum12 Member

      Joined:
      Aug 22, 2015
      Messages:
      54
      Likes Received:
      1
      Trophy Points:
      8
      The Dark Chestnut area won't stop kicking my butt... I've yet to find a script that works flawlessly :/

      Anyway you can be my hero?
       

    Share This Page