Group: Members
Posts: 3
Joined: 25-April 09
Member No.: 892,421
I found this on YouTube and I'd tried it, an it WORKS!! 1st, you need a SCAR Divi 3.20, don't ask whr to dl it, google it should do. Open it, and copy these codes,paste inside the script:
var x, y: integer;
function Targetwheat1 : Boolean; begin if(FindColor(x, y, 1232117, 0, 0, 800, 600))then result:= true end;
function Targetwheat2 : Boolean; begin if(FindColor(x, y, 679825, 0, 0, 800, 600))then result:= true end;
function Nextwheat1 : Boolean; begin if(FindColor(x, y, 708332, 0, 0, 800, 600))then result:= true end;
function Nextwheat2 : Boolean; begin if(FindColor(x, y, 1061237, 0, 0, 800, 600))then result:= true end;
Procedure Harvest; begin if (Targetwheat1)or(Targetwheat2) then MoveMouseSmooth(x, y); Wait(100+random(200)); HoldMouse(x, y, true); Wait(20+random(50)); ReleaseMouse(x, y, true); Wait(100+random(200)); MoveMouseSmooth(x+27, y+38);
Wait(100+random(200)); HoldMouse(x+27, y+38, true); Wait(20+random(50)); ReleaseMouse(x+27, y+38, true); Wait(3000+random(500)); Wait(12000); //<--- However long it takes you to chop wheat! end;
function nowheat : Boolean; begin if(FindColor(x, y, 1683891, 0, 0, 800, 600))then result:= false end;
begin harvest; repeat if (nowheat) then harvest; if(nextwheat1)or(nextwheat2)th en harvest; until(false); end.
now,log in to Dofus. find a farming area(wheat) now go back to SCAR Divi. Find an icon on top(Color picker) then, click on the color of the wheat that is NOT the same as the ground. the color code will appear. copy it and replace with the code on top.
eg. if(FindColor(x, y, 1232117, 0, 0, 800, 600))then result:= true <-----replace 1232117 with the color u choose.
now, last step. drag the last icon on the bar(a circle)and place it on Dofus. click the 'play' button(which in gree in color.) enjoy :)
This post has been edited by appleneko: Apr 25 2009, 05:48 AM
Group: Members
Posts: 2
Joined: 20-May 09
Member No.: 910,759
What I'm thinking is that if we are able to make farming bots, what about mining bots and what not but instead of using the colour finder to find the wheat colour we use the colour finder to find the ore colour?
Group: Elite Members
Posts: 184
Joined: 26-April 09
Member No.: 893,649
actually it doesn't matter if it wheat or wood or ore, if u put the correct color code scar will find it, as for topic starter , your script need some corrections:
Procedure Harvest; begin if (Targetwheat1)or(Targetwheat2) then begin MoveMouseSmooth(x, y); Wait(100+random(200)); HoldMouse(x, y, true); Wait(20+random(50)); ReleaseMouse(x, y, true); Wait(100+random(200)); MoveMouseSmooth(x+27, y+38);
Wait(100+random(200)); HoldMouse(x+27, y+38, true); Wait(20+random(50)); ReleaseMouse(x+27, y+38, true); Wait(3000+random(500)); Wait(12000); //<--- However long it takes you to chop wheat! end; end;
look at the corrections I made in it(they are in bold form), this is more correct I think.
Group: Elite Members
Posts: 318
Joined: 22-June 09
From: Deep in my Coding Cave. But don't feel bad! After all, it's on the darkside, and we have cookies!
Member No.: 934,937
QUOTE(ZeroFallen @ Aug 10 2009, 01:27 PM)
What if you get attacked?
your character will die, also, iff i'm thinking correctly this bot doesn't close the levelup box either, currently i'm working on and almost finishing up my next bot, which will auto-fight and incorporates a few other features to work 24/7 365 for eternity xD
--------------------
SCAR Coder
DofusBaseV1 [||||||||||]
Want to make progress bars like me?
CODE
use this base one as an example! [[color="#00FF00"]|[/color][color="#FF0000"]|||||||||[/color]]
Group: Elite Members
Posts: 318
Joined: 22-June 09
From: Deep in my Coding Cave. But don't feel bad! After all, it's on the darkside, and we have cookies!
Member No.: 934,937
QUOTE(ltjustas1 @ Aug 13 2009, 12:54 AM)
if you would release it here it would be awesome!
I was going to make it, but I had one to many flaws and I have to restart it, I'm making custom commands for it though, so it'll be very easy to setup for the player using it, It will be released here, idk how fast it'd be moved to working with how good it'd be working xD
--------------------
SCAR Coder
DofusBaseV1 [||||||||||]
Want to make progress bars like me?
CODE
use this base one as an example! [[color="#00FF00"]|[/color][color="#FF0000"]|||||||||[/color]]
Group: Elite Members
Posts: 318
Joined: 22-June 09
From: Deep in my Coding Cave. But don't feel bad! After all, it's on the darkside, and we have cookies!
Member No.: 934,937
QUOTE(harjukki @ Sep 23 2009, 02:52 PM)
I'm not sure of my code i'll test it today.
Thanks for contribution, but we have already covered these in our BASIC scripts in elite... we have contributed some very interesting scripts to elite in my time here let alone the time before me... My current project to make a free-based (non-elite) miner that people can learn from and use to make they're own miners is put on halt for a little while... testing a full-blown socket bot and schoolwork, after that I'm back to work on my includes files... tedious but challenging fun work.
--------------------
SCAR Coder
DofusBaseV1 [||||||||||]
Want to make progress bars like me?
CODE
use this base one as an example! [[color="#00FF00"]|[/color][color="#FF0000"]|||||||||[/color]]
Group: Members
Posts: 6
Joined: 4-November 09
Member No.: 1,036,996
QUOTE(lilwitte @ Sep 23 2009, 10:37 PM)
Thanks for contribution, but we have already covered these in our BASIC scripts in elite... we have contributed some very interesting scripts to elite in my time here let alone the time before me... My current project to make a free-based (non-elite) miner that people can learn from and use to make they're own miners is put on halt for a little while... testing a full-blown socket bot and schoolwork, after that I'm back to work on my includes files... tedious but challenging fun work.
Pleeeeease I'm trying to understand this only thing I am able to do is clicks and stuff like with the program basic of the basic... I can't make scar collect stuff it doesn't seem to work when I click and add colour of ash tree when I click play it does nothing......I get no error msgs the script is running but nothing happens sometimes the cursor moves 1-2 times but nothing else happens the script is running but nothing is happening not even character moving not collecting no nothing =/ any idea what the problem is? could u maybe make a script that can run around astrub forest and collect ash If I can get hold of an actual working script I think I understand enough to add more types of resources to it like chestnut etc and fighting monsters and stuff is needed but screw that! I just want something that works.
Group: Elite Members
Posts: 318
Joined: 22-June 09
From: Deep in my Coding Cave. But don't feel bad! After all, it's on the darkside, and we have cookies!
Member No.: 934,937
Well, I have seen the "no click" error before but what you describe is a bad code or something... If anyone ever wanted to make a complicated script for use to the public like that it would be this site that would produce it! This site currently (to my knowledge) has the most Dofus SCAR codes and is growing almost constantly in codes for our community!
I'm working on making a fisher to be quickly followed up by my super-awesome customizable fisher... once that is done I can continue work on the SCAR DOFUS Coding pack. CodeNamed: DofusCodezV2.scar with a few very well planned commands that should make base coding less tedious and more complex codes fast to make!
I am currently migrating to a brand new Windows 7 computer (OS Change not computer change) and I'm working on coding the fisher as soon as I get my stuff set up again!
Once the fisher and custom fisher are done I ahve a small code package to release (with a preloader for my scripts! Woo!)
--------------------
SCAR Coder
DofusBaseV1 [||||||||||]
Want to make progress bars like me?
CODE
use this base one as an example! [[color="#00FF00"]|[/color][color="#FF0000"]|||||||||[/color]]
Group: Elite Members
Posts: 184
Joined: 26-April 09
Member No.: 893,649
QUOTE(Babek @ Nov 4 2009, 04:22 AM)
Pleeeeease I'm trying to understand this only thing I am able to do is clicks and stuff like with the program basic of the basic... I can't make scar collect stuff it doesn't seem to work when I click and add colour of ash tree when I click play it does nothing......I get no error msgs the script is running but nothing happens sometimes the cursor moves 1-2 times but nothing else happens the script is running but nothing is happening not even character moving not collecting no nothing =/ any idea what the problem is? could u maybe make a script that can run around astrub forest and collect ash If I can get hold of an actual working script I think I understand enough to add more types of resources to it like chestnut etc and fighting monsters and stuff is needed but screw that! I just want something that works.
Tnx in advance Angelus
I don't know what script exactly you running on, but if the script is correct and you still don't gather nothing so the problems may be as following: 1. check your dofus screen resolution. It should be on low so the client will find your tree color. 2. mark your tree color again, when I made my lumberjacking script I saw that it is harder for scar to find correct tree color then with wheat color. There are some areas in thouse trees that when scar finds them and chops the tree , it will find that exact color on previous tree that was chopped before.
Group: Members
Posts: 6
Joined: 4-November 09
Member No.: 1,036,996
Thank you <3 I see more movement now that I've fixed around on some things but it only hovers over trees and doesn't actually cut them somehow it jumps to the n-w corner of the computer at some points resolutions and quality are correct... If you could make a script that travels on certain maps and drops wood when full or deposits in bank I would very muchly appreciate it... also the targetting map and stuff are sort of odd when I click play it asks me to target next map but the scar is in the way of it so i am unable to target when I change screen the colour targetting disappears and returns when I open scar again any idea what to do?
I havn't found such a script here but if it exists I am willing to become member to acquire it, but I have yet to see scar work...never seen it actually do anything besides move mouse around on my screen.
Sincerely Babek
This post has been edited by Babek: Nov 4 2009, 11:22 PM
Group: Elite Members
Posts: 318
Joined: 22-June 09
From: Deep in my Coding Cave. But don't feel bad! After all, it's on the darkside, and we have cookies!
Member No.: 934,937
If we don't have one, one of our coders (most likely margreg or me since the other coders seem inactive to my knowledge) can probably create one. The problem, some of those features are pretty hard to implement in a simple code. Dropping the wood, a problem, running around maps collecting wood, easy.
There may be a problem with your SCAR update to the latest version, download SRL (yes, it's for RS but it helps with glitches in my SCAR for me somehow) and then retry, if not then, you'll have to surf the forums and other SCAR sites since I have seen the "no-click" error all to many times...
--------------------
SCAR Coder
DofusBaseV1 [||||||||||]
Want to make progress bars like me?
CODE
use this base one as an example! [[color="#00FF00"]|[/color][color="#FF0000"]|||||||||[/color]]
Group: Elite Members
Posts: 184
Joined: 26-April 09
Member No.: 893,649
QUOTE(Babek @ Nov 4 2009, 11:20 PM)
If you could make a script that travels on certain maps and drops wood when full or deposits in bank I would very muchly appreciate it...
I am planning to write such a script, but not for astrub use. It will be easy Incarnum lumber harvester with two maps covering, moving back when dead, ignoring players trade requests, level up window applying. ( I made similar script that farms wheat in Incarnum realm but without dropping resources and it works find, it is in elite section of this forum right now. ) I will implement procedure that will let player to decide if he wish script dropping collected wood or not. It will be a pop up window in start of my script that will ask if you want to drop collected resources or not. BUT this script will work only during day time. It wont include ancama anti-bot system color changes. All in all when it will happen it is probably will move to elite side of this forums by moderators so I don't know if it will help you and you will be lucky to catch it when it still be in this section of forum.
P.S. about your coursor moving to north-west side of your screen - it happens because scar don't find the color you specified. it moustly happen to me when I worked with high resolution in Dofus, but you tell us that resolution is low, so it is probably wrong color pointing, remark your tree colors it may help.
Group: Members
Posts: 6
Joined: 4-November 09
Member No.: 1,036,996
QUOTE(margreg @ Nov 5 2009, 07:10 AM)
I am planning to write such a script, but not for astrub use. It will be easy Incarnum lumber harvester with two maps covering, moving back when dead, ignoring players trade requests, level up window applying. ( I made similar script that farms wheat in Incarnum realm but without dropping resources and it works find, it is in elite section of this forum right now. ) I will implement procedure that will let player to decide if he wish script dropping collected wood or not. It will be a pop up window in start of my script that will ask if you want to drop collected resources or not. BUT this script will work only during day time. It wont include ancama anti-bot system color changes. All in all when it will happen it is probably will move to elite side of this forums by moderators so I don't know if it will help you and you will be lucky to catch it when it still be in this section of forum.
P.S. about your coursor moving to north-west side of your screen - it happens because scar don't find the color you specified. it moustly happen to me when I worked with high resolution in Dofus, but you tell us that resolution is low, so it is probably wrong color pointing, remark your tree colors it may help.
That sounds awesome would be nice with a script like that I'll definitly become elite member if it works for me...also about the new 2.0 dofus will the scripts have to be modified? or will scar even work using dofus?
Group: Elite Members
Posts: 318
Joined: 22-June 09
From: Deep in my Coding Cave. But don't feel bad! After all, it's on the darkside, and we have cookies!
Member No.: 934,937
That is a Given, we WILL have to change how bots work. BUT no matter what we WILL find a way to make our bots work still, who knows, maybe they made some decision that HELPS our botting. =D
--------------------
SCAR Coder
DofusBaseV1 [||||||||||]
Want to make progress bars like me?
CODE
use this base one as an example! [[color="#00FF00"]|[/color][color="#FF0000"]|||||||||[/color]]