Version 176 Code: Update for latest version of ff14 Bug Fixes: Fix issue where bot would not stop upon reaching a hotspot in orderbot
Is their a post that explains all the tags? For some reason I can't get the <Gather while="True"> tag and the <gathertag Condition="ItemCount('itemname') < 2000"> tag to work together. If I leave out <Gather while="True">, I will teleport to where I need to go and just stand there. If I leave out <gathertag Condition="ItemCount('itemname') < 2000"> I have no control over how much of an item I want to gather. I've tried switching the order around and it's still a no go. It seems they can't be closed off with the same </gather> and adding another </gather> (so I have two at the end) doesn't seem to work either. With both of them I get errors, any Ideas? Thank you for your help. Code: <Profile> <Name>Button Mushroom</Name> <KillRadius>50</KillRadius> <Order> <While Condition="True"> <!-- Gather Button Mushroom --> <If Condition="not IsOnMap(145)"> <TeleportTo Name="Camp Drybone" AetheryteId="18" /> <Gather while="True"> <Gather while="ItemCount('Button Mushroom') < 5"> <GatherObject>Lush Vegetation Patch</GatherObject> <HotSpots> <Hotspot Radius="80" X="-344.0994" Y="-28.06476" Z="-41.86419" /> </HotSpots> <ItemNames> <ItemName>Button Mushroom</ItemName> </ItemNames> <GatheringSkillOrder> <GatheringSkill SpellName="Blessed Harvest II" TimesToCast="1" /> </GatheringSkillOrder> </Gather> </If> </While> </Order> </Profile>
The <Gather while="True"> tag is unneeded. Your problem is your use of <Gather while="ItemCount('Button Mushroom') < 5">. To my knowledge, you need to find the item number for that item and use that instead (I could be wrong, but that's how I've been using it successfully). For instance, here is a snippet of code from a mining profile I'm working on: Code: <!-- Gather Wind Shards --> <If Condition="ItemCount(4) < 7500"> <If Condition="not IsOnMap(152)"> <TeleportTo Name="The Hawthorne Hut" AetheryteId="4" /> </If> <Gather while ="ItemCount(4) < 7500"> <GatherObject>Rocky Outcrop</GatherObject> <HotSpots> <HotSpot Radius="95" XYZ="-57.55798, -10.11146, 288.4624" /> </HotSpots> <ItemNames> <ItemName>Wind Shard</ItemName> </ItemNames> <GatheringSkillOrder> <GatheringSkill SpellName="Llymlaen's Ward" TimesToCast="1" /> </GatheringSkillOrder> </Gather> </If> The first IF CONDITION is irrelevant to you (it's only needed if you're going to multiple different maps/gathering multiple different items). The rest match what it seems you're trying to do.
Thank you for the help. I'll test and send a log if need be when I get home. This is just part of the profile I'm working on. I will be going to differnt areas within this same profile. I figured let me get part of the coding right and work from there. Instead of having to fix a hot mess of large code.
The Item ID# seems to be the key. It worked and stopped at the number I set. Thank you so much everyone. Now to build on it, is their a way to get the Item ID# in an easier way? Right now I'm running the script with the "<Gather while="True">" tag and reading the log to get the number.
Thank you. All seems to be working. Testing now. I've been searching through the forums but couldn't find a couple things, if it's even possible. They are, Gathering multiple mats from one gathering node and how to auto-repeat a profile.
Version 178 Code: Changes: GameObjectManager.Attackers is now updated on pulse. Remote windows are now cached on pulse. Change a few constructors from public to internal. Update networking library Add InventoryManager.EquippedItems Fix issue with hotspots and their radius. Add ObjectExistsWithId to conditionparser for use in profiles. Pause removed from handover and turnin Nowloading and SelectYesNo remote windows added. MemoryCache for threads other then the main thread disabled. EmoteNPC,UseItem,UseObject all inherit from new base class. Plugins: QuestDevTools plugin added Updated rebornconsole to have ff14bot.enums namespace.
Did we get any code documentation put anywhere? I thought you said it was coming out with this release.
Bot isn't dismounting on occasion for fates. Just running back and forth around the targeted mob. Had this issue before and you just needed to update offsets. I can post log, but it's with Magitek.