Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help on aimbot for CS 1.6

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Filipe_Br
Master Cheater
Reputation: 3

Joined: 07 Jan 2016
Posts: 272
Location: My house

PostPosted: Fri Jul 22, 2016 2:33 pm    Post subject: Help on aimbot for CS 1.6 Reply with quote

(bad English below)
I tried trying to create a aimbot for Counter Strike 1.6, but I need a lot of help.
  I am using the code below to aim automatically at 1 player. However the problem is I do not want the aimbot sights in just one but in all, I want the aimbot aiming at playing more next where I'm aiming.
  Notice in my code "BOTY = getAddress ( '[" hw.dll "+00809820] 6D0 +') 'and coordinated' Y 'the first player to enter the game, I get the offset it' 7D0 'and add to with 304 hex, I'll get the offset of the second player to enter the game so on. Then get the hands of the player and easy.
  There are 2 teams 'T' and 'CT' at offset 0x458 if the value 451 and then to time and 'T', I also need a system that also see that and my team and the aimbot to work on them.
  If anyone able to make a script for me will be very grateful.

Code:

ByX = getAddress('["hw.dll"+00809820]+3b0')
ByY = getAddress('["hw.dll"+00809820]+3ac')
ByZ = getAddress('["hw.dll"+00809820]+3b4')
botX = getAddress('["hw.dll"+00809820]+6d4')
botY = getAddress('["hw.dll"+00809820]+6d0')
botZ = getAddress('["hw.dll"+00809820]+6d8')
Cam_X = getAddress('hw.dll+10569A8')
Cam_Y = getAddress('hw.dll+10569A4')

function sight_angle()
         calcX=readFloat(ByX)-readFloat(botX)
         calcY=readFloat(ByY)-readFloat(botY)
         calcZ=readFloat(ByZ)-readFloat(botZ)+5

         distance=math.sqrt(math.pow(calcX, 2)+math.pow(calcY, 2))

         angleX=math.deg(math.atan2(calcX, calcY))+180
         angleY=math.deg(math.atan2(calcZ, distance))


         if (isKeyPressed(VK_V)) then
            writeFloat(Cam_X, angleX)
            writeFloat(Cam_Y, angleY)
         end
end

t=createTimer(nil)
timer_setInterval(t, 1)
timer_onTimer(t, sight_angle)
[/b]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites