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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Harvesting Range

Thugface

New Member
Joined
Oct 29, 2015
Messages
30
Is there any way to increase the range from where my character clicks harvest nodes? For some reason he wants to get on top of it before he activates it.
 
I dont think you can change this in BW itself at this moment.
What you can do is the following:
- Create a new Quest profile
- Inside the Quest tags enter this code:
Code:
 			<While Condition="(HasQuest(1) and (not IsQuestComplete(1))">
				<UseObject QuestId="1" Radius="50" UseRange="5" WaitTime="5" IgnoreLOS="True" >
					<Placeables>
						<Placeable>ITEMNAME</Placeable>
					
					</Placeables>
					<Hotspots>
						HOTSPOTS HERE

					</Hotspots>
				</UseObject>
			</While>

- Now what you do is, change UseRange="5" to whatever you need. For interaction with game objects 5 is the better value for interaction.
You can tinker with this value what suits you. Waittime is for how long the bot has to wait for interaction, IgnoreLOS is for if its a tad out of sight, but interactable, it will use it no matter what.
Radius is your searchcircle at a hotspot. Enter the Placeable (gameobjectname) in and the hotspots and try it out. I think the IgnoreLOS will also solve your current issue, as it will click at userange 5 regardless whats in between us and the node.

Do note, it will never go a static route with this, it will go the the nearest usable object from where you are now.
I put these in a while statement, as it will never get out of it, as QuestId 1 is nothing (which we have infinitely).

If you got more questions, just ask them.
 
I have been using a grind profile to do my harvesting with set hotspots, is that already the wrong way?
 
No for a simple grindprofile yours is the correct way.
Only if you do it the optional way via Questcode, you can tweak the userange, gatherrange etc., which you cant in the bot itself except the gatherrange.
 
Oh ok got it. Kind of off topic but... my Assassin will kill a mob, go invisible, then loot the mob revealing me as he runs off to the next harvest target. Is there any way to switch the stealth to after the looting? Even more optimally, looting - going stealth - then using Force Speed to take off to the next spot? I appreciate the help very much!
 
What spec assassin? Seems buffs are called before looting. Have to dig deeper where this is calles (i think BW itself).
 
Go to BW folder\Routines\DefaultCombat\Routines\Advanced\Assassin
Open Deception.cs with notepad
Change:
Code:
		public override Composite Buffs
		{
			get
			{
				return new PrioritySelector(
					Spell.Buff("Surging Charge"),
					Spell.Buff("Mark of Power"),
					Spell.Buff("Stealth", ret => !Rest.KeepResting() && !DefaultCombat.MovementDisabled && !Me.IsMounted)
					);
			}
		}
to
Code:
		public override Composite Buffs
		{
			get
			{
				return new PrioritySelector(
					Spell.Buff("Surging Charge"),
					Spell.Buff("Mark of Power"),
					Spell.Buff("Stealth", ret => !Rest.KeepResting() && !DefaultCombat.MovementDisabled && !Me.IsMounted),
					Spell.Buff("Force Speed", ret => Me.HasBuff("Stealth"))
					);
			}
		}

Looting is indeed a bit nasty, but recovers from it quickly. At least on my end.
Also Force Speed is very short. What you can do is also add Rocket Boost in BW - Settings - Mount.
This will give you faster movement.
 
Go to BW folder\Routines\DefaultCombat\Routines\Advanced\Assassin
Open Deception.cs with notepad
Change:
Code:
		public override Composite Buffs
		{
			get
			{
				return new PrioritySelector(
					Spell.Buff("Surging Charge"),
					Spell.Buff("Mark of Power"),
					Spell.Buff("Stealth", ret => !Rest.KeepResting() && !DefaultCombat.MovementDisabled && !Me.IsMounted)
					);
			}
		}
to
Code:
		public override Composite Buffs
		{
			get
			{
				return new PrioritySelector(
					Spell.Buff("Surging Charge"),
					Spell.Buff("Mark of Power"),
					Spell.Buff("Stealth", ret => !Rest.KeepResting() && !DefaultCombat.MovementDisabled && !Me.IsMounted),
					Spell.Buff("Force Speed", ret => Me.HasBuff("Stealth"))
					);
			}
		}

Looting is indeed a bit nasty, but recovers from it quickly. At least on my end.
Also Force Speed is very short. What you can do is also add Rocket Boost in BW - Settings - Mount.
This will give you faster movement.


Got it working fairly well, the force speed seems to activate at the same time as rocket boost, is there any way for them to check against each other before using? Also curious if there is any way to get around the "[INFO] Mounting failed; won't try again for 5 minutes." or remove it manually. Lastly, are there any C++ framework downloads or anything external I can use to increase the bot's speed? When I run more than 1 bot I feel like the efficiency goes down but I do not believe this to be my hardware (OC i7, 16gb ram, radeon 390). I don't currently have any "extras" so if there some available it would help me out a lot! Thanks for the help cryo


Edit: I run the SWTOR clients in realtime mode and I leave BW on normal.
 
Last edited:
Try this:
Code:
		public override Composite Buffs
		{
			get
			{
				return new PrioritySelector(
					Spell.Buff("Surging Charge"),
					Spell.Buff("Mark of Power"),
					Spell.Buff("Stealth", ret => !Rest.KeepResting() && !DefaultCombat.MovementDisabled && !Me.IsMounted),
					Spell.Buff("Force Speed", ret => Me.HasBuff("Stealth") && !Me.IsMounted)
					);
			}
		}

I dont know if the bot registers Rocket Boost as Mounted. If that doesnt work try Me.HasBuff("Rocket Boost")
 
I dont think you can change this in BW itself at this moment.
What you can do is the following:
- Create a new Quest profile
- Inside the Quest tags enter this code:
Code:
 			<While Condition="(HasQuest(1) and (not IsQuestComplete(1))">
				<UseObject QuestId="1" Radius="50" UseRange="5" WaitTime="5" IgnoreLOS="True" >
					<Placeables>
						<Placeable>ITEMNAME</Placeable>
					
					</Placeables>
					<Hotspots>
						HOTSPOTS HERE

					</Hotspots>
				</UseObject>
			</While>

- Now what you do is, change UseRange="5" to whatever you need. For interaction with game objects 5 is the better value for interaction.
You can tinker with this value what suits you. Waittime is for how long the bot has to wait for interaction, IgnoreLOS is for if its a tad out of sight, but interactable, it will use it no matter what.
Radius is your searchcircle at a hotspot. Enter the Placeable (gameobjectname) in and the hotspots and try it out. I think the IgnoreLOS will also solve your current issue, as it will click at userange 5 regardless whats in between us and the node.

Do note, it will never go a static route with this, it will go the the nearest usable object from where you are now.
I put these in a while statement, as it will never get out of it, as QuestId 1 is nothing (which we have infinitely).

If you got more questions, just ask them.


Here is the log from trying my quest profile:
2016-06-13 06:21:05,161 [1] INFO MainWindow - Starting Buddy Wing v1.0.1344.949
2016-06-13 06:21:05,756 [1] INFO GlobalSettings - Global settings have been saved.
2016-06-13 06:21:46,828 [5] INFO MainWindow - Logging in...
2016-06-13 06:21:47,330 [5] INFO MainWindow - T: 5247699975495730581 H: 612925910
2016-06-13 06:21:47,332 [5] INFO MainWindow - Login Success!
2016-06-13 06:21:48,433 [6] INFO MainWindow - First CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
2016-06-13 06:21:48,433 [6] INFO MainWindow - OS Version: Windows NT 6.1.7601 Service Pack 1
2016-06-13 06:21:48,434 [6] INFO MainWindow - App Path: C:\Users\Mhm\Documents\Buddywing\Buddywing.exe
2016-06-13 06:21:49,152 [6] INFO NodeManager - NodeManager update has completed.
2016-06-13 06:21:49,586 [6] INFO MainWindow - User is a Inquisitor
2016-06-13 06:21:51,706 [6] INFO MainWindow - Advanced Class: Assassin / Discipline: Deception
2016-06-13 06:21:51,706 [6] INFO MainWindow - Routine Path: Routines
2016-06-13 06:21:52,729 [6] INFO InventoryManagerItem - Medpac Created!
2016-06-13 06:21:52,752 [6] INFO Logging - [DefaultCombat] Level: 63
2016-06-13 06:21:52,753 [6] INFO Logging - [DefaultCombat] Class: Inquisitor
2016-06-13 06:21:52,753 [6] INFO Logging - [DefaultCombat] Advanced Class: Assassin
2016-06-13 06:21:52,779 [6] INFO Logging - [DefaultCombat] Discipline: Deception
2016-06-13 06:21:52,806 [6] INFO Logging - [DefaultCombat] [Hot Key][F7] Toggle AOE
2016-06-13 06:21:52,807 [6] INFO Logging - [DefaultCombat] [Hot Key][F8] Pause Rotation
2016-06-13 06:21:52,807 [6] INFO Logging - [DefaultCombat] [Hot Key][F12] Set Tank
2016-06-13 06:21:52,808 [6] INFO Logging - [DefaultCombat] Rotation Selected : Assassin Deception
2016-06-13 06:21:52,848 [6] INFO BotMain - Chose DefaultCombat as your combat routine.
2016-06-13 06:21:52,848 [6] INFO Logging - [DefaultCombat] Level: 63
2016-06-13 06:21:52,849 [6] INFO Logging - [DefaultCombat] Class: Inquisitor
2016-06-13 06:21:52,849 [6] INFO Logging - [DefaultCombat] Advanced Class: Assassin
2016-06-13 06:21:52,881 [6] INFO Logging - [DefaultCombat] Discipline: Deception
2016-06-13 06:21:52,907 [6] INFO Logging - [DefaultCombat] [Hot Key][F7] Toggle AOE
2016-06-13 06:21:52,907 [6] INFO Logging - [DefaultCombat] [Hot Key][F8] Pause Rotation
2016-06-13 06:21:52,908 [6] INFO Logging - [DefaultCombat] [Hot Key][F12] Set Tank
2016-06-13 06:21:52,908 [6] INFO Logging - [DefaultCombat] Rotation Selected : Assassin Deception
2016-06-13 06:21:53,214 [6] INFO MainWindow - There are 1 plugins.
2016-06-13 06:21:53,392 [6] INFO BotMain - Current bot set to Grind Bot
2016-06-13 06:21:53,395 [6] INFO CharacterSettings - Character settings have been saved.
2016-06-13 06:21:53,395 [6] INFO ProfileManager - Loaded profile Bobby-Zee Slicing
2016-06-13 06:21:53,398 [1] INFO MainWindow - Sell quality set to Prototype.
2016-06-13 06:21:53,400 [6] INFO MainWindow - Buddy Wing: The Old Robot is ready!
2016-06-13 06:21:53,400 [6] INFO MainWindow - You can use the F9 key to pause and unpause the bot, and F10 to stop or start it while in-game.
2016-06-13 06:22:06,300 [1] INFO BotMain - Current bot set to Quest Bot
2016-06-13 06:22:06,302 [1] INFO CharacterSettings - Character settings have been saved.
2016-06-13 06:22:06,302 [1] INFO ProfileManager - Loaded profile Temple Quest
2016-06-13 06:22:10,724 [1] INFO BotMain - Reloading the NodeManager..
2016-06-13 06:22:11,169 [1] INFO NodeManager - NodeManager update has completed.
2016-06-13 06:22:11,170 [1] INFO BotMain - Forcing profile reload. -- Temporary fix for behavior cache issues during start/stop.
2016-06-13 06:22:11,306 [1] INFO BotMain - Current bot set to Quest Bot
2016-06-13 06:22:11,308 [1] INFO CharacterSettings - Character settings have been saved.
2016-06-13 06:22:11,308 [1] INFO ProfileManager - Loaded profile Temple Quest
2016-06-13 06:22:16,050 [Main Bot Thread] ERROR IfTag - File "", line 3
return bool((HasQuest(1) and (not IsQuestComplete(1)))
^
SyntaxError: unexpected token '<newline>'

2016-06-13 06:22:16,051 [Main Bot Thread] INFO BotMain - Reason:
2016-06-13 06:22:18,152 [Main Bot Thread] INFO BotMain - We slept way too long waiting for the bot thread to give control back. Aborting thread. Client may crash!
2016-06-13 06:22:18,153 [Main Bot Thread] ERROR BrainBehavior - Exception during scheduling Pulse:
Microsoft.Scripting.SyntaxErrorException: unexpected token '<newline>'
at Microsoft.Scripting.ErrorSink.Add(SourceUnit source, String message, SourceSpan span, Int32 errorCode, Severity severity)
at IronPython.Compiler.Parser.ReportSyntaxError(Int32 start, Int32 end, String message, Int32 errorCode)
at IronPython.Compiler.Parser.ReportSyntaxError(Token t, IndexSpan span, Int32 errorCode, Boolean allowIncomplete)
at IronPython.Compiler.Parser.ReportSyntaxError(TokenWithSpan t, Int32 errorCode)
at IronPython.Compiler.Parser.FinishArgListOrGenExpr()
at IronPython.Compiler.Parser.AddTrailers(Expression ret, Boolean allowGeneratorExpression)
at IronPython.Compiler.Parser.ParsePower()
at IronPython.Compiler.Parser.ParseFactor()
at IronPython.Compiler.Parser.ParseExpr(Int32 precedence)
at IronPython.Compiler.Parser.ParseComparison()
at IronPython.Compiler.Parser.ParseNotTest()
at IronPython.Compiler.Parser.ParseAndTest()
at IronPython.Compiler.Parser.ParseOrTest()
at IronPython.Compiler.Parser.ParseExpression()
at IronPython.Compiler.Parser.ParseTestListAsExpr()
at IronPython.Compiler.Parser.ParseReturnStmt()
at IronPython.Compiler.Parser.ParseSmallStmt()
at IronPython.Compiler.Parser.ParseSimpleStmt()
at IronPython.Compiler.Parser.ParseStmt()
at IronPython.Compiler.Parser.ParseSuite()
at IronPython.Compiler.Parser.ParseClassOrFuncBody()
at IronPython.Compiler.Parser.ParseFuncDef()
at IronPython.Compiler.Parser.ParseStmt()
at IronPython.Compiler.Parser.ParseFileWorker(Boolean makeModule, Boolean returnValue)
at IronPython.Compiler.Parser.ParseFile(Boolean makeModule, Boolean returnValue)
at IronPython.Runtime.PythonContext.ParseAndBindAst(CompilerContext context)
at IronPython.Runtime.PythonContext.CompilePythonCode(SourceUnit sourceUnit, CompilerOptions options, ErrorSink errorSink)
at IronPython.Runtime.PythonContext.CompileSourceCode(SourceUnit sourceUnit, CompilerOptions options, ErrorSink errorSink)
at Microsoft.Scripting.SourceUnit.Compile(CompilerOptions options, ErrorSink errorSink)
at Microsoft.Scripting.SourceUnit.Execute(Scope scope, ErrorSink errorSink)
at Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope)
at Buddy.Common.ScriptManager.GetCondition(String expression)
at Buddy.CommonBot.Profile.Quest.Composites.IfTag.GetConditionExec()
at Buddy.CommonBot.Profile.Quest.Composites.WhileTag.get_IsDone()
at Buddy.CommonBot.Profile.ProfileBehavior.get_IsDoneCache()
at Buddy.CommonBot.QuestOrderManager.GetCurrentBehavior(IEnumerable`1 behaviors)
at Buddy.CommonBot.QuestOrderManager.UpdateCurrentBehavior()
at Buddy.CommonBot.ProfileManager.UpdateCurrentQuestBehavior()
at Buddy.CommonBot.Logic.BuddyQuestBot.HandleSchedulingEvent(Object sender, EventArgs e)
at Buddy.CommonBot.Logic.BrainBehavior.DoScheduling()
2016-06-13 06:22:18,160 [Main Bot Thread] ERROR BotMain - Bot Thread Aborted
System.Threading.ThreadAbortException: Thread was being aborted.
at Buddy.CommonBot.Logic.BrainBehavior.DoScheduling()
at Buddy.CommonBot.Logic.BrainBehavior.<>c.<CreateBrain>b__20_0(Object ret)
at Buddy.BehaviorTree.Action.RunAction(Object context)
at Buddy.BehaviorTree.Action.<Execute>d__13.MoveNext()
at Buddy.BehaviorTree.Composite.Tick(Object context)
at Buddy.BehaviorTree.PrioritySelector.<Execute>d__2.MoveNext()
at Buddy.BehaviorTree.Composite.Tick(Object context)
at Buddy.CommonBot.BotMain.Tick()
 
Tried again, here's the log:

2016-06-13 12:40:01,520 [1] INFO MainWindow - Starting Buddy Wing v1.0.1344.949
2016-06-13 12:40:03,121 [1] INFO GlobalSettings - Global settings have been saved.
2016-06-13 12:40:17,254 [6] INFO MainWindow - Logging in...
2016-06-13 12:40:17,760 [6] INFO MainWindow - T: 5247700202600017904 H: 2700434845
2016-06-13 12:40:17,763 [6] INFO MainWindow - Login Success!
2016-06-13 12:40:18,937 [7] INFO MainWindow - First CPU: AMD FX(tm)-6100 Six-Core Processor
2016-06-13 12:40:18,938 [7] INFO MainWindow - OS Version: Windows NT 6.1.7601 Service Pack 1
2016-06-13 12:40:18,939 [7] INFO MainWindow - App Path: C:\Users\John\Documents\Buddywing\Buddywing.exe
2016-06-13 12:40:20,235 [7] INFO NodeManager - NodeManager update has completed.
2016-06-13 12:40:20,962 [7] INFO MainWindow - User is a Inquisitor
2016-06-13 12:40:22,211 [7] INFO MainWindow - Advanced Class: Assassin / Discipline: Deception
2016-06-13 12:40:22,212 [7] INFO MainWindow - Routine Path: Routines
2016-06-13 12:40:23,985 [7] INFO InventoryManagerItem - Medpac Created!
2016-06-13 12:40:24,031 [7] INFO Logging - [DefaultCombat] Level: 62
2016-06-13 12:40:24,032 [7] INFO Logging - [DefaultCombat] Class: Inquisitor
2016-06-13 12:40:24,033 [7] INFO Logging - [DefaultCombat] Advanced Class: Assassin
2016-06-13 12:40:24,097 [7] INFO Logging - [DefaultCombat] Discipline: Deception
2016-06-13 12:40:24,171 [7] INFO Logging - [DefaultCombat] [Hot Key][F7] Toggle AOE
2016-06-13 12:40:24,172 [7] INFO Logging - [DefaultCombat] [Hot Key][F8] Pause Rotation
2016-06-13 12:40:24,172 [7] INFO Logging - [DefaultCombat] [Hot Key][F12] Set Tank
2016-06-13 12:40:24,173 [7] INFO Logging - [DefaultCombat] Rotation Selected : Assassin Deception
2016-06-13 12:40:24,265 [7] INFO BotMain - Chose DefaultCombat as your combat routine.
2016-06-13 12:40:24,266 [7] INFO Logging - [DefaultCombat] Level: 62
2016-06-13 12:40:24,267 [7] INFO Logging - [DefaultCombat] Class: Inquisitor
2016-06-13 12:40:24,267 [7] INFO Logging - [DefaultCombat] Advanced Class: Assassin
2016-06-13 12:40:24,324 [7] INFO Logging - [DefaultCombat] Discipline: Deception
2016-06-13 12:40:24,382 [7] INFO Logging - [DefaultCombat] [Hot Key][F7] Toggle AOE
2016-06-13 12:40:24,383 [7] INFO Logging - [DefaultCombat] [Hot Key][F8] Pause Rotation
2016-06-13 12:40:24,383 [7] INFO Logging - [DefaultCombat] [Hot Key][F12] Set Tank
2016-06-13 12:40:24,384 [7] INFO Logging - [DefaultCombat] Rotation Selected : Assassin Deception
2016-06-13 12:40:24,944 [7] INFO MainWindow - There are 1 plugins.
2016-06-13 12:40:25,301 [7] INFO BotMain - Current bot set to Grind Bot
2016-06-13 12:40:25,304 [7] INFO CharacterSettings - Character settings have been saved.
2016-06-13 12:40:25,305 [7] INFO ProfileManager - Loaded profile Bobby-Zee Slicing
2016-06-13 12:40:25,311 [1] INFO MainWindow - Sell quality set to Prototype.
2016-06-13 12:40:25,314 [7] INFO MainWindow - Buddy Wing: The Old Robot is ready!
2016-06-13 12:40:25,315 [7] INFO MainWindow - You can use the F9 key to pause and unpause the bot, and F10 to stop or start it while in-game.
2016-06-13 12:40:30,543 [1] INFO BotMain - Current bot set to Quest Bot
2016-06-13 12:40:30,546 [1] INFO CharacterSettings - Character settings have been saved.
2016-06-13 12:40:30,546 [1] INFO ProfileManager - Loaded profile Temple Quest
2016-06-13 12:40:33,087 [1] INFO BotMain - Reloading the NodeManager..
2016-06-13 12:40:33,970 [1] INFO NodeManager - NodeManager update has completed.
2016-06-13 12:40:33,971 [1] INFO BotMain - Forcing profile reload. -- Temporary fix for behavior cache issues during start/stop.
2016-06-13 12:40:34,256 [1] INFO BotMain - Current bot set to Quest Bot
2016-06-13 12:40:34,258 [1] INFO CharacterSettings - Character settings have been saved.
2016-06-13 12:40:34,259 [1] INFO ProfileManager - Loaded profile Temple Quest
2016-06-13 12:40:38,922 [Main Bot Thread] INFO Poi - [Poi.Clear] Reason: Current quest behavior changed to UserDialogTag: DialogFinished: True, DialogMessage: I'm Done!, DialogTitle: Done!, QuestId: 0, BranchId: 0, StepId: 0, TaskId: 0, QuestName: Quest Id: 0, IsDoneCache: True, Behavior: null, .
2016-06-13 12:40:39,254 [Main Bot Thread] INFO Logging - [DefaultCombat] >> Casting << Force Speed
2016-06-13 12:40:39,347 [Main Bot Thread] INFO Poi - [Poi.Clear] Reason: Profile completed.
2016-06-13 12:40:39,348 [Main Bot Thread] INFO BotMain - Reason:
2016-06-13 12:40:41,448 [Main Bot Thread] INFO BotMain - We slept way too long waiting for the bot thread to give control back. Aborting thread. Client may crash!
2016-06-13 12:40:41,449 [Main Bot Thread] ERROR BotMain - Bot Thread Aborted
System.Threading.ThreadAbortException: Thread was being aborted.
at Buddy.CommonBot.BotMain.Stop(String reason)
at Buddy.CommonBot.QuestOrderManager.UpdateCurrentBehavior()
at Buddy.CommonBot.ProfileManager.UpdateCurrentQuestBehavior()
at Buddy.CommonBot.Logic.BuddyQuestBot.HandleSchedulingEvent(Object sender, EventArgs e)
at Buddy.CommonBot.Logic.BrainBehavior.DoScheduling()
at Buddy.CommonBot.Logic.BrainBehavior.<>c.<CreateBrain>b__20_0(Object ret)
at Buddy.BehaviorTree.Action.RunAction(Object context)
at Buddy.BehaviorTree.Action.<Execute>d__13.MoveNext()
at Buddy.BehaviorTree.Composite.Tick(Object context)
at Buddy.BehaviorTree.PrioritySelector.<Execute>d__2.MoveNext()
at Buddy.BehaviorTree.Composite.Tick(Object context)
at Buddy.CommonBot.BotMain.Tick()
2016-06-13 12:40:54,838 [1] INFO BotMain - Reloading the NodeManager..
2016-06-13 12:40:55,738 [1] INFO NodeManager - NodeManager update has completed.
2016-06-13 12:40:55,739 [1] INFO BotMain - Forcing profile reload. -- Temporary fix for behavior cache issues during start/stop.
2016-06-13 12:40:56,022 [1] INFO BotMain - Current bot set to Quest Bot
2016-06-13 12:40:56,025 [1] INFO CharacterSettings - Character settings have been saved.
2016-06-13 12:40:56,026 [1] INFO ProfileManager - Loaded profile Temple Quest
2016-06-13 12:41:00,615 [1] INFO BotMain - Reason:
2016-06-13 12:41:00,626 [1] INFO Poi - [Poi.Clear] Reason: Bot Stopped
 
I dont think you can change this in BW itself at this moment.
What you can do is the following:
- Create a new Quest profile
- Inside the Quest tags enter this code:
Code:
 			<While Condition="(HasQuest(1) and (not IsQuestComplete(1))">
				<UseObject QuestId="1" Radius="50" UseRange="5" WaitTime="5" IgnoreLOS="True" >
					<Placeables>
						<Placeable>ITEMNAME</Placeable>
					
					</Placeables>
					<Hotspots>
						HOTSPOTS HERE

					</Hotspots>
				</UseObject>
			</While>

- Now what you do is, change UseRange="5" to whatever you need. For interaction with game objects 5 is the better value for interaction.
You can tinker with this value what suits you. Waittime is for how long the bot has to wait for interaction, IgnoreLOS is for if its a tad out of sight, but interactable, it will use it no matter what.
Radius is your searchcircle at a hotspot. Enter the Placeable (gameobjectname) in and the hotspots and try it out. I think the IgnoreLOS will also solve your current issue, as it will click at userange 5 regardless whats in between us and the node.

Do note, it will never go a static route with this, it will go the the nearest usable object from where you are now.
I put these in a while statement, as it will never get out of it, as QuestId 1 is nothing (which we have infinitely).

If you got more questions, just ask them.


Hey, does this still function? Tried but getting

Code:
2016-12-05 19:23:46,951 [1] INFO  ProfileManager - Loaded profile Quest Credit Case Test Grind
2016-12-05 19:23:49,424 [Main Bot Thread] ERROR IfTag -   File "", line 3
     return bool((HasQuest(1) and (not IsQuestComplete(1)))
                                                           ^
SyntaxError: unexpected token '<newline>'

2016-12-05 19:23:49,426 [Main Bot Thread] INFO  BotMain - Reason: 
2016-12-05 19:23:51,527 [Main Bot Thread] INFO  BotMain - We slept way too long waiting for the bot thread to give control back. Aborting thread. Client may crash!
2016-12-05 19:23:51,528 [Main Bot Thread] ERROR BrainBehavior - Exception during scheduling Pulse: 
Microsoft.Scripting.SyntaxErrorException: unexpected token '<newline>'
   at Microsoft.Scripting.ErrorSink.Add(SourceUnit source, String message, SourceSpan span, Int32 errorCode, Severity severity)
   at IronPython.Compiler.Parser.ReportSyntaxError(Int32 start, Int32 end, String message, Int32 errorCode)
   at IronPython.Compiler.Parser.ReportSyntaxError(Token t, IndexSpan span, Int32 errorCode, Boolean allowIncomplete)
   at IronPython.Compiler.Parser.ReportSyntaxError(TokenWithSpan t, Int32 errorCode)
   at IronPython.Compiler.Parser.FinishArgListOrGenExpr()
   at IronPython.Compiler.Parser.AddTrailers(Expression ret, Boolean allowGeneratorExpression)
   at IronPython.Compiler.Parser.ParsePower()
   at IronPython.Compiler.Parser.ParseFactor()
   at IronPython.Compiler.Parser.ParseExpr(Int32 precedence)
   at IronPython.Compiler.Parser.ParseComparison()
   at IronPython.Compiler.Parser.ParseNotTest()
   at IronPython.Compiler.Parser.ParseAndTest()
   at IronPython.Compiler.Parser.ParseOrTest()
   at IronPython.Compiler.Parser.ParseExpression()
   at IronPython.Compiler.Parser.ParseTestListAsExpr()
   at IronPython.Compiler.Parser.ParseReturnStmt()
   at IronPython.Compiler.Parser.ParseSmallStmt()
   at IronPython.Compiler.Parser.ParseSimpleStmt()
   at IronPython.Compiler.Parser.ParseStmt()
   at IronPython.Compiler.Parser.ParseSuite()
   at IronPython.Compiler.Parser.ParseClassOrFuncBody()
   at IronPython.Compiler.Parser.ParseFuncDef()
   at IronPython.Compiler.Parser.ParseStmt()
   at IronPython.Compiler.Parser.ParseFileWorker(Boolean makeModule, Boolean returnValue)
   at IronPython.Compiler.Parser.ParseFile(Boolean makeModule, Boolean returnValue)
   at IronPython.Runtime.PythonContext.ParseAndBindAst(CompilerContext context)
   at IronPython.Runtime.PythonContext.CompilePythonCode(SourceUnit sourceUnit, CompilerOptions options, ErrorSink errorSink)
   at IronPython.Runtime.PythonContext.CompileSourceCode(SourceUnit sourceUnit, CompilerOptions options, ErrorSink errorSink)
   at Microsoft.Scripting.SourceUnit.Compile(CompilerOptions options, ErrorSink errorSink)
   at Microsoft.Scripting.SourceUnit.Execute(Scope scope, ErrorSink errorSink)
   at Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope)
   at Buddy.Common.ScriptManager.GetCondition(String expression)
   at Buddy.CommonBot.Profile.Quest.Composites.IfTag.GetConditionExec()
   at Buddy.CommonBot.Profile.Quest.Composites.WhileTag.get_IsDone()
   at Buddy.CommonBot.Profile.ProfileBehavior.get_IsDoneCache()
   at Buddy.CommonBot.QuestOrderManager.GetCurrentBehavior(IEnumerable`1 behaviors)
   at Buddy.CommonBot.QuestOrderManager.UpdateCurrentBehavior()
   at Buddy.CommonBot.ProfileManager.UpdateCurrentQuestBehavior()
   at Buddy.CommonBot.Logic.BuddyQuestBot.HandleSchedulingEvent(Object sender, EventArgs e)
   at Buddy.CommonBot.Logic.BrainBehavior.DoScheduling()
2016-12-05 19:23:51,543 [Main Bot Thread] ERROR BotMain - Bot Thread Aborted 
System.Threading.ThreadAbortException: Thread was being aborted.
   at Buddy.CommonBot.Logic.BrainBehavior.DoScheduling()
   at Buddy.CommonBot.Logic.BrainBehavior.<>c.<CreateBrain>b__20_0(Object ret)
   at Buddy.BehaviorTree.Action.RunAction(Object context)
   at Buddy.BehaviorTree.Action.<Execute>d__13.MoveNext()
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.PrioritySelector.<Execute>d__2.MoveNext()
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.CommonBot.BotMain.Tick()


Oh, same thing as he got. Guess it doesn't work anymore.
 
upload your code


Just a simple profile to test one spot.

Thanks for getting back so quickly!

Code:
<Profile xmlns="http://tempuri.org/ProfileSchema.xsd">
  <Name>Quest Credit Case Test Grind</Name>


  
    <Questing>


      <While Condition="(HasQuest(1) and (not IsQuestComplete(1))">
				<UseObject QuestId="1" Radius="30" UseRange="5" WaitTime="2" IgnoreLOS="True" >
					<Placeables>
					
						<Placeable>Security Footlocker</Placeable>

					</Placeables>
					
					<Hotspots>
						<Hotspot Name="My Location" X="-371.0587" Y="23.501" Z="-164.0685" />
					</Hotspots>
					
				</UseObject>
			</While>

    </Questing>
</Profile>
 
Back
Top