Download from GearDownload.com
Lazygame Game Tools


 
Subject: Cabal Online auto kill/heal macro script
Jimmy
Developer
Rank: 8Rank: 8



UID 5
Digest Posts 0
Credits 0
Posts 178
Reading Access 150
Registered 4-5-2007
Status Offline
Post at 8-4-2008 08:02  Profile | Blog | P.M. 
Cabal Online auto kill/heal macro script

Cabal online auto kill & heal macro script

Written by: MorningWind

1.Screen: 1024*768/32bit, game: 800*600 window mode, maximize game window
2.Game view: view from top, close little map on the top
3.Shortcut key set to:F1~F12, skill:F2,F3,F4 pick items:F10 secondary skill:F7,F8,F9

auto kill script

//------------------------------------------------------------------------------
//-------------------------------- [ settings ] --------------------------------
//------------------------------------------------------------------------------
dim color(2)
dim ys,a,t1,t2,t3,i,key,x,y,mx,my
//----------------------------------------------------------------- [ define variable ]
//skill cool down time
UserVar ys=1100
color(0)="00FFFF":color(1)="40BEC0":color(2)="808080"
t1=-1:t2=-1:t3=-1
key=115
//------------------------------------------------------------------------------
//-------------------------------- [ main program ] --------------------------------
//------------------------------------------------------------------------------
Rem mainprogram
i=0:a=0
Gosub pickitems
Delay 10
Gosub BUFF
Delay 10
//------------------------------------------------------------- search monster color
For 3
    VBSCall FindCenterColor(10,80,1010,670,color(i),x,y)
    //search monster name color
    If x>=10 and y>=80
        s=0
        VBSCall SetCursorPos(x+10,y+8)
        Delay 100
        Gosub attackmonster
    Else
        a=a+1
        If a>=3
            //if not found
            IfColor 21 671 000000 1
                IfColor 1 686 000000 1
                    //if chat dialog is not open
                    KeyDownH 39 1
                    Delay 500
                    KeyUpH 39 1
                    //rotate screen
                EndIf
            EndIf
        EndIf
    EndIf
    i=i+1
    Delay 10
EndFor
Delay 50
Goto mainprogram
//------------------------------------------------------------------------------
//-------------------------------- [ sub programs ] --------------------------------
//----------------------------------------------------------- [ auto attack monster ]
Sub attackmonster
    VBSCall FindColorEx(x-60,y-30,x+60,y,"3737C5",0,0.6,mx,my)
    //move mouse to monster, check monster's HP color
    VBSCall Shape=GetCursorShape(0)
    //check mouse cursor
    If mx>=0 and my>=0 or Shape=1439279395
        Delay 50
        LeftClick 1
    EndIf
    Delay 300
    Rem run
    IfColor 384 42 1E42EA 2
        IfColor 384 44 0993FB 2
            //if found monster's HP bar
            Delay 10
            KeyPressH key 1
            Delay 10
            key=key-1
            Gosub pickitems
            If key<113
                key=115
            EndIf
            Delay ys
            Goto run
        EndIf
    EndIf
Return attackmonster
//--------------------------------------------------------------- [ pick items ]
Sub pickitems
    For 5
        KeyPressH 121 1
        Delay 20
    EndFor
Return pickitems
//----------------------------------------------------------- [ use secondary skill ]
Sub BUFF
    If datediff("s",t1,now)>=110 or t1=-1
    //change time 110 to your value
        Delay 50
        KeyPressH 118 1
        Delay 2000
        t1=now
    EndIf
    If datediff("s",t2,now)>=370 or t2=-1
        Delay 50
        KeyPressH 119 1
        Delay 2000
        t2=now
    EndIf
    If datediff("s",t3,now)>=290 or t3=-1
        Delay 50
        KeyPressH 120 1
        Delay 2000
        t3=now
    EndIf
Return BUFF

auto heal script

//auto heal when HP<
UserVar hp=70
hpx=int((229-58)/100*hp+58)
While true
    IfColor hpx 46 4A4A4A 2
        Delay 100
        KeyPressH 53 1
    EndIf
    Delay 10
EndWhile

Top
caba1
Newbie
Rank: 1



UID 411
Digest Posts 0
Credits 0
Posts 2
Reading Access 10
Registered 24-5-2008
Status Offline
Post at 24-5-2008 15:07  Profile | P.M. 
I am a noob. I do not know how to used the program, can you/jimmy tell me the step by step on how to import the script, run the script  and other  thing.
Top
caba1
Newbie
Rank: 1



