Swatarianess
2011-12-19 08:06:23
So got some questions about the GE :D because not 100% sure about the text :/ What i'm trying to do is make a buyer then seller but first want to know how to read the Text well the numbers which show how much you buy the item for. So wanted to make Failsafe but not sure on the fail safes although i'd read;
http://villavu.com/forum/showthread.php?t=49089 << this guide
http://villavu.com/forum/showthread.php?t=54050 << and part of this
if my answer is in there can some1 point it out :/
anways on to the questions and what i think…
1.Is the GE text the same as the rest of rs font?
I think that its slightly different isnt it? because it hadnt changed with rs update of the text?
2. Which Text retrieving function would i use to get the numbers(amount of gp spent)?
For this question dont want to seem like i'm a total noob or nothing but i did do bit of testing ^^
what i found was this;
With the color <39321> i found these similar texts;

with the color <6400255> i found these texts';

So would i use one of these function of text finding?
so i thought this one would work best of all.. with some Text i tried to use but didnt work well…
heres what i did >.<
Got this error…
So thanks in advance for help :/ i might start of something less complex if this doesnt work out just want to work though different ways of failsafing and such and such..
~Bro433
Compiling failed.
http://villavu.com/forum/showthread.php?t=49089 << this guide
http://villavu.com/forum/showthread.php?t=54050 << and part of this
if my answer is in there can some1 point it out :/
anways on to the questions and what i think…
1.Is the GE text the same as the rest of rs font?
I think that its slightly different isnt it? because it hadnt changed with rs update of the text?
2. Which Text retrieving function would i use to get the numbers(amount of gp spent)?
For this question dont want to seem like i'm a total noob or nothing but i did do bit of testing ^^
what i found was this;
With the color <39321> i found these similar texts;

with the color <6400255> i found these texts';

So would i use one of these function of text finding?
Function FindTextTpaEx(Color, Tol, xs, ys, xe, ye: integer; var x,y: integer; Txt: string; Chars: Integer; Action: (ClickLeft, ClickRight, Move, Nothing)): Boolean; // by Raymond
// * Function FindTextTpa(Color, Tol, xs, ys, xe, ye: integer; Txt: string; Chars: Integer; Action: (ClickLeft, ClickRight, Move, Nothing)): Boolean; // by Raymond
// * function FindTextTPAMulti(Color, tol, xs, ys, xe, ye: integer; Texts: TStringArray; Chars: string;/integer; Action: fnct_ActionOptions): Boolean; // by Cigue and EvilChicken!
so i thought this one would work best of all.. with some Text i tried to use but didnt work well…
FindTextTpaEx(123123,20,214,82,262,71,x,y,'Choose',6,Move)heres what i did >.<
program new;
{$i srl/srl.scar}
var
x, y : Integer;
begin
SetupSRL;
if FindTextTpaEx(123123,20,214,82,262,71,x,y,'Choose',6,Move) then
writeln('found');
else
writeln('failed');
end. Got this error…
[Error] (9:63): Type mismatch at line 8
So thanks in advance for help :/ i might start of something less complex if this doesnt work out just want to work though different ways of failsafing and such and such..
~Bro433
Compiling failed.