Aimbot not work

Posts 1–14 of 14 · Page 1 of 1
Aimbot not work
Hi mpgh comunity,

I have problem with Aimbot. He dont work. I have lastest offsets. Please Help me

Offsets:
Code:
$localplayer = 0xA6C49C
		$entitylist = 0x4A5A8E4
		$attack = 0x2EC6938
		$hitboxpos = 0x134
		$recoil_offset = 0x64
		$m_local = 0x4BB8
		$boneoffset = 0x42A8
		$viewang = 0x6062B4
		$viewangoff = 0x4C28
		$c_dwlocalbaseentity = 0xA6C49C
		$c_dwbaseentity = 0x4A5A8E4
		$myteamad = 0xF0
		$healths = 0xFC
		$crossid = 0xC550
		$m_hactiveoffset = 0x4AF8
		$weaponid = 0x4EE4
		$m_bspotted = 0x935
		$radarspot = 0x4A8F58C
Aimbot:
Code:
Func visaimbot()
	If $aimbot = 1 Then
		If $visibility = 1 Then
			$localbase = _memoryread($client_dll + $c_dwlocalbaseentity, $process, "dword")
			If _ispressed($key, "user32.dll") OR $key = 0 Then
				$localbase2 = _memoryread($client_dll + $c_dwlocalbaseentity, $process, "dword")
				$crosshairid2 = _memoryread($localbase2 + $crossid, $process, "dword")
				$dw_basepointer2 = _memoryread($client_dll + $c_dwbaseentity + (($crosshairid2 + -1) * 16), $process, "dword")
				$checkhealth2 = _memoryread($dw_basepointer2 + $healths, $process, "dword")
				$myteam2 = _memoryread($dw_basepointer2 + $myteamad, $process, "dword")
				$team2 = _memoryread($localbase2 + $myteamad, $process, "dword")
				$vislocalbase = _memoryread($client_dll + $c_dwlocalbaseentity, $process, "dword")
				$radarspot = ($crosshairid2 <> 0 AND $checkhealth2 > 0 AND $myteam2 <> $team2)
				If $radarspot <> 0 Then
					If $delay > 0 Then
						Sleep($delay)
					EndIf
					$angbase = _memoryread($engine_dll + $viewang, $process, "dword")
					$i1 = _memoryread($localbase + $hitboxpos, $process, "float")
					$i2 = _memoryread($localbase + $hitboxpos + 4, $process, "float")
					$i3 = (_memoryread($localbase + $hitboxpos + 8, $process, "float"))
					$myteam = _memoryread($localbase + $myteamad, $process, "dword")
					$mefovx = _memoryread($angbase + $viewangoff, $process, "float")
					$mefovy = _memoryread($angbase + $viewangoff + 4, $process, "float")
					$recoil = _memoryread($client_dll + $c_dwlocalbaseentity, $process, "dword")
					$recoilx = _memoryread($recoil + $recoil_offset + $m_local, $process, "float")
					$recoily = _memoryread($recoil + $recoil_offset + $m_local + 4, $process, "float")
					$recoilx *= 3
					$recoily *= 3
					Local $angel1[65]
					Local $angel2[65]
					Local $matx1[65]
					Local $matx2[65]
					Local $dis[65]
					For $i = 0 To 64 Step 1
						$dw_basepointer = _memoryread($client_dll + $c_dwbaseentity + (($i + -1) * 16), $process, "dword")
						$hp = _memoryread($dw_basepointer + $healths, $process, "dword")
						If $hp > 0 Then
							$team = _memoryread($dw_basepointer + $myteamad, $process, "dword")
							If $team <> $myteam Then
								$m_dwbonematrix = _memoryread($dw_basepointer + $boneoffset, $process, "dword")
								$you1 = _memoryread($m_dwbonematrix + ((48 * ($bone)) + 12), $process, "float")
								$you2 = _memoryread($m_dwbonematrix + ((48 * ($bone)) + 28), $process, "float")
								$you3 = _memoryread($m_dwbonematrix + ((48 * ($bone)) + 44), $process, "float") + -60
								$distance = Sqrt((($i1 - $you1) * ($i1 - $you1)) + (($i2 - $you2) * ($i2 - $you2)) + (($i3 - $you3) * ($i3 - $you3)))
								$angel1[$i] = ((ASin(($you3 - $i3) / $distance) * 180 / $m_pi) *  + -1)
								$angel2[$i] = (atan2($you1 - $i1, $you2 - $i2) / $m_pi * 180)
								If $rcs = 0 Then
									$aimmin = $angel1[$i] - ($mefovx)
									$aimmin2 = $angel2[$i] - ($mefovy)
								Else
									$aimmin = $angel1[$i] - ($mefovx + $recoilx)
									$aimmin2 = $angel2[$i] - ($mefovy + $recoily)
								EndIf
								$addd1 = $i1 - $you1
								$addd2 = $i2 - $you2
								$addd3 = $i3 - $you3
								If $aimmin > 180 Then $aimmin -= 360
								If $aimmin2 > 180 Then $aimmin2 -= 360
								If $aimmin <  + -180 Then $aimmin += 360
								If $aimmin2 <  + -180 Then $aimmin2 += 360
								$fovdis = Sqrt(($aimmin * $aimmin) + ($aimmin2 * $aimmin2))
								If $fovdis < $fov / 2 Then
									$dis[$i] = (Sqrt(($aimmin * $aimmin) + ($aimmin2 * $aimmin2)))
								Else
									$dis[$i] = ""
								EndIf
							EndIf
						EndIf
					Next
					$avarray = $dis
					If NOT IsArray($avarray) Then Return $minf = ""
					If UBound($avarray, 0) <> 1 Then Return $minf = ""
					Local $iubound = UBound($avarray) + -1
					If $iend < 1 OR $iend > $iubound Then $iend = $iubound
					If $istart < 0 Then $istart = 0
					If $istart > $iend Then Return $minf = ""
					Local $iminindex = $istart
					Local $ichecknum = 0
					For $i = $istart To $iend
						If NOT IsNumber($avarray[$i]) Then ContinueLoop
						If NOT $ichecknum Then $iminindex = $i
						$ichecknum = 1
						If Number($avarray[$iminindex]) > Number($avarray[$i]) Then $iminindex = $i
					Next
					$minf = $iminindex
					If $minf Then
						If $dis[$minf] <> "" Then
							If $rcs = 1 Then
								$angel1[$minf] -= $recoilx
								$angel2[$minf] -= $recoily
							EndIf
							If $smooth > 0 Then
								$delta1 = $mefovx - $angel1[$minf]
								$delta2 = $mefovy - $angel2[$minf]
								If $delta2 <  + -180 Then $delta2 += 360
								If $delta2 > 180 Then $delta2 -= 360
								If $smooth = 0 Then $smooth = 1
								$add1s = ($delta1 / ($smooth))
								$add2s = ($delta2 / ($smooth))
								$angel1[$minf] = $mefovx - $delta1 / $smooth
								$angel2[$minf] = $mefovy - $delta2 / $smooth
							EndIf
							_memorywrite($angbase + $viewangoff, $process, $angel1[$minf], "float")
							_memorywrite($angbase + $viewangoff + 4, $process, $angel2[$minf], "float")
						EndIf
					EndIf
				EndIf
			EndIf
		EndIf
	EndIf
