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

Flying Support: A Quick How To Video for Profile Makers

tubajedimr

New Member
Joined
Apr 6, 2010
Messages
441
Reaction score
24
[video=youtube;nJ04zxK6lvE]http://www.youtube.com/watch?v=nJ04zxK6lvE[/video]








This code uses a combination of MyCTM and ForcedMount (which will be fixed in the next release). The current version of ForcedMount does not properly wait for the mounting process to complete before jumping in the air.

PHP:
<HBProfile>
    <QuestOrder>
        <RunTo QuestId="0" X="-195.6907" Y="-4914.745" Z="23.15599"  />
        <CustomBehavior File="ForcedMount" QuestId="0" MountType="Flying" />
        <CustomBehavior File="MyCTM" QuestId="0" Location="-184.1041 -4965.712 45.84389" />
        <CustomBehavior File="MyCTM" QuestId="0" Location="-188.8688 -5006.613 21.62514" />
        <CustomBehavior File="MyCTM" QuestId="0" Location="-189.8257 -5024.134 21.64283" />
    </QuestOrder>
</HBProfile>
 

Attachments

Last edited:
so i spent 3 days working on a botbase, for basicly nothing....awesome.
 
so i spent 3 days working on a botbase, for basicly nothing....awesome.

watcha been working on? Cuz if it's easier then this, that would be awesome.

What I suggested to Hawker was a new system for the CTM. Basically to make it lazy for us so we don't need to edit and customize the individual behaviors and can instead just copy and paste hotspots.

It would work something like this:

PHP:
<HBProfile>
 	<QuestOrder>
		<!--Preceeded by a RunTo behavior, to ensure proper functioning-->
		<MyCTM QuestId="1234">
			<Hotspot X="1" Y="2" Z="3" />
			<Hotspot X="1" Y="2" Z="3" />
			<Hotspot X="1" Y="2" Z="3" />
			<Hotspot X="1" Y="2" Z="3" />
			<Hotspot X="1" Y="2" Z="3" />
			<Hotspot X="1" Y="2" Z="3" />
			<Hotspot X="1" Y="2" Z="3" />
			<Hotspot X="1" Y="2" Z="3" />
		</MyCTM>
</HBProfile>
 
I'm confused. I thought you said that ForcedMount doesn't work correctly right now, but then you said this is currently working as intended? Did I misunderstand, or are you saying something else currently works?
 
I'm confused. I thought you said that ForcedMount doesn't work correctly right now, but then you said this is currently working as intended? Did I misunderstand, or are you saying something else currently works?

at the time this was posted forced mount did not work. now it does.
 
My forced mount still automatically jumps when testing. I got rid of the forcedmount and ran macro to mount instead, the myCtm did the rest, and that worked.
 
that's a good idea...what's a RunMacro look like to mount and jump?
 
that's a good idea...what's a RunMacro look like to mount and jump?

<custombehavior file="RunMacro" macro="/cast Ebon Gryphon" numoftimes="1" waittime="300">

you have to have the runmacro.cs, you dl and put it in ur quest behaviors folder... heres the link... http://www.thebuddyforum.com/honorbuddy-forum/developer-forum/17419-%5Bcb%5D-runmacro.html


ALSO A SIDE NOTE

MyCTM is only available if you are currently on the quest, what this means is that if its just a quest where they give you an objective to talk and hand the quest into another npc MyCTM will not work (because the quest shows as completed right when you pick it up)...

So i modified the original version and created MyCTMNoQuest...

What this will do is allow you to fly even if a quest is completed, but not turned in yet.

Only credit goes to the original maker, all i did was deleted one argument.

example in questorder

<if condition="HasQuest(26834)"><if condition="HasQuest(26834)"><custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="300"><custombehavior file="RunMacro" macro="/cast Ebon Gryphon" numoftimes="1" waittime="300"><custombehavior file="MyCTM" questid="26834" location="1022.38 1857.29 306.392" =""><custombehavior file="MyCTM" questid="26834" location="1022.478 1858.025 319.6743" =""><custombehavior file="MyCTM" questid="26834" location="1124.251 1831.381 337.121" =""><custombehavior file="MyCTM" questid="26834" location="1295.56 1722.858 351.6685" =""><custombehavior file="MyCTM" questid="26834" location="1315.436 1644.037 207.3392" =""><custombehavior file="MyCTM" questid="26834" location="1266.899 1633.274 175.2001" =""><custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="300"><custombehavior file="RunMacro" macro="/cast Ebon Gryphon" numoftimes="1" waittime="300"><custombehavior file="MyCTM" questid="26834" location="1022.38 1857.29 306.392" =""><custombehavior file="MyCTM" questid="26834" location="1022.478 1858.025 319.6743" =""><custombehavior file="MyCTM" questid="26834" location="1124.251 1831.381 337.121" =""><custombehavior file="MyCTM" questid="26834" location="1295.56 1722.858 351.6685" =""><custombehavior file="MyCTM" questid="26834" location="1315.436 1644.037 207.3392" =""><custombehavior file="MyCTM" questid="26834" location="1266.899 1633.274 175.2001" =""></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></if></if></custombehavior>
 

Attachments

Last edited:
Example
<custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="300"><if condition="HasQuest(26843)"><custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="1000"><custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="300"><custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="300"><custombehavior file="RunMacro" macro="/cast Ebon Gryphon" numoftimes="1" waittime="300"><custombehavior file="MyCTM" questid="26834" location="1022.38 1857.29 306.392"><custombehavior file="MyCTM" questid="26834" location="1022.478 1858.025 319.6743"><custombehavior file="MyCTM" questid="26834" location="1124.251 1831.381 337.121"><custombehavior file="MyCTM" questid="26834" location="1295.56 1722.858 351.6685"><custombehavior file="MyCTM" questid="26834" location="1315.436 1644.037 207.3392"><custombehavior file="MyCTM" questid="26834" location="1266.899 1633.274 175.2001"><turnin questname="Down Into the Chasm" questid="26834" turninname="Slate Quicksand" turninid="44143"><custombehavior file="RunMacro" macro="/cast Ebon Gryphon" numoftimes="1" waittime="1000"><custombehavior file="MyCTMNoQuest" questid="26843" location="1000.23 343.34 422.33"><custombehavior file="MyCTMNoQuest" questid="26843" location="1222.14 754.63 266.44"><custombehavior file="MyCTMNoQuest" questid="26843" location="955.21 451.34 432.55"><turnin questname="Down Into the chasm" questid="26834" turninname="Slate Quicksand" turninid="44143"><if condition="HasQuest(26834)"><custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="300"><custombehavior file="RunMacro" macro="/cast Ebon Gryphon" numoftimes="1" waittime="300"><custombehavior file="MyCTM" questid="26834" location="1022.38 1857.29 306.392"><custombehavior file="MyCTM" questid="26834" location="1022.478 1858.025 319.6743"><custombehavior file="MyCTM" questid="26834" location="1124.251 1831.381 337.121"><custombehavior file="MyCTM" questid="26834" location="1295.56 1722.858 351.6685"><custombehavior file="MyCTM" questid="26834" location="1315.436 1644.037 207.3392"><custombehavior file="MyCTM" questid="26834" location="1266.899 1633.274 175.2001">This is just an example, not real coords.... But this example does include a quest that would not all regular CTM to work.


PHP:
<If Condition="HasQuest(26834)">
       <CustomBehavior File="RunMacro" Macro="/dismount" NumOfTimes="1" WaitTime="300"/>
       <CustomBehavior File="RunMacro" Macro="/cast Ebon Gryphon" NumOfTimes="1" WaitTime="300"/>
       <Custombehavior file="MyCTM" questid="26834" location="1022.38 1857.29 306.392">CustomBehavior File="MyCTMNoQuest" QuestId="26834" Location= "1022.38 1857.29 306.392"/>
      <CustomBehavior File="MyCTMNoQuest" QuestId="26834" Location= "1022.478 1858.025 319.6743"/>
      <CustomBehavior File="MyCTMNoQuest" QuestId="26834" Location= "1295.56 1722.858 351.6685"/>
       <TurnIn QuestName="Down Into the Chasm" QuestId="26834" TurnInName="Slate Quicksand" TurnInId="44143"/>
</If>

Use PHP - fixed
 
