Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 11:52

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

Advertisement



[TUTORIAL] How to make a BOT

Discussion on [TUTORIAL] How to make a BOT within the AutoIt forum part of the Coders Den category.

Reply
 
Old 03/10/2017, 20:06   #136
 
elite*gold: 0
Join Date: Mar 2017
Posts: 1
Received Thanks: 0
Doesent work in chrome
Christofer_Minestar is offline  
Old 10/11/2017, 12:03   #137
 
elite*gold: 0
Join Date: Jul 2017
Posts: 1
Received Thanks: 0
I'm just looking for a tutorial on how to create a Pixel Bot and I saw this, seems I can learn a lot.

Actually, it is like the Ragnarok Online Pixel Bot, I am very conscious on how I can create this, 1st step is to know how to change the monster and loot pixel to a plain color which is currently I have learned so far,

Next step is how to make this possible to move the mouse accordingly to the specific declared color. Been searching this kind of code, till i found this discussion in EPVP.

IF some of you has the idea, would appreciate if you can teach me the basic for mouse moving to a specific color then clicks it, currently I heard that automated press/click blocks by the game specially MouseClick and Send Keys.

I also need if there is any other way that the press will not be detected as an automated thing.

As to me, I am not asking for spoon feeding but need to find a base code wherein i can start all over, which the tut discussion is saying.

But the tut is kinda more on key pressing not mouse clicking and more on creating GUI.
SharingForYou is offline  
Old 09/11/2018, 20:48   #138
 
elite*gold: 0
Join Date: Jan 2010
Posts: 157
Received Thanks: 11
Quote:
Originally Posted by TheForsaken View Post
What do you need to know? If you need any help just let me know. Post code.
Sempai i can't get work in Game

i need to do a bot for this game

if u can help me please i wil be gratefull
Toonami2010 is offline  
Old 09/12/2018, 16:17   #139
 
elite*gold: 0
Join Date: Nov 2009
Posts: 105
Received Thanks: 8
Quote:
Originally Posted by Toonami2010 View Post
Sempai i can't get work in Game

i need to do a bot for this game

if u can help me please i wil be gratefull
To be honest, this is a "How To Make BOT" thread not pls someone make a bot for me. In here you can learn the basics, where you can start your own project.

Another suggestion:
BOT is very wide theme. If you take you time and search BOTs on youtube, then you will see, how many different BOT are exist. I not ment how many different game bot, cause most of the BOT have similar operation in games.

Just to point out few of them:
Auction House BOTs
Grindig BOTs
Farmer BOTs (if you have farm properti where you can plant plants, trees like in archeage)
PVP BOTs
And so on...

You said, you need a BOT for an XY game, but you did not provide other information, what task the BOT have to do, and how it should perform that.

Many ppl can make a BOT, but just small part of them know that game, how it is work.

I hope, i helped you to create better post in here.

Best Regards,
Cornelius
VitorCornelius is offline  
Old 09/13/2018, 00:49   #140
 
elite*gold: 0
Join Date: Jan 2010
Posts: 157
Received Thanks: 11
Quote:
Originally Posted by VitorCornelius View Post
To be honest, this is a "How To Make BOT" thread not pls someone make a bot for me. In here you can learn the basics, where you can start your own project.

Another suggestion:
BOT is very wide theme. If you take you time and search BOTs on youtube, then you will see, how many different BOT are exist. I not ment how many different game bot, cause most of the BOT have similar operation in games.

Just to point out few of them:
Auction House BOTs
Grindig BOTs
Farmer BOTs (if you have farm properti where you can plant plants, trees like in archeage)
PVP BOTs
And so on...

You said, you need a BOT for an XY game, but you did not provide other information, what task the BOT have to do, and how it should perform that.

Many ppl can make a BOT, but just small part of them know that game, how it is work.

I hope, i helped you to create better post in here.

Best Regards,
Cornelius
You are absolutely right, I apologize for the little information provided.

I followed the turorial, and tried to create a bot.

