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

Can't figure out what to change to make it "work" as intended (Skinning 1-525 PB)

Theking

New Member
Joined
Aug 18, 2011
Messages
108
Reaction score
3
Hello.

I'm creating a [PB] 1-525 Horde Skinning profile atm, and now when I've finnished the Outland part I've run into a error, (not a HB error but a "The bot is not doing as I want error!" ) so basiclly everytime I resart the bot it will go back a few steps to skill 300 ( my skill is 375) so it ports to Outland and flys to the last grinding place in Outland, then It should (When it's skilling from 300-375 everything is working as intended) use "RunMacro" and Hearth to Org,So basiclly after resarting the bot and it SHOULD be ready too go to Northern (Skill 375) it'll go to Outland first and then it'll stay there trying to get to Orgimmar (NOTE: After a restart of the bot!).

So I'm looking for a fix in my profile to make it not go to Outland after a restart with skill 375.

I'll just post the whole profile but as soon I've fixed the profile I'll take it down untill it's ready to be released. (If I'm allowed to release it since it's a big rewrite of Kickazz006 & zedar69's Alliance Skinning profile, though creadits are inside atleast. )

View attachment [Skinning] 1-525 Horde.xml <-- Save in "Plugins\ProfessionBuddy\Profiles\
View attachment [H] SubProfile Skinning 1-525.xml <-- Save in "Plugins\ProfessionBuddy\Profiles\HBprofiles\ {Test profiles}

NOTE: The profile is VERY rough since it's my first "serious" one and I like playing around and testing thing. (wOOt wOOt I'm a bad english writer.. :P)




New profiles: (With the same error, but edited)
View attachment [Skinning] 1-525 Horde.xml <-- Save in "Plugins\ProfessionBuddy\Profiles\
View attachment [H] SubProfile Skinning 1-525.xml <-- Save in "Plugins\ProfessionBuddy\Profiles\HBprofiles\
 
Last edited:
I don?t do questing prifiles, but that going to outland part should be within an If statement or something, it is a thing it will do every time it sees the other IF?s completed other wise.

Every time you start a prifile, the bot will check every line opf code if it has done them, but that go to outland is said to be done every single time.
 
The
PHP:
			<If> <!-- The <If> and <Else> is just a test. -->
			<ContinentID>530</ContinentID>
			<CustomBehavior File="RunMacro"
                   Macro="/cast Hearthstone"
                   NumOfTimes="1"
                   WaitTime="10000" />
			</If>
			<Else>
was just for testing, and it didnt work so it'll be deleted. :P
 
PHP:
		<If Condition="Me.GetSkill(Styx.SkillLine.Skinning).MaxValue == 375" && Condition="Me.GetSkill(Styx.SkillLine.Skinning).CurrentValue <= 373">
						<!-- Going to Outland --> 
		<RunTo X="1685.614" Y="-4127.735" Z="66.34105" /> <!-- Portal in Orgrimmar -->
			<CustomBehavior File="Message" Text="Porting to Blasted Lands, just so you know." LogColor="Orange" />
			<CustomBehavior File="InteractWith" MobId="195142" ObjectType="Gameobject" Range="4" X="1685.614" Y="-4127.735" Z="66.34105" />
			<CustomBehavior File="WaitTimer" WaitTime="2000" GoalText="Waiting for port {TimeRemaining}" />
			<CustomBehavior File="Message" Text="Runing towards the portal! :O Oh yeah! Outland, here I come!" LogColor="Orange" /> <!-- For the lulz -->
		<RunTo X="-11906.85" Y="-3215.02" Z="-14.23298" />	<!-- The Dark Portal -->
		
		<CustomBehavior File="Message" Text="Flying to grinding spot" LogColor="Green" />
		<CustomBehavior File="FlyTo" X="-485.5679" Y="2338.448" Z="52.08246"  />
		<CustomBehavior File="ForcedDismount" />
</If>

Does that if make any sense? one more thing must be added, && !current.location in outland how now that is writen. could look it up, but i am tired :S
 
Last edited:
PHP:
[COLOR="black"]			<If Condition="Me.GetSkill(Styx.SkillLine.Skinning).MaxValue == 375" && Condition="Me.GetSkill(Styx.SkillLine.Skinning).CurrentValue <= 373">
						<!-- Going to Outland --> 
		<RunTo X="1685.614" Y="-4127.735" Z="66.34105" /> <!-- Portal in Orgrimmar -->
			<CustomBehavior File="Message" Text="Porting to Blasted Lands, just so you know." LogColor="Orange" />
			<CustomBehavior File="InteractWith" MobId="195142" ObjectType="Gameobject" Range="4" X="1685.614" Y="-4127.735" Z="66.34105" />
			<CustomBehavior File="WaitTimer" WaitTime="2000" GoalText="Waiting for port {TimeRemaining}" />
			<CustomBehavior File="Message" Text="Runing towards the portal! :O Oh yeah! Outland, here I come!" LogColor="Orange" /> <!-- For the lulz -->
		<RunTo X="-11906.85" Y="-3215.02" Z="-14.23298" />	<!-- The Dark Portal -->
		
		<CustomBehavior File="Message" Text="Flying to grinding spot" LogColor="Green" />
		<CustomBehavior File="FlyTo" X="-485.5679" Y="2338.448" Z="52.08246"  />
		<CustomBehavior File="ForcedDismount" />
