Jump to content

Recommended Posts

Posted

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
Posted

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?

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

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

Posted

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.

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
×
×
  • Create New...