What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Mln] Problems with creating Gathering profile for farming Levemetess

Farmith

Member
Joined
Mar 23, 2019
Messages
30
Hi,

I'm a bit new to making my own profiles, working right now on mining Levequests (not GC etc), i wish to list all active levequests that have been taken for use with my profile, but i can't seem to find how to do that?

The QuestManager.ActiveQuests only has normal quests, not leves, so i drew a blank there, also browsed through the documentation but couldnt find what i was looking for (maybe im looking for the wrong thing?)

Also, i checked the LeveGen code a bit but since im unsure what im looking for it was a wee bit messy, one possibility i found was _Realm.GameData.-GetSheet<SaintCoinach.Xiv.Level(); which kindof looks like its returning an array/list of items, in which there are assignments, but are these normal leves or something specific?

Any help wouild be apreciated!

PS.
Basically what i'm trying to do, is to get the profile to aquire levemetes from NPC, and then do them accordingly, but i can't get it to get the quests if i don't know the quest ID's, so i need to iterate through aquired quests (i assume) to be able to get those ID's and put them in the profile for use. Already gotten to the point where i can get to the correct NPC and talk to it, but thats kind of where i'm stuck at the moment.

EDIT #1:
Found out how to get the IDS for atleast many of the LeveQuests by finding the open-sourced XIV Data mining project and its associated CSV files, however still unclear how to find if the quest has already been aquired or not i.e listing active aquired leves

EDIT #2:
Well, using HasQuest(id) seems to do what i want from the profile so im taking it from there at the moment, not sure if i can actually pick up / turn in the quests as for now but, seems ive self-solved my conundrums for now

EDIT #3:
Well, not exactly tho, i found this snippet: <PickupLeve LeveId="123" LeveType="Tradecraft" NpcId="1234567" XYZ="10, 20, 30" /> which looks like it can pick up leves, but using HasQuest doesnt seem to find them even when they are picked up for some reason, invastiagion is ongoing

EDIT #4:
Well, whole day gone, haven't made any progress since edit #3 really, started working from the "other end", trying to do a simple grind profile for Water Rock (attached) but now even that wont work at all, i get paths from the API and stuff but the dude wont even move.. maybe i just need sleep dunno everything just messes atm.

Code:
<Profile>
  <Name>Water rock</Name>
  <KillRadius>80</KillRadius>
  <Order>
    <If Condition="(not IsOnMap(139)) and (not IsOnMap(180))">
        <LogMessage Message="Gettin our hiney to upper la noscea, through western lanoscea!" />
        <TeleportTo Name="Camp Overlook" AetheryteId="16" />
        <WaitTimer WaitTime="10" />
    </If>
    <If Condition="IsOnMap(180)">
        <LogMessage Message="Running ass off to upper la noscea" />
        <MoveTo ZoneId="180" XYZ="325.1062, 50.24898, -81.39588" />
    </If>
    <If Condition="IsOnMap(139)">
        <LogMessage Message="Moving towards farmspot" />
        <!-- <MoveTo Name="StartLocation" XYZ="424.57, -1.954906, 79.13354" /> -->
        <LogMessage Message="Are we there yet?" />
        <Gather while="1">
            <GatherObject>Rocky Outcrop</GatherObject>
            <HotSpots>
               <HotSpot Radius="95" XYZ="424.57, -1.954906, 79.13354" />
            </HotSpots>
            <ItemNames>
                <ItemName>Water Rock</ItemName>
            </ItemNames>
            <GatheringSkillOrder>
                <GatheringSkill SpellName="Prospect" TimesToCast="2" />
            </GatheringSkillOrder>
        </Gather>
    </If>
  </Order>
</Profile>
 
Last edited:
Unfortunately the api provided for leves is not that great. You can check levemanager.Leves for one of the leve datastructures, but im pretty sure the names/layout might be inaccurate. I think exbuddy has some stuff for interacting with leves.
 
Unfortunately the api provided for leves is not that great. You can check levemanager.Leves for one of the leve datastructures, but im pretty sure the names/layout might be inaccurate. I think exbuddy has some stuff for interacting with leves.

Yeah i read alot on ExBuddy but it would seem (i could be wrong) that it only has GC Leves functionality embedded, you didnt happen to see what ive done wrong with my simple profile i added up there? Can't even get such a simple thing to work
 
Probably ment to use GetTo, GetTo is for ensuring your on a map, then you use regular moveto or nocombatmoveto, or if you know your point is on the otherside of the map and you can fast travel there somehow, you would use getto again.
 
Probably ment to use GetTo, GetTo is for ensuring your on a map, then you use regular moveto or nocombatmoveto, or if you know your point is on the otherside of the map and you can fast travel there somehow, you would use getto again.

