Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Cabal Online > Cabal Guides & Templates
You last visited: Today at 09:25

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

Advertisement



How to script a simple auto-bot [AutoIT]

Discussion on How to script a simple auto-bot [AutoIT] within the Cabal Guides & Templates forum part of the Cabal Online category.

Reply
 
Old 07/30/2008, 07:18   #61
 
elite*gold: 0
Join Date: Jul 2008
Posts: 43
Received Thanks: 6
respect to all of you.. i bow
comegetsum is offline  
Old 08/08/2008, 09:51   #62
 
elite*gold: 0
Join Date: Mar 2008
Posts: 118
Received Thanks: 1
can anybody upload their autoit codes? i'm lost. . . .
warpig1984 is offline  
Old 08/11/2008, 15:00   #63
 
dimabuwag's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 18
Received Thanks: 287
BOTSnHACKS - AutoPOTS v.10 Original Script
Code:
#include GUIConstants.au3
#include GUIList.au3
#include Misc.au3
#include Array.au3

; GUI TABLE
 = GUICreate("AutoPOTS v1.0 [www.botsnhacks.blogspot.com]", 349, 350, 278, 199)
GUISetIcon("favicon.ico")
GUISetBkColor(0x0)

 = GUICtrlCreateInput("",90, 13, 100, 17)
GUICtrlSetColor(,977156)
GUICtrlSetBkColor(,0x0)
 = GUICtrlCreateLabel("Game Title", 16, 15, 70, 17)
GUICtrlSetColor(,977156)

;HP Group
 = GUICtrlCreateGroup("HP/Pots", 8, 37, 225, 89)
GUICtrlSetColor(,16720929)
 = GUICtrlCreateLabel("HP Color", 16, 54, 70, 17)
GUICtrlSetColor(,16720929)
 = GUICtrlCreateInput("",90, 52, 65, 17)
GUICtrlSetColor(,977156)
GUICtrlSetBkColor(,0x0)
 = GUICtrlCreateLabel("HP Location", 16, 75, 70, 17)
GUICtrlSetColor(,16720929)
 = GUICtrlCreateInput("",90, 73, 65, 17)
GUICtrlSetColor(,977156)
GUICtrlSetBkColor(,0x0)
 = GUICtrlCreateInput("",360, 73, 30, 17)
 = GUICtrlCreateInput("",390, 73, 30, 17)
 = GUICtrlCreateLabel("HP Pot Button", 16, 96, 70, 17)
GUICtrlSetColor(,16720929)
 = GUICtrlCreateInput("",90, 94, 65, 17)
GUICtrlSetColor(,977156)
GUICtrlSetBkColor(,0x0)

;MP Group
 = GUICtrlCreateGroup("MP/Pots", 8, 132, 225, 89)
GUICtrlSetColor(,5737171)
 = GUICtrlCreateLabel("MP Color", 16, 149, 70, 17)
GUICtrlSetColor(,5737171)
 = GUICtrlCreateInput("",90, 147, 65, 17)
GUICtrlSetColor(,977156)
GUICtrlSetBkColor(,0x0)
 = GUICtrlCreateLabel("MP Location", 16, 170, 70, 17)
GUICtrlSetColor(,5737171)
 = GUICtrlCreateInput("",90, 168, 65, 17)
GUICtrlSetColor(,977156)
GUICtrlSetBkColor(,0x0)
 = GUICtrlCreateInput("",360, 90, 30, 17)
 = GUICtrlCreateInput("",390, 90, 30, 17)
 = GUICtrlCreateLabel("MP Pot Button", 16, 191, 70, 17)
GUICtrlSetColor(,5737171)
 = GUICtrlCreateInput("",90, 189, 65, 17)
GUICtrlSetColor(,977156)
GUICtrlSetBkColor(,0x0)
;SP Group
 = GUICtrlCreateGroup("SP/Pots", 8, 227, 225, 89)
GUICtrlSetColor(,16037638)
 = GUICtrlCreateLabel("SP Color", 16, 244, 70, 17)
GUICtrlSetColor(,16037638)
 = GUICtrlCreateInput("",90, 242, 65, 17)
GUICtrlSetColor(,977156)
GUICtrlSetBkColor(,0x0)
 = GUICtrlCreateLabel("SP Location", 16, 265, 70, 17)
GUICtrlSetColor(,16037638)
 = GUICtrlCreateInput("",90, 263, 65, 17)
GUICtrlSetColor(,977156)
GUICtrlSetBkColor(,0x0)
 = GUICtrlCreateInput("",360, 110, 30, 17)
 = GUICtrlCreateInput("",390, 110, 30, 17)
 = GUICtrlCreateLabel("SP Pot Button", 16, 286, 70, 17)
GUICtrlSetColor(,16037638)
 = GUICtrlCreateInput("",90, 284, 65, 17)
GUICtrlSetColor(,977156)
GUICtrlSetBkColor(,0x0)

;Buttons
 = GUICtrlCreateButton("Save Setting", 252, 239, 91, 25, 0)
GUICtrlSetColor(,16776320)
GUICtrlSetBkColor(,0x0)
GUICtrlSetFont(, 10, 10, 1)
 = GUICtrlCreateButton("START", 252, 269, 91, 25, 0)
GUICtrlSetColor(,16776320)
GUICtrlSetBkColor(,0x0)
GUICtrlSetFont(, 10, 800, 2)
 = GUICtrlCreateButton("Setup", 160, 48, 50, 20, 0)
GUICtrlSetColor(,16720929)
GUICtrlSetBkColor(,0x0)
GUICtrlSetFont(, 10, 10, 1)
 = GUICtrlCreateButton("Setup", 160, 143, 50, 20, 0)
GUICtrlSetColor(,5737171)
GUICtrlSetBkColor(,0x0)
GUICtrlSetFont(, 10, 10, 1)
 = GUICtrlCreateButton("Setup", 160, 238, 50, 20, 0)
GUICtrlSetColor(,16037638)
GUICtrlSetBkColor(,0x0)
GUICtrlSetFont(, 10, 10, 1)

;Label
 = GUICtrlCreateLabel("Press F11 to STOP", 247, 190, 120, 17)
GUICtrlSetColor(,16720929)
 = GUICtrlCreateLabel("SPAGHETT1", 247, 330, 120, 17)
GUICtrlSetFont(, 10, 1500, 2)
GUICtrlSetColor(,16720929)
 = GUICtrlCreateLabel("www.botsnhacks.blogspot.com", 16, 330, 200, 17)
GUICtrlSetFont(, 10, 10, 1)
GUICtrlSetColor(,7849550)

GUISetState(@SW_SHOW)

Func EnDisAble()
GUICtrlSetState(, )
GUICtrlSetState(, )
GUICtrlSetState(, )
GUICtrlSetState(, )
GUICtrlSetState(, )
GUICtrlSetState(, )
GUICtrlSetState(, )
GUICtrlSetState(, )
GUICtrlSetState(, )
EndFunc


Func HP_endisable()
GuiCtrlSetState(, )
GUICtrlSetState(, )
GUICtrlSetState(, )
GUICtrlSetState(, )
GuiCtrlSetState(, )
GUICtrlSetState(, )
GUICtrlSetState(, )
GUICtrlSetState(, )
GuiCtrlSetState(, )
GUICtrlSetState(, )
GUICtrlSetState(, )
GUICtrlSetState(, )

EndFunc


Func GetColorHP()
 = GuiCtrlCreateLabel("", 160, 70, 50, 40)
While 1
 = MouseGetPos()
 = PixelGetColor(,)
sleep(100)
GuiCtrlSetBkColor(-1, )
If  <>  Then
GUICtrlSetData(,)
endif
If  <>  then
GUICtrlSetData(, )
GUICtrlSetData(, )
GUICtrlSetData(, &"x"&)
endif
if _ispressed("7A") Then
ExitLoop
endIF
Wend
EndFunc

Func GetColorMP()
 = GuiCtrlCreateLabel("", 160, 165, 50, 40)
