SRL Archive - OSR Help

Clicking a dtm On the Main Screen


mafia miles

2013-04-05 20:01:40

EVERYTHING WORKS THANKS GUYS
So the DTM I want to click doesnt have a black border. it doesnt have a border really. Its the balloon map to travel. How would I get it to click entrana? I made a dtm that finds entrana and only entrana but it also hovers over the other options.
How can I get it just to click Entrana?

Sjoe

2013-04-05 20:25:59

could u make a screenshot on how u made the dtm?
(so in dtm editor, with the red lines)

Also when u made a DTM, have set the appropiate tolerances. Try clicking on Match the DTMs (or smthing), only 1 red cross should appear on the correct spot.

mafia miles

2013-04-05 20:37:15

and



it shows it as the only dtm. Im still working on it… hmmmm.

Sjoe

2013-04-05 20:39:04

From: mafia miles
and



it shows it as the only dtm. Im still working on it… hmmmm.


Try putting 5-15 tolerance on each point, but start with a LOW tolerance first and build up!

Do this several times:
Re-log in runescape, then refresh your image in the DTM editor.
Check if your DTM still matches, else up the tolerance a bit.


Another method would be Bitmaps. They'll probably work here.

Rich

2013-04-05 21:06:03

DTMs aren't really the tool for the job. You could easily use co-ords as the button won't move, but if you want something a bit more secure try bitmaps.

Flight

2013-04-05 21:10:15

From: Rich
DTMs aren't really the tool for the job. You could easily use co-ords as the button won't move, but if you want something a bit more secure try bitmaps.


Exactly. This interface always remains at the same place as well as the 'Entrana' text you're wanting to click. You already know exactly where that text is located, so why not just a simple coordinated click? Don't forget randomness!

mafia miles

2013-04-06 00:35:11

How do I click a position?
MMouse(1118, 190)?

dzpliu

2013-04-06 01:08:09

From: mafia miles
How do I click a position?
MMouse(1118, 190)?

select smart/browser as your client, then copy the coordinates.

mafia miles

2013-04-06 01:13:00

Thanks but how do i use it as a one line code? I know the coordinates just not the clicking mouse part

dzpliu

2013-04-06 01:24:21

MMouse(x, y, randomx, randomy); //x,y = coordinates, randomx,randomy= antiban just put between 2~10;
ClickMouse2(true); //left_click

Sjoe

2013-04-06 01:25:39

Mouse(); does the trick. (basically mmouse and clickmouse2)

mafia miles

2013-04-06 01:28:21

everything works thanks guys