Post Reply Home » Forums » MMO Forums » EverQuest 2 » EverQuest 2 Premium Discussions

Pixel change alert : EverQuest 2 Premium Discussions

Posted: May 20th, 2005
tault_loraik
I can't get my version to work right and am in need of a quick fix, can anyone toss together a pixel script where you choose a pixel, and if that pixel changes to a different color you get an autio aleart? Any help would be greatly appreciated.
Posted: May 20th, 2005
tault_akanon
Quick and dirty code:
ACTool code

Code: Register to unlock hidden link

Contants
   SampleX=20
   SampleY=20
SampleR=0
SampleG=0
SampleB=0
SoundToPlay=C:\Windows\startup.wav
End

LoadRGB $SampleX,$SampleY
SetConst SampleR = {RGBRED}
SetConst SampleG = {RGBGREEN}
SetConst SampleB = {RGBBLUE}

While 1=1
   Call CheckForChangedPixel
End

Procedure CheckForChangedPixel
   LoadRGB $SampleX, $SampleY
  If Not($Sample$ = {RGBRED}) AND Not($SampelG = {RGBGREEN}) AND Not($SampleB = {RGBBLUE}) Then
      PlaySound $SoundToPlay
End
I wasn't too sure about the Not = syntax and Playsound, and I dont have a copy of ACTool here at work to verify that that's the correct context, but it should mostly work.
Posted: May 20th, 2005
tault_loraik
tks man, will give it a shot tonight
Posted: May 20th, 2005
tault_loraik
Hmm gets hung up at first END statement, says too many END statememts.. I have never used ACTools before but I assume you copy it into body area and hit "start"?
Posted: May 25th, 2005
tault_loraik
NM


Last edited by Guest on May 26th, 2005, 2:10 am, edited 1 time in total.
Posted: May 26th, 2005
tault_discoduck
RoI=? Im not sure what your trying to do since I don't know what RoI means (return on investment), but I'm pretty sure I have a solution for what you want to do. Post what RoI is, or IM me.
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 32 guests
Post Reply