While 1
 = MouseGetPos()
 = PixelGetColor(,)
sleep(100)
GuiCtrlSetBkColor(-1, )
If  <>  Then
GUICtrlSetData(,)
endif
If  <>  then
GUICtrlSetData(, )
GUICtrlSetData(, )
GUICtrlSetData(, &"x"&)
endif
if _ispressed("7A") Then
ExitLoop
endIF
Wend
EndFunc

Func GetColorSP()
 = GuiCtrlCreateLabel("", 160, 260, 50, 40)
While 1
 = MouseGetPos()
 = PixelGetColor(,)
sleep(100)
GuiCtrlSetBkColor(-1, )
If  <>  Then
GUICtrlSetData(,)
endif
If  <>  then
GUICtrlSetData(, )
GUICtrlSetData(, )
GUICtrlSetData(, &"x"&)
endif
if _ispressed("7A") Then
ExitLoop
endIF
Wend
EndFunc



Func Save()
IniWrite("botsnhacks.ini","Game", "Game_N",GUICtrlRead())
IniWrite("botsnhacks.ini","AutoPot", "HP_x",GUICtrlRead())
IniWrite("botsnhacks.ini","AutoPot", "HP_y",GUICtrlRead())
IniWrite("botsnhacks.ini","AutoPot", "HP_K",GUICtrlRead())
IniWrite("botsnhacks.ini","AutoPot", "HP_Color",GUICtrlRead())
IniWrite("botsnhacks.ini","AutoPot", "MP_x",GUICtrlRead())
IniWrite("botsnhacks.ini","AutoPot", "MP_y",GUICtrlRead())
IniWrite("botsnhacks.ini","AutoPot", "MP_K",GUICtrlRead())
IniWrite("botsnhacks.ini","AutoPot", "MP_Color",GUICtrlRead())
IniWrite("botsnhacks.ini","AutoPot", "SP_x",GUICtrlRead())
IniWrite("botsnhacks.ini","AutoPot", "SP_y",GUICtrlRead())
IniWrite("botsnhacks.ini","AutoPot", "SP_K",GUICtrlRead())
IniWrite("botsnhacks.ini","AutoPot", "SP_Color",GUICtrlRead())
EndFunc



Func Load()
if (not FileExists("botsnhacks.ini")) Then
Return
EndIf

 = iniread("botsnhacks.ini", "Game", "Game_N", "")
 = IniRead("botsnhacks.ini", "AutoPot", "HP_Color", "")
 = IniRead("botsnhacks.ini", "AutoPot", "HP_x", "")
 = IniRead("botsnhacks.ini", "AutoPot", "HP_y", "")
 = IniRead("botsnhacks.ini", "AutoPot", "HP_K", "")
 = IniRead("botsnhacks.ini", "AutoPot", "MP_Color", "")
 = IniRead("botsnhacks.ini", "AutoPot", "MP_x", "")
 = IniRead("botsnhacks.ini", "AutoPot", "MP_y", "")
 = IniRead("botsnhacks.ini", "AutoPot", "MP_K", "")
 = IniRead("botsnhacks.ini", "AutoPot", "SP_Color", "")
 = IniRead("botsnhacks.ini", "AutoPot", "SP_x", "")
 = IniRead("botsnhacks.ini", "AutoPot", "SP_y", "")
 = IniRead("botsnhacks.ini", "AutoPot", "SP_K", "")

GUICtrlSetData(,)
GUICtrlSetData(,)
 = GuiCtrlCreateLabel("", 160, 70, 50, 40)
GuiCtrlSetBkColor(-1, )
GUICtrlSetData(,)
GUICtrlSetData(,)
GUICtrlSetData(,)
GUICtrlSetData(,&"x"&)
GUICtrlSetData(,)
 = GuiCtrlCreateLabel("", 160, 165, 50, 40)
GuiCtrlSetBkColor(-1, )
GUICtrlSetData(,)
GUICtrlSetData(,)
GUICtrlSetData(,)
GUICtrlSetData(,&"x"&)
GUICtrlSetData(,)
 = GuiCtrlCreateLabel("", 160, 260, 50, 40)
