bluerein Posted September 18, 2008 Share Posted September 18, 2008 (edited) This script basically is an aimbot that requires no toggle between teams ..it uses a memory address of the game which is 1 for reds and 2 for blues..My problem is that which ever color I start on ,It wont change when the memory value changes from 1 to 2 ... If I start on memory value 1 it goes for reds and if I start on memory value 2 it goes for blues...If I change during the game it doesnt recognize the memory change and still goes for the initial starting color... So Im presuming that it needs to be looping the memory scan for changes or something along them lines .... Any ideas guys?? This is probably a bit scrapping but I am new to this...but enjoying a challenge! expandcollapse popup#include <GUIConstants.au3> #include <GUIListBox.au3> #include <Misc.au3> #include <Array.au3> #include <NomadMemory.au3> Global $on = 0;On/Off Variable Global $coords;Coords needed to click Hotkeyset("{F1}", "_power");On/Off Key Global $colorswitch = 0 $ID=_MemoryOpen(ProcessExists("game.exe")) $Address=0x01000146 $team=_MemoryRead($Address,$ID) Func _power();On/Off Function If $on = 1 Then $on = 0 Else $on = 1 EndIf EndFunc While 1;Start Loop Sleep(50);Pause If $team = 01 then $BrightMDLS = "0xBB0000"; T $shadowMDLS = "0xFE0000" Elseif $team = 02 then $shadowMDLS = "0x080A32"; CTS $BrightMDLS = "0x0000FE" EndIf If $on = 1 Then If $colorswitch = 0 Then $colorswitch = 1 $coords = PixelSearch(60, 40, 800, 600, $shadowMDLS, 5, 3);Search for cts in shadows If IsArray($coords) Then;Check if we found any MouseClick("Left", $coords[0], $coords[1] + 2, 2, 1);SHOOT! $colorswitch = 0 EndIf EndIf EndIf Sleep(100);Pause If $team = 01 then $BrightMDLS = "0xBB0000"; T $shadowMDLS = "0xFE0000" Elseif $team = 02 then $shadowMDLS = "0x080A32"; CTS $BrightMDLS = "0x0000FE" EndIf If $colorswitch = 1 Then If $on = 1 Then;Only search if its on. $colorswitch = 0 $coords = PixelSearch(60, 40, 800, 600, $BrightMDLS, 70, 3);Search for cts If IsArray($coords) Then;Check if we found any MouseClick("Left", $coords[0], $coords[1] + 2, 2, 1);SHOOT! $colorswitch = 1 EndIf EndIf EndIf Wend regards bluerein Edited September 18, 2008 by bluerein Link to comment Share on other sites More sharing options...
Szhlopp Posted September 18, 2008 Share Posted September 18, 2008 This script basically is an aimbot that requires no toggle between teams ..it uses a memory address of the game which is 1 for reds and 2 for blues..My problem is that which ever color I start on ,It wont change when the memory value changes from 1 to 2 ... If I start on memory value 1 it goes for reds and if I start on memory value 2 it goes for blues...If I change during the game it doesnt recognize the memory change and still goes for the initial starting color... So Im presuming that it needs to be looping the memory scan for changes or something along them lines .... Any ideas guys?? This is probably a bit scrapping but I am new to this...but enjoying a challenge! expandcollapse popup#include <GUIConstants.au3> #include <GUIListBox.au3> #include <Misc.au3> #include <Array.au3> #include <NomadMemory.au3> Global $on = 0;On/Off Variable Global $coords;Coords needed to click Hotkeyset("{F1}", "_power");On/Off Key Global $colorswitch = 0 $ID=_MemoryOpen(ProcessExists("game.exe")) $Address=0x01000146 $team=_MemoryRead($Address,$ID) Func _power();On/Off Function If $on = 1 Then $on = 0 Else $on = 1 EndIf EndFunc While 1;Start Loop Sleep(50);Pause If $team = 01 then $BrightMDLS = "0xBB0000"; T $shadowMDLS = "0xFE0000" Elseif $team = 02 then $shadowMDLS = "0x080A32"; CTS $BrightMDLS = "0x0000FE" EndIf If $on = 1 Then If $colorswitch = 0 Then $colorswitch = 1 $coords = PixelSearch(60, 40, 800, 600, $shadowMDLS, 5, 3);Search for cts in shadows If IsArray($coords) Then;Check if we found any MouseClick("Left", $coords[0], $coords[1] + 2, 2, 1);SHOOT! $colorswitch = 0 EndIf EndIf EndIf Sleep(100);Pause If $team = 01 then $BrightMDLS = "0xBB0000"; T $shadowMDLS = "0xFE0000" Elseif $team = 02 then $shadowMDLS = "0x080A32"; CTS $BrightMDLS = "0x0000FE" EndIf If $colorswitch = 1 Then If $on = 1 Then;Only search if its on. $colorswitch = 0 $coords = PixelSearch(60, 40, 800, 600, $BrightMDLS, 70, 3);Search for cts If IsArray($coords) Then;Check if we found any MouseClick("Left", $coords[0], $coords[1] + 2, 2, 1);SHOOT! $colorswitch = 1 EndIf EndIf EndIf Wend regards bluerein Yep. Try this: expandcollapse popup#include <GUIConstants.au3> #include <GUIListBox.au3> #include <Misc.au3> #include <Array.au3> #include <NomadMemory.au3> Global $on = 0;On/Off Variable Global $coords;Coords needed to click HotKeySet("{F1}", "_power");On/Off Key Global $colorswitch = 0 $ID = _MemoryOpen(ProcessExists("game.exe")) $Address = 0x01000146 $team = _MemoryRead($Address, $ID) AdlibEnable("TeamCheck", 1000) ; Runs this every second. Func _power();On/Off Function If $on = 1 Then $on = 0 Else $on = 1 EndIf EndFunc ;==>_power While 1;Start Loop Sleep(50);Pause If $team = 01 Then $BrightMDLS = "0xBB0000"; T $shadowMDLS = "0xFE0000" ElseIf $team = 02 Then $shadowMDLS = "0x080A32"; CTS $BrightMDLS = "0x0000FE" EndIf If $on = 1 Then If $colorswitch = 0 Then $colorswitch = 1 $coords = PixelSearch(60, 40, 800, 600, $shadowMDLS, 5, 3);Search for cts in shadows If IsArray($coords) Then;Check if we found any MouseClick("Left", $coords[0], $coords[1] + 2, 2, 1);SHOOT! $colorswitch = 0 EndIf EndIf EndIf Sleep(100);Pause If $team = 01 Then $BrightMDLS = "0xBB0000"; T $shadowMDLS = "0xFE0000" ElseIf $team = 02 Then $shadowMDLS = "0x080A32"; CTS $BrightMDLS = "0x0000FE" EndIf If $colorswitch = 1 Then If $on = 1 Then;Only search if its on. $colorswitch = 0 $coords = PixelSearch(60, 40, 800, 600, $BrightMDLS, 70, 3);Search for cts If IsArray($coords) Then;Check if we found any MouseClick("Left", $coords[0], $coords[1] + 2, 2, 1);SHOOT! $colorswitch = 1 EndIf EndIf EndIf WEnd Func TeamCheck() $team = _MemoryRead($Address, $ID) EndFunc Also if you decide to get fancy I have a critical component to this memory stuff in my sig(Point down)... RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+' Link to comment Share on other sites More sharing options...
bluerein Posted September 18, 2008 Author Share Posted September 18, 2008 (edited) thanks ...I'll check it out!! EDIT!!! Hmm not working for some reason.... Doesnt change teh color!!?? Edited September 18, 2008 by bluerein Link to comment Share on other sites More sharing options...
bluerein Posted September 18, 2008 Author Share Posted September 18, 2008 sorry Szhlopp ...its works fine....I altered something and forgot to put it back!! Once again thanks and the udf thread will be exactly what I need next .. Regards bluerein Link to comment Share on other sites More sharing options...
Szhlopp Posted September 18, 2008 Share Posted September 18, 2008 sorry Szhlopp ...its works fine....I altered something and forgot to put it back!!Once again thanks and the udf thread will be exactly what I need next ..Regards bluereinWelcome! Enjoy memory hacking!! RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+' Link to comment Share on other sites More sharing options...
helo Posted September 19, 2008 Share Posted September 19, 2008 on topic: is above script work for fps game (first person shooter)? just curious... does autoit could make an aimbot in fps? if yes, i'm maybe start to study autoit script. Link to comment Share on other sites More sharing options...
Ahmad Posted September 19, 2008 Share Posted September 19, 2008 The Above Script won't work for FPS Games, it won't swap youf rom CT to terrorist without losing your weapon ;P if u want to cheat use CheatEngine [center]I want to change the world ...., but I don't have the source code xD[/center] Link to comment Share on other sites More sharing options...
bluerein Posted September 19, 2008 Author Share Posted September 19, 2008 (edited) @helo ..yes its for cs:s and is working fine atm ....needs alot more tweeking yet..the code in post one was just an example .its not the actual script im using ...I use MouseGetPos() for the pixel search so there no messing with res sizes and ive added a fov(field of view) so its quiete nice atm!! @Ahmed .. What are you on about?? No ones swapping teams ..merely swapping what "COLOR" to shoot at via scanning memory address to see which team your on...And why do i need to use cheat engine to cheat ...I'll just use my very own cs:S multi hack (coconup)!! Edited September 19, 2008 by bluerein 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