-TS- Posted December 9, 2003 Share Posted December 9, 2003 theres a number of of pixels colors x 260 and x2 379 i want to find a color in that area and desplay a % each 1.19 pixel equals 1% and i dont wanta write out each /pixel% how would i write 1 = 1.19 2 = 2.38..... THX *TS* Link to comment Share on other sites More sharing options...
CyberSlug Posted December 9, 2003 Share Posted December 9, 2003 (edited) Could you rephrase the question? I'm guessing it's something like this: For 260 x 379 window area: I want to find a color and display the percentage. 1.19 pixels equals 1% I don't want divide each result by the percentage conversion... So how would I write 1? = 1.19 2? = 2.38..... Edited December 9, 2003 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
-TS- Posted December 9, 2003 Author Share Posted December 9, 2003 you understud it right i just dont want to write out ;pixel/% 1.19 = 1 2.38 = 2 3.57 = 3 .... 117.81 = 99 119 = 100 not that big of a deal tho Link to comment Share on other sites More sharing options...
CyberSlug Posted December 9, 2003 Share Posted December 9, 2003 (edited) Looks like a simple math equation to me:$percent = $pixel * 1.19or$pixel = $percent / 1.19How do you want to use this?P.S. Use units! 1.19 = 1 is confusing! Edited December 9, 2003 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
-TS- Posted December 10, 2003 Author Share Posted December 10, 2003 hmm due to all the anti botting things diablo ii has that it would be too hard to configure all the bullshit... thx anyways Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now