GuiCtrlSetBkColor(-1, )
GUICtrlSetData(,)
GUICtrlSetData(,)
GUICtrlSetData(,)
GUICtrlSetData(,&"x"&)
HP_endisable()
EndFunc


Func Start()

 = iniread("botsnhacks.ini", "Game", "Game_N", "")
 = IniRead("botsnhacks.ini", "AutoPot", "HP_Color", "")
 = IniRead("botsnhacks.ini", "AutoPot", "HP_x", "")
 = IniRead("botsnhacks.ini", "AutoPot", "HP_y", "")
 = IniRead("botsnhacks.ini", "AutoPot", "HP_K", "")
 = IniRead("botsnhacks.ini", "AutoPot", "MP_Color", "")
 = IniRead("botsnhacks.ini", "AutoPot", "MP_x", "")
 = IniRead("botsnhacks.ini", "AutoPot", "MP_y", "")
 = IniRead("botsnhacks.ini", "AutoPot", "MP_K", "")
 = IniRead("botsnhacks.ini", "AutoPot", "SP_Color", "")
 = IniRead("botsnhacks.ini", "AutoPot", "SP_x", "")
 = IniRead("botsnhacks.ini", "AutoPot", "SP_y", "")
 = IniRead("botsnhacks.ini", "AutoPot", "SP_K", "")
DllCall("user32.dll", "int", "AnimateWindow", "hwnd", , "int", 500, "long", 0x00090000)
WinActivate ()
WinWaitActive()
ControlEnable(,"","")

do
sleep(100)
If  = true then
 = PixelGetColor(, )
If  =  Then
 = 0
Else
 = 0
send()
EndIf
EndIf

If  = true Then
 = PixelGetColor(, )
If  =  Then
 = 0
Else
 = 0
Send()
EndIf
EndIF

If  = true Then
 = PixelGetColor(, )
If  =  Then
 = 0
Else
 = 0
Send()
EndIf
EndIf

until _ispressed("7A")

EndFunc


;Main Run
Load()
While 1

 = GUIGetMsg()
Switch 
Case 
Exit
Case 
call("GetColorHP")
Case 
call("GetColorMP")
Case 
call("GetColorSP")
Case 
Endisable()
Start()
Endisable()
Case 
Save()
EndSwitch
WEnd
<=========Script Ends Here =============>


I also create a file name BOTSnHACKS.ini where all the value that was entered and saved in AutoPOTS v1.0 GUI are stored.. The main program will read from this BOTSnHACKS.ini to get the value needed for program execution..

See Below

[Game]
Game_N= Cabal

[AutoPot]
HP_color=12788500
HP_x=119
HP_y=50
HP_K={-}
MP_color=5737171
MP_x=90 MP_y=356
MP_K=
SP_color=16037638
SP_x=79
SP_y=483
SP_K=
Rest_K={Home}
Rest_Delay=


______________

copy and paste
dimabuwag is offline  
Old 08/11/2008, 18:34   #64
 
cloudleon's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 439
Received Thanks: 89
can u guys upload the file again? especially for auto hunt, i need it , if already got plz tell me which one, and what pic that i need to take? plz guide me because the pic that he upload has been remove, about the your auto pot script dimabuwang, i copy and paste it and its detect 45 error, whats wrong?
cloudleon is offline  
Old 08/18/2008, 06:18   #65
 
elite*gold: 0
Join Date: Aug 2008
Posts: 12
Received Thanks: 1
HI.. Does it still work?
in CabalPH... This is a bot you will make right? so does it still need some GG bypass or something?
stinger0320 is offline  
Old 08/20/2008, 05:29   #66
 
elite*gold: 0
Join Date: Jan 2008
Posts: 10
Received Thanks: 0
it works.. all u need is a GG bypass...
scieman is offline  
Old 08/20/2008, 06:57   #67
 
cloudleon's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 439
Received Thanks: 89
can anyone help me how to do it?? i want to do for private server
cloudleon is offline  
Old 08/27/2008, 16:22   #68
 
