Jump to content

CS:S GuideBot�


Bounda
 Share

Recommended Posts

When it is set to 'on' it scans for and fires at Counter-Terrorist (only with the included models!)

To turn on/off press F1 (off by default)

I called this the GuideBot because it isn't really an aimbot and isn't perfect, you sorta have to add a few more shots along with the bot's to make it effective.

Warnings and other crap..

I suggest you create a listen server (the text that says Create Server in the main screen) to use it.

I havn't tested it in a public server, so even though its autoit, i dunno what to expect.

I named it bikini.au3 just in case CS searches for a process that has aimbot in it's name.

This is ONLY for terrorists right now, i will create a CT version soon too, i only created it so far to check if it works (and it does!)

Models:

http://www.megaupload.com/?d=YZLDUYY2

To use them place them in your steam/steamapps/youraccount/counter-strike source/cstrike/materials folder. Rename the old models folder if u have one.

Source Code:

#include <Misc.au3>
#include <array.au3>
Global $on = 0;On/Off Variable
Global $coords;Coords needed to click
Hotkeyset("{F1}", "_power");On/Off Key
Global $colorswitch = 0
While 1;Start Loop
    Sleep(50);Pause
    If $on = 1 Then
    If $colorswitch = 0 Then
        $colorswitch = 1
        $coords = PixelSearch(60, 40, 600, 430, 0x080A32, 5, 3);Search for cts in shadows
    If IsArray($coords) Then;Check if we found any
        MouseClick("Left", $coords[0], $coords[1] + 2, 2, 1);SHOOT!
        $colorswitch = 0
    EndIf
EndIf
EndIf
        Sleep(100);Pause
        If $colorswitch = 1 Then
    If $on = 1 Then;Only search if its on.
        $colorswitch = 0
    $coords = PixelSearch(60, 40, 600, 430, 0x0000FE, 70, 3);Search for cts
    If IsArray($coords) Then;Check if we found any
        MouseClick("Left", $coords[0], $coords[1] + 2, 2, 1);SHOOT!
        $colorswitch = 1
    EndIf
EndIf
EndIf
Wend

Func _power();On/Off Function
If $on = 1 Then
    $on = 0
Else
    $on = 1
EndIf
EndFunc

Please help me improve my code by giving updated and better code!

/EDIT Make sure its in 640x480, otherwise youll have to change the pixelsearch area

Edited by Bounda
Link to comment
Share on other sites

For those of you wanting to use this against Terrorists, here is a scrap.

#include <Misc.au3>
#include <array.au3>
Global $on = 0;On/Off Variable
Global $coords;Coords needed to click
Hotkeyset("{F1}", "_power");On/Off Key
Global $colorswitch = 0
While 1;Start Loop
    Sleep(50);Pause
    If $on = 1 Then
    If $colorswitch = 0 Then
        $colorswitch = 1
        $coords = PixelSearch(60, 40, 600, 430, 0xBB0000, 5, 3);Search for ts in shadows
    If IsArray($coords) Then;Check if we found any
        MouseClick("Left", $coords[0], $coords[1] + 2, 2, 1);SHOOT!
        $colorswitch = 0
    EndIf
EndIf
EndIf
        Sleep(100);Pause
        If $colorswitch = 1 Then
    If $on = 1 Then;Only search if its on.
        $colorswitch = 0
    $coords = PixelSearch(60, 40, 600, 430, 0xFE0000, 5, 3);Search for ts
    If IsArray($coords) Then;Check if we found any
        MouseClick("Left", $coords[0], $coords[1] + 2, 2, 1);SHOOT!
        $colorswitch = 1
    EndIf
EndIf
EndIf
Wend

Func _power();On/Off Function
If $on = 1 Then
    $on = 0
Else
    $on = 1
EndIf
EndFunc
Edited by Bounda
Link to comment
Share on other sites

if you press left key the terrerist will be the target

if you press Right key counter terrerist will be the target

#include <Misc.au3>
#include <array.au3>
Global $on = 0;On/Off Variable
Global $coords;Coords needed to click
Hotkeyset("{F1}", "_power");On/Off Key
HotKeySet("{LEFT}", "Terrorist")
HotKeySet("{RIGHT}", "CounterT")
Global $colorswitch = 0
$shadowMDLS = "0x080A32"; when script first starts CTS are the target
$BrightMDLS = "0x0000FE"

While 1;Start Loop
    Sleep(50);Pause
    If $on = 1 Then
    If $colorswitch = 0 Then
        $colorswitch = 1
        $coords = PixelSearch(60, 40, 600, 430, $shadowMDLS, 5, 3);Search for cts in shadows
    If IsArray($coords) Then;Check if we found any
        MouseClick("Left", $coords[0], $coords[1] + 2, 2, 1);SHOOT!
        $colorswitch = 0
    EndIf
EndIf
EndIf
        Sleep(100);Pause
        If $colorswitch = 1 Then
    If $on = 1 Then;Only search if its on.
        $colorswitch = 0
    $coords = PixelSearch(60, 40, 600, 430, $BrightMDLS, 70, 3);Search for cts
    If IsArray($coords) Then;Check if we found any
        MouseClick("Left", $coords[0], $coords[1] + 2, 2, 1);SHOOT!
        $colorswitch = 1
    EndIf
EndIf
EndIf
Wend

Func _power();On/Off Function
If $on = 1 Then
    $on = 0
Else
    $on = 1
EndIf
EndFunc

Func Terrorist()
    $BrightMDLS = "0xBB0000"; T
    $shadowMDLS = "0xFE0000"
EndFunc

Func CounterT()
$shadowMDLS = "0x080A32"; CTS
$BrightMDLS = "0x0000FE"
EndFunc
i can show you how to make mouse1 the hotkey and adjustble fov with some anti recoil...

i have never played css but i play 1.6 and you need fov so that dead bodies are not the target...

Edited by onedayillpay
Link to comment
Share on other sites

Hey! No credit to me for the mouse coordinate finder? :whistle:

[center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center]

Link to comment
Share on other sites

Oh.. sorry. I noticed you said you already had a use for it and I presumed this was that use.

[center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center]

Link to comment
Share on other sites

  • 4 months later...

its not working, i download the first 1 from megaupload.com

in game it has all the coloured models, i press F1 at start ofcourse it buys weapons for me but it doesnt scan and shoot ?

Link to comment
Share on other sites

I play css and personally i think it's stupid to play in 640 by 480, it's no fun and completely ruins the game.

You should make it compatable with any resolution or it's useless.

Also, maybe a feature to change where you're aiming at. so on the skins use a different color on the head, neck, chest, stomache, legs ect.

I'd also like to say nice job on this, everytime i have tried to do this with autoit i always give up.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...