Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > 12Sky2 > 12Sky2 Hacks, Bots, Cheats & Exploits
You last visited: Today at 05:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE] AutoPot without memory addresses

Discussion on [RELEASE] AutoPot without memory addresses within the 12Sky2 Hacks, Bots, Cheats & Exploits forum part of the 12Sky2 category.

Reply
 
Old 06/21/2009, 06:04   #16
 
elite*gold: 0
Join Date: Jun 2009
Posts: 17
Received Thanks: 26
Quote:
Originally Posted by botmasterek View Post
not really ...., they was like few thousands and i put hp 2580 and mp 520 or something like this ... than sorry ...
No don't change it to how much HP and MP you have, it's based on pixel coordinates, not the number of HP/ MP your character has. If you changed it to the number of HP/ MP you have, it's looking for your HP bar off the screen xD
Jinong81 is offline  
Old 06/21/2009, 14:49   #17
 
elite*gold: 0
Join Date: May 2007
Posts: 336
Received Thanks: 13
Quote:
Originally Posted by Jinong81 View Post
No don't change it to how much HP and MP you have, it's based on pixel coordinates, not the number of HP/ MP your character has. If you changed it to the number of HP/ MP you have, it's looking for your HP bar off the screen xD
ok it work now xD

hey what % for hp is there and how to change it ?
botmasterek is offline  
Old 06/22/2009, 03:51   #18
 
elite*gold: 0
Join Date: Jun 2009
Posts: 17
Received Thanks: 26
- To increase or decrease the amount of damage you take before using a
pill, find the line that says:
HP_Result := FindColor(X, Y, Health, 135, 0, 200, 40);
Changing the number 135 to 150 for example will make you use a pill
when your Health bar is at about 50%. Likewise, lowering the number
will have the opposite effect. It works the same way with
"Chi_Result := FindColor()". Do not modify any of the other numbers
in those lines unless you know what you're doing and need to modify
them for whatever reason
Jinong81 is offline  
Old 06/22/2009, 08:49   #19
 
elite*gold: 0
Join Date: May 2007
Posts: 336
Received Thanks: 13
Quote:
Originally Posted by Jinong81 View Post
- HP_Result := FindColor(X, Y, Health, 135, 0, 200, 40);
Changing the number 135 to 150 for example will make you use a pill
when your Health bar is at about 50%.
can u explain it more clearly ? xD

u mean this 135 is 50% of hp or what O.o
botmasterek is offline  
Old 06/23/2009, 04:50   #20
 
elite*gold: 0
Join Date: May 2008
Posts: 133
Received Thanks: 9
Ive been taught coding in school before but im very noob at it. I know how to read it, but still fail at coding. I am trying to get deadly avalanche working as an auto cast. Tell me if im going completely wrong about this.

The part where you are declaring variables would i insert:
Code:
Deadly Avalanche = 'W';                 // AOE skill to auto cast
Then would after the health check is done would i insert something like this:
Code:
if (Dead = false) then  // If a new map is not loading and your character is not dead, start checking HP and Chi
    begin
      HP_Result := FindColor(X, Y, Health, 135, 0, 200, 40);  // Find out if HP is good
      if (HP_Result = false) then
      begin
        Result := 1;  // If HP color is not found, return 1
      end;
      if (hp_result = false) then
         begin to autocast 'W'   // HERE I KNOW ITS A MISTAKE i dont know the code for here lol
         end:
      if (HP_Result = true) then  // As long as HP is OK, check Chi
      begin
         if (hp_result = true) then
         begin to autocast 'W'   // HERE I KNOW ITS A MISTAKE i dont know the code for here lol
         end:
        MP_Result := FindColor(X, Y, Chi, 100, 0, 200, 40);  // Find out if Chi is good
        if (MP_Result = false) then
        begin
          Result := 2;  // If Chi color is not found, return 2
	if (MP_Result = false) then
	begin to autocast 'W'   // Same thing needs editing
	end;
      end;
     end;
   end;

Id love to help you develope this code further, but yeah im a noob at coding so i need some tutorials to read.
XiaoBao is offline  
Old 06/23/2009, 21:28   #21
 
elite*gold: 0
Join Date: Jun 2009
Posts: 42
Received Thanks: 6
compare with AutoIt, does this program do a better job?
andrewfam is offline  
Old 06/24/2009, 17:11   #22
 
elite*gold: 0
Join Date: Jun 2009
Posts: 17
Received Thanks: 11
Thumbs up

