Results 1 to 4 of 4

Thread: Clicking an something dead center of 4 tiles..

  1. #1
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default Clicking an something dead center of 4 tiles..


    http://img846.imageshack.us/i/88370599.png/



    Ok now you see the image.. Its my crap half assed drawing of a farming patch.

    I tried everything to click dead center with reflection.. it just doesnt work.. because the item is located right in the middle of 4 tiles.


    I also experimented with this on waterbirth island where I tested it on the snape grasses... It never clicks the 3rd snape grass from the north.. it always clicks either of the tiles beside it or the water. I got it to click with TP: = TileToMS(Tile,0); and Mouse(x - 50, y + 13, 1, 1, true); BUT I had to be on a specific Tile, at a specific angle to click that.

    I've Tried this with opening and closing the doors at trollheim, it doesnt work either.. And Object finding/clicking has huge memory leaks.. So how exactly do I click the thing in the dead center without having to have my character at a specific spot and co-ordinate clicking it.

    Would RealTile work?? And does NormalTile not work? I tried updating reflection and it says no updates found. so its updated already.
    I was thinking a doing something with a Tbox and have the mouse click from the (min to max) / 2 on all sides.. but thats so inefficient. Unless there is already a function that does this :S
    Last edited by Brandon; 03-12-2011 at 07:22 AM.
    I am Ggzz..
    Hackintosher

  2. #2
    Join Date
    May 2006
    Location
    Australia
    Posts
    370
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Use reflection TileToMS to get a general idea of where on the screen you want to click, and then use color to find the exact location.
    ------
    Strong Holder
    Kill Goblins and Zombies in (ex) bot free zones. Loot & Bank. Stable: 1.2b

  3. #3
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Average four tiles cords.

    Also, this would be easy with model finding.

    I think RRL will support model finding soon.

  4. #4
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    (Continuation of IceFire908's post)

    P[0] := TileToMM(Tile1, TileHeight);
    P[1] := TileToMM(Tile2, TileHeight);
    P[2] := TileToMM(Tile3, TileHeight);
    P[3] := TileToMM(Tile4, TileHeight);
    pAverage.X := ((P[0].X + P[1].X + P[2].X + P[3].X) div 4);
    pAverage.Y := ((P[0].Y + P[1].Y + P[2].Y + P[3].Y) div 4);
    MMouse(pAverage.X, pAverage.Y, 0, 0, True);

    Will click the center of 4 tiles by averaging them

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
  •