SRL Archive - OSR Help

Issues with DTM's


ralfpker

2013-03-15 15:57:22

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.

Kevin

2013-03-15 16:04:39

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.

ralfpker

2013-03-15 16:08:05

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
 until (FindSymbol(x, y, 'furnace'));
writeln('Moving to Furnace');
Mouse(x, y, 0, -3, True);
SymbolAccuracy := 0.5;

Kevin

2013-03-15 16:17:34

From: ralfpker
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
 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:
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.

ralfpker

2013-03-15 16:47:52

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 .

Kevin

2013-03-15 16:56:56

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:
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).