Register for your free account! | Forgot your password?

You last visited: Today at 23:21

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

Advertisement



autobuffs

Discussion on autobuffs within the 12Sky2 Hacks, Bots, Cheats & Exploits forum part of the 12Sky2 category.

Reply
 
Old 09/15/2010, 19:18   #16
 
elite*gold: 0
Join Date: Aug 2009
Posts: 259
Received Thanks: 18
Quote:
Originally Posted by quoctinh View Post
Global $pos, $off_def_x_pos,$off_def_y_pos,$common_x_pos,$commo n_y_pos,$buff_key1,$buff_key2,$buff_key1_down,$buf f_key1_up,$buff_key2_down,$buff_key2_up
Global $buff_colour,$common_colour,$n,$dragonfall_x,$drag onfall_y,$dmg_status_x,$dmg_status_y,$plus_dmg,$mi nus_dmg,$dragonfall

;colours
Global $df,$plus_hsb,$minus_hsb
HotKeySet("{F2}", "Start")
HotKeySet("{DEL}","Terminate")
$n=0
TogglePause()
Func Start()
HotKeySet("{F2}", "TogglePause")
ToolTip('Auto buffs/pick On: F2 to Pause, DEL to Quit',120, 75)
$buff_key1=IniRead ("Settings.ini", "BUFFS","buff_key1","")
$buff_key2=IniRead ("Settings.ini", "BUFFS","buff_key2","")
$df=IniRead ("Settings.ini", "COLOURS","df","")
$plus_hsb=IniRead ("Settings.ini", "COLOURS","plus_hsb","")
$minus_hsb=IniRead ("Settings.ini", "COLOURS","minus_hsb","")
If WinWaitActive("TwelveSky2") >0 Then
If $n<1 Then
;call function to check if DF and HSB status
DF_HSB_Check()

;def/off buff
$buff_key1_down = "{" & $buff_key1 & " down}"
$buff_key1_up = "{" & $buff_key1 & " up}"
Send($buff_key1_down)
Sleep(2500)
Send($buff_key1_up)
Sleep(100)

;common buff
$buff_key2_down = "{" & $buff_key2 & " down}"
$buff_key2_up = "{" & $buff_key2 & " up}"
Send($buff_key2_down)
Sleep(2500)
Send($buff_key2_up)
Sleep(100)
$common_colour = 0 & "x" & Hex(PixelGetColor($common_x_pos+$pos[0],$common_y_pos+$pos[1]),6)
$buff_colour = 0 & "x" & Hex(PixelGetColor($off_def_x_pos+$pos[0], $off_def_y_pos+$pos[1]),6)
EndIf
EndIf
While 1
$n=1
If WinWaitActive("TwelveSky2") >0 Then
;call function to check if DF and HSB status
DF_HSB_Check()

;call function to buff offensive or defensive skill
OBDB()

;call function to buff common skill
Common_Buff()
EndIf
Sleep(1000)
WEnd
EndFunc

;Pause game
Func TogglePause()
ToolTip('Auto buffs/pick off: Press F2 to Start, DEL to Quit',120, 75)
HotKeySet("{F2}", "Start")
While 1
sleep(100)
WEnd
EndFunc

Func Terminate()
Exit 0
EndFunc

;Offensive/Defensive Buff
Func OBDB()
Local $OBDB_buff
$buff_key1_down = "{" & $buff_key1 & " down}"
$buff_key1_up = "{" & $buff_key1 & " up}"
$OBDB_buff = PixelSearch($off_def_x_pos+$pos[0], $off_def_y_pos+$pos[1], $off_def_x_pos+1+$pos[0], $off_def_y_pos+1+$pos[1], $buff_colour)
If $OBDB_buff=1 Then ;color not found
Send($buff_key1_down)
Sleep(2400)
Send($buff_key1_up)
Sleep(100)
EndIf
EndFunc

;Common Buff
Func Common_Buff()
Local $CB
$buff_key2_down = "{" & $buff_key2 & " down}"
$buff_key2_up = "{" & $buff_key2 & " up}"
$CB = PixelSearch($common_x_pos+$pos[0], $common_y_pos+$pos[1], $common_x_pos+1+$pos[0], $common_y_pos+1+$pos[1], $common_colour)
If $CB=1 Then ;color not found
Send($buff_key2_down)
Sleep(2400)
Send($buff_key2_up)
Sleep(100)
EndIf
EndFunc

