Artista Posted June 19, 2016 Share Posted June 19, 2016 Is it possible to write an aimbot for CS:GO ? If yes how ? Can you give me an example ? Thanks. (If post section is wrong sorry.) Quote Link to comment Share on other sites More sharing options...
Wanted Posted June 19, 2016 Share Posted June 19, 2016 If you can grab the screen and control the mouse (do those two tests first) and then if you can come up with a way to interpret the information on the screen for enemy players with color/dtm/bitmap sorting (probably difficult) then yea. If either of those doesn't work out you probably have to end up doing some dicey shit in a plugin that is capable of interpreting OpenGL, game code, or something like that. Quote Link to comment Share on other sites More sharing options...
Artista Posted June 19, 2016 Author Share Posted June 19, 2016 If you can grab the screen and control the mouse (do those two tests first) and then if you can come up with a way to interpret the information on the screen for enemy players with color/dtm/bitmap sorting (probably difficult) then yea. If either of those doesn't work out you probably have to end up doing some dicey shit in a plugin that is capable of interpreting OpenGL, game code, or something like that. I tried but it's FPS of course cursor is always centered at screen. MoveMouse not working properly. It's shoots sky. However for Curveball it's working good program BasicAimbot;var index: Integer; clientWidth, clientHeight: Integer; Targets: TIntArray; targetX, targetY: Integer; searchTolerance, mouseSpeed: Integer; procedure GetClientDimensions(var Width, Height: Integer); begin GetBoxSize(GetClient.ImageArea, clientWidth, clientHeight); end; begin if NOT GetToggleKeyState(VK_CAPITAL) then PressVKey(VK_CAPITAL); ClearDebug; GetClient.Activate; GetClientDimensions(clientWidth, clientHeight); searchTolerance := 10; mouseSpeed := 1000; Targets := [13303764]; repeat for index := 0 to High(Targets) do if FindColorTol(targetX, targetY, Targets[index], 36, 43, 472, 333, searchTolerance) then MoveMouseEx(targetX, targetY, mouseSpeed); until NOT GetToggleKeyState(VK_CAPITAL); end. Quote Link to comment Share on other sites More sharing options...
Wanted Posted June 21, 2016 Share Posted June 21, 2016 (edited) Sounds like you're going to have to reinvent the wheel a bit for this one. Might require external functions in a plugin but basically you're going to have to manipulate the mouse function (or create a new one) such that you can control the screen movement. Possibly by having the mouse move in the direction it needs to go until the screen image is centered relative to the coordinates determined by your detection system and then halting and/or readjusting in a different direction. I would say move the mouse 1 pixel at a time and see if that prevents position feed back glitching maybe with SetMousePos but obviously it's impossible for me to test or suggest ideas that are likely to work without seeing the mechanics of how the game and the mouse are responding to cursor-centered-environments. (CCE ? or is there an actual acronym for this already ? ) I take it mouse functions are partially working and you are able to grab the client image ok? @Freddy do you have a take on special mouse functions that make screen cursor-centered-environments (CCE ?) possible/fluid ? Edited June 21, 2016 by Wanted Quote Link to comment Share on other sites More sharing options...