Register for your free account! | Forgot your password?

You last visited: Today at 15:22

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Guide] PickUp Bot

Discussion on [Guide] PickUp Bot within the Mabinogi Hacks, Bots, Cheats & Exploits forum part of the Mabinogi category.

Reply
 
Old 08/24/2009, 20:06   #16
 
elite*gold: 0
Join Date: Jul 2008
Posts: 87
Received Thanks: 98
Updated

I updated the script a little more, so the bot have the ability to move around the camera when it cant find any cobwebs, correct the values to ur own resolution (made on 1440*900).

Code:
#include <ImageSearch.au3>
MsgBox(0,"Notice","Click Ok to start. Make sure you have Mabinogi window maximized.")
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("!{ESC}", "Stop") ;script can be stopped by pressing ESC
$x1=0
$y1=0
While (1)
Send("{LALT down}")
$result = _ImageSearch("cobweb.jpg",1,$x1,$y1,100) ;change the cobweb.jpg if you want to pick up something else.
if $result=1 Then
	Tooltip("Nomnomnom cobwebs ^^...", 0, 0) ;Indicates the item is present on the screen
	MouseMove($x1,$y1,3)
	MouseClick("left",$x1,$y1,1,3)
	Sleep(3000) ;Enough time for the character to go pick up the cobweb. You can change it if you want (2000 = 2 seconds so 1000 = 1 second)
EndIf
If $result=0 Then	
		Sleep (2000)
		MouseMove (722, 445) ;The middle of your screen, x/y mouse position
		Sleep (1000)
		Tooltip("Searching for cobwebs...", 0, 0) ;Starting to rotate camera
		MouseDown("right")
		Sleep (1000)
		MouseMove (750, 455) ; The middle of your screen plus some right or left amount movement to allow camera rotation
		Sleep (1000)
		MouseUp("right")
		EndIf
WEnd
Func TogglePause()
$Paused = not $Paused
While $Paused
    ToolTip("paused")
sleep(100)
WEnd
EndFunc

Func Stop() ;to allow the script to stop
Exit ;same
EndFunc ;same
argentino is offline  
Thanks
1 User
Old 08/24/2009, 20:59   #17
 
elite*gold: 0
Join Date: Nov 2008
Posts: 3,695
Received Thanks: 891
Quote:
Originally Posted by argentino View Post
I updated the script a little more, so the bot have the ability to move around the camera when it cant find any cobwebs, correct the values to ur own resolution (made on 1440*900).

Code:
#include <ImageSearch.au3>
MsgBox(0,"Notice","Click Ok to start. Make sure you have Mabinogi window maximized.")
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("!{ESC}", "Stop") ;script can be stopped by pressing ESC
$x1=0
$y1=0
While (1)
Send("{LALT down}")
$result = _ImageSearch("cobweb.jpg",1,$x1,$y1,100) ;change the cobweb.jpg if you want to pick up something else.
if $result=1 Then
	Tooltip("Nomnomnom cobwebs ^^...", 0, 0) ;Indicates the item is present on the screen
	MouseMove($x1,$y1,3)
	MouseClick("left",$x1,$y1,1,3)
	Sleep(3000) ;Enough time for the character to go pick up the cobweb. You can change it if you want (2000 = 2 seconds so 1000 = 1 second)
EndIf
If $result=0 Then	
		Sleep (2000)
		MouseMove (722, 445) ;The middle of your screen, x/y mouse position
		Sleep (1000)
		Tooltip("Searching for cobwebs...", 0, 0) ;Starting to rotate camera
		MouseDown("right")
		Sleep (1000)
		MouseMove (750, 455) ; The middle of your screen plus some right or left amount movement to allow camera rotation
		Sleep (1000)
		MouseUp("right")
		EndIf
WEnd
Func TogglePause()
$Paused = not $Paused
While $Paused
    ToolTip("paused")
sleep(100)
WEnd
EndFunc

Func Stop() ;to allow the script to stop
Exit ;same
EndFunc ;same
Mind if I modifiy it a bit so you can choose your resolution? ;P
Dark Raccoon is offline  
Old 08/24/2009, 23:36   #18
 
elite*gold: 0
Join Date: Jul 2008
Posts: 87
Received Thanks: 98
Not at all thats why i post the whole source =D lol, as you know im lazy to do these kind of stuff and too much work atm to have more than 10-15 mins dedicated to these things.
argentino is offline  
Old 08/25/2009, 18:49   #19
 
elite*gold: 0
Join Date: Nov 2007
Posts: 52
Received Thanks: 1
Quote:
Originally Posted by wossen View Post
$result = _ImageSearch("cobweb.jpg",1,$x1,$y1,100) can someone help me to understand this what does the 100 do or say?
Open ImageSearch.au3 file and find function _ImageSearch, there will be description.
n3m0k54 is offline  
Old 08/26/2009, 19:45   #20
 
elite*gold: 0
Join Date: Jan 2009
Posts: 180
Received Thanks: 102
Quote:
Originally Posted by wossen View Post
$result = _ImageSearch("cobweb.jpg",1,$x1,$y1,100) can someone help me to understand this what does the 100 do or say?
The 100 is the tolerance. The image the bot is searching must be 100% identical to the image you are looking for.
Trismic is offline  
Thanks
1 User
Old 08/26/2009, 20:46   #21
 
cloudkiller2006's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 855
Received Thanks: 149
then won't you have more chance picking up the stuff you want if you set it to like 85?
cloudkiller2006 is offline  
Old 08/26/2009, 21:05   #22
 
elite*gold: 0
Join Date: Nov 2008
Posts: 3,695
Received Thanks: 891
Quote:
Originally Posted by cloudkiller2006 View Post
then won't you have more chance picking up the stuff you want if you set it to like 85?
Well, you gotta find the right Tolerance.

