flejlord Posted April 5, 2012 Share Posted April 5, 2012 Hey I am dummy to SCAR divi scritpts,I know little bit bout it becuase I had contact with this program in past. I have my mind blank about script making,so can some one make me script for clicking the selected colour code from screen every few seconds (32) http://imageshack.us/photo/my-images/534/asaszzzc.png/ So all I want these monsters to be clicked every 30 seconds,but if the color is not founded, I want the script to wait until is avaiable. ---------- Post added at 04:30 PM ---------- Previous post was at 02:36 AM ---------- I've started it a bit,well It doesnt work... program AutoClicker; begin FindColor(x,y,13096649,0,0,515,338)///finds Golem Colour wait(random(100)); GetMousePos(var 412, 292: Integer); ClickMouse(412, 292, True); // Left click at coordinates 100, 30 end. Repeat, I want just a simple script that finds colour,then clicks on it and waits for about 30 seconds then repeats all over again Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted April 6, 2012 Share Posted April 6, 2012 well thats simple why it does not work:) I will give you a little template of what WILL work and if you want me to explain it then i will so you may learn WHAT WILL WORK: program AutoClicker; const MColor = 1234; procedure FindMonster; var x,y:Integer; begin if FindColor(x, y, MColor, 0, 0, 515, 338) then begin ClickMouse(x, y, True); wait(30000+random(3000)); end; end; begin repeat FindMonster; until False; end. All you have to do now is get the color of the Monster you wish to click and erase the red with the colors number:) Good luck:) Quote Link to comment Share on other sites More sharing options...
Levithan Posted April 6, 2012 Share Posted April 6, 2012 well thats simple why it does not work:) I will give you a little template of what WILL work and if you want me to explain it then i will so you may learn WHAT WILL WORK: All you have to do now is get the color of the Monster you wish to click and erase the red with the colors number:) Good luck:) Helo, do you know where I can find some good things so its easy to find the color of the Marduk Pellets in Seafight ? :D Quote Link to comment Share on other sites More sharing options...
RebeL Posted April 6, 2012 Share Posted April 6, 2012 please give me script Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted April 6, 2012 Share Posted April 6, 2012 Helo, do you know where I can find some good things so its easy to find the color of the Marduk Pellets in Seafight ? :D Umm im not exactly sure. You mean you want to find colors better and with some tolerance to the color? And i have never played Seafight so i cannot get the colors myself sorry:( Unless i guess you give me a picture. Quote Link to comment Share on other sites More sharing options...
Levithan Posted April 6, 2012 Share Posted April 6, 2012 Umm im not exactly sure. You mean you want to find colors better and with some tolerance to the color? And i have never played Seafight so i cannot get the colors myself sorry:( Unless i guess you give me a picture. Hey Epix Yes, you`re right If you could find it for me it would be awsome Here is the pictures of them http://forums.scar-divi.com/showthread.php?1242-Script-for-Marduk-Pellets&p=6640#post6640 Quote Link to comment Share on other sites More sharing options...
flejlord Posted April 6, 2012 Author Share Posted April 6, 2012 umm it kinda works fine untill it comes to click, I think it would be better if it would be like double click or something like that Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted April 7, 2012 Share Posted April 7, 2012 umm it kinda works fine untill it comes to click, I think it would be better if it would be like double click or something like that Ok well then here is the script for it to "double-click" [scar] program AutoClicker; const MColor = 1234; procedure FindMonster; var x,y,w,v:Integer; begin if FindColor(x, y, MColor, 0, 0, 515, 338) then begin ClickMouse(x, y, True); wait(200); GetMousePos(w, v); ClickMouse(w, v, True); wait(30000+random(3000)); end; end; begin repeat FindMonster; until False; end. [/scar] Hey Epix Yes, you`re right If you could find it for me it would be awsome Here is the pictures of them http://forums.scar-divi.com/showthread.php?1242-Script-for-Marduk-Pellets&p=6640#post6640 Soo um u want the colors of the eggs? And if so, what egg? Quote Link to comment Share on other sites More sharing options...
Levithan Posted April 7, 2012 Share Posted April 7, 2012 Ok well then here is the script for it to "double-click"[scar] program AutoClicker; const MColor = 1234; procedure FindMonster; var x,y,w,v:Integer; begin if FindColor(x, y, MColor, 0, 0, 515, 338) then begin ClickMouse(x, y, True); wait(200); GetMousePos(w, v); ClickMouse(w, v, True); wait(30000+random(3000)); end; end; begin repeat FindMonster; until False; end. [/scar] Soo um u want the colors of the eggs? And if so, what egg? Yes thats right, I want the color of the eggs, the color in the middle of them Quote Link to comment Share on other sites More sharing options...
flejlord Posted May 4, 2012 Author Share Posted May 4, 2012 another problem is when the the scar picks colour,its one from the edge,so basically scar misses my target Quote Link to comment Share on other sites More sharing options...