Register for your free account! | Forgot your password?

You last visited: Today at 20:35

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

Advertisement



[Guide] Bot Functions.

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

Reply
 
Old 02/09/2010, 18:37   #16
 
ShadowMagic's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 37
Received Thanks: 0
Thanks for the Second update, i was still using the original file, so i didn't notice anything wrong. These functions have helped a lot ^_^ got my ego auto buy and feed bot finished, as well as half of my metal, and working on a refiner ^_^
ShadowMagic is offline  
Old 02/09/2010, 22:10   #17
 
elite*gold: 0
Join Date: Dec 2009
Posts: 395
Received Thanks: 94
Nice.

In the back of my head I have mental notes to add some way point related functions as well as inventory related functions and stuff but who knows if I'll get around to it. (I dont really bot much, these just give me something to do)
Theri is offline  
Old 02/10/2010, 03:29   #18
 
elite*gold: 0
Join Date: Oct 2009
Posts: 498
Received Thanks: 110
Sorry to say Theri, I'm confused with this. However, i'm not going to ask a whole shitload of questions, i'll read up later. I'm more of a coder than a scripter.
Halfslashed is offline  
Old 02/10/2010, 03:45   #19
 
elite*gold: 0
Join Date: Dec 2009
Posts: 395
Received Thanks: 94
Confused over what?? Maybe I screwed something up
Theri is offline  
Old 08/02/2010, 08:36   #20
 
elite*gold: 0
Join Date: Jul 2010
Posts: 48
Received Thanks: 3
where is the file

sorry
I don't see where the uploaded file is at
can someone direct me?
thank you
sounggi is offline  
Old 08/04/2010, 07:00   #21
 
elite*gold: 0
Join Date: Dec 2009
Posts: 27
Received Thanks: 7
Quote:
Originally Posted by sounggi View Post
sorry
I don't see where the uploaded file is at
can someone direct me?
thank you
Well then, you probably dont know anything about scripting, there is no file included because you CREATE your own file with the script provided in the first post.

You make me
ApocalypsePoly is offline  
Old 08/18/2010, 01:15   #22
 
elite*gold: 0
Join Date: Aug 2010
Posts: 1
Received Thanks: 0
Quote:
Originally Posted by ApocalypsePoly View Post
Well then, you probably dont know anything about scripting, there is no file included because you CREATE your own file with the script provided in the first post.

You make me

Personally I think the question was a legitimate one since there is mention of an uploaded file in the first post itself:
Quote:
File contains the folder structure for the code and some images. You will need your own images for everything else.
Regardless though, amazing work. To be honest, the fact that the user will need to put in a little work to in fact use it would probably be a good thing =]
t3mp3st99 is offline  
Old 08/18/2010, 04:56   #23
 
elite*gold: 0
Join Date: Dec 2009
Posts: 395
Received Thanks: 94
I had updated one part of the post removing reference to a file, have updated the above quoted area. There is no file, all the code is in the code blocks. The ini file is not covered but the formatting would be evident from reading the code, as far as I'm concerned.
Theri is offline  
Old 08/19/2010, 16:47   #24
 
elite*gold: 0
Join Date: Aug 2010
Posts: 1
Received Thanks: 0
Theri, beside it appears as being my first post, I'm a reader of this forum and I appreciate this and previous scripts you've made. I also appreciate all those functions you've put together in the core file, still I'm maybe too noob or maybe too weak in programming to understand what to put in the .ini file. My guess is that I should use a file to call the functions I need, tho I don't get why an .ini file instead of a au3 file.
Mind to put a sample of the .ini file?
allkary is offline  
Old 08/19/2010, 21:12   #25
 
elite*gold: 0
Join Date: Dec 2009
Posts: 395
Received Thanks: 94
Fine.

Code:
[Mob List]
capybara=0
millipede=0
nubes=0
whitecave=0
whitespider=0
yellowcave=0
youngdingo=0
youngnubes=0

[Item List]
capsule=0
feather=0
fomor=0
fragment=0
goddess=0
herb=0
jasper=0
key=1
leather=0
lrod=0
ore=0
potatoplant=0
potato=0
potion=0
ruby=0
sapphire=0
silver=0
Theri is offline  
Thanks
2 Users
Old 09/22/2010, 13:04   #26
 
elite*gold: 0
Join Date: Mar 2010
Posts: 1
Received Thanks: 0
[Mob List]
capybara=0
millipede=0
nubes=0
whitecave=0
whitespider=0
yellowcave=0
youngdingo=0
youngnubes=0

[Item List]
capsule=0
feather=0
fomor=0
fragment=0
goddess=0
herb=0
jasper=0
key=1
leather=0
lrod=0
ore=0
potatoplant=0
potato=0
potion=0
ruby=0
sapphire=0
silver=0
mike= is offline  
Old 10/26/2010, 12:16   #27
 
elite*gold: 0
Join Date: Dec 2008
Posts: 172
Received Thanks: 39
i know there hasn't been a relevant post for a couple months so dunno if theri plans on adding more or updating but because of how useful the code has been felt like sharing a snippet for the full core.au3 i use you can get it in the latest fossil restoration.

Quote:
;================================================= ==========
Func _mobSearch()
local $mouseorigin = MouseGetPos()
$quantity = 0
_setSearchCoords("fullscreen")
Send("{ALTDOWN}")
_mover()
Local $imagefile
$result = 0
For $quantity = 1 To $MOBLISTING[0][0] Step 1
If $MOBLISTING[$quantity][1] = 1 Then
$file=_FileListToArray(@ScriptDir & "\Images\mob\", $MOBLISTING[$quantity][0] & "*.bmp", 1)
if not @error then
for $i =1 to $file[0]
$result = _ImageSearchArea(@ScriptDir & "\Images\mob\" & $file[$i],1,$searchbox[0],$searchbox[1],$searchbox[2],$searchbox[3],$x1,$y1,30)
sleep(100)
If $result = 1 Then
_target($x1,$y1)
Mousemove($mouseorigin[0],$mouseorigin[1],1)
Send("{ALTUP}")
Return 1
EndIf
next
endif
Else
$result = _ImageSearchArea(@ScriptDir & "\Images\mob\" & $MOBLISTING[$quantity][1],1,$searchbox[0],$searchbox[1],$searchbox[2],$searchbox[3],$x1,$y1,30)
sleep(100)
If $result = 1 Then
_target($x1,$y1)
Mousemove($mouseorigin[0],$mouseorigin[1],1)
Send("{ALTUP}")
Return 1
EndIf
EndIf
EndIf
Next
sleep(100)
Send("{ALTUP}")
Mousemove($mouseorigin[0],$mouseorigin[1],1)
Return 0
EndFunc
;================================================= ==========
Func _mover()
sleep(250)
Local $center[2]
$randomnumber = Random(50,150,1)
$center[0] = ($topleftcorner[0] + (($bottomrightcorner[0] - $topleftcorner[0])/2)) + $randomnumber- 100
$center[1] = ($topleftcorner[1] + (($bottomrightcorner[1] - $topleftcorner[1])/2)) + $randomnumber

MouseClickdrag("right",$center[0]-$randomnumber,$center[1],$center[0]+$randomnumber,$center[1],10)
sleep(500)
mouseup("right")
EndFunc
this can be applied to _findItems() as well and makes it scalable so you can do image searches of gold.bmp gold1.bmp gold2.bmp and so on without adding gold1=1, gold2=1 in config.ini and just keep the one gold=1
although i don't see a reason for gold to change so you wouldn't need more then one but other items do and other functions would need multiple images due to color interface or mods so this was a critical need imo and i have already applied it to a majority of the functions

other functions and global variables needed for this are $MOBLISTING,$searchbox,$x1,$y1,$topleftcorner,$bot tomrightcorner _setSearchCoords _FileListToArray _ImageSearchArea _target and can be found in fossil restoration 10.2
shaggyze is offline  
Reply


Similar Threads Similar Threads
New UDF - Old Functions :D
07/11/2009 - GW Exploits, Hacks, Bots, Tools & Macros - 14 Replies
xxx
[Guide] Some noob Npc functions (prof, level, stats etc)
07/01/2009 - CO2 PServer Guides & Releases - 4 Replies
Ok so it's nothing fancy at all but I figured I'd give some nubs a few pointers on how to script npcs (in coemu2.0 nano) that have special functions. There are countless examples of teleporters, item givers and other such simple npc's on here so that shouldn't be any big deal but I figured I'd point out some very simple functions for accessing the database for characters. Prof Lets say you have an npc that is already giving out weapons, why not have it also give you the required prof...
GUI Functions
04/29/2009 - GW Exploits, Hacks, Bots, Tools & Macros - 2 Replies
In an effort to make the bots here less annoying to use, I've created this small proof-of-concept library. It uses the memory to read locations of GUI windows in guild wars, so no more having to specify coordinates. I've only added support for hard mode on/off and travel to/from guild hall, but you guys probably get the idea. Feel free to expand on this concept and add more functions. It would be nice if we could have a complete library for everything useful you can do with the GUI. A...



All times are GMT +1. The time now is 20:39.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.