SRL Archive - SRL Archives

FindAxe?


D1zl3

2008-12-19 23:08:40

I had a problem a few days ago that wouldnt let me use FindSymbol so I deleted FindAxe: Boolean; out of my script and then findsymbol worked, so I dunno if its just my script, or srl…just saying :)

Naum

2008-12-20 04:23:24

I think when it called SRL_FreeBitmaps, all the bitmaps of the script were free'd. Thats the only reason I can think of :)

D1zl3

2008-12-20 04:51:53

From: NaumanAkhlaQ
I think when it called SRL_FreeBitmaps, all the bitmaps of the script were free'd. Thats the only reason I can think of :)


So how would I fix it, remove the freebitmaps? :)

Naum

2008-12-20 04:58:53

Probably, Or just remove them seperately like, FreeBitmap(SRL_Bitmap[7]) e.tc :)

D1zl3

2008-12-20 04:59:42

From: NaumanAkhlaQ
Probably, Or just remove them seperately like, FreeBitmap(SRL_Bitmap[7]) e.tc :)


Ok thanks Ill try that, and ps can i pm you about finsymbolin for edgeville…never really learned it :S

Dervish

2008-12-20 14:23:28

Well D1zl3, findsymbol in is a little like radial walk in a sence that it only searches in an area on the minimap determined by the user.

For example :

FindSymbolIn(x,y,'tree',500,550,600,650);

Of course, that won't work since it is totally random coordinates for the "search box" in which it will search for the symbol.

Its easy and better, like in situations where you have 2 same symbols.

E.G : Water symbols in edgeville and Tree symbols in edge too.

but Nauman will be a better tutor than me in all ways :p