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

Bot stopping! Reason: Nothing more to do. - Please help me, I'm confused

Timiboy27

New Member
Joined
Jul 24, 2013
Messages
19
Reaction score
0
Hey :)
First of all english is'nt my native language, so please don't beat me for grammar mistakes :D
Today I wrote my very first Questing-Profile, but there occured several problems with this profile,
every time I start the Questingbot with my profile Honorbuddy stops after three to five seconds.
I can't imagine why. - After some debugging I figured it out !
I think it's the Bot who fails at the <If> condition in line 49. - I'm not sure about that, but the bot doesn't tell me the message on l. 51.
And when I test the <If> condition in the console it returns me "true", ...I'm very confused... :confused:

[HIDE]
Code:
<HBProfile creator="Tim" version="0.1">
	<Name>Searching for Battered Hilt</Name>
   
	<MinLevel>80</MinLevel>
	<MaxLevel>100</MaxLevel>
   
	<MinDurability>0.2</MinDurability>
	<MinFreeBagSlots>1</MinFreeBagSlots>
	
	<MailGrey>False</MailGrey>
	<MailWhite>False</MailWhite>
	<MailGreen>False</MailGreen>
	<MailBlue>True</MailBlue>
	<MailPurple>True</MailPurple>
   
	<SellGrey>True</SellGrey>
	<SellWhite>True</SellWhite>
	<SellGreen>True</SellGreen>
	<SellBlue>False</SellBlue>
	<SellPurple>False</SellPurple>
   
	<TargetElites>True</TargetElites>
	
	<AvoidMobs>
	</AvoidMobs>
	
	<Blackspots>
	</Blackspots>

	<Mailboxes>
	</Mailboxes>
 
	<Vendors>
	</Vendors>

	<ProtectedItems>
		<Item name="Battered Hilt" entry="50380" />
	</ProtectedItems>
	
	<Factions>99999</Factions>
	
	<QuestOrder>
	

	<CustomBehavior File="UserSettings" PullDistance="50" KillBetweenHotspots="True" LogoutForInactivity="False" />
			
		<While Condition="True" >

			<If Condition="Me.MapId != 658">

				<CustomBehavior File="Message" Text="Not in the Dungeon, move to Dungeon." LogColor="Lime" />

				<!-- opens gate -->
				<RunTo X="5591.81" Y="2010.002" Z="798.1827"  />
				<RunTo X="5594.782" Y="2012.859" Z="798.0411" />
				<CustomBehavior File="UseGameObject" ObjectId="179116" NumOfTimes="1" X="5590.884" Y="2009.19" Z="797.3859" /> 
			
				<!-- go trough portal -->
				<CustomBehavior File="MyCTM" X="5586.418" Y="2005.595" Z="798.0413"  /> 

				<CustomBehavior File="WaitTimer" WaitTime="10000" />
			</If>


			<If Condition="Me.MapId == 658">

				<CustomBehavior File="Message" Text="Now you are in the Dungeon, starting botting." LogColor="Lime" />

				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 

					<!-- Run to the Portal -->
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
				<RunTo X="400.00" Y="100.00" Z="500.00" /> 
			
				 	<!-- Exit through the instance portal -->
				<CustomBehavior File="MyCTM" X="424.2899" Y="212.4549" Z="529.8743" /> 

				<CustomBehavior File="WaitTimer" WaitTime="20000" />
				<CustomBehavior File="RunMacro" Macro="/script ResetInstances()" />
			</If>	

			<If Condition="(Me.FreeBagSlots &lt; 4) || (Me.LowestDurabilityPercent &lt; 0.2)" >
				<SetVendor>
					<Vendors>
						<Vendor Name="Aemara" Entry="23373" Type="Repair" X="5778.858" Y="547.6511" Z="651.6398" /> <!-- Tells HB where a repair vendor is -->
					</Vendors>
				</SetVendor>
				<CustomBehavior File="ForceSetVendor" DoMail="False" DoSell="True" DoRepair="True" DoTrain="False" /> <!-- Forces HB to repair/sell -->
				<ClearVendor />
			</If>

		</While>
	
	</QuestOrder>

</HBProfile>
[/HIDE]

Don't be angry about the changed HotSpots, when the profile is bug free I'll release it! ;)
Thanks for reading this post and hopefully you can help me, my log is attached below.
 

Attachments

Last edited:
i cannot help you with profile creation. please use the developers section for help with these issues.
 
Back
Top