Sign in to follow this  
Followers 0
eracross

crosshair help

13 posts in this topic

Im new jst started and i have a few questions about making a crosshair.

I found this script on the forum seems working but when you click accidentally on the crosshair image it back in the script not more in the game.

can you help me how to solve this, like make it non clickable or something...

here the script by

newbiescripter

#include <WindowsConstants.au3>

$x = @DesktopWidth/2 - 68/2
$y = @DesktopHeight/2 - 68/2

GUICreate("", 68, 68, $x, $y, $WS_POPUP, BitOR($WS_EX_LAYERED, $WS_EX_TOOLWINDOW, $WS_EX_TOPMOST))
GUICtrlCreatePic("crosshair.gif",0,0,68,68)
GUISetState()

While 1
    Sleep(25)
WEnd

Share this post


Link to post
Share on other sites



Erhm Crossfire..when it goes to the script u need to click on the game again ;)

Share this post


Link to post
Share on other sites

Is that the same one which says "We do not tolerate any kind of cheating or hacking" in its terms?

Putting a crosshair is none of the above I should point out ;) but I see where this is going.

What exactly will the crosshair do eracross?

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

its jst a image in the middle of the screen is not cheating or hack ;)

@mat

make it non clickable but always on the top jst like when u do it with GraphicsDrawLine.

Edited by eracross

Share this post


Link to post
Share on other sites

Putting a crosshair is none of the above I should point out ;) but I see where this is going.

What exactly will the crosshair do eracross?

And I should point out that I didnt suggest the OP was cheating :)

Merely asking if it were the same one ;)


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

As you are new here, you may not be aware of the issues connected with game automation and the policy regarding such on these forums. Even if you have legitimate purposes for your script, you will find that such topics will quickly be locked by a moderator. You should make sure you read the following announcement Game Bots and Automation.

Cross hairs are normally associated with some kind of game, at least in the virtual world. So this topic is likely to be scrutinized for that reason. I suggest you search the forum for other similar topics, so that you will understand both the forum's policy on this matter and the consequences of asking about game automation.

Having said that, welcome to the forum and, please familiarize yourself with the forum rules. ;)

Edited by czardas

Share this post


Link to post
Share on other sites

to make it non-clickable, do something like this:

GUICtrlSetState($Var,$GUI_DISABLE)

That will grey it out, making it impossible to click/edit


00101101011110000101000001101100011011110110100101110100

Share this post


Link to post
Share on other sites

Its probably because the game window becomes active or something like that. I dont know how layered windows are supposed to act when they are not active. I realize its topmost but dosent mean its active.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites

I would think the game would overwrite the crosshair since most games use some directX/openGL drawing. That's been my experience. Check out the Crosshairs UDF in my signature.. you'll probably get the same results.

Share this post


Link to post
Share on other sites

thx to all i found the solution $WS_EX_TRANSPARENT ;)

Share this post


Link to post
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
Sign in to follow this  
Followers 0