A little bump to the thread. My version of the bot has been updated a few times to fix some errors as pointed out to me in private messages. Should be working fine now.
The bot runs perfectly fine, except it doesn't pickup gold. Why does this happen? I've taken my own images correctly. I have disabled the UAC on Vista as well.
I know the scripts posted here are using png file formats, I personally find bmp to be a better choice for this. Id suggesting taking new screen shots, cutting out a new "gold" image and saving it as a bmp. Then I'd test it and tweak the tolerance setting till it starts picking up gold.
EDIT:nvm but i get an error about fomor ill post the error when i get it again
----------------------------------------------------------------------------------------------------
i get error Line 33 (File "C:\Program Files\AutoIt3\ImageSearch.au3"):
$result= _ImageSearch("fomor.png",1,$x,$y,100)
$result= ^ ERROR
ERROR: Unknown function name
-------------------------------------------------------------------------------------------------
EDIT2: fixed
I know the scripts posted here are using png file formats, I personally find bmp to be a better choice for this. Id suggesting taking new screen shots, cutting out a new "gold" image and saving it as a bmp. Then I'd test it and tweak the tolerance setting till it starts picking up gold.
i dont know wat the tolerance setting is i saved pictures as bmp and changed that part in the script to .bmp but i dont pick up scrolls or gold help
Edit: im going to use the bot to prof until i get a reply
Where "Fomor.png" is the name of the image, 1 is how the result is returned, $x and $y are coordinates and 100 is the tolerance. You might have to go as high as 150, max is 255 but that means it will match against everything. Try changing the 100 to like 125 or 150 and see if it matches.
Nothing you can do about it in this script. Imagesearch isnt the one selecting the mobs, in this script it is only used to find fomor and gold to pick up.
Only problem that I had with this bot was dying. It was an easy fix of adding a few lines for image search to pick up on and placing the proper images in the same folder as the .exe (I haven't had any problems running it as an exe)
Just get a picture of the "Revive right here" button and a picture of the "OK" confirmation button.
Code:
$result = _ImageSearch("Revive.png",1,$x,$y,100)
If $result = 1 Then ; If you are dead, revive where you are
MouseMove($x,$y,0)
Sleep (250)
MouseClick("primary",$x,$y,1)
Sleep(1000)
EndIf
$result = _ImageSearch("OK.png",1,$x,$y,100)
If $result = 1 Then ; Confirm revive
MouseMove($x,$y,0)
Sleep (250)
MouseClick("primary",$x,$y,1)
Sleep(1000)
EndIf
This only worked for me if I added it before the other image search functions. But so far it works wonderfully.
So I've been trying to find out how to actually use a bot and yes I've read the manual's but I still don't get what to do can anyone make a video on how to use a bot from the very beggining or something?
Cloud nine 08/31/2010 - General Gaming Discussion - 2 Replies Somthing for Cloud nine pls can help ? Bot or som hacks.... ty
any cloud nine hacks 06/15/2010 - General Gaming Discussion - 7 Replies just wondering if there was a trainer or something
Cloud Nine 12/10/2009 - General Gaming Discussion - 0 Replies Need bot for game...
[Release] Basic Structure for Cloud Saint's Jar 08/19/2009 - CO2 PServer Guides & Releases - 1 Replies I don't use LOTF or CoEmu but I know the quest has been release. This structure of the item packet is for the Jar. You have to find the method for adding a soul in the jar. I'm on the older client, I don't want to take the time to search...
Length -> UInt16 //I think it's 36 like the other
Type -> UInt16 //0x3F0 or 1008
UniqId -> UInt32 //Random Number
ItemId -> UInt32 //750000 for the Jar
ToKill -> UInt16 //0 to 65535
Type -> UInt16 //1 to 20 (Monster)
SubType -> UInt16 //0x01 ->...
Cloud Saint Jar 12/09/2007 - Conquer Online 2 - 1 Replies Is there a possible way to use Jar more than the allocated times per CO a day?
Like use the jar many time not 3 times?