RC-2 Numb Bot- Skill spam UNLEASHED!

03/10/2008 10:48 numblocke#1
Edit 05/05/2008: I have quit Cabal US and will be discontinuing all updates on this bot and internal development versions of this bot. Thank you all for the 17,000+ reads on this topic, and to all of you who pressed the 'thank' button. Its been fun but I simply don't have the time to continue updating with the promotion I just got at work. Also I will not be releasing any 'private' hacks since I never knew anyone I trusted on this board.... so with that said, thanks for the support /wave
-Demon//numb
Release candidate- 2
If you're having issues with the bot PLEASE re-read the 'setup' section below.

UPDATE: Auto-Potter SHOULD be fixed, please repot (intentional mistype) any problems with it. P.s. Due to the nature of the auto-potter it MAY cause some framerate issues until i find a better suited fix, please report any issues NOT involving that.

Updates:
03/08/2008: Added skillspam for keys 1-8 each key on 1-5 has a 'delay' of approx 2.5 seconds (which you can play with if you really want). each key 6-8 has a delay of about ~200 ms (1/5th of a second). The designation of 6-8 as 'buff keys' should now be possible. 1-5 should be skill keys (they will be spammed repeatedly) Took sole responsibility of the bot (compatibility may suffer) Fixed skill lag bug.

