1741
Scripting Chat / Re: Another Way for Heartwood Quest?
« on: July 02, 2009, 08:51:33 AM »
Now i use Lot of OCR in scripts.
I have Resolved a Method to Check unique Sentences or Letters to Check,
i split The Gump in Squares and then check the Pixcol with Savepix
to use i Give him a Start x \y and the finish x y
and use:
for %Start %startx %Endx
{
for %end %starty %endy
{
savepix %Start %end 1
}
}
For this i can after them Filter Colours from Letter and what is not the Case
i set %Code %Code , 1 if Colour is in Pixcol
and else i set %Code %Code , 0
if you have a Word wich only Drop in this Gump at this Point you will get a Unique Code of 0\1 and the Script can Choice the Word
I have Resolved a Method to Check unique Sentences or Letters to Check,
i split The Gump in Squares and then check the Pixcol with Savepix
to use i Give him a Start x \y and the finish x y
and use:
for %Start %startx %Endx
{
for %end %starty %endy
{
savepix %Start %end 1
}
}
For this i can after them Filter Colours from Letter and what is not the Case
i set %Code %Code , 1 if Colour is in Pixcol
and else i set %Code %Code , 0
if you have a Word wich only Drop in this Gump at this Point you will get a Unique Code of 0\1 and the Script can Choice the Word