EndFunc

Func aimbot()
	If $aimbot = 1 Then
		If $visibility = 0 Then
			$localbase = _memoryread($client_dll + $c_dwlocalbaseentity, $process, "dword")
			If _ispressed($key, "user32.dll") OR $key = 0 Then
				If $delay > 0 Then
					Sleep($delay)
				EndIf
				$angbase = _memoryread($engine_dll + $viewang, $process, "dword")
				$i1 = _memoryread($localbase + $hitboxpos, $process, "float")
				$i2 = _memoryread($localbase + $hitboxpos + 4, $process, "float")
				$i3 = (_memoryread($localbase + $hitboxpos + 8, $process, "float"))
				$myteam = _memoryread($localbase + $myteamad, $process, "dword")
				$mefovx = _memoryread($angbase + $viewangoff, $process, "float")
				$mefovy = _memoryread($angbase + $viewangoff + 4, $process, "float")
				$recoil = _memoryread($client_dll + $c_dwlocalbaseentity, $process, "dword")
				$recoilx = _memoryread($recoil + $recoil_offset + $m_local, $process, "float")
				$recoily = _memoryread($recoil + $recoil_offset + $m_local + 4, $process, "float")
				$recoilx *= 3
				$recoily *= 3
				Local $angel1[65]
				Local $angel2[65]
				Local $matx1[65]
				Local $matx2[65]
				Local $dis[65]
				For $i = 0 To 64 Step 1
					$dw_basepointer = _memoryread($client_dll + $c_dwbaseentity + (($i + -1) * 16), $process, "dword")
					$hp = _memoryread($dw_basepointer + $healths, $process, "dword")
					If $hp > 0 Then
						$team = _memoryread($dw_basepointer + $myteamad, $process, "dword")
						If $team <> $myteam Then
							$m_dwbonematrix = _memoryread($dw_basepointer + $boneoffset, $process, "dword")
							$you1 = _memoryread($m_dwbonematrix + ((48 * ($bone)) + 12), $process, "float")
							$you2 = _memoryread($m_dwbonematrix + ((48 * ($bone)) + 28), $process, "float")
							$you3 = _memoryread($m_dwbonematrix + ((48 * ($bone)) + 44), $process, "float") + -60
							$distance = Sqrt((($i1 - $you1) * ($i1 - $you1)) + (($i2 - $you2) * ($i2 - $you2)) + (($i3 - $you3) * ($i3 - $you3)))
							$angel1[$i] = ((ASin(($you3 - $i3) / $distance) * 180 / $m_pi) *  + -1)
							$angel2[$i] = (atan2($you1 - $i1, $you2 - $i2) / $m_pi * 180)
							If $rcs = 0 Then
								$aimmin = $angel1[$i] - ($mefovx)
								$aimmin2 = $angel2[$i] - ($mefovy)
							Else
								$aimmin = $angel1[$i] - ($mefovx + $recoilx)
								$aimmin2 = $angel2[$i] - ($mefovy + $recoily)
							EndIf
							$addd1 = $i1 - $you1
							$addd2 = $i2 - $you2
							$addd3 = $i3 - $you3
							If $aimmin > 180 Then $aimmin -= 360
							If $aimmin2 > 180 Then $aimmin2 -= 360
							If $aimmin <  + -180 Then $aimmin += 360
							If $aimmin2 <  + -180 Then $aimmin2 += 360
							$fovdis = Sqrt(($aimmin * $aimmin) + ($aimmin2 * $aimmin2))
							If $fovdis < $fov / 2 Then
								$dis[$i] = (Sqrt(($aimmin * $aimmin) + ($aimmin2 * $aimmin2)))
							Else
								$dis[$i] = ""
							EndIf
						EndIf
					EndIf
				Next
				$avarray = $dis
				If NOT IsArray($avarray) Then Return $minf = ""
				If UBound($avarray, 0) <> 1 Then Return $minf = ""
				Local $iubound = UBound($avarray) + -1
				If $iend < 1 OR $iend > $iubound Then $iend = $iubound
				If $istart < 0 Then $istart = 0
				If $istart > $iend Then Return $minf = ""
				Local $iminindex = $istart
				Local $ichecknum = 0
				For $i = $istart To $iend
					If NOT IsNumber($avarray[$i]) Then ContinueLoop
					If NOT $ichecknum Then $iminindex = $i
					$ichecknum = 1
					If Number($avarray[$iminindex]) > Number($avarray[$i]) Then $iminindex = $i
				Next
				$minf = $iminindex
				If $minf Then
					If $dis[$minf] <> "" Then
						If $rcs = 1 Then
							$angel1[$minf] -= $recoilx
							$angel2[$minf] -= $recoily
						EndIf
						If $smooth > 0 Then
							$delta1 = $mefovx - $angel1[$minf]
							$delta2 = $mefovy - $angel2[$minf]
							If $delta2 <  + -180 Then $delta2 += 360
							If $delta2 > 180 Then $delta2 -= 360
							If $smooth = 0 Then $smooth = 1
							$add1s = ($delta1 / ($smooth))
							$add2s = ($delta2 / ($smooth))
							$angel1[$minf] = $mefovx - $delta1 / $smooth
							$angel2[$minf] = $mefovy - $delta2 / $smooth
						EndIf
						_memorywrite($angbase + $viewangoff, $process, $angel1[$minf], "float")
						_memorywrite($angbase + $viewangoff + 4, $process, $angel2[$minf], "float")
					EndIf
				EndIf
			EndIf
		EndIf
	EndIf