When i run the profile i made, even if im standing literally just 100 yalms away from the "destination" the character wont move there, any ideas on that one? (i.e when i am on the right map/zone)
 
Code:
[22:47:05.415 N] Loaded profile Water rock
[22:47:05.416 N] Bot Thread Started.
[22:47:05.417 N] Clearing all hooks.
[22:47:05.417 D] Inserted new hook [TreeStart @0] e0ad44a7-e678-49fe-85ee-45ed08999ebf
[22:47:05.417 D] Replaced hook [PreCombatBuff] 9d2c0a9d-c626-47a9-8da4-549249a06fa6
[22:47:05.417 D] Replaced hook [Heal] f0eb79f3-630f-421c-9295-29e4bd747f8c
[22:47:05.417 D] Replaced hook [Pull] d93f3635-b516-412c-bd39-12f7165e3b39
[22:47:05.417 D] Replaced hook [CombatBuff] 0aa0b417-21ff-4102-8e0f-8893ee060b2b
[22:47:05.417 D] Replaced hook [Combat] ec651960-70c4-4bf2-9443-80dfa11db877
[22:47:05.417 D] Replaced hook [Rest] acee17a9-4f6f-4cbc-913a-b83e951dc41b
[22:47:05.417 D] Added new hook [RoutineCombat] 5bc457ed-53fd-426d-b126-9d738447e625
[22:47:05.417 D] Added new hook [HotspotPoi] 2504e323-900d-4cab-afe4-266e82790208
[22:47:05.417 D] Added new hook [SetDeathPoi] e4f5b004-4ec3-41f6-aaab-1e61e774c6a5
[22:47:05.417 D] Added new hook [SetCombatPoi] cdfc7928-d524-461d-9d26-8f069d3deb86
[22:47:05.417 D] Added new hook [SetHotspotPoi] 9fda5635-0cbc-47d0-baa2-c08fbdc66939
[22:47:05.417 D] Added new hook [SelectPoiType] fcbc75ef-18ce-448c-8ac5-e603657d366c
[22:47:05.417 D] Replaced hook [SelectPoiType] cfe9ce4e-fd6b-4c05-a26a-5e26e9c9ea92
[22:47:05.417 D] Inserted new hook [TreeStart @0] 61dbc62d-cd94-40cf-afb7-6122c0bda209
[22:47:05.451 N] Attempting to call GetType: 7FF623EEC800+C0 = 7FF623EEC8C0
[22:47:05.523 V] [Poi.Clear] Reason: Current behavior changed to LogMessageTag: LineNumber: 16, IsDone: False, Message: Moving towards farmspot, HighPriority: False, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: null, .
[22:47:05.523 D] Removed all hooks from [HighPriorityProfileOrderBehavior_Hook]
[22:47:05.524 D] Replaced hook [ProfileOrderBehavior_Hook] 3f7b7ab1-431a-4061-93a3-82e8ae56aaf3
[22:47:05.524 N] Moving towards farmspot
[22:47:05.583 N] [SideStep] Removing 1 completed spells
[22:47:05.584 V] [Poi.Clear] Reason: Current behavior changed to LogMessageTag: LineNumber: 18, IsDone: False, Message: Are we there yet?, HighPriority: False, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: null, .
[22:47:05.584 D] Replaced hook [ProfileOrderBehavior_Hook] 0e6c630e-307d-40d4-b65e-963eb8ece904
[22:47:05.584 N] Are we there yet?
[22:47:05.647 V] [Poi.Clear] Reason: Current behavior changed to GatherTag: LineNumber: 19, IsDone: False, WhileCondition: 1, InteractDistance: 3, HotSpots: System.Collections.Generic.List`1[ff14bot.Navigation.HotSpot], BlackSpots: null, GatherObject: Rocky Outcrop, ItemNames: System.Collections.Generic.List`1[System.String], Loops: -1, Slot: -1, SkillOrder: ff14bot.NeoProfiles.GatheringSkillOrder, HighPriority: False, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: null, .
[22:47:05.667 D] Added new hook [PoiAction] 2e541d43-0d3f-44c5-8bfd-8048a09865b4
[22:47:05.669 D] Replaced hook [ProfileOrderBehavior_Hook] ed03963c-6e0d-460b-9fcc-a1443cfb76e2
[22:47:07.958 N] Requesting path on 139 from <-441.6031, -1.669324, 114.8183> to <424.57, -1.954906, 79.13354> within 5 (Moving to HotSpot)
[22:47:08.570 N] Received path response to <424.57, -1.954906, 79.13354> in 00:00:00.6118893 ms
 
Oh bloody hell, theres a - sign missing in the code :S in the X location, with that sorted it seems to work
 
Back
Top