Thread: How do i tele with object in devo ?

Results 1 to 10 of 10
  1. #1 How do i tele with object in devo ? 
    Registered Member Akeid's Avatar
    Join Date
    May 2009
    Posts
    911
    Thanks given
    22
    Thanks received
    15
    Rep Power
    37
    Spoiler for Look at problem here:
    theres my current code in devo 2.7

    if i click on object 2977 (rock)(OPTION WHEN I RIGHT CLICK IS : Look into sand) It will tele me to those coords, why isnt it working for me then. It teles me to some weird location

    option to look in sand


    I want it to tele me to coords x=3506 y=9494

    but it teles me here











    case 2977: // shilo drags in kalphite layre
    if (c.GoodDistance(c.skillX, c.skillY, c.getX(), c.getY(), 1)) {
    c.teleportToX = 3506;
    c.teleportToY = 9494;
    c.heightLevel = 0;
    }

    please whats wrong much repp

    this is in atobjects.java


    ~thanks and repp++




    Fixed problem

    right code
    Code:
                			case 2977: // shilo drags in kalphite layer
                					if (c.GoodDistance(c.skillX, c.skillY, c.getX(), c.getY(), 1)) {
                					c.heightLevel = 0;
                					c.teleportToX = 3506;
                					c.teleportToY = 9494;
                				}
    Reply With Quote  
     

  2. #2  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    First off where are you trying to get? I used coords and it took me to kalphite lair
    Reply With Quote  
     

  3. #3  
    Registered Member Akeid's Avatar
    Join Date
    May 2009
    Posts
    911
    Thanks given
    22
    Thanks received
    15
    Rep Power
    37
    yea thats what its supposed to do
    Reply With Quote  
     

  4. #4  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    Quote Originally Posted by akeid View Post
    yea thats what its supposed to do
    Give me coords of where it actually takes you
    Reply With Quote  
     

  5. #5  
    Registered Member
    GwasDdos's Avatar
    Join Date
    Jul 2009
    Posts
    326
    Thanks given
    10
    Thanks received
    4
    Rep Power
    234
    Code:
    case ID:
    teleportToX = 1000
    teleportToY = 1000
    break;
    i use iClarity, not dev. but yhea thats like the main way to teleport. just convert it to dev?
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Jan 2009
    Age
    31
    Posts
    2,661
    Thanks given
    66
    Thanks received
    207
    Rep Power
    0
    wrong packet i bet

    try objects 2 and objects 3
    Reply With Quote  
     

  7. #7  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    Quote Originally Posted by digistr View Post
    wrong packet i bet

    try objects 2 and objects 3
    Didnt think about this, hes probably right. Depends on where your option is
    Reply With Quote  
     

  8. #8  
    Registered Member Akeid's Avatar
    Join Date
    May 2009
    Posts
    911
    Thanks given
    22
    Thanks received
    15
    Rep Power
    37
    What isnt the object the case , ima take a pic here and repost kk
    Reply With Quote  
     

  9. #9  
    Community Veteran

    Shobaky's Avatar
    Join Date
    Oct 2006
    Posts
    1,252
    Thanks given
    105
    Thanks received
    101
    Rep Power
    1115
    (ifUsedonObject == objectidhere )) {
    toX = 3506;
    toY = 9494;
    heightLevel = 0;
    }

    I'm not sure exactly if its right, but give it a try.
    Shit just don't change to this day




    Reply With Quote  
     

  10. #10  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    So all it was was putting height level first? Wtf?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •