Results 1 to 7 of 7

Thread: DTM walking

  1. #1
    Join Date
    Mar 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default DTM walking

    how can i make in my script walking to an object

    This is my DTM
    DTMMID := DTMFromString('mGQAAAHicY2RgYFjOxMCgB6SL010ZQIARRA AAHsIB+Q==');

    and how do i let my script walk to that place?

  2. #2
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    if FindDTMRotated(x, y, DTMMID, MMx1, MMy1, MMx2, MMy2, -180, 180, aFound) then Mouse(x , y, rx, ry, true);

    probably wrong parameters

    Creds to DannyRS for this wonderful sig!

  3. #3
    Join Date
    Mar 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    something like this
    until FindDTMRotated(DTMMID, x, y, MMX1, MMY1, MMX2, MMY2, parameters, parameters, aFound)
    then Mouse(x, y, 3, 3, True);

    how can i find the parameters variable?

  4. #4
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by hondebotje View Post
    something like this
    until FindDTMRotated(DTMMID, x, y, MMX1, MMY1, MMX2, MMY2, parameters, parameters, aFound)
    then Mouse(x, y, 3, 3, True);

    how can i find the parameters variable?
    type finddtmrotated in the functionlist or type finddtmrotated in simba and press ctrl+space(while highlighting)

    Creds to DannyRS for this wonderful sig!

  5. #5
    Join Date
    Oct 2011
    Posts
    422
    Mentioned
    15 Post(s)
    Quoted
    116 Post(s)

    Default

    Theres also a DTMWalk_*

    {$I SRL-OSR/SRL/misc/dtmwalk.Simba}


    If you are using it for OSR

  6. #6
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by slushpuppy View Post
    Theres also a DTMWalk_*

    {$I SRL-OSR/SRL/misc/dtmwalk.Simba}


    If you are using it for OSR
    Sexy

    Creds to DannyRS for this wonderful sig!

  7. #7
    Join Date
    Mar 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    with some help from the forums i made this

    http://pastebin.com/YackxSXq

    but it gives me an error at line 33. how do i fix it?

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
  •