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!

[Quest Behavior] TEST - UseTransport (Elevators,Boats,Zeppelins etc).

regecksqt

New Member
Joined
Dec 19, 2010
Messages
49
This entire thing is scrapped because its not practical to path on boats/zeps at the moment and this is pretty much required for this to be viable.
____________________________________________________________________________________________________
This is a quick test behavior that I have coded up that is intended to eventually use bots and elevators and zeppelins etc.

What I need is for people to go out into the world and test it. I have only tested it at the Alliance elevator in Zangarmarsh and 1 boat in Stormwind.

This is the way its used:
PHP:
<HBProfile><QuestOrder>
<CustomBehavior File="UseTransport" Entry="288.1024,5930.473,26.63672"
                                    Exit="286.958,5951.836,149.7994" 
                                    Start="285.7488,5918.209,26.14107" 
                                    End="283.5826,5935.404,149.3924" 
                                    Transport="183177"/>
</QuestOrder></HBProfile>
Entry is where you wait to get on the transport. It needs to be fairly close to the transport.
Exit is where you want to move after the transport has arrived. It also needs to be fairly close.

Start is the location of the transport at the moment you want to get on it.
End is the location of the transport at the moment you want to get off it.

Transport is the ID of the transport.

Getting the ID and location of your transport is not straightforward.
In order to do this, you should best get the plugin HBConsole and run the following script in it to get this information (while on the transport)
Code:
            ObjectManager.Update();
            Log("Transport: " + Me.Transport.Entry);
            Log("Position: " + Me.Transport.WorldMatrix.M41 + "," + Me.Transport.WorldMatrix.M42 + "," + Me.Transport.WorldMatrix.M43);

The test version of this is attached.

I really need people to test this out.
 

Attachments

Last edited by a moderator:
Thank you for this! You rock! I wanna have your babies! +rep!
 
Updating this with a fix that should make the use of Boats and Zeppelins etc easier to use.

Here is a profile I used to travel from Stormwind to Valliance Keep (Northrend):
PHP:
<CustomBehavior File="UseTransport" Entry="-8293.391,1406.396,4.397098"
                                    Exit="2231.335,5131.395,5.343084" 
                                    Start="-8288.816,1424.703,-0.04999762" 
                                    End="2218.391,5119.589,0.007768625" 
                                    Transport="190536"/>
 
Last edited by a moderator:
Some of us like swandiving off of Thunderbluff...

Here's a profile that goes up the eastern (ish) elevator at ThunderBluff.
PHP:
<CustomBehavior File="UseTransport" Entry="-1035.323,-56.10513,69.25348"
                                    Exit="-1043.901,-46.33987,140.6944" 
                                    Start="-1037.266,-49.23547,69.27228" 
                                    End="-1037.266,-49.23546,140.4947" 
                                    Transport="47297"/>
Obviously to go down you just reverse everything.
 
Last edited by a moderator:
oo. wait.. you said "..to go down just reverse everything" does the plugin know to do this automatically? or would it work if I did this?:

PHP:
<HBProfile><QuestOrder>
<CustomBehavior File="UseTransport" Entry="288.1024,5930.473,26.63672"
                                    Exit="286.958,5951.836,149.7994" 
                                    Start="285.7488,5918.209,26.14107" 
                                    End="283.5826,5935.404,149.3924" 
                                    Transport="183177"/>

                                    Entry="286.958,5951.836,149.7994"
                                    Exit="288.1024,5930.473,26.63672" 
                                    Start="283.5826,5935.404,149.3924" 
                                    End="285.7488,5918.209,26.14107" 
                                    Transport="183177"/>
</QuestOrder></HBProfile>

also, any ideas about flight master support or portals?

great work and keep it up!
-HoHv2
 
Last edited by a moderator:
Flight Masters and Portals are not "transports" in the way that I mean, so unfortunately you're gonna have to look for another behavior.

By 'reverse everything' my meaning is that you swap the values for Entry and Exit, and same for Start and End. The plugin doesn't 'know' anything except for where you're coming from and where you're going, and this is based on the information you give it. Transports have no inherent direction.
 
Flight Masters and Portals are not "transports" in the way that I mean

