2moons bot making help

01/14/2008 01:55 samsingletree#1
Hello I am a Long time lurker, But I have gotten alot of great info off these boards. Anyway, im making a bot for 2moons mainly to see if i can do it and to help my skills with autoit. my question is... I use the orbs in the center top of screen when I target monster to tell if i need to find a new target (target is dead or is allready someone elses) I seem to be either messing up the cords or colors for the pixelsearch command. could someone please post the color codes and cords they use for the orbs please. I am running game in 1024*768 32 bit.

many thanks
samsingletree
01/14/2008 13:07 CosmosTunes#2
method a) use PixelGetColor(). try to write a log function so u can log each color code u get with pixelgetcolor.

method b) download mmbot (its a diablo2 bot) there is a util au3 script in the package where you see the color from your actually mouse position.
01/14/2008 16:22 samsingletree#3
ok I will try that thanks


ok found my problem I was useing a screenshot to find my x/y cords instead of just my color and they did not quite match the ones in game
01/15/2008 19:03 samsingletree#4
Ok one more problem I could use help with please... whenever I use pixelgetcolor() it always returns a 0 for value, no matter where I use it, I know that it is prob some setting im missing as I am still kinda new to autoit, but if you could help with it I would be a happy camper. BTW it only returns a 0 in 2moons but works fine in other games.

thank you
samsingletree
01/15/2008 19:19 CosmosTunes#5
got the same problem before. try use pixelchecksum for one px that works fine.
01/15/2008 21:13 samsingletree#6
LOL I was trying that while I was waiting for a reply here. and I finally got it to work, now i have to fine tune it. I have it buffing, targeting and attacking. I just have to figure out how to keep it from attacking something someone else is allready attacking, my pixelsearch for the red globe seems to be acting up... But anyway thanks for your help.

All this was mainly to teach myself how to use autoit, and now after much yelling and curseing I think I finally have a small handle on it...

thanks again
Samsingletree