• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Not always loading all skills when changing to Culinarian

    Discussion in 'Rebornbuddy Support' started by Sycho, Jul 22, 2015.

    1. Sycho

      Sycho New Member

      Joined:
      Jan 10, 2015
      Messages:
      143
      Likes Received:
      3
      Trophy Points:
      0
      I have run into this several times and with different skills each time. This time it was Comfort Zone (I do have it set as a cross class) but I have had it happen even with Basic Touch.
      Once it tries to use the skill the bot exits, is there a way to have it just skip the skill? It's better to have a NQ synthesis and continue then the bot exit. I also posted a snippet of the profile.

      Code:
      [10:41:49.754 D] Replaced hook [ProfileOrderBehavior_Hook] 2e99bea0-5211-4d3b-be67-a6d670eb8fff
      [10:41:49.755 D] Requesting path on 129 from <-71.64284, 18.60033, 1.306694> to <-252.1411, 16.2, 50.42918>
      [10:41:49.823 D] Generated path to <-252.1411, 16.2, 50.42918> in 00:00:00.0685344 ms
      [10:41:49.863 N] Sprinting
      [10:41:49.863 D] DoAction Spell 3 0xE0000000
      [10:41:50.000 N] Building Actioncache
      [10:41:50.007 N] Action Name:Sprint Action Id:3
      [10:41:50.007 N] Action Name:Steady Hand Action Id:251
      [10:41:50.007 N] Action Name:Inner Quiet Action Id:259
      [10:41:50.007 N] Action Name:Great Strides Action Id:267
      [10:41:50.007 N] Action Name:Steady Hand II Action Id:281
      [10:41:50.007 N] Action Name:Reclaim Action Id:287
      [10:41:50.007 N] Action Name:Collectable Synthesis Action Id:4567
      [10:41:50.007 N] Action Name:Basic Synthesis Action Id:100105
      [10:41:50.007 N] Action Name:Basic Touch Action Id:100106
      [10:41:50.007 N] Action Name:Master's Mend Action Id:100107
      [10:41:50.007 N] Action Name:Hasty Touch Action Id:100108
      [10:41:50.007 N] Action Name:Standard Touch Action Id:100109
      [10:41:50.007 N] Action Name:Master's Mend II Action Id:100110
      [10:41:50.007 N] Action Name:Standard Synthesis Action Id:100111
      [10:41:50.007 N] Action Name:Advanced Touch Action Id:100112
      [10:41:50.007 N] Action Name:Observe Action Id:100113
      [10:41:50.007 N] Action Name:Byregot's Brow Action Id:100127
      [10:41:50.007 N] Action Name:Precise Touch Action Id:100135
      [10:41:50.007 N] Action Name:Muscle Memory Action Id:100136
      [10:41:50.007 N] Action Name:Innovative Touch Action Id:100144
      [10:41:50.007 N] Action Name:Byregot's Miracle Action Id:100152
      [10:41:50.007 N] Action Name:Nymeia's Wheel Action Id:100160
      [10:41:50.007 N] Action Name:Trained Hand Action Id:100168
      [10:41:50.007 N] Action Name:Satisfaction Action Id:100176
      [10:41:50.007 N] Action Name:Heart of the Culinarian Action Id:100186
      [10:41:50.007 N] Action Name:Whistle While You Work Action Id:100194
      [10:41:50.007 N] Action Name:Byregot's Ward Action Id:219
      [10:41:50.007 N] Action Name:Thaliak's Ward Action Id:293
      [10:41:50.007 N] Action Name:Nald'thal's Ward Action Id:234
      [10:41:50.007 N] Done building Actioncache
      [10:41:50.008 N] [Ultima] Loading: Culinarian
      [10:41:52.544 D] Moving to next hop: <-95.16647, 18.65905, 6.158245> (Market) D: 6.992329
      [10:41:53.335 D] Moving to next hop: <-96.59174, 18.64803, 7.225724> (Market) D: 2.138852
      [10:41:53.530 D] Moving to next hop: <-116.6324, 18.02437, 14.55239> (Market) D: 22.04902
      [10:41:56.261 D] Moving to next hop: <-141.0765, 18.12054, 27.10227> (Market) D: 28.173
      [10:41:59.796 D] Moving to next hop: <-180.5105, 17.113, 40.27303> (Market) D: 42.18834
      [10:42:05.111 D] Moving to next hop: <-216.6518, 16.02437, 47.46446> (Market) D: 37.57326
      [10:42:09.835 D] Moving to next hop: <-252.1411, 16.2, 50.42918> (Market) D: 36.29275
      [10:42:16.023 V] [Poi.Clear] Reason: Current behavior changed to LogMessageTag: LineNumber: 704, IsDone: False, Message: Making Black Truffle Risotto, HighPriority: False, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: TreeSharp.PrioritySelector, .
      [10:42:16.023 D] Replaced hook [ProfileOrderBehavior_Hook] 54183b4c-a9f5-4509-8407-f0f495d6b4ef
      [10:42:16.023 N] Making Black Truffle Risotto
      [10:42:16.040 V] [Poi.Clear] Reason: Current behavior changed to Synthesize: LineNumber: 705, IsDone: False, MinimumCp: 0, RecipeId: 1515, UseCR: False, RequiredSkills: null, HQMats: System.Int32[], HighPriority: False, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: TreeSharp.ActionRunCoroutine, .
      [10:42:16.040 D] Replaced hook [ProfileOrderBehavior_Hook] 5708ed11-1117-4a26-b32e-44934234fc85
      [10:42:18.442 N] [Synthesize] Crafting Black Truffle Risotto (4695) via 1515
      [10:42:19.350 N] [CraftAction] Action Comfort Zone with id 286 is currently not known.
      [10:42:19.350 N] Stopping the bot. Reason:[CraftAction] Action Comfort Zone with id 286 is currently not known.
      [10:42:19.350 V] [Poi.Clear] Reason: Current behavior changed to Craftaction id:286 MinDelay:250 MaxDelay:500.
      [10:42:19.350 D] Replaced hook [ProfileOrderBehavior_Hook] a6e7fdcd-8a3a-4066-88c7-6cfd467c842f
      [10:42:19.351 N] [CraftAction] Casting Comfort Zone (286)
      [10:42:19.351 D] DoAction Spell 286 0xE0000000
      [10:42:19.351 D] CurrentBot.Stop()
      [10:42:19.351 N] Connection closed! 192.99.148.87:31214
      [10:42:19.352 D] TreeHooks.Instance.ClearAll()
      [10:42:19.352 N] Clearing all hooks.
      [10:42:19.352 D] Replaced hook [PreCombatBuff] 4a1e7f32-bea1-4459-818e-bda1b40e769d
      [10:42:19.352 D] Replaced hook [Heal] 9f7dc7f4-6bc0-4d0a-a1b6-a3eced62c370
      [10:42:19.352 D] Replaced hook [Pull] 62452e90-dc87-4d5b-9a0d-1d40a4f03d2d
      [10:42:19.352 D] Replaced hook [CombatBuff] d19ce708-ae2a-42d9-b4d7-c5fb99fdbffa
      [10:42:19.352 D] Replaced hook [Combat] 8dbcbfa5-2051-4c2a-ac86-bc93a2db361c
      [10:42:19.352 D] Replaced hook [Rest] c70bacfc-1fc3-48f1-88c0-124a48a53d37
      [10:42:19.352 D] Navigator.Clear()
      [10:42:19.352 V] [Poi.Clear] Reason: Bot stopped
      [10:42:19.352 D] OnStop event
      [10:42:19.352 D] OnStop Event Invoking
      [10:42:19.352 D] ProfileOrderManager.OnBotStop. Resetting caches.
      [10:42:19.352 N] Bot Thread Ended.
      Code:
      <While Condition="not IsTimeBetween(13,14) and not IsTimeBetween(17, 18) and HasAtLeast(4800,1) and HasAtLeast(4819,1) and HasAtLeast(4754,1) and HasAtLeast(4777,1) and HasAtLeast(14,1) and HasAtLeast(19,1)">
                  <LogMessage Message="Making Black Truffle Risotto"/>
                  <Synthesize RecipeId="1515" HQMats="-1,-1,-1,-1"/>
                  <While Condition="CraftingManager.IsCrafting">
                    <CraftAction Name="Comfort Zone" ActionId="286" />
                    <CraftAction Name="Inner Quiet" ActionId="259" />
                    <CraftAction Name="Steady Hand II" ActionId="281" />
                    <CraftAction Name="Standard Touch" ActionId="100109" />
                    <CraftAction Name="Standard Touch" ActionId="100109" />
                    <CraftAction Name="Standard Touch" ActionId="100109" />
                    <CraftAction Name="Standard Touch" ActionId="100109" />
                    <CraftAction Name="Manipulation" ActionId="278" />
                    <CraftAction Name="Steady Hand II" ActionId="281" />
                    <CraftAction Name="Basic Touch" ActionId="100106" />
                    <CraftAction Name="Byregot's Blessing" ActionId="100009" />
                    <CraftAction Name="Careful Synthesis II" ActionId="100069" />
                  </While>
                </While>
       
    2. Sodimm

      Sodimm Member

      Joined:
      Nov 8, 2014
      Messages:
      383
      Likes Received:
      7
      Trophy Points:
      18
      Yeah, I've mentioned this a few times in the past. Something's definitely iffy with the Action Cache when switching via any profile/botbase. It's the bane of my Ixal dailies. Unfortunately it's neither been taken seriously, or ever looked at in my experience, so I just peg it as an inherent bug, and hope it gets fixed at some point.
       
    3. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      383
      Trophy Points:
      83
      I've been using profiles (modified a bit to work with someone whos leveling the classes instead of a high level) and I have never had an issue with it not loading all the skills.

      Code:
      
      <Profile>
      <Name>Skill stress test</Name>
      <KillRadius>80</KillRadius>
      <Order>
      <While Condition="True">
      <RunCode Name="CraftClass"/>
      <If Condition="Actionmanager.CurrentActions.Count != 17">
      <StopBot/>
      </If>
      <RunCode Name="CombatClass"/>
      </While>
      </Order>
      <CodeChunks>
      	<CodeChunk Name="CombatClass">
      		<![CDATA[
      			ChatManager.SendChat("/gs change 14");
      			await Buddy.Coroutines.Coroutine.Sleep(2000);
      		]]>
      	</CodeChunk>
      	<CodeChunk Name="CraftClass">
      		<![CDATA[	
      			ChatManager.SendChat("/gs change 12");
      			await Buddy.Coroutines.Coroutine.Sleep(2000);
      		]]>
      	</CodeChunk>
      </CodeChunks>
      </Profile>
      
      You can try it your self, just change the amount of skills your crafter should have. I let it run for an hour and it never missed any of the skills.
       
    4. Sycho

      Sycho New Member

      Joined:
      Jan 10, 2015
      Messages:
      143
      Likes Received:
      3
      Trophy Points:
      0
      Not sure why it didn't load on mine but your if statement with the actionmanager gives me an idea of how to work around it.

      Thanks
       
    5. Sodimm

      Sodimm Member

      Joined:
      Nov 8, 2014
      Messages:
      383
      Likes Received:
      7
      Trophy Points:
      18
      Have you tried it with the DoL classes too. If like you say that this can run for hours with no problem, maybe its in conjunction with other criteria. But it's definitely happening. More in depth analysis of the problem reveals that it doesn't have an issue with the classes base skills, but what it omits is the cross class skills. I'm not at home for a good 14 hours yet, but when I do, i'm pretty sure I can replicate it for you.
       
    6. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      383
      Trophy Points:
      83

      Yea cross class skills are stored in an array that is separate from the rest of the skills.

      I've got two ideas how its possible we this could happen:
      1)We read the array so fast that sometimes a skill hasn't been added to the cross class array so we might miss the first skill
      2)Skill fails their canuse check that they use to display skills for some reason so we ignore it until the next cache build


      I think I might just make synthesize clear the cache onstart
       
    7. Sodimm

      Sodimm Member

      Joined:
      Nov 8, 2014
      Messages:
      383
      Likes Received:
      7
      Trophy Points:
      18
      For what it's worth I have tried "ff14bot.Managers.Actionmanager.ClearActionCache()" within the profile after the change and before the synthesize, but i couldn't actually see if it was making any difference. Maybe you'll see more than I can. Thanks for looking :).
       

    Share This Page