Flightmasters are handled by the core if there is a faster way availablevia flight than running there by foot, i.e. you have the nodes available.
 
Seems this was broken as a result of the change to wowmatrix due to the archology plugin :(
 
Here' a fix for the newest HB

also the console code should look like this now
Code:
ObjectManager.Update();
            Log("Transport: " + Me.Transport.Entry);
            Log("Position: " + Me.Transport.GetWorldMatrix().M41 + "," + Me.Transport.GetWorldMatrix().M42 + "," + Me.Transport.GetWorldMatrix().M43);
 

Attachments

Last edited:
Fizzcrank Airstrip Borean Tundra:

PHP:
                                To "Get Up"
		<CustomBehavior File="WaitTimer" WaitTime="2000" />	
		<CustomBehavior File="UseTransport"
				Entry="4180.536, 5280.977, 26.49352"
				Exit="4180.375, 5282.13, 39.60874" 
				Start="4184.285, 5281.594, 26.8" 
				End="4184.285, 5281.594, 39.48473" 
				Transport="152614" />


                                To "Get Down"				
		<CustomBehavior File="WaitTimer" WaitTime="2000" />					
		<CustomBehavior File="UseTransport"
				Entry="4182.848, 5282.1, 38.08063"
				Exit="4179.961, 5280.938, 26.69306" 
				Start="4184.285, 5281.594, 39.48473" 
				End="4184.285, 5281.594, 26.7" 
				Transport="152614" />

It took a while, but I suggest using CnG's Dev Plugin to find GameObjects (20 yard radius or more, depending on where blizz "put" them elevator start)

I have uploaded my "test" profile to get on and off of the elevator. I suggest using the coords from CnG's object finder and simply just change the Z coords as needed for Start/End of transport!

- Kick

Oh, and thanks for the CB!

Note: To anyone using this in their profiles, give credit where credit is due!

<3
 

Attachments

Last edited:
Coldarra in NW Borean Tundra
PHP:
					<!-- Get onto Coldarra's Western platform Elevator -->
				<CustomBehavior File="UseTransport"
								Entry="3975.338, 7259.149, 200.4349"
								Exit="3982.492, 7274.567, 255.8738" 
								Start="3978.389, 7266.481, 200.0375" 
								End="3978.389, 7266.481, 254.8738" 
								Transport="188514" />

					<!-- Get off of Coldarra's Western platform Elevator -->
				<CustomBehavior File="WaitTimer" WaitTime="2000" />					
				<CustomBehavior File="UseTransport"
								Entry="3982.492, 7274.567, 255.8738" 
								Exit="3975.338, 7259.149, 200.4349"
								Start="3978.389, 7266.481, 254.8738" 
								End="3978.389, 7266.481, 200.0375" 
								Transport="188514" />

Which you don't need, because you can have the item do it, but I forgot about that xD
 
Last edited:
Here are 3 scripts that you guys might like.

Do take note that due to the fact that I can't set a point to which I want to stand at when I'm on a transport, the BB --> Ratchet boat is bugged, but that's the only issue, it is great besides that!

If you use them, give credit

- Kick

Note: Zangar Elevator is the authors coords, I just made it into a .xml

the SW / IF tram uses the *middle* cart
 

Attachments

Last edited:
This is a new version of UseTransport by Raphus... it rocks. Optional StandOn X Y Z added for boats, it's a lot more stable for boats and elevators.

Tested on:
Fizzcrank Elevator
SW --> Borean && Borean --> SW boat
BB --> Ratchet && Ratchet --> BB boat
SW --> IF && IF --> SW Tram

PHP:
					<CustomBehavior File="UseTransport"
									Entry=", , " // before getting on
									Exit=", , "  // go to after done
									Start=", , " // boat start point
									End=", , " // boat stop point
									StandOnX="" StandOnY="" StandOnZ="" // Optional Point to stand on if the bot has issues crossing the transport (ie: BB / Ratchet boat)
									Transport="" /> // transport Id
 

Attachments

Last edited:
hehe.

my BC / LK is almost ready to be combined. I'm just ironing out the bugs now (yes, i've been saying that for a month, but it's 1 click, and fewer and fewer bugs each time i run it)
 
Back
Top