Register for your free account! | Forgot your password?

You last visited: Today at 14:45

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

Advertisement



[Tut-CodeSnippet] AutoPot

Discussion on [Tut-CodeSnippet] AutoPot within the 12Sky2 Hacks, Bots, Cheats & Exploits forum part of the 12Sky2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2008
Posts: 34
Received Thanks: 4
[Tut-CodeSnippet] AutoPot

Well since everyone around here seems reluctant to release or even explain (due to ignorance or plain greediness) the autopot part of any bot i decided to share the functions i use in my personal bot.

Code:
  
 Func IsAutoPillOn()
		
	$Mem_Open = _MemoryOpen($ProcessID)
	$check = _MemoryRead($APActivate, $Mem_Open) 
		
	_MemoryClose($Mem_Open) 
	 if $check > 0 Then
		 
		return True
	Else
		
		return False
		EndIf	
	EndFunc

Func ActivateAutoPill($HPPercent,$MPPercent)
	$Mem_Open = _MemoryOpen($ProcessID)
	if not @error then
	_MemoryWrite($APActivate,$Mem_Open,1) ;activamos el autopill en el cliente
	_MemoryWrite($APhp,$Mem_Open,$HPPercent) ;configuramos el hp
	_MemoryWrite($APmp,$Mem_Open,$MPPercent) ;configuramos el mp
	_MemoryClose($Mem_Open)
Else
	
	EndIf
	;falta validaciones
	
	EndFunc

Thank me if you find this post useful or not (i really dont see the point tho) i might expand this post adding some of my findings or features on my bot as i see necessary.

Note: use the Nomad memory management unit in your autoit project in order to compile or use my functions.
rhotar is offline  
Thanks
1 User
Old 02/25/2010, 01:44   #2
 
elite*gold: 0
Join Date: Oct 2008
Posts: 58
Received Thanks: 11
Were is eplain i mean how use put maby some no mean xd!
C++ is my pest friend u use onely and realase here autopill xd use just puffs and auto attack to xd!!
Maby i realase here c++ full bot in dll (autopill,buffs,autoattack)
Man autopill can make ewrione here!
corner007 is offline  
Old 03/01/2010, 07:45   #3
 
elite*gold: 0
Join Date: Jul 2008
Posts: 34
Received Thanks: 4
Quote:
Originally Posted by corner007 View Post
Were is eplain i mean how use put maby some no mean xd!
C++ is my pest friend u use onely and realase here autopill xd use just puffs and auto attack to xd!!
Maby i realase here c++ full bot in dll (autopill,buffs,autoattack)
Man autopill can make ewrione here!


semantics? really..
rhotar is offline  
Old 03/02/2010, 00:22   #4
 
elite*gold: 0
Join Date: Oct 2008
Posts: 58
Received Thanks: 11
i mean were is explain to pees how use how complite it.wen its dll then hotkeys and how lanch it xd simple !
corner007 is offline  
Old 03/02/2010, 02:00   #5
 
elite*gold: 0
Join Date: Apr 2007
Posts: 649
Received Thanks: 105
Quote:
Originally Posted by corner007 View Post
i mean were is explain to pees how use how complite it.wen its dll then hotkeys and how lanch it xd simple !
Its for you AutoIt, google for it.
Iktov is offline  
Old 03/02/2010, 23:42   #6
 
elite*gold: 0
Join Date: Dec 2008
Posts: 97
Received Thanks: 4
ohhhh ****~ Yayness~ alright now, when i did this, i was stuck at
Func IsAutoPillOn()

$Mem_Open = _MemoryOpen($ProcessID)
$check = _MemoryRead($APActivate, $Mem_Open)

_MemoryClose($Mem_Open)
if $check > 0 Then

return True
Else

return False
EndIf
EndFunc
_________________________________
After that, i didnt know what to do, but now since you have shared this Info i can move on XD. Well lets see now, where it shows - HPPercent,$MPPercent