Compatibility: Apparently some users of the bot have reported the auto-pot function being buggy. At present I am working to rectify this issue (Ive been meaning to anyways since its the only part of this bot I didn't code), and expect a fix in the upcoming days.

About: I make / distribute this bot totally free of charge, and expect you to do the same, should you ever see / hear of someone charging for this bot, please inform me and I'll settle it. I play on mercury server NA cabal, if you would like to meet my character in game, give gifts to show your love and support I won't turn them down, however noone is obligated to do so, and I will continue to work on this bot, totally free of charge. ^_^

Setup: Please read below and follow the steps as they are listed.
(this guide assumes you have cabal bypassed, if not check out the other stickied thread for that)

Step 1: Download / install/ run Q-Macro: link [Only registered and activated users can see links. Click Here To Register...]

Step 1.5 Create a 'new' macro, click the 'script' tab and paste the code below in. Click the 'setup' tab at the top and tick software compatability mode. Ensure no other macros share the same enable hotkey as this one.

Step 2: Set your desktop resolution to 1024x768

Step 2.5:(yes i did forget this and I'm too lazy to renumber)Install this (very ugly) ui mod: [Only registered and activated users can see links. Click Here To Register...] place the file in the to x:\program files\OGplanet\cabal online\data\ui\theme\ folder. the reason its so plain / ugly is simple, the colors appear NOWHERE in the entire game, thus making pixel detection realllly easy, if you know of another color that i could use that is less ugly, let me know)

Step 3: Open cabal

Step 4:In options set the resolution to 1024x768, click the box for windowed mode, and in the 'game' part click on auto-attack

Step 5:Place a skill you enjoy spamming in the first slot (number 1 slot).

Step 6:Place your potions (hp) In the = key

Step 7:Hit the maximize window button (so it takes up the whole screen)

Step 8: Hit the bots hotkey and enjoy the farming

Disclaimer: By downloading / using this you understand that you are breaking the TOS you agreed to when you joined cabal NA and as a result you can be banned, suspended or some other BS. In the event of this happening the author holds NO responsibility for your actions whatsoever. These scripts are being distributed under and open creative commons license as a 'proof of concept' and may be freely distributed so long as credit is given to the author.

Updated code @:14:00 EST: 04/16/2008 (MM/DD/YYYY format date)
Killing code streamlined
Code:
 
VBS dim coordx, coordy
VBS dim isMob = 0
Rem [MacroStart]
VBSCall FindColorEx(0,0,1024,685,"006DD6",1,0.9,x,y)
VBS coordx = x
VBS coordy = y
If coordx>=0 and coordy>=0
    Gosub [Kill]
EndIf 
VBSCall FindColorEx(0,0,1024,685,"10DFDE",1,0.9,x,y)
VBS coordx = x
VBS coordy = y
If coordx>=0 and coordy>=0
    //If found the fuzzy color, x and y will be larger than 0
    Gosub [Kill]
EndIf 
Delay 50
Goto [MacroStart]
Sub [MobCheck]
    IfColor 379,29,f700ff,0
        isMob = 1
        KeyDown 32,1
        Delay 10
        KeyUp 32,1
    Else 
        isMob = 0
    EndIf 
Return 
Sub [HP]
    IfColor 97,43,0 ,0
        KeyDown 187,1
        Delay 10
        KeyUp 187,1
    EndIf 
Return 
Sub [Kill]
offsets like 'MoveTo x+10 y+10'
    MoveTo x y
    Delay 50
    LeftClick 1
    KeyDown 49,1
    Delay 19
    KeyUp 49,1
    KeyPress 32,1
    Delay 1750
    KeyDown 50,1
    Delay 27
    KeyUp 50,1
    Delay 1806
    KeyPress 32,1
    Delay 6
    KeyDown 51,1
    Delay 21
    KeyUp 51,1
    Delay 12
    KeyPress 32,1
    Delay 1706
    MoveTo x y
    Delay 50
    LeftClick 1
    KeyDown 52,1
    Delay 38
    KeyUp 52,1
    Delay 25
    KeyPress 32,1
    Delay 60
    KeyDown 53,1
    Delay 7
    KeyUp 53,1
    Delay 25
    MoveTo x y
    Delay 50
    Gosub [MobCheck]
        Gosub [HP]
    EndWhile 
    Delay 12
    KeyDown 32,7
    KeyUp 32, 7
    // EndIf
    VBS coordx = 0
    VBS coordy = 0
Return

Enjoy the bot
Numb
03/10/2008 10:51 cheehao93#2
NICE ONE!!!
Have any idea how to bypass Cabal SEA?
I'm playing cable sea.. and the bypass at sticky wont work cuz it keeps on dc after 2minutes...
Hope someone can teach me... Anyone?? Email me at [Only registered and activated users can see links. Click Here To Register...]..
Thank You~~

I know that u dont play Cabalsea.. i was just asking^^ .. thank u for the bot..
03/10/2008 10:59 auggie#3
wow whos begging bot....
and no thanks to author
03/10/2008 11:11 cheehao93#4
lol.. whose begging.. read my post.. do i look like begging..
i just asking that anyone can teach me how to make a bypass..
03/10/2008 11:29 auggie#5
yes u do look like

EDIT: cause u edited ur old post lol
03/10/2008 11:40 pat3ee#6
not working for me... sad
03/10/2008 12:01 numblocke#7
Quote:
Originally Posted by pat3ee View Post
not working for me... sad
is your version of cabal bypassed?
03/10/2008 13:28 auggie#8
working fine for me except pots so i use HEAL in buff
03/10/2008 22:03 sinny#9
hmm i'm having problem with targeting, the bot doesnt seem to target the monster well, it usually walk around, but only once in a while it pick on a monster, while there are so many mobbing me, which usually it do not attack anything but running around, i think it was trying to find the right pixel?
03/10/2008 22:31 numblocke#10
Quote:
Originally Posted by sinny View Post
hmm i'm having problem with targeting, the bot doesnt seem to target the monster well, it usually walk around, but only once in a while it pick on a monster, while there are so many mobbing me, which usually it do not attack anything but running around, i think it was trying to find the right pixel?
If your camera isn't above your character this will be a CONSTANT problem. The bot is set to click on the name of the mob, more often than not if you're not facing the cam down, it will click right by them and on the terrain behind them. try re-angling the camera, if that doesn't work, please post a screenshot and I'll make sure your pixels line up.

^_^
03/11/2008 01:09 VJain#11
For those who want to have it at different resolutions, change this code:::

Code:
VBSCall FindColorEx(0,0,1024,685,"00DBDE",1,0.9,x,y)
//Search a fuzzy color in a fixed area  (0,0,1024,768) is the area, "FFFFFF" is the color, 1 means searching from center to periphery, 0.8 means the fuzzy degree. The found coordinates will be saved in (x,y)
VBS coordx = x
VBS coordy = y
If coordx>=0 and coordy>=0
    //If found the fuzzy color, x and y will be larger than 0
    Gosub [Kill]
EndIf 
VBSCall FindColorEx(0,0,1024,685,"006DD6",1,0.9,x,y)
VBSCall FindColorEx(0,0,1024,685,"10DFDE",1,0.9,x,y)
the 1024,685's to...
Width,(height-100~)
For example, I use
1440,840

You have to change it in THREE places.

Works fine for me :)
03/11/2008 01:35 mist3r#12
yep, i find that going at like a 45 angle works the best xD

gj VJain for telling people how to change the res
03/11/2008 02:04 numblocke#13
Quote:
Originally Posted by mist3r View Post
yep, i find that going at like a 45 angle works the best xD

gj VJain for telling people how to change the res
I could tell ya how to change the res simple enough, but i've been pretty deep into improving the code aspect of the bot over adding new resolutions.

Honestly all you need to do is take a SS open mspaint, turn on cords, take ANY cord with the color #f00F77 (or w/e that ugly pink is) on the minimap... also change the hp bar cords, and update the yellow / bright yellow / orange 'spread' cords.... thats really it.
03/11/2008 03:12 VJain#14
I honestly don't know if that is the "best" way to do it. I just did a quick fix for myself... so far it works.
03/11/2008 04:02 numblocke#15
Quote:
Originally Posted by VJain View Post
I honestly don't know if that is the "best" way to do it. I just did a quick fix for myself... so far it works.
thats one of many ways. all you need is a pink pixel, and the corner of the hp bar and it works on any res... I just say change it to mine because honestly... I'm too lazy to convert it to others and distro it as 10 different scripts. if you would like to post the code to do so, please feel free.