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!

Plugin concept GatherAssist - Gather multiple items with one command

Just realized you wrote Classy :) It's an essential piece of logic for advanced profiles, I'm sure that tag will be well loved before too long! I don't like the idea of requiring users to create settings, so I autodetected all the gear sets in my routine; next I need to extend all the tables to handle a class designation, then theoretically any class of gathering profile can be added to the internal items list and off it will go!
 
I'll have to do that eventually anyway to pick up fishing/botany support, unless I want to handle all the class switching logic myself. It's fortunate that Classy is available, even in alpha. Have you had success using it?

its technically out of alpha, it works just fine for me with my advanced gathering profiles for Spiritbinding sets.. I'm just keeping it as alpha at the moment incase there are any issues with other people that I did not experience.
 
Just realized you wrote Classy :) It's an essential piece of logic for advanced profiles, I'm sure that tag will be well loved before too long! I don't like the idea of requiring users to create settings, so I autodetected all the gear sets in my routine; next I need to extend all the tables to handle a class designation, then theoretically any class of gathering profile can be added to the internal items list and off it will go!

The reason I added the dialog box was to just make profile writing more clear, and for people who want to share profiles that use the plugin.. they can just place the class name instead of the slot number.. most people will only need to set that setting up once and forget about it. I think that <ChangeJob Type="Miner /> looks better in a profile than <ChangeJob GearSet="1" /> .. could make it difficult to get a basic understanding of a profile by just glancing at it.
 
Definitely. I'm disliking the idea of setting up gather profiles the same way, by adding slot numbers instead of item names. But I currently don't know of a way to force it to prioritize Unknown items first, so it just tilts endlessly against the first slot it finds on a new (to that player) node.
 
Alpha 0.3.4 posted; added multiclass support (Mining and Botany are the only supported gathering classes in the API at the moment, to my knowledge), and drastically improved documentation and code consistency (StyleCop). Current task list before beta:

- Finish cleaning up and documenting existing code
- Create test/validation process to automate large-scale testing of gathering profile execution (in other words, bot the bot; why not?)
- Wrap up user experience testing
- And then, the dreaded content survey :)

Keeping all this junk organized and prioritized at the github repo, https://github.com/ZaneMcFate/rebornbuddy-gatherassist .
 
Nice project, I look forward to it's outcome, I'll try to test it for you when I get some time.
 
I turned the plug on it colected few (about 2) and stop. Heres the log

View attachment 4576 2014-11-24 11.18.txt

If i move it comes back to the location where it stoped

[14:22:21.428 D] Requesting path on 139 from <431.8849, -3.4, 152.8908> to <431.9364, 6.170725, 153.5245>
[14:22:22.002 D] Generated path to <431.9364, 6.170725, 153.5245> in 00:00:00.5734189 ms
[14:22:22.311 D] Navigation reached current destination. Within 9,591391
[14:22:22.328 D] Requesting path on 139 from <432.136, -3.4, 154.0125> to <431.9364, 6.170725, 153.5245>
[14:22:22.686 D] Generated path to <431.9364, 6.170725, 153.5245> in 00:00:00.3576967 ms
[14:22:22.695 D] Navigation reached current destination. Within 9,573427
[14:22:22.712 D] Requesting path on 139 from <432.0225, -3.4, 153.735> to <431.9364, 6.170725, 153.5245>
[14:22:22.898 D] Generated path to <431.9364, 6.170725, 153.5245> in 00:00:00.1863758 ms
[14:22:22.913 D] Navigation reached current destination. Within 9,573427

UPDATE: Trying another items to gather, its working pretty well so far

Question: Where does the profile goes now? i wish to look the profile script, cuse i have a very functional profile wich counts item, gather and teleport to next item when its over without checking item count every x times. U should use in the profile the function
<While Condition="True"> and <Gather while="(ItemCount(4) < 2000)">
Heres an example:

-<Profile>

<Name>Lightning / Wind / Fire Shard Rotation</Name>

<KillRadius>50</KillRadius>


-<Order>


-<While Condition="True">

<!-- Gather Wind Crystals and Shards -->



-<If Condition="(ItemCount(4) < 2000)">

<TeleportTo AetheryteId="4" Name="the hawthorne hut"/>


-<Gather while="(ItemCount(4) < 2000)">

<GatherObject>Rocky Outcrop</GatherObject>


-<HotSpots>

<HotSpot XYZ="-57.55798, -10.11146, 288.4624" Radius="95"/>

</HotSpots>


-<ItemNames>

<ItemName>Wind Shard</ItemName>

</ItemNames>


-<GatheringSkillOrder>

<GatheringSkill TimesToCast="1" SpellName="Llymlaen's Ward"/>

</GatheringSkillOrder>

</Gather>

</If>

<!-- Gather Fire Crystals and Shards -->



-<If Condition="(ItemCount(2) < 2500)">

<TeleportTo AetheryteId="18" Name="camp drybone"/>


-<Gather while="(ItemCount(2) < 2500)">

<GatherObject>Rocky Outcrop</GatherObject>


-<HotSpots>

<HotSpot XYZ="140.7642, 7.528731, -98.47753" Radius="95"/>

</HotSpots>


-<ItemNames>

<ItemName>Fire Shard</ItemName>

</ItemNames>


-<GatheringSkillOrder>

<GatheringSkill TimesToCast="1" SpellName="Nald'thal's Ward"/>

</GatheringSkillOrder>

</Gather>

</If>

</While>

</Order>

</Profile>

Ps. i found a similar profile in the forum and made my own from the original. Guess the author is onyxial
 
Last edited:
Thanks for the feedback; logged this as issue #22. That behavior indicates that nothing is in range for the user; which likely means I placed the hotspot in the wrong location. I'll look into it and see what I find. Just for clarity, I assume Prospect was turned on and you are at the correct Mining level to gather it?

UPDATE: I confirmed this on my machine as well; I will black out that item and fix it. Ultimately, I need to create a large testing profile to iterate through all these to make sure these bugs don't happen, but I haven't built the framework yet (working on that now). Thanks again for posting your results, it helps to make this an excellent tool!
 
Last edited:
Question: Where does the profile goes now? i wish to look the profile script, cuse i have a very functional profile wich counts item, gather and teleport to next item when its over without checking item count every x times.

The dynamically generated profile goes to your windows temp folder, something like C:\Documents and Settings\USER\Local Settings\Temp\, but it varies from one machine to another. I wasn't sure how to detect the current plugins folder and didn't put too much effort into it, but ideally, I would like to be able to mass produce individual profiles for use outside of this plugin, since all the requisite information is (or will be) already contained inside the plugin.

Regarding the use of the ItemCount value, I actually didn't know it was there when I started this, which is the original reason I went around it. I am considering simplifying that effort a bit, but I want to make sure there aren't other adverse effects to reverting to standard profile parameters. For instance, I want to add an option to go for a high quality count instead of a normal quality count.
 
Last edited:
Thank you and keep up the great work! I have a couple suggestions. A SVN for this would be great. Also when farming shards/crystals it would be nice if it used abilities to boost the yield amount instead of using abilities for HQ.
 
A SVN for this would be great.

I am currently keeping the source code in Github, but if SVN sync is more convenient, I can look into setting up an SVN just for syncing the latest plugin. I'll take a look at how others are doing this with their plugins and follow the trend.

Also when farming shards/crystals it would be nice if it used abilities to boost the yield amount instead of using abilities for HQ.

I agree emphatically; that enhancement is currently listed in my project as "Issue #20 - Feature - add adaptive gathering spell selection" . I want to make this intelligent enough to select spells based on not only the item being gathered, but also the available skill set of the user and the % chance of harvesting the item (e.g. why increase normal gathering rate if it's already 100%?). Since it's important to you, I will at least go in there and promote the shard-based skills, since that's low-hanging fruit and can be done quickly. The full list of open issues can be located here for tracking:

https://github.com/ZaneMcFate/rebornbuddy-gatherassist/issues
 
well... Im a lawyer, so i dont know almost nothing about scriping, but i figure out how to add and edit mining spots. I have added 1 and changed the other one wich was stoping. For now on i guess i can make a good use of ur great pluggin.

If you need any help with in game verification, pls just ask and i'll be gald to do something.

I wont use svn cuse i have changed few things by my own, but i would like to know whenever it takes an update.

UPDATING: For the electrum ore, just put the range in 95. This is how its working on my RB
this.itemsTable.Rows.Add("Electrum Ore", "Miner", 15, "Mineral Deposit", 95, "425.5676, -2.748671, 180.2855");
 
Last edited:
Odd how you have the SVN set up. It puts a plug in folder in RB's plug in folder and won't show up in RB's plug in UI. To get it to work last time I had to pull everything out of the plug in folder and just put the GatherAssist folder in. I'm thinking it should just be a GatherAssist folder and everything you need is in there. As of now, if I try to pull anything out of your plug in folder, it either won't update or not show up at all in RB.
 
It seems I fixed the issue...somehow lol. I just re-extracted everything out of your plug in folder and it appears to be working now.
 
Awesome, glad it works properly! I need to be conscious of the fact that most people won't be opening the Visual Studio project to edit at that level, so it made sense to move the folder structure so people could quickly update. Once this goes to 1.0, I'll have a dev branch that updates more frequently, and a stable release so I don't break everyone with my experiments :)
 
The dynamically generated profile goes to your windows temp folder, something like C:\Documents and Settings\USER\Local Settings\Temp\, but it varies from one machine to another. I wasn't sure how to detect the current plugins folder and didn't put too much effort into it, but ideally, I would like to be able to mass produce individual profiles for use outside of this plugin, since all the requisite information is (or will be) already contained inside the plugin.

Regarding the use of the ItemCount value, I actually didn't know it was there when I started this, which is the original reason I went around it. I am considering simplifying that effort a bit, but I want to make sure there aren't other adverse effects to reverting to standard profile parameters. For instance, I want to add an option to go for a high quality count instead of a normal quality count.

Code:
 Path.Combine(GlobalSettings.Instance.PluginsPath, @"GatherAssist\Temp\profilename.xml")
 
Definitely. I'm disliking the idea of setting up gather profiles the same way, by adding slot numbers instead of item names. But I currently don't know of a way to force it to prioritize Unknown items first, so it just tilts endlessly against the first slot it finds on a new (to that player) node.

Orderbot will do <ItemName> tags in order.. (I have not tested this, but I think it would work for unknown items) .. something like:

Code:
 <ItemName> Unknown whatever(not too sure of the exact name </ItemName>
 <ItemName> first item </ItemName>
 <ItemName> Second Item </ItemName>

in theory it will always go for the unknown ones first, then if none, it will go for the first item. Again im not sure if this works on unknown slots, but I use this way when farming shards/crystals.. it will gather the crystals first if in the node, then gather shards at nodes that do not have crystals.
 
I have not tested this, but I think it would work for unknown items
I have tried that, and could not get it to recognize the Unknown item; it will simply skip to the next item in the list. That would be a really nice feature though!
 
Back
Top