PD: The Game is an MMORPG, You know the same thing kill monsters, cure hp / mp, use skills. to get level.

try to make the bot, the problem is that it does not move inside the game, out of the game on the windows desktop yes, but not within the game.

what I want to do is a simple keyboard repeater, with the "TAB" key. It selects the monsters, and with the numbers 1, 2, 3, 4, 5 it uses skills. the only thing would be pixelsearch to cure hp / pm. In short, I try to make a battle bot.
Toonami2010 is offline  
Thanks
1 User
Old 11/06/2019, 04:32   #141
 
elite*gold: 0
Join Date: Nov 2019
Posts: 1
Received Thanks: 0
Quote:
Originally Posted by Toonami2010 View Post
You are absolutely right, I apologize for the little information provided.

I followed the turorial, and tried to create a bot.

PD: The Game is an MMORPG, You know the same thing kill monsters, cure hp / mp, use skills. to get level.

try to make the bot, the problem is that it does not move inside the game, out of the game on the windows desktop yes, but not within the game.

what I want to do is a simple keyboard repeater, with the "TAB" key. It selects the monsters, and with the numbers 1, 2, 3, 4, 5 it uses skills. the only thing would be pixelsearch to cure hp / pm. In short, I try to make a battle bot.
I was having the same problem, different game.

What fixed it for me was running my script in Administrator Mode.

Also, +1 to OP for great guide which helped me
AzraelOfTheStorm is offline  
Old 06/12/2020, 19:22   #142
 
elite*gold: 0
Join Date: Apr 2020
Posts: 2
Received Thanks: 0
help

i copy this script from someone and tried it. but it only does is move around but cant search the target.

how can i search for the pixel of a mob? i already change the pixel but still not clicking or search the mob pls help me

HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("!{PAUSE}","Close")

#Region State Machine Functions
Func EnemySearch()
;Search enemy bar
$cords = PixelSearch(12,47,951,702,0xFFFFFFA0,5)
Return IsArray($cords)
EndFunc

Func AttackEnemy()
;inner state of Attacking state
$state = "attacking"
;Heal check important to be in top
If(haveLowHealth()) Then
$state = "heal"
Return $state
EndIf
;Switch attacking enemy state to killed if close target was killed
$cords = isTargetAlive()
If(@error) Then
$state = "killed"
Return $state
EndIf
;Continue attacking otherwise
MouseClick("left",$cords[0],$cords[1],1,3)
Sleep(500)
Send("{f1}")
Sleep(Random(200, 400, 1))
Send("{2}")
Sleep(Random(100, 300, 1))
Return $state
EndFunc

Func Wander()
Sleep(Random(100, 300, 1))
Send("{w down}") ; Holds the A key down
Sleep(Random(1000, 2000, 1))
Send("{w up}") ; Releases the A key
Sleep(Random(700, 1100, 1))
MouseClick("left",82,133,1,3)
Sleep(Random(1000, 2100, 1))
MouseClick("left",876,128,1,3)
Sleep(Random(1000, 2100, 1))
MouseClick("left",940,617,1,3)
Sleep(Random(1000, 2100, 1))
MouseMove(595,374)
MouseDown("right")
MouseMove(612,374)
MouseUp("right")
EndFunc

Func Heal()
Sleep(Random(100, 200, 1))
Send("{4 2}")
EndFunc
#EndRegion

#Region AttackState sub states
Func isTargetAlive()
;Search close target alive
$cords = PixelSearch(406,337,689,487,0xEB1609,5)
If @error Then Return SetError(1)
Return $cords
EndFunc

Func haveLowHealth()
;Check low health threshold
$cords = PixelSearch(147,717,147,717,0x222222,1)
Return IsArray($cords)
EndFunc
#EndRegion

Func TogglePause()
$isPaused = Not $isPaused ; toggle pause state
if($isPaused) Then
$LAST_STATE = $CURRENT_STATE
$CURRENT_STATE = $STATE_PAUSED
Else
$CURRENT_STATE = $LAST_STATE
EndIf
EndFunc