;function for check DF and HSB status
Func DF_HSB_Check()
$pos = WinGetPos("[active]")
If $pos[2]=1030 And $pos[3]=796 Then
$dragonfall_x=245
$dragonfall_y=34
$off_def_y_pos=39
$common_y_pos=31
$dmg_status_y=36
ElseIf $pos[2]=1030 And $pos[3]=800 Then
$dragonfall_x=245
$dragonfall_y=38
$off_def_y_pos=43
$common_y_pos=35
$dmg_status_y=40
Else
$dragonfall_x=242
$dragonfall_y=9
$off_def_y_pos=14
$common_y_pos=6
$dmg_status_y=11
EndIf
$dragonfall=PixelSearch($dragonfall_x+$pos[0], $dragonfall_y+$pos[1], $dragonfall_x+1+$pos[0], $dragonfall_y+1+$pos[1], $df)
Select
Case $dragonfall<>1 ; color found (have dragonfall)
If $pos[2]=1030 Then
$dmg_status_x=275
Else
$dmg_status_x=272
EndIf
$plus_dmg=PixelSearch($dmg_status_x+$pos[0], $dmg_status_y+$pos[1], $dmg_status_x+1+$pos[0], $dmg_status_y+1+$pos[1], $plus_hsb)
$minus_dmg=PixelSearch($dmg_status_x+$pos[0], $dmg_status_y+$pos[1], $dmg_status_x+1+$pos[0], $dmg_status_y+1+$pos[1], $minus_hsb)
Select
Case $plus_dmg<>1 or $minus_dmg<>1 ; color found (have dmg boost)
If $pos[2]=1030 Then
$off_def_x_pos=313
$common_x_pos=333
Else
$off_def_x_pos=310
$common_x_pos=330
EndIf
Case Else ; color not found (no dmg boost)
If $pos[2]=1030 Then
$off_def_x_pos=285
$common_x_pos=305
Else
$off_def_x_pos=282
$common_x_pos=302
EndIf
EndSelect
Case $dragonfall=1 ;color not found (no dragon fall)
If $pos[2]=1030 Then
$dmg_status_x=247
Else
$dmg_status_x=244
EndIf
$plus_dmg=PixelSearch($dmg_status_x+$pos[0], $dmg_status_y+$pos[1], $dmg_status_x+1+$pos[0], $dmg_status_y+1+$pos[1], $plus_hsb)
$minus_dmg=PixelSearch($dmg_status_x+$pos[0], $dmg_status_y+$pos[1], $dmg_status_x+1+$pos[0], $dmg_status_y+1+$pos[1], $minus_hsb)
Select
Case $plus_dmg<>1 or $minus_dmg<>1 ; color found (have dmg boost)
If $pos[2]=1030 Then
$off_def_x_pos=285
$common_x_pos=305
Else
$off_def_x_pos=282
$common_x_pos=302
EndIf
Case Else ; color not found (no dmg boost)
If $pos[2]=1030 Then
$off_def_x_pos=257
$common_x_pos=277
Else
$off_def_x_pos=254
$common_x_pos=274
EndIf
EndSelect
EndSelect
EndFunc




make a text file with name " settings.ini" without the quote and paste this in there. Put both file in same directory

Notes:
1. For all MP/HP/Pet keys: Just replace the # in between "{ }"
2. Hotkeys setting "1 to 0" to be used

[HP]
hp_percent=45
hp_key1="{1}"
hp_key2="{6}"

[MP]
mp_percent=10
mp_key1="{2}"
mp_key2="{8}"

[PET]
pethp_percent=10
PetHPKey="{9}"

[BUFFS]
buff_key1=w
buff_key2=e

[PICKUP]
pickup_key="{`}"

[COLOURS]
hp_bar=0x212421
mp_bar=0x212421
pet_bar=0x292429
df=0xBD20F7
plus_hsb=0xFFFF6B
minus_hsb=0xEFA2AD
i have error in line 1 some how XD
vtdved is offline  
Old 09/15/2010, 23:44   #17
 
elite*gold: 0
Join Date: Aug 2009
Posts: 31
Received Thanks: 10
Quote:
Originally Posted by vtdved View Post
i have error in line 1 some how XD
I just copied these codes into autoit and at the top it adds spaces between a couple of words. remove those spaces (look for words that are black) then it should work or download these text files. Remove the .txt from the file
Attached Files
File Type: txt AutoBuffs_Released.au3.txt (5.2 KB, 6 views)
File Type: txt Settings.ini.txt (445 Bytes, 5 views)
quoctinh is offline  
Old 09/16/2010, 00:55   #18
 
elite*gold: 0
Join Date: Aug 2009
Posts: 259
Received Thanks: 18
i deleted spaces working now tnx
vtdved is offline  
Old 09/16/2010, 18:52   #19
 
elite*gold: 0
Join Date: Sep 2010
Posts: 26
Received Thanks: 1
yeah, it works
teriyakiii is offline  
Old 09/17/2010, 01:16   #20
 
elite*gold: 0
Join Date: Sep 2009
Posts: 6
Received Thanks: 0
hi quoctinh,

i realy dont mean to be disrespectful but i downloaded your bot and nothing happens.what resulotion should it be?i have win7 64 bit. i start the bot put all items in the right spot waiting till the buffes go of and still nothing hapen. need a little guidens here.does the auto pot also work?

best regards

thx for your work

@vtdved what spaced did u delete so it worked?
Schnuppe is offline  
Old 09/17/2010, 02:50   #21
 
elite*gold: 0
Join Date: Aug 2009
Posts: 31
Received Thanks: 10
Quote:
Originally Posted by Schnuppe View Post
hi quoctinh,

i realy dont mean to be disrespectful but i downloaded your bot and nothing happens.what resulotion should it be?i have win7 64 bit. i start the bot put all items in the right spot waiting till the buffes go of and still nothing hapen. need a little guidens here.does the auto pot also work?