UID 411
Digest Posts 0
Credits 0
Posts 2
Reading Access 10
Registered 24-5-2008
Status Offline
Post at 24-5-2008 15:58  Profile | P.M. 
Jimmy, can u please post for Auto used MP? for cabal?
Also, is this work with cabalsea
Top
Jimmy
Developer
Rank: 8Rank: 8



UID 5
Digest Posts 0
Credits 0
Posts 178
Reading Access 150
Registered 4-5-2007
Status Offline
Post at 26-5-2008 09:32  Profile | Blog | P.M. 
To import macro script: copy the whole script to clipboard, click "Import" button on main menu, then click "Import macro" button on the pop up dialog box to save.
Top
Curious
Newbie
Rank: 1



UID 413
Digest Posts 0
Credits 0
Posts 1
Reading Access 10
Registered 27-5-2008
Status Offline
Post at 27-5-2008 05:30  Profile | P.M. 
dude, you could specify more? I am a novice in this business of macros. What programme to enable the use Macro?
Top
Jimmy
Developer
Rank: 8Rank: 8



UID 5
Digest Posts 0
Credits 0
Posts 178
Reading Access 150
Registered 4-5-2007
Status Offline
Post at 28-5-2008 07:28  Profile | Blog | P.M. 
You can download QMacro software at http://www.qmacro.com/quickmacro6.exe
Top
windows
Newbie
Rank: 1



UID 417
Digest Posts 0
Credits 0
Posts 5
Reading Access 10
Registered 29-5-2008
Status Offline
Post at 29-5-2008 14:54  Profile | P.M. 
Reply #4 Jimmy's post

Please can you clarify it .
You didn't say anything in when the script saved, then later how to use it? Do it need to click on to create MiniMacro or what?
Top
Jimmy
Developer
Rank: 8Rank: 8



UID 5
Digest Posts 0
Credits 0
Posts 178
Reading Access 150
Registered 4-5-2007
Status Offline
Post at 30-5-2008 11:06  Profile | Blog | P.M. 
1. download and install QMacro software at http://www.qmacro.com/quickmacro6.exe
2. run QMacro, copy the whole script to clipboard, click "Import" button on QMacro's main menu, then click "Import macro" button on the pop up dialog box to save.
3. right click on the macro saved, select "Macro run" to run it.
Top
windows
Newbie
Rank: 1



UID 417
Digest Posts 0
Credits 0
Posts 5
Reading Access 10
Registered 29-5-2008
Status Offline
Post at 1-6-2008 15:25  Profile | P.M. 
The script is not working for cabalsea. Also, jimmy did you test the script too?
Can you make me one like Auto HP and MP recovery, Auto pick up item? and thats all.
Top
Jimmy
Developer
Rank: 8Rank: 8



UID 5
Digest Posts 0
Credits 0
Posts 178
Reading Access 150
Registered 4-5-2007
Status Offline
Post at 3-6-2008 09:07  Profile | Blog | P.M. 
Most macro scripts are written by other users. Usually you need to understand every macro line and change it if it doesn't work in your game.
Auto HP/MP flash tutorial can be found at http://www.lazygame.com/forum/viewthread.php?tid=128
Top
dezmay
Newbie
Rank: 1



UID 550
Digest Posts 0
Credits 0
Posts 1
Reading Access 10
Registered 3-8-2008
Status Offline
Post at 3-8-2008 10:28  Profile | P.M. 
how do i make it stop?
Top
carlsus
Newbie
Rank: 1



UID 570
Digest Posts 0
Credits 0
Posts 1
Reading Access 10
Registered 9-8-2008
Status Offline
Post at 9-8-2008 16:57  Profile | P.M. 
cabal online bot

hi jimmy, did you tested the script already? is it working for you? im playing cabal philippines but cabal rider goes commercial. i want to develop some sort of replica of cabalrider. i want the features of it like auto loot with radius, auto attack with radius, filters what you want to loot, auto sell, auto buy, auto HP/MP can you help me out dude?
Top
 


All times are GMT+8, the time now is 25-10-2014 01:59

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.327182 second(s), 6 queries

Clear Cookies - Contact Us - Lazygame - Archiver - WAP