Func Close()
Exit 0
EndFunc

Global Const $STATE_ENEMY_SEARCH = "searching"
Global Const $STATE_ATTACKING = "attacking"
Global Const $STATE_HEAL = "healing"
Global Const $STATE_WANDER = "wandering"
Global Const $STATE_PAUSED = "paused"

Global $isPaused = True

Global $CURRENT_STATE = $STATE_PAUSED
Global $LAST_STATE = $STATE_ENEMY_SEARCH ; for pause purposes

;Only change state if not paused
Func changeState($newState)
if(Not $isPaused) Then $CURRENT_STATE = $newState
EndFunc

Func mainLoop()
While Sleep(5) ; prevent high cpu ussage
ToolTip($CURRENT_STATE,0,0)
Switch $CURRENT_STATE
Case $STATE_ENEMY_SEARCH
$found = EnemySearch()
If($found) Then
changeState($STATE_ATTACKING)
Else
changeState($STATE_WANDER)
EndIf
Case $STATE_ATTACKING
$state = AttackEnemy()
if($state == "killed") Then
changeState($STATE_ENEMY_SEARCH)
ElseIf ($state == "heal") Then
changeState($STATE_HEAL)
EndIf
Case $STATE_HEAL
Heal()
changeState($STATE_ATTACKING)
Case $STATE_WANDER
Wander()
changeState($STATE_ENEMY_SEARCH)
Case $STATE_PAUSED
Sleep(10)
EndSwitch
WEnd
EndFunc

;call main loop function
mainLoop()
mervin1408 is offline  
Reply

Tags
autoit, bot, forsaken, hack, tutorial


Similar Threads Similar Threads
[Video Tutorial] - Very Easy Tutorial How to make your Own Wallhack in C++
09/01/2012 - Soldier Front Hacks, Bots, Cheats & Exploits - 16 Replies
Hello Everyone!Hellow Philippines - Mabuhay Pinoy Cheaters! Confidentials000 of GZP and Me Babyface21 ay iisa lang! Today i Will Teach you on How to Make Your Own Wallhack in C++ Very Simple By Video Tutorials Step by Step Part 1 - 3 Dont Ask me to Release my Private Wallhack coz i Need it to still Undetected
[[Tutorial]] how to make your own hacks with VB
03/13/2011 - WarRock Hacks, Bots, Cheats & Exploits - 81 Replies
] : None Of the addresses work anymore, Current finding the updated ones. So the hacks will not work until me or someone else finds the new addresses! Hey there. Are you getting sick of antiously waiting for someone to post a new hack for use, then in like one hour getting banned? Well thats over. In this tutorial i will show you how to.. Designing and customizing your very own hacks A few examples on how to add stuff such as Unlimited stamina or swimming ----------Getting...
[TUTORIAL] How To Make A UCE !!!
08/12/2010 - MapleStory - 23 Replies
PART 1 UCE ToolsDDK (Driver Development Kit)- Used To Compile, Files For UCE Delphi 7 - Compiling, And Editing UCE Files Delphi 7 Keygen - To Crack Delphi so it's free ASR (Actual Search and Replace) - Used To Search And Replace *Characters* To You Choice
My First tutorial How to make 20K GP in 5 Min
08/05/2010 - CrossFire - 26 Replies
Sup Guys this is my First tutorial on how to make 20K GP in 5 min And this is my video Note: Dont say its bad video or anything ITS MY FIRST TIME MAKING VIDEO BTW Program You will need HotSpot Shield
[Tutorial] How To Make Around $50 A Day
01/30/2010 - Main - 4 Replies
Site is called IMreportcard. You have to comment reviews on products/services/persons to gain points. You can exchange those points into money. Sign-Up Here: *edited* http://i46.tinypic.com/iqg67s.png Now, 100 credits = $1. And as you can see, it's not hard to make 100 credits. Commenting



All times are GMT +2. The time now is 11:52.


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.