[Release] Cloud Bot

07/02/2010 04:02 Theri#16
@superwrong266

See my version of clouds bot for a working example of how to make hotkeys that work with the mabinogi client as your active window.

for the second part, pixel/image search and mouseclicks to buy what you want.
07/07/2010 22:02 Theri#17
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.
07/08/2010 09:00 DarkxStorm#18
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.
07/08/2010 18:30 Theri#19
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.
07/08/2010 21:24 watertoad#20
srry im a noob but how do u start it?

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
07/09/2010 01:39 watertoad#21
Quote:
Originally Posted by Theri View Post
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:confused:

Edit: im going to use the bot to prof until i get a reply
07/09/2010 04:53 Theri#22
Code:
$result = _ImageSearch("Fomor.png",1,$x,$y,100)
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.
07/10/2010 16:53 watertoad#23
i got it to pick up gold and fomor scrolls but it doesnt always pick it up.
07/10/2010 19:24 cookiexu#24
Is it possible to use the function MouseTrap() to trap the mouse into a certain resolution? (Ex: 800x600 inside of a screen that is much bigger)

Imagesearch tend to select the mobs that is farthest away. Usually on top.
07/10/2010 19:34 Theri#25
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.
12/04/2010 21:32 welshdragon2005#26
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.
03/22/2011 04:34 Fang18002#27
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?
03/22/2011 10:39 adam_j#28
How to write/use a bot:

[Only registered and activated users can see links. Click Here To Register...]