EndFunc
Moved to correct section..
You're copy pasting all without thinking so you can't fix the problem. I give you a hint, your offsets are incorrect.
Quote Originally Posted by armez47 View Post
You're copy pasting all without thinking so you can't fix the problem. I give you a hint, your offsets are incorrect.

dont without thinking, i use offset dumper v2.5 and search offset, Which offsets are incorrect ?

- - - Updated - - -

I dont copy pasting all without thinking, I search offset with dumper v2.5
Wow, you praise or what ?

$viewang = 0x6062B4 - it is CLIENTSTATE not viewangle LOL, viewangle is x = engine + clientstate, and vangle=x+dw_viewangle offset -.- .
$viewangoff = 0x4C28 it is vecPunch, not a fcking viewanoff bla bla bla .
0x00004D0C - this is VIEWANGLE OFFSET .
Quote Originally Posted by armez47 View Post
Wow, you praise or what ?

$viewang = 0x6062B4 - it is CLIENTSTATE not viewangle LOL, viewangle is x = engine + clientstate, and vangle=x+dw_viewangle offset -.- .
$viewangoff = 0x4C28 it is vecPunch, not a fcking viewanoff bla bla bla .
0x00004D0C - this is VIEWANGLE OFFSET .
Code:
                $localplayer = 0xA6C49C
		$entitylist = 0x4A5A8E4
		$attack = 0x2EC6938
		$hitboxpos = 0x134
		$recoil_offset = 0x4C28
		$m_local = 0x4BB8
		$boneoffset = 0x42A8
		$viewang = 0x4D0C
		$viewangoff = 0x4C28
		$c_dwlocalbaseentity = 0xA6C49C
		$c_dwbaseentity = 0x4A5A8E4
		$myteamad = 0xF0
		$healths = 0xFC
		$crossid = 0xC550
		$m_hactiveoffset = 0x4AF8
		$weaponid = 0x4EE4
		$m_bspotted = 0x935
