Jump to content
Macro Express Forums

shootingiron

Members
  • Posts

    8
  • Joined

  • Last visited

shootingiron's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thats brilliant! I had hit on the idea to use trunications, but everytihg else is spectacular and far more efficient than what I was trying. A thosand thank-yous and I'll keep you informed.
  2. OK then, excellent .. it will be a while before I can implement this as I have to go away for work, but I'll let you guys know how it turns out. =)
  3. When you say the built in calculator, you don't mean the app i activate from the start button, but some sort of dos/command line function?
  4. Update: Here is where I stand. I can convert the decimal number to hexadecimal with a pen and paper by repeatedly deviding the number/solution by 16 and recording the remainder. But how do I convert this into code? 15627835/16 = 976739r11 B 976739/16 = 61046r3 61046/16 = 3815r6 3815/16 = 238r7 238/16 = 14r14 E 14/16 = 0r14 E 15627835dec = EE763Bhex!
  5. Right, I do know that hexadecimal is a base 16 number system as opposed to a base 10. I'm looking on the web, but i still have no idea how to convert 15627835 into EE763B. So maybe it's not a basic understanding of colors that I need, but of math!
  6. Yes, thats the solution ... I want to check a single pixel and see if it is a shade of orange. I should be able to do this by writing the result of a get pixel command in the variable and then deconstructing it to see if it has the elements that would make it orange. But how do i tell if some random 1 to 8 digit number that this function generates is orange or not?
  7. Ah, looking for a change of colors won't work because if the background changes so will my color. For instance my mining laser will fire every second or so, and change the background, and thus the color of the capacity bar. As for looking for a range of colors, I think that is the way to go. An earlier attempt had me doing a 5x5 pixel search and write 25 pixel colors in to a text file multiple times, in different circumstances. Then I'd check the pixels on the screen against the colors in the text file. Not only was this pretty inellegant and slow, ther are also a lot of colors, such as shades of white and black that are present regardless of when the cargo bar is either orange (when she is full) or blue (when she is empty). So maybe I have to some how search for a whole set of orange shades at the end of the cargo bar ...
  8. Hello. I know this question has been asked/answered a thousand times on these forums, but my situation is a bit different. I play a game called EVE oline, and when I'm mining in space I want an alarm to sound when my cargo hold gets full of ore. I originally though ths would be very easy, I just have to check a pixel at the end of my cargo hold capacity bar. When it changes to orange, ring the bell. However, it was isn't so easy, because not only does this bar have a gradient and a shading, it's also semi transparent. So that means that if my camera angle is over a diferent colored portion of the background, then color will change to a different shade. Any ideas how I can over come this?
×
×
  • Create New...