• Visit Rebornbuddy
  • [O][MIN][BTN] Blue & Red Scripts | Unspoiled & Legendary Materials Farm

    Discussion in 'Mining-Botany Profiles' started by entrax, Sep 10, 2015.

    1. entrax

      entrax Member

      Joined:
      Jul 23, 2012
      Messages:
      459
      Likes Received:
      15
      Trophy Points:
      18
      Well in fact adding port should fix it too, like this
      Code:
      
                              
                              <!--If NOT Collectable-->
                              <If Condition="&Collect_Chysahl; == 0">
                              
                                  <GatherCollectable loops="1" spawnTimeout="&IsTimeBetween_tick;" SpellDelay="&Spell_Delay;" CordialType="Cordial" CordialTime="Auto" DiscoverUnknowns="true" GatherIncrease="&GatherIncrease_Tag;">
                                      <GatherObjects>
                                          <GatherObject>Unspoiled Lush Vegetation Patch</GatherObject>
                                      </GatherObjects>
                                      <ItemNames>
                                          <ItemName>Chysahl Greens</ItemName>
                                      </ItemNames>
                                      <GatherRotation>&Rotation;</GatherRotation>
                                      <HotSpots>
                                          <HotSpot Radius="90" XYZ="-684.4172, 130.6977, -600.1046"/>
                                      </HotSpots>
                                  </GatherCollectable>
      							
                              </If>
      							
                          </If>
      					
                      </If> (line 975)
      
                      [COLOR="#FF0000"]<TeleportTo Name="Waiting Aetheryte" AetheryteId="&Waiting_AetheryteId;" />[/COLOR]	
      
      The bot should do as follow :
      Port Coerthas -> Gather Chysahl -> Port waiting aetheryte -> port Coerthas -> gather PearlSprouts/Chives/CoerthanTeaLeaves
       
    2. phaedrus

      phaedrus Member

      Joined:
      Jul 12, 2013
      Messages:
      964
      Likes Received:
      1
      Trophy Points:
      18
      Does it matter if i am doing collectable item? Cuz i see the code you posted ''<!--If NOT Collectable-->''
       
    3. ExMatt

      ExMatt Active Member

      Joined:
      Jul 5, 2015
      Messages:
      1,030
      Likes Received:
      14
      Trophy Points:
      38
      It makes no difference at that point. You can also try making that FlightPathTo a MoveTo (the 10-11am/pm one outside of the IF not on map check) and see if it works from both the aetheryte and the chysahl greens. I think my current profile is doing that and it works fine.
       
    4. Burn

      Burn New Member

      Joined:
      Jul 25, 2015
      Messages:
      40
      Likes Received:
      0
      Trophy Points:
      0
      I'm sometimes getting aggro while Collecting Sun Mica. Is there an easy way to have it activate stealth when I land, or does it only work if you specify a location to stealth from?
       
    5. Eklipse

      Eklipse New Member

      Joined:
      Dec 13, 2014
      Messages:
      208
      Likes Received:
      0
      Trophy Points:
      0
      need to pick a safe stealth spot, as you can gain aggro in the air.
       
    6. phaedrus

      phaedrus Member

      Joined:
      Jul 12, 2013
      Messages:
      964
      Likes Received:
      1
      Trophy Points:
      18
    7. ExMatt

      ExMatt Active Member

      Joined:
      Jul 5, 2015
      Messages:
      1,030
      Likes Received:
      14
      Trophy Points:
      38
      defaultGatherSpotType="StealthGatherSpot" will stealth right before gathering the node even if you have to wait for gp.
       
    8. tishat

      tishat Member

      Joined:
      May 29, 2015
      Messages:
      735
      Likes Received:
      7
      Trophy Points:
      18
      yeah, the Zundu aetheryte gets in the way, make an extra moveto or fightpathto to get clear
       
    9. phaedrus

      phaedrus Member

      Joined:
      Jul 12, 2013
      Messages:
      964
      Likes Received:
      1
      Trophy Points:
      18
      I really dont know how to make moveto or flightpathto
       
    10. tichy

      tichy Member

      Joined:
      Jun 6, 2015
      Messages:
      142
      Likes Received:
      3
      Trophy Points:
      18
      Use the profile creator to find the co-ordinates of a few points from the aetheryte - they come in the form (x,y,z)

      Then in orderbot, straight after the line it uses to teleport to the ok zundu aetheryte you want a few tags like this:

      <FlightPathTo XYZ="-300.3362, 212.0508, -459.2855" Radius="3.0" MountId="1" DismountAtDestination="false" />
      <FlightPathTo XYZ="-403.0666, 212.2987, -284.5712" Radius="3.0" MountId="1" DismountAtDestination="false" />
      <FlightPathTo XYZ="-490.0666, 164.2987, -196.5712" Radius="3.0" MountId="1" DismountAtDestination="false" />

      The different x,y,z literally allows the navigator to traverse these points one after the other. Do this using the x,y,z coordinates that you've captured. Always best to walk through what you think would be the best flight path and get the co-ordinates accordingly - sometimes this might just be straight upwards from the aetheryte if you can't find anything better.
       
    11. ExMatt

      ExMatt Active Member

      Joined:
      Jul 5, 2015
      Messages:
      1,030
      Likes Received:
      14
      Trophy Points:
      38
      I wanted to note, by default the radius is 3, and there is no property for Dismount. Here are the properties with their default values.

      Code:
      
      		[XmlAttribute("XYZ")]
      		public Vector3 Target { get; set; }
      
      		[DefaultValue(3.0f)]
      		[XmlAttribute("Radius")]
      		public float Radius { get; set; }
      
      		[DefaultValue(6)]
      		[XmlAttribute("InverseParabolicMagnitude")]
      		public int InverseParabolicMagnitude { get; set; }
      
      		[DefaultValue(0.05f)]
      		[XmlAttribute("Smoothing")]
      		public float Smoothing { get; set; }
      
      		[DefaultValue(0)]
      		[XmlAttribute("MountId")]
      		public int MountId { get; set; }
      
      		[DefaultValue(6.0f)]
      		[XmlAttribute("ForcedAltitude")]
      		public float ForcedAltitude { get; set; }
      
      		[XmlAttribute("ForceLanding")]
      		public bool ForceLanding { get; set; }
      
      
       
    12. tichy

      tichy Member

      Joined:
      Jun 6, 2015
      Messages:
      142
      Likes Received:
      3
      Trophy Points:
      18
      Any sage advvice on when we would use inverseparabolicmagnitude, smoothing and force altitude/landing?
       
    13. ExMatt

      ExMatt Active Member

      Joined:
      Jul 5, 2015
      Messages:
      1,030
      Likes Received:
      14
      Trophy Points:
      38
      With care.
       
    14. tishat

      tishat Member

      Joined:
      May 29, 2015
      Messages:
      735
      Likes Received:
      7
      Trophy Points:
      18
      omg lol, I think I've used DismountAtDestination like... everywhere haha
       
      Last edited: Sep 27, 2015
    15. picklesworthe

      picklesworthe New Member

      Joined:
      Jul 26, 2015
      Messages:
      1
      Likes Received:
      0
      Trophy Points:
      0
      First off I want to say this is fantastic, and has been working mostly perfectly for quite a while. Since About 3 days ago I've been running into an issue of the bot and the game crashing every time it ports to Helix.

      Here's what in the log from the teleport until the crash, usually it doesn't even finish loading into the zone before it crashes, this time it managed to take off and move a little ways from the aetheryte before it exploded.

      [19:29:53.972 D] Teleporting to Helix
      [19:30:01.504 N] [FlightMover] Set default value for flying to false until we can determine if we can fly in this zone.
      [19:30:05.253 V] [Poi.Clear] Reason: Current behavior changed to MoveToTag: LineNumber: 1412, XYZ: <-720.1138, -190.9606, -590.3765>, Name: null, Distance: 3, UseMesh: True, IsDone: False, HighPriority: False, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: TreeSharp.PrioritySelector, .
      [19:30:05.253 D] Replaced hook [ProfileOrderBehavior_Hook] d1a60ee3-c7df-419d-9343-36ef97f2c799
      [19:30:05.255 N] [FlightNav] Generating path on 402 from <-713.3753, -186.9606, -587.0141> to <-720.1138, -190.9606, -590.3765>
      [19:30:05.263 V] [ExBuddy] Direction of deviation: ForwardLeft
      [19:30:05.263 N] [FlightNav] Generated path to <-720.1138, -190.9606, -590.3765> using 3 hops in 00:00:00.0080199 ms
      [19:30:05.323 N] [FlightMover] Started Takeoff Task
      [19:30:05.324 N] [FlightMover] Created new Takeoff Coroutine
      [19:30:05.324 N] [FlightMover] Resumed Takeoff Coroutine
      [19:30:05.717 D] DoAction Mount 1 0xE0000000
      [19:30:05.805 N] [FlightMover] Resumed Takeoff Coroutine
      [19:30:06.871 D] Requesting path on 402 from <-713.3753, -186.9606, -587.0141> to <-720.1138, -190.9606, -590.3765>
      [19:30:06.875 N] [FlightMover] Resumed Takeoff Coroutine
      [19:30:06.961 D] Generated path to <-720.1138, -190.9606, -590.3765> in 00:00:00.0897847 ms
      [19:30:06.974 N] [FlightMover] Resumed Takeoff Coroutine
      [19:30:08.309 N] [FlightMover] Takeoff took 00:00:02.9858424 ms or less
      [19:30:08.732 V] [FlightNav] Moving to next hop: <-717.8676, -184.9606, -589.2557> D: 2.912853
      [19:30:08.920 V] [FlightNav] Moving to next hop: <-723.2791, -181.8606, -579.8849> *D* D: 11.24948
      [19:30:09.493 N] [FlightNav] Navigation reached current destination. Within 14.38791
      [19:30:09.559 N] [FlightNav] Generating path on 402 from <-724.0066, -181.4596, -578.6584> to <-720.1138, -190.9606, -590.3765>
      [19:30:09.568 V] [ExBuddy] Direction of deviation: ForwardUp
      [19:30:09.792 N] [ExBuddy] Adding Random Direction. from <-714.1599, -150.728, -608.2993> to <-709.4372, -152.1786, -602.4043>
      [19:30:09.795 N] [ExBuddy] Adding Random Direction. from <-709.4372, -152.1786, -602.4043> to <-713.1824, -140.4839, -597.7375>
      [19:30:09.799 N] [ExBuddy] Adding Random Direction. from <-713.1824, -140.4839, -597.7375> to <-708.2916, -131.1623, -594.7311>
      [19:30:09.802 N] [ExBuddy] Adding Random Direction. from <-708.2916, -131.1623, -594.7311> to <-706.7614, -139.4949, -591.5577>
      [19:30:09.805 N] [ExBuddy] Adding Random Direction. from <-706.7614, -139.4949, -591.5577> to <-702.0735, -125.6606, -598.9858>
      [19:30:09.810 N] [ExBuddy] Adding Random Direction. from <-702.0735, -125.6606, -598.9858> to <-717.7108, -109.198, -602.5608>
      [19:30:09.813 V] [ExBuddy] Direction of deviation: ForwardRight
      [19:30:09.816 N] [ExBuddy] Adding Random Direction. from <-865.2, -158.2556, -624.0541> to <-831.2505, -130.4855, -617.7772>
      [19:30:09.819 N] [ExBuddy] Adding Random Direction. from <-831.2505, -130.4855, -617.7772> to <-824.1429, -123.7876, -651.9892>
      [19:30:09.822 N] [ExBuddy] Adding Random Direction. from <-824.1429, -123.7876, -651.9892> to <-812.4104, -117.3472, -649.9183>
      [19:30:09.825 N] [ExBuddy] Adding Random Direction. from <-812.4104, -117.3472, -649.9183> to <-808.6379, -124.047, -638.8443>
      [19:30:09.828 N] [ExBuddy] Adding Random Direction. from <-808.6379, -124.047, -638.8443> to <-815.4634, -129.951, -614.1591>
      [19:30:09.832 N] [ExBuddy] Adding Random Direction. from <-815.4634, -129.951, -614.1591> to <-809.3796, -112.1162, -638.5253>
      [19:30:09.834 V] [ExBuddy] Direction of deviation: ForwardUp
      [19:30:09.835 V] [ExBuddy] Direction of deviation: ForwardRight
      [19:30:09.836 V] [ExBuddy] Direction of deviation: ForwardUp
      [19:30:09.837 V] [ExBuddy] Direction of deviation: ForwardDown
      [19:30:09.838 V] [ExBuddy] Direction of deviation: ForwardUp
      [19:30:09.840 V] [ExBuddy] Direction of deviation: ForwardDown
      [19:30:09.841 V] [ExBuddy] Direction of deviation: ForwardUp
      [19:30:09.842 V] [ExBuddy] Direction of deviation: ForwardDown
      [19:30:09.844 V] [ExBuddy] Direction of deviation: ForwardUp
      [19:30:09.845 V] [ExBuddy] Direction of deviation: ForwardDown
      [19:30:09.846 V] [ExBuddy] Direction of deviation: ForwardUp
      [19:30:09.849 N] [ExBuddy] Adding Random Direction. from <-724.0172, -155.6833, -576.8792> to <-724.4064, -154.0012, -579.5727>
      [19:30:09.852 V] [ExBuddy] Direction of deviation: ForwardRight
      [19:30:09.853 V] [ExBuddy] Direction of deviation: ForwardUp
      [19:30:29.854 V] [ExBuddy] Direction of deviation: ForwardUp
      [19:30:49.855 V] [ExBuddy] Direction of deviation: ForwardUp
      [19:31:09.856 V] [ExBuddy] Direction of deviation: ForwardUp
      [19:31:29.857 V] [ExBuddy] Direction of deviation: ForwardUp

      Anything you can think of or notice that might be causing this behavior?

      Thanks!

      edit: If I manually port and start the bot when I'm already loaded into the zone it works fine.
       
    16. ExMatt

      ExMatt Active Member

      Joined:
      Jul 5, 2015
      Messages:
      1,030
      Likes Received:
      14
      Trophy Points:
      38
      I'm pretty sure that MoveTo has to be wrong. It looks like it is going down, from a flat surface. I would need more logs of teleporting in (it could be literally one of the spots it puts you in that you keep getting). I am suspect about the location at the very least.
       
    17. heshire

      heshire Member

      Joined:
      Jul 27, 2015
      Messages:
      49
      Likes Received:
      0
      Trophy Points:
      6
      Where in the profile would you plug this in? I also have some issues with mob aggro while trying to gather Sun Mica. Also, how do you identify the node location through RebornConsole?
       
    18. ExMatt

      ExMatt Active Member

      Joined:
      Jul 5, 2015
      Messages:
      1,030
      Likes Received:
      14
      Trophy Points:
      38
      That is an attribute of the GatherCollectable(ExGather) tag. so it just goes next any of the other attributes. You can find node locations and details like this.

      Code:
      var nodes = GameObjectManager.GetObjectsOfType<GatheringPointObject>()
      		.OrderBy(gpo => gpo.Distance2D(Core.Player.Location)).ToArray();
      
      Log(Core.Player.Location);
      foreach(var node in nodes)
      {
      Log(node);
      Log("Location: " + node.Location);
      Log("Heading: " + Core.Player.Heading);
      Log("Distance2D: " + node.Location.Distance2D(Core.Player.Location));
      Log("IsValid: " + node.CanGather);
      }
      
       
    19. heshire

      heshire Member

      Joined:
      Jul 27, 2015
      Messages:
      49
      Likes Received:
      0
      Trophy Points:
      6
      Brilliant, thanks!
       
    20. entrax

      entrax Member

      Joined:
      Jul 23, 2012
      Messages:
      459
      Likes Received:
      15
      Trophy Points:
      18
      I don't know why but last ExMatt update broke my Porcini node, I just tried with this profile, a custom for main account and an other custom for bot account (3 different locations).
      The bot can reach hotspot location and wait untill 12am / pm
      Code:
      [15:24:07.973 V] [ExFlyTo v3.0.7.1509270] Moving to waypoint: <196.9345, 238.6639, -640.7635>
      [15:24:08.343 V] [Poi.Clear] Reason: Current behavior changed to : LineNumber: 1727, Condition: IsTimeBetween(11,12) or IsTimeBetween(23,24), Conditional: System.Func`1[System.Boolean], IsDone: False, HighPriority: False, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: TreeSharp.PrioritySelector, .
      
      but when it's 12 am / pm the bot can't found where to go, node spawn north side, but it's the same for others.
      Code:
      [15:25:01.055 V] [Poi.Clear] Reason: Current behavior changed to ExGatherTag: AdjustedWaitForGp: 0, AlwaysGather: True, CordialTime: Auto, CordialType: Cordial, DiscoverUnknowns: True, FreeRange: False, FreeRangeCondition: Condition.TrueFor(1, TimeSpan.FromHours(1)), GatheringSkillOrder: null, Radius: 3, Slot: -1, GatherObject: null, GatherObjects: System.Collections.Generic.List`1[System.String], DisableRotationOverride: False, GatherRotation: Unspoiled, GatherSpots: ExBuddy.OrderBotTags.Gather.GatherSpotCollection, GatherIncrease: Yield, GatherStrategy: GatherOrCollect, HotSpots: Clio.Utilities.IndexedList`1[ff14bot.Navigation.HotSpot], Collectables: null, ItemNames: System.Collections.Generic.List`1[System.String], Distance: 3,1, SkipWindowDelay: 200, SpellDelay: 400, WindowDelay: 1000, Loops: 1, SpawnTimeout: 10, While: True, DefaultGatherSpotType: GatherSpot, Name: Porcini, IsDone: False, HighPriority: False, LineNumber: 1755, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: TreeSharp.ActionRunCoroutine, .
      [15:25:01.055 D] Replaced hook [ProfileOrderBehavior_Hook] 775f3648-0057-432d-b33a-0c58af969342
      [15:25:01.056 V] [ExGather v3.0.7.1509270] Distance to furthest visible game object -> 106,1099
      [15:25:01.056 V] [ExGather v3.0.7.1509270] Distance to furthest vector in hotspot -> 241,9447
      [15:25:01.056 N] [ExGather v3.0.7.1509270] Could not find any nodes and can not confirm hotspot is empty via object detection, trying again from center of hotspot.
      [15:25:01.056 D] Requesting path on 400 from <195.6227, 238.8911, -639.2369> to <195.2852, 248.8581, -597.2936>
      [15:25:01.202 D] No viable path from <195.6227, 238.8911, -639.2369> to <195.2852, 248.8581, -597.2936> in 00:00:00.1454144 ms
      [15:25:25.709 D] Requesting path on 400 from <195.6334, 238.8378, -639.3448> to <195.2852, 248.8581, -597.2936>
      [15:25:25.842 D] No viable path from <195.6334, 238.8378, -639.3448> to <195.2852, 248.8581, -597.2936> in 00:00:00.1334144 ms
      ...
      More Request / No viable path spam because I moved it myslef
      

      Btw my favor profile is done but I can't post it right now cuz I had to change an ExMatt's file to improve the profile, so I'll just wait for an update or rewrite it :)
       
      Last edited: Sep 28, 2015

    Share This Page