Jump to content

Featured Replies

Posted

'Your xyz coordinates in the game
Dim my_x As Single
Dim my_y As Single
Dim my_z As Single

'The enemy coordinates in game
Dim nme_x As Single
Dim nme_y As Single
Dim nme_z As Single

'static testing values for aiming at
'nme_x = -103.08
'nme_y = 1526.4
'nme_z = 96.03

'This portion is an example of getting the enemy xyz coords directly from memory
ReadProcessMemory pHandle, ByVal &H19AAEFB8, nme_x, 4, 0&   'x +0
ReadProcessMemory pHandle, ByVal &H19AAEFBC, nme_y, 4, 0&    'y +4
ReadProcessMemory pHandle, ByVal &H19AAEFD4, nme_z, 4, 0&   'z +8

'aimbot correction testing (height depth)
nme_z = nme_z + 55
'nme_x = nme_x - 10
'nme_y = nme_y + 5

'math shit 
Dim hyp As Single

Dim delta_x As Single
Dim delta_y As Single
Dim delta_z As Single

Dim pitch As Single
Dim yaw As Single
Dim roll As Single
roll = 0

'This reads your xyz position in the game
ReadProcessMemory pHandle, ByVal &H242EFC34, my_x, 4, 0&    'x +0
ReadProcessMemory pHandle, ByVal &H242EFC38, my_y, 4, 0&    'y +4
ReadProcessMemory pHandle, ByVal &H242EFC3C, my_z, 4, 0&    'z +8

delta_x = my_x - nme_x
delta_y = my_y - nme_y
delta_z = my_z - nme_z

hyp = ((delta_x * delta_x) + (delta_y * delta_y) + (delta_z * delta_z)) ^ (1 / 2)

pitch = Atn(delta_z / hyp) * 57.295779513082

'sometimes a certain view angle goes to 0 and makes the aimbot go crazy, this will use the last non 0 integer so you can maintain a smooth non glitchy aimbot
If delta_x = 0 Then
delta_x = backup
End If

'this saves your last view angle for backup in case it is 0 next time around
backup = delta_x
yaw = Atn(delta_y / delta_x) * 57.295779513082
If delta_x > 0 Then
   yaw = yaw + 180
End If

'this writes directly to your view angles and makes you aim at the enemy
WriteProcessMemory pHandle, ByVal &H147489C, pitch, 4, 0&   'pitch +0
WriteProcessMemory pHandle, ByVal &H14748A0, yaw, 4, 0&     'yaw +4
WriteProcessMemory pHandle, ByVal &H14748A4, roll, 4, 0&    'roll +8

 

It works for CS:S but it probably is detected by vac2. All memory values in the code are worthless now as most of them are dynamic values that always change. You have to make your own pointer code to find them on the fly in your hack to be able to use the aimbot at all. The aimbot itself is pretty basic and ghetto and I think it can be applied to many fps games as long as you can find your view angles and player coordinates in memory.

 

You can use art money to find memory locations of players and view angles. I think this will work pretty well for smaller fps games and mmorpgs/mmofps games as they come out.

 

And yes vb is pretty crappy but you can do some things pretty easily like this with it.

 

oh yes, if you dont know what the hell to do with it, you can add it to a timer and set it to a low interval. It may not be super fast but it is fast enough for a game that has no other available hacks made for it.

i just made an aimbot for css based on this code. it worked perfectly and vac didnt detect me. thanks voltron.
now this is fraking sweet, nice job, and done in VB too!!! vb rox0rz j00!! and the best thing about it is, if they change the addresses, you can simply change and recompile, or even, have the app take input on the address, and store it as a variable, or have it read from a configureation file that can be updated, this just sparked my gears to life ^_^ new VB hax here I come!
  • Author
You've heard of DMA right?

 

almost every fps uses dma so thats why you have to use pointers to find the offsets each time you load your game.

if they change the addresses

 

The memory locations arent static, so they will change each time you run the program. Hence why you need pointers :)

i just made an aimbot for css based on this code. it worked perfectly and vac didnt detect me. thanks voltron.

|

HI POFFACE DO U WANT BAN

i just made an aimbot for css based on this code. it worked perfectly and vac didnt detect me. thanks voltron.

np

Voltron']almost every fps uses dma so thats why you have to use pointers to find the offsets each time you load your game.

 

I know, I was telling him. :rolleyes:

sp0rk']This is how l.spiro or whoever did his shit I think. All external just reading memory like this.

L.Spiro most likely used this for his Tribes aimbot yes.

 

And who ever was talking about DMA. Use pointers.

.net

 

 

BOOL ReadProcessMemory(

HANDLE hProcess,

LPCVOID lpBaseAddress,

LPVOID lpBuffer,

DWORD nSize,

LPDWORD lpNumberOfBytesRead );

 

BOOL ReadProcessMemory(HANDLE, LPCVOID, LPVOID, DWORD, LPDWORD);

because you did it wrong......dma is hard to figure out, i think the structure it probably like GTAVC....

 

its like:

 

playerpoolsize = 1988

playerptr = (adress)

 

playerptr * 1988 = playerptr2

 

or something liek that, basically to get to the other players block(s) you need to find the size of the player block and parse it.......

 

hard to explain in words....

 

and even i dont know how to do it...

 

there should be a more in detail tut about pointers, specifically for this but there isnt.

 

only a few guys a gtaforums.com know about this stuff (that i know of)

 

(btw if i explained it wrong go there, somone has explained it before better then me.)

  • 5 weeks later...
  • 3 weeks later...

Where should this aimbot be?

Console Application, Windows Application And where should it be placed :P

I know i am a Noob Just want to make that thing ;O

My guess? You need to link the library, or include the header file. I'm not sure how it works for Visual Basic, but I'm sure it has to be something along those lines...
  • 4 weeks later...
lol im a nub, what is all that stuff? put in console? lol :gaysex:

just do wat he said and add it to a timer and set it to an interval

yeah uhm visual basic just did this to me :gaysex2:

 

 

http://img342.imageshack.us/img342/595/wtf1kt.jpg

Guest
This topic is now closed to further replies.