</If>[/COLOR]

Does that if make any sense? one more thing must be added, && !current.location in outland how now that is writen. could look it up, but i am tired :S

Meh, it's just a blank "Code box" please edit it with
PHP:
 instead of [CODE]

EDIT: that was fast! X)

EDIT2: So I should add this before the "Going to Outland"?[PHP]<If Condition="Me.GetSkill(Styx.SkillLine.Skinning).MaxValue == 375" && Condition="Me.GetSkill(Styx.SkillLine.Skinning).CurrentValue <= 373">
 
Last edited by a moderator:
<!-- Going to Outland --> ??? is just a mental note to know what that part does so the if can be before or after :D
 
<!-- Going to Outland --> ??? is just a mental note to know what that part does so the if can be before or after :D
Uhm, that sound like "Yes you should be adding it, asap!".
Goodie I'll try it out tomorrow, I'm of to bed!
 
Alright. Getting Following Error:
PHP:
Err: System.Xml.XmlException: The name can not begin with &, hexadecimalt value 0x26. Line 473, position 70.
.

PHP:
<If Condition="Me.GetSkill(Styx.SkillLine.Skinning).MaxValue == 375" && Condition="Me.GetSkill(Styx.SkillLine.Skinning).CurrentValue <= 373">
Is on line 373, I tryed delete the && but it just gave me a new error.
 
Alright. Getting Following Error:
PHP:
Err: System.Xml.XmlException: The name can not begin with &, hexadecimalt value 0x26. Line 473, position 70.
.

PHP:
<If Condition="Me.GetSkill(Styx.SkillLine.Skinning).MaxValue == 375" && Condition="Me.GetSkill(Styx.SkillLine.Skinning).CurrentValue <= 373">
Is on line 373, I tryed delete the && but it just gave me a new error.

You can't use "&" directly... you must used the encoded version of it, instead--"&amp;amp;".

There is much information about all this, and which characters need encoding here...
[wiki]Honorbuddy Profile Tag Attribute: Condition[/wiki]


cheers,
chinajade
 
New profiles: (With the same error, but edited)
View attachment [Skinning] 1-525 Horde.xml <-- Save in "Plugins\ProfessionBuddy\Profiles\
View attachment [H] SubProfile Skinning 1-525.xml <-- Save in "Plugins\ProfessionBuddy\Profiles\HBprofiles\

I've tryed diffrent things now in a few hours, nothing worked out, I've tryed to make subprofiles (Kalimdor 0-300, Outland 300-375, Northrend 375-450) but when it changed profile it jumped over the step where its going to Northrend, so that was trashed.
I've uploaded the new profiles with my last "clean-up edit"

Where the profile is starting to go wrong is at line: 499 (Going to Outland), when it should be at line: 618 (Going to Northrend).
 
Last edited:
New profiles: (With the same error, but edited)
View attachment 26616 <-- Save in "Plugins\ProfessionBuddy\Profiles\
View attachment 26615 <-- Save in "Plugins\ProfessionBuddy\Profiles\HBprofiles\

I've tryed diffrent things now in a few hours, nothing worked out, I've tryed to make subprofiles (Kalimdor 0-300, Outland 300-375, Northrend 375-450) but when it changed profile it jumped over the step where its going to Northrend, so that was trashed.
I've uploaded the new profiles with my last "clean-up edit"

Where the profile is starting to go wrong is at line: 499 (Going to Outland), when it should be at line: 618 (Going to Northrend).

You've missed some basic characteristics of proper &lt;SubProfile&gt; use. You can get started reading about it here. Please be sure to note the issue about 'level overlaps' and 'level gaps'.

No modern profiles use SubProfiles--the concept is antiquated, and completely unneeded. It would be best if you recast your profile without them.


cheers,
chinajade
 
Last edited:
You've missed some basic characteristics of proper &lt;SubProfile&gt; use. You can get started reading about it here. Please be sure to note the issue about 'level overlaps' and 'level gaps'.

No modern profiles use SubProfiles--the concept is antiquated, and completely unneeded. It would be best if you recast your profile without them.


cheers,
chinajade

I made those <SubProfiles> just because my template had it, going to delete it asap. But what's about the "lvl overlaps" and "lvl gaps" is it that the bot is missing that I got skill 375?
 
Gotta bump it, bum bum bump! Bum bum bump! *Some kind of song beat*
 
Back
Top