SRL Archive - OSR Help

DTM walking


hondebotje

2013-03-31 06:14:24

how can i make in my script walking to an object

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

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

Sjoe

2013-03-31 06:16:17

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

probably wrong parameters :p

hondebotje

2013-03-31 06:42:26

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?

Sjoe

2013-03-31 06:44:52

From: hondebotje
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)

slushpuppy

2013-03-31 06:48:33

Theres also a DTMWalk_*

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


If you are using it for OSR

Sjoe

2013-03-31 06:49:49

From: slushpuppy
Theres also a DTMWalk_*

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


If you are using it for OSR


Sexy :)

hondebotje

2013-03-31 12:33:17

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?