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.
Need a bit more information on what you want todo. Saying "move according to profile" doesn't really give me much to go on.
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.
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>
Thanks, but I want to write my own botbase to do some special thing, i'll not help me with above profile. Thanks again.
Your best bet will to create a class that overrides profilebehavior. Code: [XmlElement("MoveTo")] public class MoveToTag : ProfileBehavior