SRL Archive - OSR Help

DTM won't work after i logout..


iraqownz

2013-03-05 15:12:13

do anyone else experience, that the DTM's can't find any colours, after a logout for a while? it happens almost every time i log out.. so i have to change the colours over and over.. kinda annoying :P

any solutions? :) would appreciate that :)

Justin

2013-03-05 20:45:26

From: iraqownz
do anyone else experience, that the DTM's can't find any colours, after a logout for a while? it happens almost every time i log out.. so i have to change the colours over and over.. kinda annoying :P

any solutions? :) would appreciate that :)


Try adding a tolerance to each DTM point. Also if you are trying to find a DTM on the MiniMap/MainScreen you might want to look into:
function FindDTMRotated(DTM: Integer; var x, y: Integer; x1, y1, x2, y2: Integer; sAngle, eAngle, aStep: Extended; out aFound: Extended): Boolean;

iraqownz

2013-03-06 04:38:12

hmm. :) thnx for the help:)

but did already added tolerance to the color, yet i used the DTMRotated function. but the dtm won't find the colour after i logout for a while. :/

Sjoe

2013-03-06 04:39:55

Pretty normal since the colors change a lot and pixelshifts on old school.
Try to maximize the tolerance and try bigger areas for subpoints, without screwing the DTM up.

Making multiple DTMs for the same thing is better too.

iraqownz

2013-03-06 06:58:05

will try that :) thnx for the help :)