[help] pick up bot

11/18/2009 01:44 tuxx95#1
can anyone tell me why this script isnt working
for some reason I cant even get it to find the source image
Code:
#include <ImageSearch.au3>
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
While 1
Send("{ALTDOWN}")
$x1=0
$y1=0
$result = _ImageSearch("fomor.jpg",1,$x1,$y1,100)
if $result=1 Then
	MouseMove($x1,$y1,0)
	MouseClick("left",$x1,$y1,1,0)
	Sleep(2000)
EndIf
WEnd
Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Func Terminate()
    Exit 0
EndFunc
11/18/2009 01:49 Dark Raccoon#2
Is the Image a .jpg?

Do you have a different Font than the Pic?

Try setting the Tolerance lower (80%).
11/18/2009 03:05 tuxx95#3
Quote:
Originally Posted by Dark Raccoon View Post
Is the Image a .jpg?

Do you have a different Font than the Pic?

Try setting the Tolerance lower (80%).
no its a png
im not sure but i think its the same ( i also tired it with my own picture they didnt work either)
and how to set the tolerance
11/18/2009 03:22 Dark Raccoon#4
Code:
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
While 1
Send("{ALTDOWN}")
$x1=0
$y1=0
$result = _ImageSearch("fomor.jpg",1,$x1,$y1,[COLOR="Red"]100[/COLOR])
if $result=1 Then
	MouseMove($x1,$y1,0)
	MouseClick("left",$x1,$y1,1,0)
	Sleep(2000)
EndIf
WEnd
Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Func Terminate()
    Exit 0
EndFunc
I marked the tolerance. I recommend changing it into 80.

It has to be the same format, therefore the Image your looking for has to be .jpg.
11/18/2009 22:42 tuxx95#5
k thnx ill try that and sorry about the file extension I forgot to change it back
11/18/2009 22:52 helopilipinas#6
where do i put the source image ?
11/18/2009 23:00 Dark Raccoon#7
Quote:
Originally Posted by helopilipinas View Post
where do i put the source image ?
In the same Folder as the Bot.
11/19/2009 00:45 dourra7#8
Are we supposed to run the .au3? Pickup bot isnt working for me...(noob question). I have the souce image and the .au3 in the multibot folder, but wen i run MabiDR it just attaks...doesnt loot. Help?
11/19/2009 01:59 Dark Raccoon#9
Quote:
Originally Posted by dourra7 View Post
Are we supposed to run the .au3? Pickup bot isnt working for me...(noob question). I have the souce image and the .au3 in the multibot folder, but wen i run MabiDR it just attaks...doesnt loot. Help?
MabiDR isnt supposed to loot, its just supposed to attack surrounding Monsters...
11/19/2009 02:06 dourra7#10
Errr...It has two chek boxes "loot gold" or "loot Formors"....Even the MabiLoot doesnt seem to work with me. I have the Image and the .au3 all in the multibot folder, and then Irun "mabiloot" yet nothing happens :/ Any help? ~Thanks
11/19/2009 02:12 Dark Raccoon#11
Quote:
Originally Posted by dourra7 View Post
Errr...It has two chek boxes "loot gold" or "loot Formors"....Even the MabiLoot doesnt seem to work with me. I have the Image and the .au3 all in the multibot folder, and then Irun "mabiloot" yet nothing happens :/ Any help? ~Thanks
In the MabiDR Thread it was told, that the Looting Function isnt working yet.

Since I wont update it until it gets somehow fixxed, the Looting Function wont be added.

Try putting the Bot and the Images in the same Folder as ImageSearch.au3.
11/19/2009 21:03 dourra7#12
Quote:
Originally Posted by Dark Raccoon View Post
In the MabiDR Thread it was told, that the Looting Function isnt working yet.

Since I wont update it until it gets somehow fixxed, the Looting Function wont be added.

Try putting the Bot and the Images in the same Folder as ImageSearch.au3.
So let me get this straight...I get Imagesearch.au3, the source image (Gold.bmp) and The Code (which is in .au3) All in the same folder as MultiBot.

Is this correct? :
1) Run Mabi
2) Get to a botting place
3) Open MultiBoot
4) Run MabiDR
5) Run Mabiloot? or the Coded one?
6) Set mabi in windowed Mode.

Again ThankYou ^^
11/19/2009 21:24 Dark Raccoon#13
Quote:
Originally Posted by dourra7 View Post
So let me get this straight...I get Imagesearch.au3, the source image (Gold.bmp) and The Code (which is in .au3) All in the same folder as MultiBot.
MultiBot?

I thought we were talking about a regular Bot. ._.

If you mean the E*pvpers MultiBot, then leave the images where they are.

Note that you need the Default Font for the MultiBot.


In case we are talking about a regular Bot, then yes, put it all in the same Folder.



Quote:
Originally Posted by dourra7 View Post
Is this correct? :
1) Run Mabi
2) Get to a botting place
3) Open MultiBoot
4) Run MabiDR
5) Run Mabiloot
6) Set mabi in windowed Mode.

Again ThankYou ^^
Just like this. :3
11/21/2009 22:18 dourra7#14
lol sorry for the noob question, how do i get the same font?
11/21/2009 22:57 Dark Raccoon#15
Quote:
Originally Posted by dourra7 View Post
lol sorry for the noob question, how do i get the same font?
If you are using Fantasia, disable the Font Mod in the .ini.