I use both, SCAR+AutoIt.
Thanks to Jinong81 for the autopot.

Bot -> skill (buton), loot (buton), revive (hack), autotarget (pixelsearch)
ah! leave the char on the mob spot first :P
this bot doesn't wait for any thing, so try to don't teleport with it activated :P
EDIT: Translated and better commented.
EDIT2: Added atck speed hack and run speed hack buttons :P ->atck speed doesn't get freezed on 100, and the buttons only works before the BOT button.
EDIT3: Added more hotkeys -> works before BOT button.
EDIT4: Scan from bottom to top to get the near mob first :P , autoOpen the autopot script made by Jinong81 :3 (read the bottom of this post).
EDIT5: Scan from bottom tested.

ToDo:
- Freeze atck spd
- Fix Hotkeys
- Add a button to stop the bot without closing it :P
- Add more stuff, like multiple mob attacking, NPC selling (gate master), etc.


Code:
;Ok, here is the code...
;This bot was build to bot with the following conditions:
; i.- Jinong-Female char ; ii.- Aeria games ; iii.- F1-Loot, F4 skill, F9 to exit.
; iv.- Red mob ; v.- R55 mob
;This bot uses action hack to revive.
; Special thanks to UPSman2, I used some of his code :P  : http://www.elitepvpers.com/forum/co2-guides-templates/118159-autoit-memory-address.html
; Made by me, Kesawea. (don't PM me questions about the code, unless u have made a contribution on this thread)
; Translated to english (and add some comments) because XiaoBao requested.

#include <GUIConstants.au3>
#include <NomadMemory.au3> ;because you need this for _memread functions
#include <Process.au3> ; to write on a DOS console.

HotKeySet("{F9}", "MyExit") ;Hit F9 to exit the script.
HotKeySet("{F10}", "FAtckspeed") ;Hit F10 to apply atck hack.
HotKeySet("{F11}", "FRunspeed") ;Hit F11 to apply run hack.

GUICreate("12Sky2",-1,150)

$Button_1 = GUICtrlCreateButton ("BOT", 10, 20, 150)
$Button_2 = GUICtrlCreateButton ("Revive!", 160, 20, 80)
$Button_3 = GUICtrlCreateButton ("Hack Attack spd on 100% (F10)", 160, 70, 160)
$Button_4 = GUICtrlCreateButton ("Hack Run spd on 50% (F11)", 160, 120, 160)
$Label_1 = GUICtrlCreateLabel("(Nš of times ressurected)",160, 0) ; Just to show how many times u died.

GUISetState ()
;the window to get PID
$Process1 = WinGetProcess("TwelveSky2")
Const $accion = 0x00C85D17, $revive = 1, $muerte1 = 6556776, $muerte2 = 3072, $muerte3 = 6556712, $muerte4 = 6556904, $muerte5 = 6556840 ; Death = muerte xD (those are the values of the animation addss. when this char dies, there might be more)
Const $nada[3] = [0,0,1], $sCommand = "start C:\autopot"
Global $contador = 1, $xTop = 5, $yTop = 82, $xBot = 1023, $yBot = 736, $mobGreen = "0x5C5672", $contador2 = 0, $x, $y  ; contador = counter, mobgreen = mob color
Global $atkspdA = 0x00C85D73, $runspdA = 0x00C60770, $atkspd = 100, $runspd = 50, $comodin[3] = [0,0,1], $coord[2] = [0,0], $coordm[3] = [0,0,0]

; _RunDOS ( $sCommand ) ; runs the autopot script :P
While 1   ;main loop
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE ; this doesn't work when you activate the bot.
            ExitLoop
		
		Case $msg = $Button_1 ; on click button "BOT", do:
			while 1
			buscamob()
			loot()
			revive()
			Wend
		Case $msg = $Button_2 ;Force ressurection, but doesn't work when the char dies in the loop execut. (for that it's the "revive()" funct)
			$Mem_Open = _MemoryOpen($Process1)
			_MemoryWrite($accion, $Mem_Open, $revive)
			_MemoryClose($Mem_Open) ;close it afterwards
			GUICtrlSetData($Label_1,$contador) ; sets label to value of read memory
			$contador = $contador + 1
		Case $msg = $Button_3  ;Atck Speed hack
			$Mem_Open = _MemoryOpen($Process1)
			_MemoryWrite($atkspdA, $Mem_Open, $atkspd)
			_MemoryClose($Mem_Open) ;close it afterwards
		Case $msg = $Button_4 ; Moving speed hack
			$Mem_Open = _MemoryOpen($Process1)
			_MemoryWrite($runspdA, $Mem_Open, $runspd)
			_MemoryClose($Mem_Open) ;close it afterwards
			
	EndSelect
