• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • CreatureIds in a grinding profile

    Discussion in 'Wildbuddy Developers' started by esk213, Apr 3, 2015.

    1. esk213

      esk213 New Member

      Joined:
      Jul 25, 2013
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      1
      The tag either doesn't work or just doesn't do what I think it should do.

      My understanding of it was, that I put all the ID's of creatures I want to kill into this tag and the bot won't attack creatures I didn't list there. Am I wrong? Cause my bot keeps running face first into all the Prime mobs although they aren't listed. Did I miss something?

      PHP:
              <Grind Condition="GameManager.LocalPlayer.Level &gt;= 6 and GameManager.LocalPlayer.Level &lt;= 8" 
                  <
      CreatureIds>3109831583304643045930506305073045030259</CreatureIds
                  <
      GrindArea
                      <
      Hotspot X="-3330.241" Y="-785.8608" Z="-3746.739" MapId="22" Timeout="750" Range="200" /> 
                  </
      GrindArea
              </
      Grind>
       
    2. Deathdisguise

      Deathdisguise Community Developer

      Joined:
      Mar 7, 2015
      Messages:
      678
      Likes Received:
      6
      Trophy Points:
      0
      The GrindTag.CreatureId attribute certainly isn't working as implied, although sometimes it does ignore primes for me, maybe just a fluke?

      A significantly more annoying way around this is to implement your own behavior or to size up your hotspots to create gaps where primes are located! (IE, more circles)
       
    3. forcewalker

      forcewalker New Member

      Joined:
      Aug 22, 2014
      Messages:
      29
      Likes Received:
      2
      Trophy Points:
      0
      Yea CreatureIds isn't working right. It basically just targets whatever is closest to you as long as it is within your hotspot "range". I made a post about it a month ago on the support forum. Apoc said it was easy to fix and he was going to have walter do it or something but I haven't seen or heard anything about it since.
       
    4. Lukov

      Lukov New Member

      Joined:
      Apr 3, 2015
      Messages:
      63
      Likes Received:
      2
      Trophy Points:
      0
      They have an Avoid and AvoidCreature implemented for the profile bot that would solve the issue with prime mobs, though neither currently seem to do anything.
       
    5. walter

      walter Active Member

      Joined:
      Jun 25, 2012
      Messages:
      1,112
      Likes Received:
      10
      Trophy Points:
      38
      Hit me up with a PM with issues your still having so things can be hashed out correctly.

      Thanks
       
    6. forcewalker

      forcewalker New Member

      Joined:
      Aug 22, 2014
      Messages:
      29
      Likes Received:
      2
      Trophy Points:
      0
      What do you want me to PM you? All the info about the problem is right here in this thread. I'll say again the issue is that no matter what CreatureIds(even if blank) you put in a grind profile that the bot will just go after whatever mob is closest to you. It should only go after the CreatureIds listed unless you are aggro'd.
       
    7. walter

      walter Active Member

      Joined:
      Jun 25, 2012
      Messages:
      1,112
      Likes Received:
      10
      Trophy Points:
      38

      Will have it looked into. Make sure to have a good easter.

      Thanks
       
    8. themarketguy

      themarketguy New Member

      Joined:
      Jun 24, 2015
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      This still seems to be an issue, which really can kill performance when you're running around a zone with unkillable but attackable mobs. Any solution for ignoring specific creatureids or any thoughts on when this would be resolved?
       
    9. Deathdisguise

      Deathdisguise Community Developer

      Joined:
      Mar 7, 2015
      Messages:
      678
      Likes Received:
      6
      Trophy Points:
      0
      No way to do it with the current GrindTag implementation. If you aren't using a complicated array of hotspots, you can swap over to the KillTag in QuestHelper, though. :)
       
    10. themarketguy

      themarketguy New Member

      Joined:
      Jun 24, 2015
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      So, DD, that said, I was taking a look through some of your source, and it would seem that if we wanted to we could add an entry to the KillTag.cs file and potentially ignore specific actors in the ValidGenericKill method (I believe this would be the appropriate location, maybe not?). My assumption was something simple like the following entry:

      Code:
      			if (actor.Name == "Galeras Sprout")
      				return false;
      That did not work, it was still a targeted mob. I was looking through objects for Wildbuddy for GameManager.Actors and didn't see anything beneath it. Any thoughts on how to black out a specific actor by name or ID or any other object reference? This could add a lot of potential for solid grinding profiles.

      If I've left anything out and confused you, let me know, I'll clarify.

      Thanks.
      tmg
       
    11. Deathdisguise

      Deathdisguise Community Developer

      Joined:
      Mar 7, 2015
      Messages:
      678
      Likes Received:
      6
      Trophy Points:
      0
    12. Deathdisguise

      Deathdisguise Community Developer

      Joined:
      Mar 7, 2015
      Messages:
      678
      Likes Received:
      6
      Trophy Points:
      0
      Pushed an update to the SVN, let me know. :)
       
    13. themarketguy

      themarketguy New Member

      Joined:
      Jun 24, 2015
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      That should do the trick in 99% of cases, might not have a chance to try it out tonight, but it should be an improvement.
       
    14. Deathdisguise

      Deathdisguise Community Developer

      Joined:
      Mar 7, 2015
      Messages:
      678
      Likes Received:
      6
      Trophy Points:
      0
      Yeap! Worst case scenario, specifying any creatureId will switch it to SpecificKill where it only will engage those listed (including fodder)
       
    15. themarketguy

      themarketguy New Member

      Joined:
      Jun 24, 2015
      Messages:
      117
      Likes Received:
      0
      Trophy Points:
      0
      And, I think the err of my ways was trying to use actor, I think if I had instead made my line

      Code:
      			if (Buddy.Wildstar.Game.Actors.CreatureInfo == "Galeras Sprout")
      				return false;
      
      it would have worked, I dug in a little deeper and found that name isn't included in Actors it's included in CreatureInfo, or if I chose CreatureID as a part of Actor so it looked like:

      Code:
      			if (actor.CreatureID == "123456")
      				return false;
      
      that would have also worked. I was rushed and trying a quick fix, I'm new to Wildstar and this bot, still trying to even get it working right before purchasing a license.

      I do believe that by not targeting fodder though, it's unnecessary, I would just have to check specific targets - I've come across a few oddities in the world and can't recall their rank. For example, there's some robots in algoroc that you deal damage to and they heal right back up, don't recall without going back there if they are fodder or not.

      I digress, next thing to figure out is actual mob avoidance so primes aren't wrecking you. Something like a priority based proximity check before engaging, calculate based on creature location, look at all creatures within X meters of target creature and ignore if rank 6 is found within that number of meters. I saw you mention this somewhere that it was something you were working on, any breakthroughs or thoughts to share on this topic?
       
    16. Deathdisguise

      Deathdisguise Community Developer

      Joined:
      Mar 7, 2015
      Messages:
      678
      Likes Received:
      6
      Trophy Points:
      0
      I have a somewhat working method that's avoiding pathing into primes, and not engaging mobs in primes, still bugs that need to be worked out before it sees public eyes, though. :(
       
    17. mmdc

      mmdc New Member

      Joined:
      May 9, 2014
      Messages:
      20
      Likes Received:
      0
      Trophy Points:
      0
      Hi, is there any update on this tag. It seem that the tag is still not working as expected.

      This is my profile:

      <Profile Name="24+" Author="xxx" Version="1">
      <Grind>
      <CreatureIds>24093, 24090, 24092, 24094, 24933</CreatureIds>
      <GrindArea>
      <Hotspot X="3838.981" Y="-937.088" Z="-191.9029" MapId="51" Timeout="10" Range="200" />
      </GrindArea>
      </Grind>
      </Profile>
       
    18. Apoc

      Apoc Moderator Staff Member Moderator

      Joined:
      Jan 16, 2010
      Messages:
      2,790
      Likes Received:
      94
      Trophy Points:
      48
      CreatureIds is not an element, it's an attribute.

      HTML:
      <Grind CreatureIds="1,2,3,4,5">
       
    19. mmdc

      mmdc New Member

      Joined:
      May 9, 2014
      Messages:
      20
      Likes Received:
      0
      Trophy Points:
      0
      Thanks that helps.

      I just looked at the decompiled code, it found AvoidCreature tag. I think it is more useful for me because I just want to avoid prime mob.

      Thanks.
       
    20. Angully

      Angully Member

      Joined:
      Sep 19, 2010
      Messages:
      764
      Likes Received:
      1
      Trophy Points:
      18
      @Apoc which element tag would you use in a profile for harvesting as it used to be viable to use "CreatureIds" to specify which nodes to farm. Or is this no longer possible?
       

    Share This Page