Results 1 to 5 of 5

Thread: Door Code

  1. #1
    Join Date
    Jul 2007
    Location
    atlanta
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Door Code

    hy all, im makin a script but i've run into a problem

    i have to get past a door on route. and this door randomly closes about every 4-5mins


    anyone know a function or have an idea to take care of this?

    i'm thinking Reflections could do it but i don't know of any commands, or hooks, for it as of yet.


    help would be nice

    ty all

  2. #2
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You could start by reading a tutorial, posting on the right sub-forum, and using the search button

  3. #3
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by TViYH View Post
    You could start by reading a tutorial, posting on the right sub-forum, and using the search button
    I think people in general shouldn't always point to the search button.

    jdb: Try to find it, hover over it with your mouse. If the uptext is 'closed', then open the door again, and continue on your way.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  4. #4
    Join Date
    Jul 2007
    Location
    atlanta
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ah, Hadn't thought of that TYVM!!!


    i'll try it thanx

    m8!

  5. #5
    Join Date
    Jul 2007
    Location
    atlanta
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    I think people in general shouldn't always point to the search button.

    jdb: Try to find it, hover over it with your mouse. If the uptext is 'closed', then open the door again, and continue on your way.

    thanx for getting me started.. here's the script i wrote for my door check.

    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    // <---Check to see if door is open
    // by Chipy
    //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    function CheckDoorOpen: boolean;
    var tP : Tpoint;
    begin

    MakeCompass('n');
    tP := TileToMS(Point(3684, 3476), 2);
    MMouse(tP.x, tP.y, 8, 12);
    wait(100+random(100));
    if IsUpText('pen') then
    begin
    result := false;
    exit;
    end;

    MakeCompass('n');
    tP := TileToMS(Point(3684, 3477), 2);
    MMouse(tP.x, tP.y, 8, 12);
    wait(100+random(100));
    if IsUpText('pen') then
    begin
    result := false;
    exit;
    end;
    result:=true;
    end;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Door functions
    By Floor66 in forum OSR Help
    Replies: 0
    Last Post: 11-27-2008, 10:39 AM
  2. Door checker?
    By Rubix in forum OSR Help
    Replies: 3
    Last Post: 07-17-2008, 09:43 PM

Posting Permissions

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