Is it possible for me to write a script that will recognize the number
"...for a total price of (x) gp."
if so how...?
Is it possible for me to write a script that will recognize the number
"...for a total price of (x) gp."
if so how...?
Last edited by halgboy_tbc; 04-07-2012 at 03:02 AM.
what? I didn't understand the question.. do u mean you want to count the #of GP in the invent or bank? or do u mean u want to withdraw -X amount of gp? or what? it isn't clear..
EDIT: Just saw the pic u just posted..
Try looking at the ItemAmount function or modify it and make one.. easy
I am Ggzz..
Hackintosher

Hmm the Item amount function probably isn't going to work on that Font.
You may need to make your own font set for the G.E number's which won't take very long at all and use that its only 10 bitmap's![]()
"Previously known as Leetsxc''

What I tested with:
Simba Script:
Simba Code:program Text;
{$i SRL/srl.simba}
function GetPrice: string;
begin
Result := GetTextAtExWrap(146, 285, 351, 298, 0, 5, 2, 39372, 5, StatChars);
end;
begin
ClearDebug;
writeln(GetPrice);
end.
Result:
Hope that is what you are looking for.Code:1'295 Successfully executed.
There are currently 1 users browsing this thread. (0 members and 1 guests)