Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

keep scanning memory address


  • Please log in to reply
7 replies to this topic

#1 bluerein

bluerein

    Adventurer

  • Active Members
  • PipPip
  • 128 posts

Posted 18 September 2008 - 02:34 PM

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!



Plain Text         
#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 by bluerein, 18 September 2008 - 02:36 PM.








#2 Szhlopp

Szhlopp

    DC Talk JF

  • Active Members
  • PipPipPipPipPipPip
  • 469 posts

Posted 18 September 2008 - 03:43 PM

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!



Plain Text         
#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:

AutoIt         
#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)... :)

#3 bluerein

bluerein

    Adventurer

  • Active Members
  • PipPip
  • 128 posts

Posted 18 September 2008 - 04:40 PM

thanks ...I'll check it out!!

EDIT!!!

Hmm not working for some reason....

Doesnt change teh color!!??

Edited by bluerein, 18 September 2008 - 04:46 PM.


#4 bluerein

bluerein

    Adventurer

  • Active Members
  • PipPip
  • 128 posts

Posted 18 September 2008 - 06:16 PM

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

#5 Szhlopp

Szhlopp

    DC Talk JF

  • Active Members
  • PipPipPipPipPipPip
  • 469 posts

Posted 18 September 2008 - 06:30 PM

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


Welcome! Enjoy memory hacking!! :)

#6 helo

helo

    Seeker

  • New Members
  • 1 posts

Posted 19 September 2008 - 12:42 PM

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.

#7 Ahmad

Ahmad

    Seeker

  • Active Members
  • 14 posts

Posted 19 September 2008 - 12:58 PM

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

I want to change the world ...., but I don't have the source code xD


#8 bluerein

bluerein

    Adventurer

  • Active Members
  • PipPip
  • 128 posts

Posted 19 September 2008 - 08:46 PM

@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 by bluerein, 19 September 2008 - 08:57 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users