What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Need some help writing a short profile

Madske

New Member
Joined
Oct 27, 2012
Messages
121
Reaction score
0
Hello there fellow botters :)
I really want to write my own profile for farming Scarlet Monastery. I have encountered two problems doing this:

1: The bot kills single mob groups instead of pulling the whole instance, before killing them off. I think I saw a method to do this mentioned in another thread, but I can't seem to find it again.

2: I can't seem to make the bot reset the instance after running it.

If anyone can help me with this, your help would be much appreciated!
 
1) RunLikeHell will do the running thru the instance pulling things along the way. Caution using zigzags though, as RunLikeHell will you path of shortest distance to the end hotspot (sometimes)

2)
Code:
<CustomBehavior File="RunMacro" Macro="/script ResetInstances()" /> <!-- resets instances -->

Note to the wise: If you're farming this instance, keep in mind the 5 instances in 1 hour rule. If you finish too fast, it will eventually hit a wall of not being able to enter. Ideally 12 mins per instance is a guaranteed safe bet for farming.
There is also a CB that will pause the bot after exiting the instance until the 12 minutes is reached, Misc\InInstance (QuestBehaviors\Misc\InInstance.cs) Read up on that one, its great for that situation.
 
1) I've found this code for Runlikehell, is it this that I'm supposed to copy into a document? If yes, which and where in it?

Code:
/// 

        /// Allows you to Run following a specific path.  Supports options to prevent combat 
        /// (disables CC while running), use Click-To-Move instead of Navigator, and
        /// the ability to specify a mob that when it enters the specified range, causes
        /// you to move to the nexts point.  
        /// 
        /// A few key difference between this and having several RunTo/NoCombatMoveTo in sequence:
        /// - HonorBuddy allows CC control between lines if attacked; RunLikeHell does not
        /// - Syntax allows easy switch from ClickToMove() to Navigator.MoveTo() when a mesh is updated
        /// - On startup, RunLikeHell finds the closest point in the path and starts there
        /// - If Combat=true, will only fight if aggro picked up while running.. will not Pull
        /// 
        /// If QuestId is non-zero, behavior will stop when quest becomes complete even if 
        /// it has not completed NumOfTimes iterations of full path specified
        /// 
        /// You can control the movement with the options below. 
        /// 
        /// ##Syntax##
        /// [Optional] QuestId: Id of the quest (default is 0)
        /// [Optional] WaitTime: ms to pause at each point (default is 0)
        /// [Optional] MobId: wait at point until mob is within Range yds (default is to move immediately)
        /// [Optional] Range: when mob is within this distance, move to next point (default is 15)
        /// [Optional] NumOfTimes: number of times to run path (default is 1)
        /// [Optional] Combat: fight back if attacked (default is true, false you keep moving)
        /// [Optional] UseCTM: use ClickToMove if true, otherwise Navigator (default is false)
        /// [Required]  : child elements specifying path to run
        /// 
        /// ##Examples##
        /// following will take path one time as listed
        /// 
        ///     
        ///     
        ///     
        /// 
        /// 
        /// following path up to 4 times and moves to next spot only 
        /// if the mob #40434 is within 10 yds
        /// 
        ///     
        ///     
        ///     
        /// 
        /// 
        /// following follows path up to 4 times and moves to next spot only 
        /// if the mob #40434 is within 10 yds.  stops at 4 loops or when quest complete
        /// 
        ///     
        ///     
        ///     
        /// 
        /// 
        ///

2) Thanks for sharing that! This is my first profile, so I am kinda confused as to where I'm supposed to put that in :p Can you be a bit more detailed?
 
1) I've found this code for Runlikehell, is it this that I'm supposed to copy into a document? If yes, which and where in it?

Code:
/// 

        /// Allows you to Run following a specific path.  Supports options to prevent combat 
        /// (disables CC while running), use Click-To-Move instead of Navigator, and
        /// the ability to specify a mob that when it enters the specified range, causes
        /// you to move to the nexts point.  
        /// 
        /// A few key difference between this and having several RunTo/NoCombatMoveTo in sequence:
        /// - HonorBuddy allows CC control between lines if attacked; RunLikeHell does not
        /// - Syntax allows easy switch from ClickToMove() to Navigator.MoveTo() when a mesh is updated
        /// - On startup, RunLikeHell finds the closest point in the path and starts there
        /// - If Combat=true, will only fight if aggro picked up while running.. will not Pull
        /// 
        /// If QuestId is non-zero, behavior will stop when quest becomes complete even if 
        /// it has not completed NumOfTimes iterations of full path specified
        /// 
        /// You can control the movement with the options below. 
        /// 
        /// ##Syntax##
        /// [Optional] QuestId: Id of the quest (default is 0)
        /// [Optional] WaitTime: ms to pause at each point (default is 0)
        /// [Optional] MobId: wait at point until mob is within Range yds (default is to move immediately)
        /// [Optional] Range: when mob is within this distance, move to next point (default is 15)
        /// [Optional] NumOfTimes: number of times to run path (default is 1)
        /// [Optional] Combat: fight back if attacked (default is true, false you keep moving)
        /// [Optional] UseCTM: use ClickToMove if true, otherwise Navigator (default is false)
        /// [Required]  : child elements specifying path to run
        /// 
        /// ##Examples##
        /// following will take path one time as listed
        /// 
        ///     
        ///     
        ///     
        /// 
        /// 
        /// following path up to 4 times and moves to next spot only 
        /// if the mob #40434 is within 10 yds
        /// 
        ///     
        ///     
        ///     
        /// 
        /// 
        /// following follows path up to 4 times and moves to next spot only 
        /// if the mob #40434 is within 10 yds.  stops at 4 loops or when quest complete
        /// 
        ///     
        ///     
        ///     
        /// 
        /// 
        ///

2) Thanks for sharing that! This is my first profile, so I am kinda confused as to where I'm supposed to put that in :p Can you be a bit more detailed?

No you don't want to copy that into a profile. It's not compatible. Call it using the same CustomBehavior call as RunMacro above.

The reset instance command you want to put whenever you want it to reset. Either before or after you enter.
 
I don't know how to explain it but the bot won't use the RunLikeHell behaviour in the profile, so it keeps attacking every single creep group? How do I make use of it?
 
I've decided that writing my own profile is too difficult for me at the moment.
But thanks alot for helping me out, I just don't get too much of it :p Sorry mate
 
Back
Top