If you set it too high, maybe the Bot wont find it on everyones screen, if you set it too low, it could just click anything that looks familiar.
Dark Raccoon is offline  
Old 08/26/2009, 23:47   #23
 
cloudkiller2006's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 855
Received Thanks: 149
hehe that leaves me with one question, what if you set it to 110? XD
cloudkiller2006 is offline  
Old 08/26/2009, 23:50   #24
 
elite*gold: -849
Join Date: Jul 2009
Posts: 4,796
Received Thanks: 1,156
Thanx
^FLaRe is offline  
Old 08/27/2009, 01:30   #25
 
elite*gold: 0
Join Date: Nov 2008
Posts: 3,695
Received Thanks: 891
Quote:
Originally Posted by cloudkiller2006 View Post
hehe that leaves me with one question, what if you set it to 110? XD
Be an adventurer, find it out! :P
Dark Raccoon is offline  
Old 08/27/2009, 21:12   #26
 
Cloudsdabomb's Avatar
 
elite*gold: 0
Join Date: Nov 2007
Posts: 142
Received Thanks: 23
haha cloud don't you just love Racoon's answers?
Cloudsdabomb is offline  
Old 08/27/2009, 21:49   #27
 
elite*gold: 0
Join Date: Nov 2008
Posts: 3,695
Received Thanks: 891
Quote:
Originally Posted by Cloudsdabomb View Post
haha cloud don't you just love Racoon's answers?
:P
Dark Raccoon is offline  
Old 08/28/2009, 23:32   #28
 
spazzzedout's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 56
Received Thanks: 54
i cant get autoit to work on my laptop, it never has, and i tried making a script for AutoHotKey.

i tried to follow the instructions and looked on google for help and came up with this, but it doesnt work, it just opens mabi and does nothing

does anyone know what i did wrong?

Quote:
WinWait, Mabinogi G7,
ifWinNotActive, Mabinogi G7, , WinActivate, Mabinogi G7,
WinWaitActive, Mabinogi G7,
Loop
{
If GetKeyState ("ESC")
Break
Send, {ALTDOWN}
ImageSearch CobwebX, CobwebY,0,0, ScreenWidth, ScreenHeight, C:\Program Files (x86)\AutoIt3\Include\cobweb.bmp
Click %CobwebX%, %CobwebY%
sleep, 2500
}
spazzzedout is offline  
Old 08/29/2009, 12:36   #29
 
cloudkiller2006's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 855
Received Thanks: 149
autohotkey uses its own "scripting" (no idea what to call it different)

for example:
the Break stops the Loop, so it will just check for the esc key once.

(directly from the help file command list: ) Loop (normal) Perform a series of commands repeatedly: either the specified number of times or until break is encountered.

that's the only error i can find atm, hope this helps

to fix: remove the break command
cloudkiller2006 is offline  
Thanks
2 Users
Old 08/31/2009, 23:47   #30
 
spazzzedout's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 56
Received Thanks: 54
hmm... that didnt work, but i made a few improvements with limited succes.

Quote:
WinWait, Mabinogi G7,
ifWinNotActive, Mabinogi G7, , WinActivate, Mabinogi G7,
WinWaitActive, Mabinogi G7,
Loop
{
If GetKeyState("INS")
Break
Send, {ALTDOWN}
ImageSearch FoundX, FoundY,0,0,ScreenWidth,ScreenHeight, C:\Users\David\Pictures\gold.bmp
If ErrorLevel = 0
MouseMove, %FoundX%, %FoundY%
Send, {Click}
Click %goldX%, %goldY%
sleep, 3000
}
Now it opens up mabi, it will press but NOT hold alt, and clicks but doesnt go to the gold.
and it just does that over and over untill the gold dissapears
anymore suggestions?
spazzzedout is offline  
Reply


Similar Threads Similar Threads
Pickup.
04/02/2010 - Metin2 - 2 Replies
Hey. hab mal ne frage.. kann mir jmd den DL oder link zum thread geben,wo der pickup bot ist wo man von anderen die items aufheben kann? also z.b. sein name draufsteht aber ich das item trotzdem aufheben kann? danke im vorraus :D
Pickup bot mit großem pickup-Umkreis
11/17/2009 - Metin2 - 1 Replies
Ich habe im Metin2 forum gelesen, dass es einen neuen "Pickup_Bot" gibt. Mithilfe diesem Hack kannst du Items, die nicht in deiner Reichweite sind, aufheben. Giebt es sowas wirklich, oder haben die metin2 GMs sich das nur ausgedacht? (es gibt ja den Trick, um etwas mit Speedhack aufzuheben, obwohl es aussieht als wärest du noch ausser Reichweite...) Meinen die damit den Speedhack Trick? Oder gibt es wirklich so einen wunderbaren Hack?
Pickup Bot
09/06/2009 - Metin2 Private Server - 2 Replies
Suche einen Pickup bot für longjut2 server bitte um hilfe !!!
[GUIDE] Item Filter Guide | Cabal Crafting & Dungeon Guide by Dewa Gempak.
06/15/2008 - Cabal Guides & Templates - 5 Replies
Since its his work, just SHARING it here, i just gonna link his URL from his work. because i dont like copy and pasting other ppl's guides: http://119.110.98.150:90/ipb/index.php?showtopic= 1145 Q#1: Does it work with CabalRider (PH)? A#1: Yes, it works, i tried it personally myself. Q#2: I'm too dumb to understand it, how to make it work. A#2: Try reading it again and again, if u still don't know how, don't use it then sleep.gif



All times are GMT +2. The time now is 15:22.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.