View Full Version : What function can detect this message?
P1nky
01-24-2012, 11:55 PM
http://i43.tinypic.com/2iavm94.jpg
if FindNPCChatText('The knights noticed your lack of zeal',True) then
Does not work with this specific message for some reason...
YoHoJo
01-24-2012, 11:58 PM
For things like that, I just use WaitColor.
X,Y would be coordinate of any of the black text (preferably a period or something near the end/beginning), Color for text is always 0 I believe, tol would be 0 (it never changes), and maxtime can be anything, 5 seconds is fine since it waits for color OR time to expire.
Much faster, and it work great, use it in many of my scripts.
P1nky
01-24-2012, 11:59 PM
For things like that, I just use WaitColor.
X,Y would be coordinate of any of the black text (preferably a period or something near the end/beginning), Color for text is always 0 I believe, tol would be 0 (it never changes), and maxtime can be anything, 5 seconds is fine since it waits for color OR time to expire.
Much faster, and it work great, use it in many of my scripts.
I was thinking that, let me give that a go, although this is the only message that is giving me trouble :/
Oh wells let me try to code something up for it!
Thanks for the suggestion and help Mate!
Brandon
01-25-2012, 12:04 AM
If u can upload a better image with quality, I'll write a function that MIGHT detect it.
KingKong
01-25-2012, 01:00 AM
I would suggest using a shorter string, something like 'knights', because every time I use it, it works perfectly. Also try putting it in a loop.
Flight
01-25-2012, 02:19 AM
Try this mate:
Procedure Test;
var
X,Y: Integer;
begin
if FindText(x, y, 'attle', UpChars, MCX1, MCY1, MCX2, MCY2) then
Writeln('Found!');
end;
DemiseScythe
01-25-2012, 02:37 AM
The font might be off, zoom on it and analize it
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.