Results 1 to 6 of 6

Thread: Issues with DTM's

  1. #1
    Join Date
    Aug 2009
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default Issues with DTM's

    As the title states. For whatever reason, i am trying to find a furnace DTM on my minimap which work perfectly every time i make a new DTM. But, for some reason, regardles of how high i set the tolerance for the DTM whenever i switch world it stops working again. I have re-made the DTM with multiple tolerances ranging from 1 to 75 with no luck so far. I am also using FindDTMRotatingAlternating to make it easier to find, please help.

  2. #2
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    Are we referring to the minimap Furnace symbol? If so there is a FindSymbol('furnace', x, y) function (exact syntax might be slightly different, but that is the name). As furnaces are common areas to have many people access, any person or object could be in way of one of your dtm points which would cause a failure to find it.

  3. #3
    Join Date
    Aug 2009
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Yeah, i tried using that as well, the only issue is that if the symbol is covered on the minimap just slightly, its still unable to detect the symbol, even if i set the tolerance for it.

    Heres the bit with FindSymbol
    Code:
     until (FindSymbol(x, y, 'furnace'));
      writeln('Moving to Furnace');
      Mouse(x, y, 0, -3, True);
      SymbolAccuracy := 0.5;

  4. #4
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    Quote Originally Posted by ralfpker View Post
    Yeah, i tried using that as well, the only issue is that if the symbol is covered on the minimap just slightly, its still unable to detect the symbol, even if i set the tolerance for it.

    Heres the bit with FindSymbol
    Code:
     until (FindSymbol(x, y, 'furnace'));
      writeln('Moving to Furnace');
      Mouse(x, y, 0, -3, True);
      SymbolAccuracy := 0.5;
    You will want to change the symbol accuracy prior to calling the method to have it be affected. Also, depending on where you are, it simply may be better to use SPS, TPA walking, or ObjDTM walking. Which furnace are you trying to access?

    Also as a side note, instead of Mouse(x,y,varx,vary,click) you should use:
    Simba Code:
    MMouse(x,y,varx,vary);//This is a less bot-like movement, and if you want it even less botlike than this, look into Flight's custom mouse methods.
    ClickMouse2(mouse_left);//This is a less bot-like version of clicking the mouse.

  5. #5
    Join Date
    Aug 2009
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    I am currently using the port Phast furnace. And i have been told SPS is the easiest to use by far, but at the time it hadnt been released for 07 yet. Do you know if/where it can be downloaded? I will try see if changing the SymbolAccuracy will affect it. Thank you for your help so far .

  6. #6
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    I haven't touched 07 scripting yet, but I do know SPS should work with it now. You will need to set this in the script however:
    Simba Code:
    SPS_ANYAngle:= True;

    SPS is just an include, however the easy way to make SPS maps is a separate download (which I can't remember what to search for to find it easily =/). However, I suggest looking into this SPS tutorial to learn what to do (and maybe it linked to the tool).

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
  •