• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Quest Behavior] TEST - UseTransport (Elevators,Boats,Zeppelins etc).

    Discussion in 'Archives' started by regecksqt, Jan 3, 2011.

    1. regecksqt

      regecksqt New Member

      Joined:
      Dec 19, 2010
      Messages:
      49
      Likes Received:
      4
      Trophy Points:
      0
      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.
       

      Attached Files:

      Last edited by a moderator: Feb 14, 2011
      cowdude and znuffie like this.
    2. znuffie

      znuffie Banned

      Joined:
      Feb 23, 2010
      Messages:
      864
      Likes Received:
      30
      Trophy Points:
      28
      Thank you for this! You rock! I wanna have your babies! +rep!
       
    3. SMcCloud

      SMcCloud New Member

      Joined:
      Dec 8, 2010
      Messages:
      172
      Likes Received:
      2
      Trophy Points:
      0
      Some of us like swandiving off of Thunderbluff...
       
    4. nlr

      nlr New Member

      Joined:
      Feb 24, 2010
      Messages:
      252
      Likes Received:
      0
      Trophy Points:
      0
      This is just amazing, thanks!

      Regards,
      Nick.
       
    5. regecksqt

      regecksqt New Member

      Joined:
      Dec 19, 2010
      Messages:
      49
      Likes Received:
      4
      Trophy Points:
      0
      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: Feb 14, 2011
    6. tozededao

      tozededao Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,225
      Likes Received:
      5
      Trophy Points:
      38
      Amazing :)
       
    7. regecksqt

      regecksqt New Member

      Joined:
      Dec 19, 2010
      Messages:
      49
      Likes Received:
      4
      Trophy Points:
      0
      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: Feb 14, 2011
    8. Hi on Helium

      Hi on Helium New Member

      Joined:
      Jan 22, 2010
      Messages:
      252
      Likes Received:
      3
      Trophy Points:
      0
      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: Feb 14, 2011
    9. regecksqt

      regecksqt New Member

      Joined:
      Dec 19, 2010
      Messages:
      49
      Likes Received:
      4
      Trophy Points:
      0
      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.
       
    10. laria

      laria Well-Known Member

      Joined:
      Jan 15, 2010
      Messages:
      5,386
      Likes Received:
      36
      Trophy Points:
      48
      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.
       
    11. tantric132

      tantric132 New Member

      Joined:
      Mar 16, 2010
      Messages:
      43
      Likes Received:
      0
      Trophy Points:
      0
      Really interesting stuff man, good work.
       
    12. gonemental

      gonemental Member

      Joined:
      Nov 14, 2010
      Messages:
      295
      Likes Received:
      11
      Trophy Points:
      18
      nevermind
       
      Last edited: Jan 4, 2011
    13. Nuok

      Nuok Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      975
      Likes Received:
      28
      Trophy Points:
      28
      Seems this was broken as a result of the change to wowmatrix due to the archology plugin :(
       
    14. eniac

      eniac Member

      Joined:
      Jul 22, 2010
      Messages:
      107
      Likes Received:
      2
      Trophy Points:
      18
      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);
       

      Attached Files:

      Last edited: Jan 13, 2011
    15. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      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
       

      Attached Files:

      Last edited: Feb 4, 2011
    16. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      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: Feb 4, 2011
    17. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      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
       

      Attached Files:

      Last edited: Mar 8, 2011
    18. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      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
       

      Attached Files:

      Last edited: Mar 8, 2011
    19. liljackjack

      liljackjack Member

      Joined:
      Mar 17, 2010
      Messages:
      280
      Likes Received:
      3
      Trophy Points:
      18
      1-85 profiles incoming!! :eek:
       
    20. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      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)
       

    Share This Page