SRL Archive - Help and Support

Right Hand Corner Text for Al Kharid.


WhiteShadow

2006-06-05 21:11:55

Well I'm making a script for Al Kharid but, the color of it is to bright I guess so alot of thing's I've tried arn't working right.

I tried :
Self Made:

//---------------------------------------------------------\\

function UpText(Rt : String; Toler : Integer) : Boolean;
begin
if(IsTextAtEx(8, 7, Rt, Toler, UpChars, True, False, 0, 1, -1))then
Result:= true
end;

//---------------------------------------------------------\\

function UpTextTol(Zt : String; StartTol, MaxTol : Integer) : Boolean;
begin
if(UpText(Zt, StartTol))then
begin
Result:= True;
end else
begin
repeat
StartTol:= StartTol + 5
if(UpText(Zt, StartTol))then
Result:= True;
until(Result = True) or (StartTol >= MaxTol)
end;
end;

//---------------------------------------------------------\\

Doesn't work.

SRL
IsUpText('Net');
IsUpTextMulti('Net', 'et', 'N');
Option2('Net');
Others
IsTextAt2(9, 9, 'Net', 100);

Any idea of how I could solve this annoying problem? Everything seems to be returning False, it just can't Find 'Net'

Pyro

2006-06-05 21:35:31

Bitmap your own letters. Dtm the letters. Make your own font if it helps for alkharid.

phantombmx

2006-06-05 21:38:30

ill work on something for ya :)

WhiteShadow

2006-06-06 00:08:15

@Pyro - Well, I tried doing a bitmap of Net but OMG the background, like every single pixel is a different color. I will give it another go though. And for dtm's o-0 I don't think so.

@Phantom - :p, Yay!

Pyro

2006-06-06 01:29:02

From: WhiteShadow
@Pyro - Well, I tried doing a bitmap of Net but OMG the background, like every single pixel is a different color. I will give it another go though. And for dtm's o-0 I don't think so.

@Phantom - :p, Yay!


And why not? you could even just make a dtm of one letter like a N and have many points and make it search very confined. I may just be tlakign through a hole in my ass but isnt it worth a try. Im sure it would work

WhiteShadow

2006-06-06 19:06:09

From: Pyro
And why not? you could even just make a dtm of one letter like a N and have many points and make it search very confined. I may just be tlakign through a hole in my ass but isnt it worth a try. Im sure it would work


I'll try it if you stop talking to your ass. xP

-fedexer-

2006-06-07 02:33:08

i couldnt find any net text in the right hand corner but there was one in the left hand corner, well i thought i havent done much yet for this community so heres the pic of the word net with the black background so u can make it into a bmp.

its in attachment…..

tell me if this was what u needed?

WT-Fakawi

2006-06-07 02:48:26

Tilt the Cam down when doing OCR in Al - Kharid :D

Cheesehunk

2006-06-07 18:18:10

Yes, what Fakawi said, very much like OpenFurnace2;

WhiteShadow

2006-06-08 00:57:57

From: WT-Fakawi
Tilt the Cam down when doing OCR in Al - Kharid :D


Well I was thinking of doing that but I don't think making the angle change everytime it is about to click very humanly.


//I think this is how I did it, it worked but it was "awkward".
repeat
SendArrowSilent(2);
until(IsUpText('Net')

I found a solution! DTM for "Fishing Spot" it works! Sorry I doubted it Pyro. :o

Pyro

2006-06-08 01:05:44

From: WhiteShadow
Well I was thinking of doing that but I don't think making the angle change everytime it is about to click very humanly.


//I think this is how I did it, it worked but it was "awkward".
repeat
SendArrowSilent(2);
until(IsUpText('Net')

I found a solution! DTM for "Fishing Spot" it works! Sorry I doubted it Pyro. :o


Muahahaha. Yes bow down. Ya should work but make sure you still put a bit of area on. cause i think the spacing of the words osmetimes change. well i think atleast