Func ActivateAutoPill($HPPercent,$MPPercent)
$Mem_Open = _MemoryOpen($ProcessID)
if not @error then
_MemoryWrite($APActivate,$Mem_Open,1) ;activamos el autopill en el cliente
_MemoryWrite($APhp,$Mem_Open,$HPPercent) ;configuramos el hp
_MemoryWrite($APmp,$Mem_Open,$MPPercent) ;configuramos el mp
_MemoryClose($Mem_Open)
Else

EndIf
;falta validaciones

EndFunc

i put the HP and MP PErcent i want at that part? like 40% 40%.
timeformiles is offline  
Old 03/03/2010, 09:18   #7
 
elite*gold: 0
Join Date: Jul 2008
Posts: 34
Received Thanks: 4
Quote:
Originally Posted by timeformiles View Post
ohhhh ****~ Yayness~ alright now, when i did this, i was stuck at
Func IsAutoPillOn()

$Mem_Open = _MemoryOpen($ProcessID)
$check = _MemoryRead($APActivate, $Mem_Open)

_MemoryClose($Mem_Open)
if $check > 0 Then

return True
Else

return False
EndIf
EndFunc
_________________________________
After that, i didnt know what to do, but now since you have shared this Info i can move on XD. Well lets see now, where it shows - HPPercent,$MPPercent

Func ActivateAutoPill($HPPercent,$MPPercent)
$Mem_Open = _MemoryOpen($ProcessID)
if not @error then
_MemoryWrite($APActivate,$Mem_Open,1) ;activamos el autopill en el cliente
_MemoryWrite($APhp,$Mem_Open,$HPPercent) ;configuramos el hp
_MemoryWrite($APmp,$Mem_Open,$MPPercent) ;configuramos el mp
_MemoryClose($Mem_Open)
Else

EndIf
;falta validaciones

EndFunc

i put the HP and MP PErcent i want at that part? like 40% 40%.

yup but 40% = 4 100%=10

$ProcessID // is a global variable that holds the handle of the game client
$ProcessID=WinGetProcess("TwelveSky2")
$APActivate is the variable that holds the address to activate the autopill in game

$HPPercent and $MPPercent containt the address of the hp and chi value used by the built in autopill function.
rhotar is offline  
Old 03/04/2010, 02:22   #8
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,357
Received Thanks: 1,263


I think my source should still be in that thread. If you look at the autopot on, there should be something similar.
strikeraid is offline  
Old 03/26/2010, 03:05   #9
 
elite*gold: 0
Join Date: Mar 2010
Posts: 42
Received Thanks: 10
How do i make it able to be above 50% Though?
Hafus is offline  
Old 03/26/2010, 13:13   #10
 
elite*gold: 0
Join Date: Jul 2008
Posts: 34
Received Thanks: 4
Quote:
Originally Posted by Hafus View Post
How do i make it able to be above 50% Though?
check megabytes thread about 100% autopill method, he explains what needs to be done.
rhotar is offline  
Old 03/26/2010, 17:11   #11

 
Mega Byte's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,776
Received Thanks: 1,003
lol bet me to posting :P

Yeah i explain what needs to be done so people can follow it after patch I also update it after patch's to help in map fun.

The code is very simple just gota write those bytes to memory and set the Autopill on and the hp and chi amounts to 0-10 for the corosponding % out of 100. Eg 1=10 2=20 3=30 4=40 5=50 6=60 7=70 8=80 9=90 1=100 :P

You guys should be able to understand my 100% autopill method and do it just using cheat engine...
Mega Byte is offline  
Old 03/27/2010, 23:36   #12
 
elite*gold: 0
Join Date: Mar 2010
Posts: 42
Received Thanks: 10
Yes i followed your tutorial but on 3 different computers i get the same error. these are my steps

Open cheat engine
Open 12sky2
Attach process
add autopill addy
add autopillhp addy
turn autopill to 1
turn autopillhp to 5
go in game
right click autopillhp, click find what accesses this address
get prompt to add debugger, click yes
12sky2 closes...