Wend

Func ataca() ; Attack Function
	$vivo2 = estavivo()
	While $vivo2 = "1"
		Send("{F4 down}")
		Sleep(100)
		Send("{F4 up}")
		$vivo2 = estavivo()
	WEnd
EndFunc
	
Func loot() ; Loot Function
	Send("{F1 down}")
	Sleep(100)
	Send("{F1 up}")
	Send("{F1 down}")
	Sleep(100)
	Send("{F1 up}")
	Send("{F1 down}")
	Sleep(100)
	Send("{F1 up}")
	Send("{F1 down}")
	Sleep(100)
	Send("{F1 up}")
	Send("{F1 down}")
	Sleep(100)
	Send("{F1 up}")
	Send("{F1 down}")
	Sleep(100)
	Send("{F1 up}")
EndFunc
Func estavivo() ; checks if the mob is alive/sellected , esta vivo = it's ALIVE! xDDD
	PixelSearch(456, 36, 531, 49,"0xFF0000",2)
	$r=@error
	if Not @error Then
		Return ("1")
	Else
		Return ("2")
	EndIf
EndFunc

Func revive() ; revive = resurrects
	$Mem_Open = _MemoryOpen($Process1)
	$check = _MemoryRead($accion, $Mem_Open) ;reads value at memory address
	_MemoryClose($Mem_Open) ;close it afterwards
	If $check = $muerte1 Or $check = $muerte2 Or $check = $muerte3 Or $check = $muerte4 Or $check = $muerte5 Then ;if it dies with any of this animations.
		$Mem_Open = _MemoryOpen($Process1)
		_MemoryWrite($accion, $Mem_Open, $revive)
		_MemoryClose($Mem_Open) ;close it afterwards
		GUICtrlSetData($Label_1,$contador) ; sets label to value of read memory
		$contador = $contador + 1
	EndIf
EndFunc


Func buscamob() ;Auto clicking function.
	$coordm = bottomtotop()
	If $coordm[2] = 0 Then; If the pixel color was found, then:
		while $coordm[2] = 0  ;Mientras el pixel exista, hace:
			$x = Random($coordm[0], $coordm[0]+10, 1) ; random for randomness xDD (make click around the original coord).
			$y = Random($coordm[1], $coordm[1]+10, 1)
			MouseClick("left", $x, $y, 1, 0);  Click on the coords obtained on the previous lines.
			$vivo = estavivo()
			Sleep(500)
			If $vivo = "1" Then  ; CHecks if the mob is selected.
					ExitLoop   ; If it's true then exit the loop
			EndIf
			$coordm = bottomtotop()
			revive()
		wend
		If $vivo = "1" Then  ; checks again if the mob is selected.
			while $vivo = "1" ; while the mob it's selected, do:
				ataca()
				$vivo = estavivo()
			wend
			$contador2 = 0
		Else
			$contador2 = $contador2 + 1
			If $contador2 = 8 Then ; if i fool around with a pixel in the ground that looks like the mob color, do...
				MouseClickDrag("left", 515, 388, 352, 388, 6) ; turns the camera to the right.
				MouseClick("left", $x, $y, 1, 0) ; move to the last position of the mouse, I whould disable this if the char gets too far.
			EndIf
			revive()
		EndIf
	Else  ; if there is no mob then...
		MouseClickDrag("right", 515, 388, 352, 388, 6) ; turns the camera to the left.
	Endif
EndFunc

Func MyExit() ; What does the F9? -> exit
    Exit 
EndFunc 	

Func FAtckspeed() ; What does the F10? -> atck speed
	$Mem_Open = _MemoryOpen($Process1)
	_MemoryWrite($atkspdA, $Mem_Open, $atkspd)
	_MemoryClose($Mem_Open) ;close it afterwards
EndFunc

Func FRunspeed() ; What does the F11? ->  Run speed
	$Mem_Open = _MemoryOpen($Process1)
	_MemoryWrite($runspdA, $Mem_Open, $runspd)
	_MemoryClose($Mem_Open) ;close it afterwards
EndFunc

