Jump to content

A simple first bot script that wont work


Recommended Posts

#cs

Information

Screen co-ordinates:

Bottom left: 165,700

Top left: 165,100

Bottom right: 1115,700

Top right: 1115,100

When screen starts scrolling left (Where leg hits): 511

When screen starts scrolling right: 736

Gold colours: 0x10C0DA or 0x75E9F9

Bandit mask colour: 0x061FCC

#CE

WinWaitActive("notsayingwhichgame")

$coor = PixelSearch(441,595,494,650,0x061FCC,1000,3)

While @error = 0

Send("{s down}")

Sleep(107)

Send("{s up}")

$coor = PixelSearch( tlx, tly, brx, bry, col, dif, sk )

Wend

When I start this cript, I go to the game window, and while I dont get any error messages, nothing happens. I went to the icon for the scipt(it was running) and right clicked it, and it said script paused. Dont know whether or not that matters, but I figured I'd mention it. Anyways, can anyone help me?

Link to comment
Share on other sites

When you click on the tray icon, the script pauses.

Did you actually get said "bandit" in view?

or just stand at the spawn point and assume it should do something?

From what i can see, i deduce the follwing: (although mostly a wild guess.)

A: its most likely for counterstrike

B: its looking for a terrorist mask

C: from your description, you were not looking at said terrorist. as such, your character did not back up.

My best advice, would be to double check the color of pixel it is searching for, and to put this right before the first send

msgbox(0, "Pixel Test", "I cheat !")

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...