If you know what is wrong could you please help me? ive been trying to get this to work for days
Hafus is offline  
Old 03/28/2010, 04:10   #13
 
elite*gold: 0
Join Date: Apr 2007
Posts: 649
Received Thanks: 105
Quote:
Originally Posted by Hafus View Post
Yes i followed your tutorial but on 3 different computers i get the same error. these are my steps

Open cheat engine
Open 12sky2
Attach process
add autopill addy
add autopillhp addy
turn autopill to 1
turn autopillhp to 5
go in game
right click autopillhp, click find what accesses this address
get prompt to add debugger, click yes
12sky2 closes...

If you know what is wrong could you please help me? ive been trying to get this to work for days
Themida is the problem. You need to enable the options in CheatEngine settings to prevent the debugger from being detected.

Click the "Settings" button highlighted in yellow in the screenshot below(screenshot is small wtf!).

Under "CodeFinder" tick "Try to prevent detection of debugger"
Under "Extra" tick "Use KernelModeDebugger Options when possible". I can't remember but you may need to enable "Enable use of process watcher" first. Now you should be able to use the debugging options in CE without it crashing the game.

You cannot use these options under 64bit AMD systems. Supposedly you can now use them under 64bit Intel systems but I don't know that for sure myself since I only have an AMD machine. Everything always wants to work against me(56).
Attached Images
File Type: jpg ce settings.jpg (8.5 KB, 14 views)
Iktov is offline  
Old 03/28/2010, 05:44   #14
 
afkguy's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 271
Received Thanks: 80
Quote:
Originally Posted by strikeraid View Post


I think my source should still be in that thread. If you look at the autopot on, there should be something similar.
Just look at his source for all the dll injection stuff you want to learn. Just don't straight up rip out his code. Use it to learn how it works or else you wont get far anyway.
afkguy is offline  
Old 03/28/2010, 09:33   #15
 
elite*gold: 0
Join Date: Jul 2008
Posts: 34
Received Thanks: 4
Quote:
Originally Posted by afkguy View Post
Just look at his source for all the dll injection stuff you want to learn. Just don't straight up rip out his code. Use it to learn how it works or else you wont get far anyway.

i also released a code in autoit to use the nomad functions to acomplish the same task, is lost somewhere in the forum D:
rhotar is offline  
Reply


Similar Threads Similar Threads
anyone have autopot
06/13/2010 - Battle of the Immortals - 1 Replies
anyone have autopot so i didn't want to use bot to pvp
[CodeSnippet] Send Chat Packet from dll[Aeria]
03/26/2010 - 12Sky2 Hacks, Bots, Cheats & Exploits - 11 Replies
UPDATE NOTE: The same code may be able to be found here... i can not be bothered looking for it again unless i need it. I will post up if i find it again if i actually look for it tho :) C++ Code for a dll you can inject. void __cdecl SendChat( const char* szText ) { UINT_PTR adr = 0x00412F18; //function address __asm
[Release-CodeSnippet] Patch to attackspeed hack
03/13/2010 - 12Sky2 Hacks, Bots, Cheats & Exploits - 2 Replies
Inspired and based on the job done by MegaByte and Iktov i decided to make a small proggy that can easily be converted to a function in autoit to apply a patch to the code that prevents to use the attackspeed hack. Note: the addresses are taken from this post:http://www.elitepvpers.com/forum/12sky2-hacks- bots-cheats-exploits/487606-release-method-aeria-b ypass-attack-speed-hack-protection.html so the kudos-thx should be directed to the authors of that post. -This patch or...
New autopot
11/15/2008 - SRO Private Server - 4 Replies
http://mysro.cn/dns/mysrobbs/tools/MYSROFZ.rar This Autopot works when sro is minimized, but you still have to put the pots in your skill bar. http://www.virustotal.com/de/analisis/a5e059a1432 ec3596298971bb1a39225 Using by ur OWN risk



All times are GMT +2. The time now is 14:45.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.