elite*gold: 0
Join Date: Aug 2008
Posts: 1
Received Thanks: 0
who can send my, maked auto bot for hunt on my inbox pls
hugioioio is offline  
Old 09/02/2008, 03:00   #69
 
spin_roan's Avatar
 
elite*gold: 0
Join Date: Nov 2007
Posts: 111
Received Thanks: 83
@DIMABUWAG
You found me Dude!

Theres another way on making a Bot which is by reading memory data.. Pixelsearch function is the easiest on making a BOT but reading memory value using AUTOIT is the coolest.. I'll try to post a working Autopots script using this function, of course it will be released first in my blog..
spin_roan is offline  
Old 09/02/2008, 10:48   #70
 
elite*gold: 0
Join Date: Jun 2008
Posts: 56
Received Thanks: 0
thanks man....
but I QUIT CABAL!!
kikoman123a is offline  
Old 09/02/2008, 13:48   #71
 
elite*gold: 0
Join Date: Jul 2008
Posts: 17
Received Thanks: 2
i have a working autopots....

it's just a 5 line of codes...

lol.. it's easy...

not that so complicated like in the bots and hacks...
december12 is offline  
Old 09/19/2008, 05:44   #72
 
elite*gold: 0
Join Date: Aug 2008
Posts: 4
Received Thanks: 0
hey dizzydbd, can you upload the screen shot again? thanks in advance
superid is offline  
Old 09/29/2008, 04:14   #73
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1
Received Thanks: 0
can a generous soul reupload ng jpg files?..

Quote:
Originally Posted by december12 View Post
i have a working autopots....

it's just a 5 line of codes...

lol.. it's easy...

not that so complicated like in the bots and hacks...
hello everybody.. to those who know how to make one, can u share?? or teach us about how to make one.. because the picture files on the first post arent there any more... the links are broken...haiiiiiiiiii... please? thanks^_^
jcpisayan is offline  
Old 09/30/2008, 13:48   #74
 
hacker02's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 11
Received Thanks: 0
Hey Mr. Dizzy...I'm an IT student but there are some things u said i can't understand....
can u please put a screen shot on the step ur doing??? so that we can understand it well...
hacker02 is offline  
Old 10/16/2008, 00:04   #75
 
elite*gold: 0
Join Date: Oct 2008
Posts: 1
Received Thanks: 0
can this program be used to make a bot for talisman online?
Morpheus0282 is offline  
Reply


Similar Threads Similar Threads
Request Simple Auto Join War Script
06/24/2010 - 12Sky2 - 0 Replies
Hi im really not that well at coding in auto it , i was wondering if a more experienced player can make me a simple auto war join script , a continious one , thanks if this is possible , hope im not asking to much thanks guys
[Autologin] Simple autoit script
06/29/2009 - SRO Hacks, Bots, Cheats & Exploits - 44 Replies
Hey,the captcha system is out . So the ecsro minimised autologin script works on iSro too,now :) Source: Global $Paused $hWnd = WinGetHandle ("SRO_Client") HotKeySet ("{F10}","Start") HotKeySet ("{F9}","Pause")
NEED help making simple auto attack script
06/28/2008 - Lineage 2 - 0 Replies
I have walker 2.03 and i need help making a SIMPLE auto attack script. All i wanna do is target mod, attack, pick up items, target closest mod and repeat. I can add heals and all that stuff later just need help starting a basic combat script.
[Request] Simple AutoIt Script
06/26/2008 - Dekaron - 5 Replies
Hello, I'm looking for an autoit script that basically presses 1 2 3 4 5, one after the other every second continuously. Thanks in advance, EW.
need help making a simple autoit script
05/21/2006 - Silkroad Online - 2 Replies
hey guys, i wanna make a simple autoit script to press alt and tab every 2 mins...can anyone help me make a code for it? thnkz alot...my bot is wack, keep getting stuck in town and auto zerk dont work...so i wanna make a script tat does does 2 things to keep bot running and use zerk..



All times are GMT +1. The time now is 09:27.


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