Last edited by a moderator:
Example
<custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="300"><if condition="HasQuest(26843)"><custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="1000"><custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="300"><custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="300"><custombehavior file="RunMacro" macro="/cast Ebon Gryphon" numoftimes="1" waittime="300"><custombehavior file="MyCTM" questid="26834" location="1022.38 1857.29 306.392"><custombehavior file="MyCTM" questid="26834" location="1022.478 1858.025 319.6743"><custombehavior file="MyCTM" questid="26834" location="1124.251 1831.381 337.121"><custombehavior file="MyCTM" questid="26834" location="1295.56 1722.858 351.6685"><custombehavior file="MyCTM" questid="26834" location="1315.436 1644.037 207.3392"><custombehavior file="MyCTM" questid="26834" location="1266.899 1633.274 175.2001"><turnin questname="Down Into the Chasm" questid="26834" turninname="Slate Quicksand" turninid="44143"><custombehavior file="RunMacro" macro="/cast Ebon Gryphon" numoftimes="1" waittime="1000"><custombehavior file="MyCTMNoQuest" questid="26843" location="1000.23 343.34 422.33"><custombehavior file="MyCTMNoQuest" questid="26843" location="1222.14 754.63 266.44"><custombehavior file="MyCTMNoQuest" questid="26843" location="955.21 451.34 432.55"><turnin questname="Down Into the chasm" questid="26834" turninname="Slate Quicksand" turninid="44143"><if condition="HasQuest(26834)"><custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="300"><custombehavior file="RunMacro" macro="/cast Ebon Gryphon" numoftimes="1" waittime="300"><custombehavior file="MyCTM" questid="26834" location="1022.38 1857.29 306.392"><custombehavior file="MyCTM" questid="26834" location="1022.478 1858.025 319.6743"><custombehavior file="MyCTM" questid="26834" location="1124.251 1831.381 337.121"><custombehavior file="MyCTM" questid="26834" location="1295.56 1722.858 351.6685"><custombehavior file="MyCTM" questid="26834" location="1315.436 1644.037 207.3392"><custombehavior file="MyCTM" questid="26834" location="1266.899 1633.274 175.2001">This is just an example, not real coords.... But this example does include a quest that would not all regular CTM to work.

so apparently its not letting me put in code for some reason, i even took the time to type it out by hand just in case that was it....
Code:
<if condition="HasQuest(26834)">If Condition="HasQuest(26834)">
       CustomBehavior File="RunMacro" Macro="/dismount" NumOfTimes="1" WaitTime="300"/>
       CustomBehavior File="RunMacro" Macro="/cast Ebon Gryphon" NumOfTimes="1" WaitTime="300"/>
       <custombehavior file="MyCTM" questid="26834" location="1022.38 1857.29 306.392">CustomBehavior File="MyCTMNoQuest" QuestId="26834" Location= "1022.38 1857.29 306.392"/>
       CustomBehavior File="MyCTMNoQuest" QuestId="26834" Location= "1022.478 1858.025 319.6743"/>
       CustomBehavior File="MyCTMNoQuest" QuestId="26834" Location= "1295.56 1722.858 351.6685"/>
       TurnIn QuestName="Down Into the Chasm" QuestId="26834" TurnInName="Slate Quicksand"                          TurnInId="44143"/>
/If>
So apparently it doesn't like the < character to be in front of stuff... Also a side note, I don't know why the quest portion was in there to begin with because we could always wrap the behavior in an if statement,


</custombehavior></if></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></if></turnin></custombehavior></custombehavior></custombehavior></custombehavior></turnin></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></if></custombehavior>

you have to use the PHP tags...

so for the RunMacro, you don't need to tell it to jump so it's flying?

btw, thanks for the MyCTMNoQuest...I'll be using that!
 
you have to use the PHP tags...

so for the RunMacro, you don't need to tell it to jump so it's flying?

btw, thanks for the MyCTMNoQuest...I'll be using that!

Ah thats why the brackets weren't showing up.... well i figure if u r in this forum u probably know what to do :)

the macro doesnt tell it to jump, it just tells it to mount...

then after the the MyCTM will move u to the location....
 
Ah thats why the brackets weren't showing up.... well i figure if u r in this forum u probably know what to do :)

the macro doesnt tell it to jump, it just tells it to mount...

then after the the MyCTM will move u to the location....

I'm new to the profile writing game...learning as I go =)

after you mount, don't you need to be flying for it to move to the location? Which is the problem with the ForcedMount behavior...it jumps (to fly) too soon.
 
Back
Top