Error: Exception: Range check error at line 618
This line:
Result := (CountColor(5657343, 80, 367, 230, 377) > 90);
Edit: Result is a boolean ofc.
Error: Exception: Range check error at line 618
This line:
Result := (CountColor(5657343, 80, 367, 230, 377) > 90);
Edit: Result is a boolean ofc.
Last edited by weequ; 10-01-2010 at 02:25 PM.
Do you get it every time?
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
Atleast I get it when there is no colors available so CountColor should result 0.
Edit: Maybe I'll try it with findcolors and then check for the length of the tpa.
That would be helpful.
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
I found out that it didn't work becouse I didn't do:
SetTargetArray(SmartImageArray, 765,503);
Now it works just fine.
Alright. In that case there isn't much we can change in Simba to fix it. The SetTargetArray is a method to read direct memory, and we have no way to actually check is the memory is accessible by us.
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
There are currently 1 users browsing this thread. (0 members and 1 guests)