colors Posted November 16, 2009 Share Posted November 16, 2009 Anyone have a idea how i could make a trigger bot script? I was thinking somthing like fire if overcrosshair (idk acually consle commands for this but) player models = 1 if 1 = center screen then +attack Help plox Link to comment Share on other sites More sharing options...
AlmarM Posted November 16, 2009 Share Posted November 16, 2009 Anyone have a idea how i could make a trigger bot script? I was thinking somthing like fire if overcrosshair(idk acually consle commands for this but)player models = 1if 1 = center screen then +attackHelp ploxFirst of all,Welcome to the forums! Now about your problem, I actualy dont have any idea what your talking about. Give us a clear vision of what you realy need.And did you already searched the forums for "botting"?AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
memoryoverflow Posted November 17, 2009 Share Posted November 17, 2009 (edited) Hi "colors" For what game is that bot? Knowing more of the mechanics should make clearer what you want. Edited November 17, 2009 by memoryoverflow (The signature is placed on the back of this page to not disturb the flow of the thread.) Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted November 17, 2009 Share Posted November 17, 2009 Hi "colors"For what game is that bot? Knowing more of the mechanics should make clearer what you want.It's in the title. DoD = Day of Defeat. S = Source (in the Valve world). So he's playing "Day of Defeat: Source". .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
memoryoverflow Posted November 17, 2009 Share Posted November 17, 2009 It's in the title...I'm not a gamer so don't know these abbreviations - now waiting for Volly's comments. (The signature is placed on the back of this page to not disturb the flow of the thread.) Link to comment Share on other sites More sharing options...
weaponx Posted November 17, 2009 Share Posted November 17, 2009 Anyone have a idea how i could make a trigger bot script? I was thinking somthing like fire if overcrosshairNo.(idk acually consle commands for this but)player models = 1if 1 = center screen then +attackSounds like proper pseudocode.Help ploxPlox? I had the chicken pox one time, is that similar? Link to comment Share on other sites More sharing options...
Bert Posted November 17, 2009 Share Posted November 17, 2009 The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
BitByteBit Posted November 17, 2009 Share Posted November 17, 2009 (edited) ahahahah Guys, you really are too much. Anyone have a idea how i could make a trigger bot script? I was thinking somthing like fire if overcrosshair (idk acually consle commands for this but) player models = 1 if 1 = center screen then +attack Help plox If the crosshair changes colour when you are aiming at an enemy you can do this way: 1. Take a print screen when aiming at the enemy 2. Paste it into paint 3. Use the AutoIt Window Info Tool to get the colour of your crosshair when aiming at the enemy The way the code works is as such: It looks for the colour of you crosshair whilst aiming, if it is red or whatever then it will click, if it isnt it will display a tool tip. Func TriggerHappy() While 1 $Co = PixelSearch(0,0,@DesktopWidth,@DesktopHeight,0x00CCFF) If not @error then MouseDown("Primary") MouseUp("Primary") else tooltip("Not Aiming") sleep(1500) tooltip("") wend ;You will need to replace 0x00CCFF with the colour of ;your ;cross hair when aiming at an enemy. ;You might want to replace @DesktopWidth,@DesktopHeight ;with the co-ordinates of your crosshair. ;Use AutoIt Window Info Tool to help you with this! ;You can press Ctrl+Alt+F to freeze the tool whilst your ;game is open to get some information. Endfunc That should get you started. But you need to build in a hotkey to activate this function, you also need to get the colour when you are aiming at the enemy as I stated earlier. Look in the help file for the following: HotKeySet, PixelSearch. Its really important you look at PixelSearch so that you understand the parameters, and thus, what you are actually doing. Edited November 17, 2009 by BitByteBit Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted November 19, 2009 Share Posted November 19, 2009 Help ploxYou forgot the "h" (Dr. Phlox) .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now