Results 1 to 7 of 7

Thread: Finding Doors with Reflection

  1. #1
    Join Date
    Dec 2009
    Location
    Newcastle, Australia
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Finding Doors with Reflection

    How do I find the doors with reflection. I believe that all doors have a unique ID, which also changes when doors are open or shut. The only problem I have is that I don't know how to get the IDs, also when I have the ID, how should I open the door?

    Current Script Project
    Pot of flour gatherer - 95% done

    Can't get Simba to work? Click here for a tutorial

  2. #2
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    offsets with compass set a certain direction...unless we randomly decide to hook models...but that probably won't happen anytime soon.

  3. #3
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    (Once you get the IDs to open)

    TileToMS(DoorTile, ModX, ModY, Height);

    ModX is 0.1 to 0.9 same with ModY, depends what side it is on for these.

    North = 0.5, 0.9
    East = 0.9, 0.5
    South = 0.5, 0.1
    West = 0.1, 0.5

    I believe.

    (actually the smallest is 1/512) ~0.00195 - ~0.99805
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

  4. #4
    Join Date
    Dec 2009
    Location
    Newcastle, Australia
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    how do i get the IDs though?

    Current Script Project
    Pot of flour gatherer - 95% done

    Can't get Simba to work? Click here for a tutorial

  5. #5
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    RSBot?

  6. #6
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    1,124
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    T := GetMe;
    Writeln(GetObjectAt(Me.Tile.X + 1, Me.Tile.Y)

    Or something along that way is another way to get ID's in Simba instead of using RSBot.

  7. #7
    Join Date
    Dec 2009
    Location
    Newcastle, Australia
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I tried basically running a script that Got ALL ids, and then waited 5 seconds so i could open the door, and then got all IDs again, then did a InIntArr to see if any IDs changed, and none had...

    Current Script Project
    Pot of flour gatherer - 95% done

    Can't get Simba to work? Click here for a tutorial

Thread Information

Users Browsing this Thread

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

Posting Permissions

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