• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Plugin concept GatherAssist - Gather multiple items with one command

    Discussion in 'Plugins' started by ZaneMcFate, Nov 18, 2014.

    1. ZaneMcFate

      ZaneMcFate Member

      Joined:
      Nov 17, 2014
      Messages:
      137
      Likes Received:
      2
      Trophy Points:
      18
      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!
       
    2. Yasuko

      Yasuko Member

      Joined:
      Oct 28, 2010
      Messages:
      314
      Likes Received:
      6
      Trophy Points:
      18
      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.
       
    3. Yasuko

      Yasuko Member

      Joined:
      Oct 28, 2010
      Messages:
      314
      Likes Received:
      6
      Trophy Points:
      18
      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.
       
    4. ZaneMcFate

      ZaneMcFate Member

      Joined:
      Nov 17, 2014
      Messages:
      137
      Likes Received:
      2
      Trophy Points:
      18
      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.
       
    5. ZaneMcFate

      ZaneMcFate Member

      Joined:
      Nov 17, 2014
      Messages:
      137
      Likes Received:
      2
      Trophy Points:
      18
      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 .
       
    6. Tinytox

      Tinytox Member

      Joined:
      Nov 5, 2014
      Messages:
      370
      Likes Received:
      7
      Trophy Points:
      18
      Nice project, I look forward to it's outcome, I'll try to test it for you when I get some time.
       
    7. v1toor

      v1toor New Member

      Joined:
      Oct 22, 2014
      Messages:
      27
      Likes Received:
      0
      Trophy Points:
      0
      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

      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
      Heres an example:

      Ps. i found a similar profile in the forum and made my own from the original. Guess the author is onyxial
       
      Last edited: Nov 24, 2014
    8. ZaneMcFate

      ZaneMcFate Member

      Joined:
      Nov 17, 2014
      Messages:
      137
      Likes Received:
      2
      Trophy Points:
      18
      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: Nov 24, 2014
    9. ZaneMcFate

      ZaneMcFate Member

      Joined:
      Nov 17, 2014
      Messages:
      137
      Likes Received:
      2
      Trophy Points:
      18
      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: Nov 24, 2014
    10. Dgame

      Dgame Member

      Joined:
      Aug 19, 2014
      Messages:
      320
      Likes Received:
      0
      Trophy Points:
      16
      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.
       
    11. ZaneMcFate

      ZaneMcFate Member

      Joined:
      Nov 17, 2014
      Messages:
      137
      Likes Received:
      2
      Trophy Points:
      18
      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.

      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
       
    12. ZaneMcFate

      ZaneMcFate Member

      Joined:
      Nov 17, 2014
      Messages:
      137
      Likes Received:
      2
      Trophy Points:
      18
    13. v1toor

      v1toor New Member

      Joined:
      Oct 22, 2014
      Messages:
      27
      Likes Received:
      0
      Trophy Points:
      0
      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
       
      Last edited: Nov 24, 2014
    14. Dgame

      Dgame Member

      Joined:
      Aug 19, 2014
      Messages:
      320
      Likes Received:
      0
      Trophy Points:
      16
      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.
       
    15. Dgame

      Dgame Member

      Joined:
      Aug 19, 2014
      Messages:
      320
      Likes Received:
      0
      Trophy Points:
      16
      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.
       
    16. ZaneMcFate

      ZaneMcFate Member

      Joined:
      Nov 17, 2014
      Messages:
      137
      Likes Received:
      2
      Trophy Points:
      18
      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 :)
       
    17. Yasuko

      Yasuko Member

      Joined:
      Oct 28, 2010
      Messages:
      314
      Likes Received:
      6
      Trophy Points:
      18
      Code:
       Path.Combine(GlobalSettings.Instance.PluginsPath, @"GatherAssist\Temp\profilename.xml") 
       
    18. Yasuko

      Yasuko Member

      Joined:
      Oct 28, 2010
      Messages:
      314
      Likes Received:
      6
      Trophy Points:
      18
      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.
       
    19. ZaneMcFate

      ZaneMcFate Member

      Joined:
      Nov 17, 2014
      Messages:
      137
      Likes Received:
      2
      Trophy Points:
      18
      Updated the Electrum Ore location and profile generation path in source; thank you!
       
    20. ZaneMcFate

      ZaneMcFate Member

      Joined:
      Nov 17, 2014
      Messages:
      137
      Likes Received:
      2
      Trophy Points:
      18
      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!
       

    Share This Page