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)

Dun dun dun dun dun idun I'm Bumping it *Mc Donalds melody!*
 
Sadly i have been busy, also been reading up a bit morw about questing profiles, sadly i am just to run for work, and wont have time well untill next thursday :D unless i can get a look at it from work :D
 
Hmm ok got some extra time at work so i edited the profile for you, please test and post any errors here.

View attachment [H] SubProfile Skinning 1-525-1.xml


I se you still have no if statement wraped around that Going to outland function, unless you add an if statement it will do it every time you start. now to add an if statement you need.

PHP:
<If function this and that that states what is required to go to outland>

 now what is the requirements? a skinning skill at level 300? more? not over 375? not already being in outland.

Then end the whole part going to outland with 
</If>

PHP:
<!-- Check if this is outland, wont go to outland if player is in outland smart eh? -->
<If Condition="!Me.MapId == 530">
<!-- Do that if skille and max skill is 300 or over. -->
<If Condition="("Me.GetSkill(Styx.SkillLine.Skinning).CurrentValue = & g t ;(Remove spaces) 300) & a m p ; & a m p ; (Me.GetSkill(Styx.SkillLine.Skinning).MaxValue = & g t ;(Remove spaces) 300)" >
<!-- Do that if skill level is less then 374, now it should not try to go to outland if skill is 374 -->
<If Condition="("Me.GetSkill(Styx.SkillLine.Skinning).CurrentValue & l t ;(Remove spaces)= 374))" >
<!-- Going to outland part -->

</If></If></If>
Important!!!! The PHP tag makes those & l t ; & g t ; to <> even if i wrote it the right way. & l t ; & g t ; to <> even if i wrote it the right way.

Remember > should be & g t ; and < should be & l t ;

What this does is to check that max skill level is 300 or more, but current skill is 374 or less, so if skill is 375 it should not try to go to outland.
 
Last edited:
wOOt wOOt, We have a problem Huston!
"Err: System.Xml.XmlException: Me.GetSkill is an unexpected token. Expecting white space. Line 502, position 18."
BTW Should I so something with "(Remove spaces)"? :D
 
Spank you, downloading it to the job computer, it just could not handle MS Virus studio
 
Alright!! It didnt want to go to outland any more now, but it still was trying to fly to the grinding spot in Outland thought I've move the </If> x3 to the end of the "outland part" and got it working! :)

Testing atm. Reporting back latorz. but ATM + rep for a huge help.
 
I already edited it. :)
ATM testing out the "UseTransport". :) Fixing the XYZ buggs too.
 
you might want to add that
PHP:
<If Condition="!Me.MapId == ">
going to northrend
PHP:
<If Condition="Me.MapId == ">
Leaving northrend, unless HS?ng
for northrend to so it dosn?t try to go to northrend when it is in northrend, as well as the skill level so it dosn?t try to go to northrend when you finish off the skill 450+

Me.MapId // Continent id the player is on.. Eastern Kingdom:0,Kalimdor:1, Outlands:530,Northrend:571
 
Last edited:
Added. Having some problems with the Zep atm thought. It wont get on and I I tryed to change the XYZ several times.

PHP:
					<!-- Taking Zep to Borean Tundra -->
				<CustomBehavior File="UseTransport"
					WaitAtX="1763.025" 
					WaitAtY="-4282.743" 
					WaitAtZ="133.1071"
					
					GetOffX="2834.08" 
					GetOffY="6181.937" 
					GetOffZ="121.9789"
					
					TransportStartX="1769.841" 
					TransportStartY="-4293.417" 
					TransportStartZ="133.1315" 
					
					TransportEndX="2844.161" 
					TransportEndY="6192.756" 
					TransportEndZ="122.2637" 
					TransportId="186238" />

Took time to update all the transport thingies too.
 
do you plan on HS from outland? then you should set hs in org, other then that taking flight from undercity is better as you can go to blasted land via portal and fly to the platfor from the portal, and Magsar has this in his profile so if you asked him kindly if you could use his code you would not need to make your own. just make a check there if the bot is in org then use the portal to blasted land from org :D

Edit. also yeah i have been looking at that transports stuff, someone whould make a post on the forum collecting every transport every way as they suck to write every time.
 
do you plan on HS from outland? then you should set hs in org, other then that taking flight from undercity is better as you can go to blasted land via portal and fly to the platfor from the portal, and Magsar has this in his profile so if you asked him kindly if you could use his code you would not need to make your own. just make a check there if the bot is in org then use the portal to blasted land from org :D
It's already doing HS, after done skilling to 300, 375 and 450.

Edit too: Thought it shouldnt really be any problems with taking the zep, since I made it all the way to the zep tower, but the bot wont get on the zep, that's the problem.
 
Last edited:
Ye just found it, and I activate Cata Trial on my "testing" account, so I can now fly in
PHP:
<While Condition="Me.MapId == 1">
. Hehe. Using:
PHP:
	<CustomBehavior File="Message" Text="Starting to move to Northrend" LogColor="Green" />
			<While Condition="Me.MapId == 1">
		
					<!-- Taking Zep to Borean Tundra -->
			<CustomBehavior File="FlyTo" X="1741.373" Y="-4276.539" Z="133.0727" DestName="Transport Terrace" />
			<CustomBehavior File="UseTransport" 
					TransportId="186238" 
					WaitAtX="1762.369" WaitAtY="-4283.39" WaitAtZ="133.1072" 
					TransportStartX="1775.066" TransportStartY="-4299.745" TransportStartZ="151.0326"
					TransportEndX="2837.908" TransportEndY="6187.443" TransportEndZ="140.1648"
					GetOffX="2836.355" GetOffY="6184.612" GetOffZ="121.9381"
					StandOnX="1768.292" StandOnY="-4290.189" StandOnZ="133.1834"

And then I added this:
PHP:
	<If Condition="!Me.MapId == 571">
	<If Condition="(Me.GetSkill(Styx.SkillLine.Skinning).CurrentValue =&gt;(Remove spaces) 375) &amp;&amp; (Me.GetSkill(Styx.SkillLine.Skinning).MaxValue =&gt; 375)" >
	<If Condition="(Me.GetSkill(Styx.SkillLine.Skinning).CurrentValue &lt;= 449))" >
And got "Err: System.Xml.XmlException: The name can not begin with the character <, hexadecimal value 0x3C. Line 582, position 1." meh.. X)
And Line 582 is
PHP:
<If Condition="!me.MapId == 571">

Uploaded Profile:View attachment [H] SubProfile Skinning 1-525.xml
 
Last edited:
you cant type <>& in the profile must write this...

tecken.webp

so (>) is the same as( & g t ;) cant type it together in the forum as it converts to an > :D
 
Last edited:
Back
Top