• Visit Rebornbuddy
  • How to load profile and let the character run as profile setting in personal botbase.

    Discussion in 'Community Developer Forum' started by bigofsmall3, Oct 12, 2014.

    1. bigofsmall3

      bigofsmall3 New Member

      Joined:
      Sep 26, 2014
      Messages:
      37
      Likes Received:
      0
      Trophy Points:
      0
      Hi, Guys:

      I want to write my own botbase, but I dont know how to load the profile and how to let character move acorrding profile, is there any example can referred?

      Thanks in advance.
       
    2. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,232
      Likes Received:
      364
      Trophy Points:
      83
      Need a bit more information on what you want todo. Saying "move according to profile" doesn't really give me much to go on.
       
    3. bigofsmall3

      bigofsmall3 New Member

      Joined:
      Sep 26, 2014
      Messages:
      37
      Likes Received:
      0
      Trophy Points:
      0
      Sorry for my bad english, as it's not my native language.
      I want to load the follow profile like the profile in order bot:
      Code:
      <Hotspot Radius="80" XYZ="-51.00973, 2.360272, -638.6552" name="Southern Thanalan" />
      <Hotspot Radius="80" XYZ="-57.86775, 7.101517, -677.3739" name="Southern Thanalan" />
      <Hotspot Radius="80" XYZ="-84.54764, 13.17329, -709.4747" name="Southern Thanalan" />
      <Hotspot Radius="80" XYZ="15.16598, 3.342626, -667.8868" name="Southern Thanalan" />
       <Hotspot Radius="80" XYZ="-49.56005, 3.715201, -581.1071" name="Southern Thanalan" />
      
      Then botbase will load it and let my character go to the first hotspot, after arrived there, it'll go to the second hotsopt,then the third...
      After my character arrived at the last hotpot, it'll go to the first hotspot again, go to the second....
      That's my requirement in my botbase, hope I clarfy it :)

      Thanks again.
       
    4. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,232
      Likes Received:
      364
      Trophy Points:
      83
      You can do this easily with orderbot.

      Code:
      
      <While Condition="True">
      <MoveTo XYZ="230.4888, 21.39539, -600.625" />
       <MoveTo XYZ="216.6018, 21.40833, -603.8453" />
      <MoveTo XYZ="205.6763, 25.74194, -610.0404" />
      </While>
      
      
       
    5. bigofsmall3

      bigofsmall3 New Member

      Joined:
      Sep 26, 2014
      Messages:
      37
      Likes Received:
      0
      Trophy Points:
      0
      Thanks, but I want to write my own botbase to do some special thing, i'll not help me with above profile.

      Thanks again.
       
    6. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,232
      Likes Received:
      364
      Trophy Points:
      83
      Your best bet will to create a class that overrides profilebehavior.

      Code:
      
          [XmlElement("MoveTo")]
      
          public class MoveToTag : ProfileBehavior
      
      
       

    Share This Page