best regards

thx for your work

@vtdved what spaced did u delete so it worked?
This is autobuff only. I do have an autopot with refill pots slot from inventory but I have not thought about release it yet. Anyway, did you download the file from the megaupload link on the first page? Extract all files into one directory then open the settings.ini and make sure buff_key1=offensive buff key and buff_key2=defensive buff key. Run the program then press F2 to start/pause.

Also, you need to change "User Account Control Setting" to "Never Notify" - to access this:

- click START
- type "change user account control settings" in the magnifying glass "search programs file files"
- restart comp
quoctinh is offline  
Old 09/22/2010, 05:58   #22

 
Mega Byte's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,777
Received Thanks: 1,003
You can read the window size from memory and adjust your bot's locations depending on that . And if your on Win7 64 bit dont expect hacks to work lol it stuffs up heaps of things.
Mega Byte is offline  
Old 09/22/2010, 23:34   #23
 
elite*gold: 0
Join Date: Aug 2009
Posts: 31
Received Thanks: 10
Quote:
Originally Posted by Mega Byte View Post
You can read the window size from memory and adjust your bot's locations depending on that . And if your on Win7 64 bit dont expect hacks to work lol it stuffs up heaps of things.
Yes, for window mode I do that. This autobuff in Fullscreen mode is independent of resolution size
quoctinh is offline  
Old 10/10/2010, 16:49   #24
 
elite*gold: 0
Join Date: Oct 2010
Posts: 196
Received Thanks: 4
doesnt work with new patch :*(
lol12sky2 is offline  
Old 10/10/2010, 21:18   #25

 
Mega Byte's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,777
Received Thanks: 1,003
You can read window size for fullscreen too. Its not independent of resolution size its the same addresses.

Once you have the window size you can plot where to click on the gui to move items about etc or use npc's and such.

And it probably needs to be patched its rather old.
Mega Byte is offline  
Old 10/10/2010, 21:30   #26
 
elite*gold: 0
Join Date: Oct 2009
Posts: 278
Received Thanks: 30
well my antivirs always help me i dont need your autobuffs for buffs always Blax trainer help me
MegaHaska is offline  
Old 10/11/2010, 00:39   #27
 
elite*gold: 0
Join Date: Aug 2009
Posts: 31
Received Thanks: 10
This autobuff doesn't use addresses so it should always work. This detects the colour of the buffs and rebuff when it starts to flash. Also, if in Fullscreen mode the coordinate will always be the same.

Quote:
Originally Posted by Mega Byte View Post
You can read window size for fullscreen too. Its not independent of resolution size its the same addresses.

Once you have the window size you can plot where to click on the gui to move items about etc or use npc's and such.

And it probably needs to be patched its rather old.
quoctinh is offline  
Old 10/11/2010, 00:41   #28
 
elite*gold: 0
Join Date: Aug 2009
Posts: 31
Received Thanks: 10
Quote:
Originally Posted by lol12sky2 View Post
doesnt work with new patch :*(
This method can't be patched so It should work. I think you are doing something wrong or chose the wrong setting
quoctinh is offline  
Old 10/12/2010, 08:40   #29

 
Mega Byte's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,777
Received Thanks: 1,003
Well have you checked for different game brightness levels. they effect the colors slightly dont they?
Mega Byte is offline  
Old 10/15/2010, 19:40   #30
 
AfterBurn 2.0's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 541
Received Thanks: 271
Quote:
Originally Posted by quoctinh View Post
This autobuff doesn't use addresses so it should always work. This detects the colour of the buffs and rebuff when it starts to flash. Also, if in Fullscreen mode the coordinate will always be the same.
In full screen mode the coordinates are not always the same depends on resolution. The coords for buffs on a 1024 by 768 are totally diferent then the coords on a 1920 x 1200 resolution, then there is the glow effect as Mega has said that can alter the color. So no your bot will not always work, these things you need to consider.

You can not see the cursor but it is over the same buff on both res's you can tell by the discription dropdown on the buff.



AfterBurn 2.0 is offline  
Reply


Similar Threads Similar Threads
i NEED AUTOBUFFS CLERIC
08/06/2009 - Silkroad Online - 0 Replies
HI...:handsdown: I NEED AUTOBUFFS FOR CLERIC... PLEASE HELP ME... Thx:cool:
9Dragons Autobuffs schreiben
03/12/2009 - General Coding - 3 Replies
Hallo alle zusammen! Ich möchte ein Programm schreiben, welches die Skills in dem Spiel "9Dragons" selbst trainiert. Das Programm soll praktisch für mich die Tasten 1 bis 0, im Laufe des Spiels, "drücken". Das Spiel selbst benutzt Game Guard als Antihackprogramm. Kann mir bitte bitte jemanden helfen wie ich es anstellen soll? (Ich habe umfangreiche Kenntnisse in C++, C, Java, PHP. Persönlich habe ich mich bis jetzt noch nie mit dem Hacken von Spielen beschäftigt. Kann mir bitte...



All times are GMT +1. The time now is 23:21.


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