• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Moving bot to Current Target

    Discussion in 'Combat Routines' started by Gualtiero, Nov 8, 2015.

    1. Gualtiero

      Gualtiero New Member

      Joined:
      Jun 27, 2014
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      What I'd like to know is if there is a way to make the bot automatically move toward the selected target (Melee or ranged distance) and, eventually, autotarget the enemies while in combat: like in FightatJoe routines.
      I tried to find something looking the API documentation but it is beyond my comprension.
      Tried also to look in all .cs files of BuddyWing but did not find anything that can help me.
      Unfortunatly there are no examples around.
      I use the bot only for combat rotation but I have to move it to the next enemy location if it is far from melle distance.

      Hope you can help me.

      Thank you for your attention
       
    2. steve72

      steve72 New Member

      Joined:
      May 24, 2012
      Messages:
      25
      Likes Received:
      0
      Trophy Points:
      1
      I have the same problem.I have buy the bot and i think that this like to work wie honorbuddy.thats not true.have you a idea what we doo??
      Kick profiles dosnt like too work.he stay all time on the same place...help pls
       
    3. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      I think i may have some code around i got from someone, last year.
      Give me the weekend to search.
       
    4. Gualtiero

      Gualtiero New Member

      Joined:
      Jun 27, 2014
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      Great Cryogenesis.....thanks alot
       
    5. wired203

      wired203 Community Developer

      Joined:
      Jan 22, 2015
      Messages:
      391
      Likes Received:
      1
      Trophy Points:
      18
      It's a profile for this, I know I got the answer months back and added it to my personal profile. I'll have to see if I can find some time to look/ID it and post.

      https://www.thebuddyforum.com/buddy...ines/197829-defaultcombat-52.html#post2006915

      Post below is Strepie's and he helped me with it, this will move you to targeted mob and then attack side mobs and kill as well. You want it to be a mapped planet to get the best movement otherwise movement has to be very close.
       
      Last edited: Nov 13, 2015
    6. Gualtiero

      Gualtiero New Member

      Joined:
      Jun 27, 2014
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      I had to do little format modification to make it load:
      Code:
      <Profile>
      	<Name>Combat Move</Name>
      		<ForceAlignment Type="Light" AutoSkip="True" />
      
      		<Questing>
      			<If Condition="((not HasQuest(0xE000D81B7BFA4EB9)) and (not IsQuestComplete(0xE000D81B7BFA4EB9)))">
      			</If>
      		</Questing>
      </Profile>
      Problems are:
      1 - Framerate drop
      2 - The Bot atomatically target everything near and move, do not wait for me to choose a new target.
       
    7. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      You activate grindbot with it, where it kills everything insight.
      Do note it can wonder off and get you stuck horribly.
      The code I was looking for is code that needs to be used in conjunction with a addon or merging it to default combat
       
    8. Gualtiero

      Gualtiero New Member

      Joined:
      Jun 27, 2014
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      Waiting to have a look at it :)
       
    9. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      This was made by Rostol.
      This addon was basically made for dumping purposes, but we wanted to go more advanced.
      What he tried to do in the end, was to get a list of every object around you and then you could select it in the list and walk to.
      Where I think nav was to be could to create a route.

      I hope you can do something with this.

      Check BuddyLogger.cs at the end (MoveTo and such)
       

      Attached Files:

    10. Gualtiero

      Gualtiero New Member

      Joined:
      Jun 27, 2014
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      Thank you very Much Cryogenesis.
      I'll take a look and try mo get something good.
       

    Share This Page