dont work
Quote Originally Posted by armez47 View Post
You are stupid or u imitate ?
I did as you wrote, I use google translator
Oh fuck, give me a break, i give up man. Pls study a c++ book or try learning something in other source codes and i recommend you an english book
A and B level. I gave you a solution as to what you need to do to resolve the problem. I'm an idiot or you're a braindead.
Quote Originally Posted by armez47 View Post
Oh fuck, give me a break, i give up man. Pls study a c++ book or try learning something in other source codes and i recommend you an english book
A and B level. I gave you a solution as to what you need to do to resolve the problem. I'm an idiot or you're a braindead.
you provided a solution and still not working

$viewangoff = 0x4C28 it is vecPunch, not a fcking viewanoff bla bla bla .
0x00004D0C - this is VIEWANGLE OFFSET .



$viewang = 0x4D0C
$viewangoff = 0x4C28
To get a ViewAngle in c++.
pseudo code:
DWORD EnginePTR = Memory-><ReadMem>(EngineDLL + ClientState);
Vector3 ViewAngle = Memory-><ReadMem>(EnginePTR + dwViewAngle);

delete this incorrent offsets :
$viewang = 0x6062B4
$viewangoff = 0x4C28

or del last one, and change first to $dwViewAngle = viewangleoffset, add ClientState = clientstate address, and if u code is "good" all propably works, but idk what language you are using. If u have iq >80 you will MAYBE KNOW WHAT TO DO NEXT.
Quote Originally Posted by armez47 View Post
To get a ViewAngle in c++.
pseudo code:
DWORD EnginePTR = Memory-><ReadMem>(EngineDLL + ClientState);
Vector3 ViewAngle = Memory-><ReadMem>(EnginePTR + dwViewAngle);

delete this incorrent offsets :
$viewang = 0x6062B4
$viewangoff = 0x4C28

or del last one, and change first to $dwViewAngle = viewangleoffset, add ClientState = clientstate address, and if u code is "good" all propably works, but idk what language you are using. If u have iq >80 you will MAYBE KNOW WHAT TO DO NEXT.
$ viewang = 0x6062B4
$ viewangoff = 0x4C28

Such offsets always worked to update hitboxów, after this update does not work bone and hitbox, a change like you say will not work because the code uses the clientstate and vecPunch
Quote Originally Posted by armez47 View Post
I give up. You are too stupid to fix it .
This is possible, because you write in English, I use google translator and I do not understand
More flaming and you'll be banned, stay on topic.
so how to fix this aimbot?
Posts 1–14 of 14 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us