Two files attached, one of the log file and the profile I'm working on. The profile was working fine until it froze the game. Now whenever I relaunch everything and then load the profile, the game freezes.
I think that was when I was just trying different modes. Oddly the profile I was using (Iron Ore) had reached the limit of 600 I put in. Somehow this cause the game to crash. When I put the Ore in a retainer, the profile worked again. I wish there was a way to make it go to the next item in the while loop. I'm not sure if I'm doing something wrong but for some reason, I have to have to separate out the different types of shards into separate profiles instead of using a "master profile".
I thought I was doing this, here is what I'm using: Code: <Profile> <Name>Mining - Ice Farming</Name> <KillRadius>40</KillRadius> <Order> <While Condition="True"> <!-- Gather Ice Crystals and Shards --> <If Condition="(ItemCount(12) < 9999) or (ItemCount(6) < 9999)"> <TeleportTo Name="aleport" AetheryteId="14" /> <Gather while ="(ItemCount(12) < 9999) or (ItemCount(6) < 9999)"> <GatherObject>Rocky Outcrop</GatherObject> <HotSpots> <HotSpot Radius="95" XYZ="496.9813, 14.31586, 327.7469" /> </HotSpots> <ItemNames> <ItemName>Ice Crystal</ItemName> <ItemName>Ice Shard</ItemName> </ItemNames> <GatheringSkillOrder> <GatheringSkill SpellName="Menphina's Ward" TimesToCast="1" /> </GatheringSkillOrder> </Gather> </If> </While> </Order> </Profile>
It's actually for every zone I've tried. It seems there when there are 9999 Shards and Crystals aren't an option, it sits at attempting to gather more shards instead of canceling the gathering and moving to another node.
Correct you should do this instead then Code: <Profile> <Name>Mining - Ice Farming</Name> <KillRadius>40</KillRadius> <Order> <While Condition="True"> <If Condition="not IsOnMap(INSERT_ALEPORT_ZONEID_IDONTREMEMBEROFFTHETOPOFMYHEAD)"> <TeleportTo Name="aleport" AetheryteId="14" /> </If> <Gather while ="(ItemCount(9) < 9999) and (ItemCount(3) < 9999)"> <GatherObject>Rocky Outcrop</GatherObject> <HotSpots> <HotSpot Radius="95" XYZ="496.9813, 14.31586, 327.7469" /> </HotSpots> <ItemNames> <ItemName>Ice Crystal</ItemName> <ItemName>Ice Shard</ItemName> </ItemNames> <GatheringSkillOrder> <GatheringSkill SpellName="Menphina's Ward" TimesToCast="1" /> </GatheringSkillOrder> </Gather> <Gather while ="(ItemCount(9) < 9999)"> <GatherObject>Rocky Outcrop</GatherObject> <HotSpots> <HotSpot Radius="95" XYZ="496.9813, 14.31586, 327.7469" /> </HotSpots> <ItemNames> <ItemName>Ice Crystal</ItemName> </ItemNames> <GatheringSkillOrder> <GatheringSkill SpellName="Menphina's Ward" TimesToCast="1" /> </GatheringSkillOrder> </Gather> </While> </Order> </Profile> Also your not even checking the right item ids, 3 is ice shard and 9 is ice crystal. This profile will gather ice crystals and ice shards until it is full on ice shards then it will execute the second gather tag which will only gather ice crystals. Im not exactly sure what will happen if your full on ice shards and there is no ice crystal and the first item is the ice shard as the fallback behavior when the item you want isnt there is to mine the first available item.
It gets stuck. (Spent a long time trying to workaround this, and now finally have a great script for it ).