Func bottomtotop() ; i search for the mob with $mobGreen color with a tolerance of 5
	$ymov = 732
	While 1
		$coord = PixelSearch($xTop,$ymov,$xBot,$yBot,$mobGreen,5)
		$n = @error
		If Not @error Then
			$comodin[0] = $coord[0]
			$comodin[1] = $coord[1]
			$comodin[2] = 0
			Return $comodin
		Else
			$ymov = $ymov - 10
			If $ymov = $yTop Then
				Return $nada
			EndIf
		EndIf
	WEnd
EndFunc
To make the Autopot works u need to make a file on the C:\ with the name "autopot.bat" with the following lines inside (the autpot script i have it's named autopotTS2.scar and its located on the Scripts folder of the SCAR root):
Code:
cd "C:\Archivos de programa\SCAR 3.20"
scar.exe -open scripts\autopotTS2.scar -run



I u wan't to PM me a question about this script, post a hack contribution here first.
GL, ^_^
kesawea is offline  
Thanks
3 Users
Old 06/24/2009, 19:40   #23
 
elite*gold: 0
Join Date: May 2008
Posts: 133
Received Thanks: 9
Can this code be used in scar? On a different note. When i played Conquer Online 2 I used auto clicky, would that work with 12 sky to auto cast skills anyone know?

Edit: Having troubles reading the code because its written in a spanish would be my guess? with little of english.?
XiaoBao is offline  
Old 06/24/2009, 22:07   #24
 
elite*gold: 0
Join Date: Jun 2009
Posts: 17
Received Thanks: 11
Thumbs up

Quote:
Originally Posted by XiaoBao View Post
Can this code be used in scar? On a different note. When i played Conquer Online 2 I used auto clicky, would that work with 12 sky to auto cast skills anyone know?

Edit: Having troubles reading the code because its written in a spanish would be my guess? with little of english.?
I edited the last post :3
look at it
kesawea is offline  
Old 06/25/2009, 02:59   #25
 
elite*gold: 0
Join Date: May 2008
Posts: 133
Received Thanks: 9
I think i got it thanks for translating now ama go try to figure this thing out. Good stuff !!

Edit: So i got it to work but i think i didnt change something cause the bot went haywire on me ill see how it will be done.
XiaoBao is offline  
Old 06/25/2009, 21:38   #26
 
elite*gold: 0
Join Date: Jun 2009
Posts: 42
Received Thanks: 6
Thanks Jinong81 and kesawea, this is so wonderful.

@kesawea: What is the revive button for? Does it resurrect at the char's death spot or at the entrance of the zone?
andrewfam is offline  
Old 06/26/2009, 07:15   #27
 
elite*gold: 0
Join Date: Jun 2009
Posts: 17
Received Thanks: 11
Quote:
Originally Posted by andrewfam View Post
Thanks Jinong81 and kesawea, this is so wonderful.

@kesawea: What is the revive button for? Does it resurrect at the char's death spot or at the entrance of the zone?
yes, at the spot. Doesn't work while the bot loop it's running though.

Change $accionA for the new action address, and $muerte# for the values that your char does when it dies :P, that way you will be autoressurcted by the bot

GL ^_^
kesawea is offline  
Old 06/26/2009, 09:10   #28
 
tri407tiny's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 620
Received Thanks: 272
Quote:
Originally Posted by kesawea View Post
I use both, SCAR+AutoIt.
Thanks to Jinong81 for the autopot.

Bot -> skill (buton), loot (buton), revive (hack), autotarget (pixelsearch)
ah! leave the char on the mob spot first :P
this bot doesn't wait for any thing, so try to don't teleport with it activated :P
EDIT: Translated and better commented.
EDIT2: Added atck speed hack and run speed hack buttons :P ->atck speed doesn't get freezed on 100, and the buttons only works before the BOT button.
EDIT3: Added more hotkeys -> works before BOT button.
EDIT4: Scan from bottom to top to get the near mob first :P , autoOpen the autopot script made by Jinong81 :3 (read the bottom of this post).
EDIT5: Scan from bottom tested.

ToDo:
- Freeze atck spd
- Fix Hotkeys
- Add a button to stop the bot without closing it :P
- Add more stuff, like multiple mob attacking, NPC selling (gate master), etc.


Code:
;Ok, here is the code...
;This bot was build to bot with the following conditions:
; i.- Jinong-Female char ; ii.- Aeria games ; iii.- F1-Loot, F4 skill, F9 to exit.
; iv.- Red mob ; v.- R55 mob
;This bot uses action hack to revive.
; Special thanks to UPSman2, I used some of his code :P  : http://www.elitepvpers.com/forum/co2-guides-templates/118159-autoit-memory-address.html
; Made by me, Kesawea. (don't PM me questions about the code, unless u have made a contribution on this thread)
; Translated to english (and add some comments) because XiaoBao requested.

#include <GUIConstants.au3>
#include <NomadMemory.au3> ;because you need this for _memread functions
#include <Process.au3> ; to write on a DOS console.

HotKeySet("{F9}", "MyExit") ;Hit F9 to exit the script.
HotKeySet("{F10}", "FAtckspeed") ;Hit F10 to apply atck hack.
HotKeySet("{F11}", "FRunspeed") ;Hit F11 to apply run hack.

GUICreate("12Sky2",-1,150)

$Button_1 = GUICtrlCreateButton ("BOT", 10, 20, 150)
$Button_2 = GUICtrlCreateButton ("Revive!", 160, 20, 80)
$Button_3 = GUICtrlCreateButton ("Hack Attack spd on 100% (F10)", 160, 70, 160)
$Button_4 = GUICtrlCreateButton ("Hack Run spd on 50% (F11)", 160, 120, 160)
$Label_1 = GUICtrlCreateLabel("(Nš of times ressurected)",160, 0) ; Just to show how many times u died.

GUISetState ()
;the window to get PID
$Process1 = WinGetProcess("TwelveSky2")
Const $accion = 0x00C85D17, $revive = 1, $muerte1 = 6556776, $muerte2 = 3072, $muerte3 = 6556712, $muerte4 = 6556904, $muerte5 = 6556840 ; Death = muerte xD (those are the values of the animation addss. when this char dies, there might be more)
Const $nada[3] = [0,0,1], $sCommand = "start C:\autopot"
Global $contador = 1, $xTop = 5, $yTop = 82, $xBot = 1023, $yBot = 736, $mobGreen = "0x5C5672", $contador2 = 0, $x, $y  ; contador = counter, mobgreen = mob color
Global $atkspdA = 0x00C85D73, $runspdA = 0x00C60770, $atkspd = 100, $runspd = 50, $comodin[3] = [0,0,1], $coord[2] = [0,0], $coordm[3] = [0,0,0]

; _RunDOS ( $sCommand ) ; runs the autopot script :P
While 1   ;main loop
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE ; this doesn't work when you activate the bot.
            ExitLoop
		
		Case $msg = $Button_1 ; on click button "BOT", do:
			while 1
			buscamob()
			loot()
			revive()
			Wend
		Case $msg = $Button_2 ;Force ressurection, but doesn't work when the char dies in the loop execut. (for that it's the "revive()" funct)
			$Mem_Open = _MemoryOpen($Process1)
			_MemoryWrite($accion, $Mem_Open, $revive)
			_MemoryClose($Mem_Open) ;close it afterwards
			GUICtrlSetData($Label_1,$contador) ; sets label to value of read memory
			$contador = $contador + 1
		Case $msg = $Button_3  ;Atck Speed hack
			$Mem_Open = _MemoryOpen($Process1)
			_MemoryWrite($atkspdA, $Mem_Open, $atkspd)
			_MemoryClose($Mem_Open) ;close it afterwards
		Case $msg = $Button_4 ; Moving speed hack
			$Mem_Open = _MemoryOpen($Process1)
			_MemoryWrite($runspdA, $Mem_Open, $runspd)
			_MemoryClose($Mem_Open) ;close it afterwards
			
	EndSelect
Wend

Func ataca() ; Attack Function
	$vivo2 = estavivo()
	While $vivo2 = "1"
		Send("{F4 down}")
		Sleep(100)
		Send("{F4 up}")
		$vivo2 = estavivo()
	WEnd
EndFunc
	
Func loot() ; Loot Function
	Send("{F1 down}")
	Sleep(100)
	Send("{F1 up}")
	Send("{F1 down}")
	Sleep(100)
	Send("{F1 up}")
	Send("{F1 down}")
	Sleep(100)
	Send("{F1 up}")
	Send("{F1 down}")
	Sleep(100)
	Send("{F1 up}")
	Send("{F1 down}")
	Sleep(100)
	Send("{F1 up}")
	Send("{F1 down}")
	Sleep(100)
	Send("{F1 up}")
EndFunc
Func estavivo() ; checks if the mob is alive/sellected , esta vivo = it's ALIVE! xDDD
	PixelSearch(456, 36, 531, 49,"0xFF0000",2)
	$r=@error
	if Not @error Then
		Return ("1")
	Else
		Return ("2")
	EndIf
EndFunc

Func revive() ; revive = resurrects
	$Mem_Open = _MemoryOpen($Process1)
	$check = _MemoryRead($accion, $Mem_Open) ;reads value at memory address
	_MemoryClose($Mem_Open) ;close it afterwards
	If $check = $muerte1 Or $check = $muerte2 Or $check = $muerte3 Or $check = $muerte4 Or $check = $muerte5 Then ;if it dies with any of this animations.
		$Mem_Open = _MemoryOpen($Process1)
		_MemoryWrite($accion, $Mem_Open, $revive)
		_MemoryClose($Mem_Open) ;close it afterwards
		GUICtrlSetData($Label_1,$contador) ; sets label to value of read memory
		$contador = $contador + 1
	EndIf
EndFunc


Func buscamob() ;Auto clicking function.
	$coordm = bottomtotop()
	If $coordm[2] = 0 Then; If the pixel color was found, then:
		while $coordm[2] = 0  ;Mientras el pixel exista, hace:
			$x = Random($coordm[0], $coordm[0]+10, 1) ; random for randomness xDD (make click around the original coord).
			$y = Random($coordm[1], $coordm[1]+10, 1)
			MouseClick("left", $x, $y, 1, 0);  Click on the coords obtained on the previous lines.
			$vivo = estavivo()
			Sleep(500)
			If $vivo = "1" Then  ; CHecks if the mob is selected.
					ExitLoop   ; If it's true then exit the loop
			EndIf
			$coordm = bottomtotop()
			revive()
		wend
		If $vivo = "1" Then  ; checks again if the mob is selected.
			while $vivo = "1" ; while the mob it's selected, do:
				ataca()
				$vivo = estavivo()
			wend
			$contador2 = 0
		Else
			$contador2 = $contador2 + 1
			If $contador2 = 8 Then ; if i fool around with a pixel in the ground that looks like the mob color, do...
				MouseClickDrag("left", 515, 388, 352, 388, 6) ; turns the camera to the right.
				MouseClick("left", $x, $y, 1, 0) ; move to the last position of the mouse, I whould disable this if the char gets too far.
			EndIf
			revive()
		EndIf
	Else  ; if there is no mob then...
		MouseClickDrag("right", 515, 388, 352, 388, 6) ; turns the camera to the left.
	Endif
EndFunc

Func MyExit() ; What does the F9? -> exit
    Exit 
EndFunc 	

Func FAtckspeed() ; What does the F10? -> atck speed
	$Mem_Open = _MemoryOpen($Process1)
	_MemoryWrite($atkspdA, $Mem_Open, $atkspd)
	_MemoryClose($Mem_Open) ;close it afterwards
EndFunc

Func FRunspeed() ; What does the F11? ->  Run speed
	$Mem_Open = _MemoryOpen($Process1)
	_MemoryWrite($runspdA, $Mem_Open, $runspd)
	_MemoryClose($Mem_Open) ;close it afterwards
EndFunc

Func bottomtotop() ; i search for the mob with $mobGreen color with a tolerance of 5
	$ymov = 732
	While 1
		$coord = PixelSearch($xTop,$ymov,$xBot,$yBot,$mobGreen,5)
		$n = @error
		If Not @error Then
			$comodin[0] = $coord[0]
			$comodin[1] = $coord[1]
			$comodin[2] = 0
			Return $comodin
		Else
			$ymov = $ymov - 10
			If $ymov = $yTop Then
				Return $nada
			EndIf
		EndIf
	WEnd
EndFunc
To make the Autopot works u need to make a file on the C:\ with the name "autopot.bat" with the following lines inside (the autpot script i have it's named autopotTS2.scar and its located on the Scripts folder of the SCAR root):
Code:
cd "C:\Archivos de programa\SCAR 3.20"
scar.exe -open scripts\autopotTS2.scar -run



I u wan't to PM me a question about this script, post a hack contribution here first.
GL, ^_^



to disable the bot you should add a check box, or radio

Code:
Func Protect()
	 While 1

If BitAnd(GUICtrlRead($Checkbox1), $GUI_CHECKED) = $GUI_CHECKED Then
            GUICtrlSetState($Slider2, $GUI_DISABLE)
            GUICtrlSetState($Slider1, $GUI_DISABLE)
            GUICtrlSetState($Radio1, $GUI_ENABLE)
            GUICtrlSetState($Radio2, $GUI_ENABLE)
            GUICtrlSetState($Radio3, $GUI_ENABLE)
            GUICtrlSetState($Radio4, $GUI_ENABLE)
        Else
            GUICtrlSetState($Slider2, $GUI_ENABLE)
            GUICtrlSetState($Slider1, $GUI_ENABLE)
            GUICtrlSetState($Radio1, $GUI_DISABLE)
            GUICtrlSetState($Radio2, $GUI_DISABLE)
            GUICtrlSetState($Radio3, $GUI_DISABLE)
            GUICtrlSetState($Radio4, $GUI_DISABLE)
        EndIf
 WEnd
 EndFunc
(Edit it to fit what you have, )


for freezing a value use this

Code:
Func SpeedHackFreeze()
	SetPrivilege("SeDebugPrivilege", 1)
	$ID = _MemoryOpen(ProcessExists("TwelveSky2.exe"))
	_MemoryWrite($SpeedAddy, $ID, 200)
	While 1       
     SpeedHackFreeze()
	Wend
 _MemoryClose($ID) 
 EndFunc
(edit AS needed)

or this

Code:
Func RadioSpeed1()
    SetPrivilege("SeDebugPrivilege", 1)
    $ID = _MemoryOpen(ProcessExists("TwelveSky2.exe"))
    If BitAnd(GUICtrlRead($Radio1), $GUI_CHECKED) = $GUI_CHECKED  Then
        _MemoryWrite($ClickToTele, $ID, 0)
    EndIf
    _MemoryClose($ID)
EndFunc
(Edit as needed)



i assumed you know what your doing so i just thru some of my old code from an old bot in their, assuming you know what includes are needed*nomad** and such ty, +rep if helped
tri407tiny is offline  
Thanks
1 User
Old 06/26/2009, 11:13   #29
 
Deadman88's Avatar
 
elite*gold: 20
Join Date: Aug 2008
Posts: 1,227
Received Thanks: 132
kesawae can u upload u bot?
Deadman88 is offline  
Old 06/26/2009, 15:21   #30
 
elite*gold: 0
Join Date: May 2008
Posts: 133
Received Thanks: 9
He will not, because most people here wont give out bots to people who dont have any basic knowledge of coding. They have posted the programs they used to compile the scrip and run it. So now you can download them for free and complile the script to run it . + Its honestly takes like 1 second to do it.
XiaoBao is offline  
Reply


Similar Threads Similar Threads
[New Release] MHS-AutoPot-PW v1.0 (Memory Country Customizer And Source Code)
01/08/2012 - PW Hacks, Bots, Cheats, Exploits - 13 Replies
MHS-AutoPot-PW v1.0 With Country Memory Customizer And Source Code ================================================= = (English) This release is default configured to Perfect World (Brazil). If you want to adjust to your country the Perfect World application title, memory base address and memory offsets to find Target, HP, Max HP, Max MP please see read notes for CustomOffSets.ini. You can try to find the memory addresses using softwares like Cheat Engine (memory searchers). This...
AutoPot Addresses
02/02/2010 - 12Sky2 Hacks, Bots, Cheats & Exploits - 2 Replies
FD5824 -> Activate AutoPot FD5828 -> Accepts value from 0-5(0%-50%) for HP FD582C -> Accepts value from 0-5(0%-50%) for Chi Very easy to code a trainer from here with no programming knowledge or just simply place them into CE and lock the values. Hit thanks if it helps. Or not whatever I don't care anymore.
[Release] Mayn Autopot Addresses 9/3/09
09/04/2009 - 12Sky2 Hacks, Bots, Cheats & Exploits - 7 Replies
Because nguyenson933 decided to highjack my post and give the idiot leechers speed hacks so they can bring attention to us...Unless his post is deleted... That will be my final straw...I had told strikeraid today that I liked helping too much to just sit back and do nothing...but if this is what happens........"shrug" fend for yourselves from now on....Again. I tried to be nice>.> nguyenson933 you are part of the reason of why strikeraid put access lvls on his AOI and why Trin is trying...



All times are GMT +1. The time now is 05:44.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.