Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > 9Dragons
You last visited: Today at 00:40

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

Advertisement



Buff training in viet 9dragons

Discussion on Buff training in viet 9dragons within the 9Dragons forum part of the MMORPGs category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2008
Posts: 137
Received Thanks: 42
Buff training in viet 9dragons

Hi folks.

I was just dropping by to let you know (in case you didn't already) that you can use autohotkey to create rudimentary skill training scripts for this version of 9dragons ( as there is no anti-hack whatsoever).

As an exemple, here's what I use:

Loop 5000
{
Send {U}
Send {7}
Sleep 1100
Send {8}
Sleep 2000
Send {9}
Sleep 1100 (repeat the three previous keys as needed depending on your char / VE, then let it go for med)
Send {p}
Sleep 8000
}

It's very rudimentary, but it works. I have my all stat buff, heal and con buff on keys 7-8-9 (obviously). I just pop a 2 hour incense and let my buffs work on themselves a while

Cya ingame
kungfumonkey is offline  
Old 09/01/2009, 00:41   #2
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1
Received Thanks: 0
bo thang dien
mrchau is offline  
Old 09/01/2009, 11:51   #3
 
elite*gold: 0
Join Date: Aug 2009
Posts: 4
Received Thanks: 0
Nice useful share kungfumonkey!
Crude but useful.

Hell I might get a Autoit GUI, VE pixel based auto med trainer up for you 9DVN guys if I get bored this weekend.

I just lag like buggery from my location to the VN servers! Pitty on me!
PeaBwainz™ is offline  
Old 09/01/2009, 15:46   #4

 
saweet's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,406
Received Thanks: 2,084
Quote:
Originally Posted by PeaBwainz™ View Post
Nice useful share kungfumonkey!
Crude but useful.

Hell I might get a Autoit GUI, VE pixel based auto med trainer up for you 9DVN guys if I get bored this weekend.

I just lag like buggery from my location to the VN servers! Pitty on me!
This might help you get started:

Code:
#include <GUIConstants.au3>
; #include <_PixelGetColor.au3>
#include <Misc.au3>

Global Const $WS_EX_TOPMOST = 8

Opt("MouseCoordMode", 0)
Opt("GUICoordMode",2)

; X3DKernel
HotKeySet( "{ESC}", "_EXIT")
HotKeySet( "{F11}", "_START")
HotKeySet( "^{F11}", "_PAUSE")
HotKeySet( "{F10}", "_SETUPVE")

Dim $pos, $color
Dim $pause = 0
Dim $meditating = 0
Dim $hack_running = 0
Dim $hwnd, $lblLeft, $lblRight
Dim $checksum
Dim $game_title = "Cuu Long Tranh Ba"
Dim $game_hwnd = WinGetHandle($game_title)

Dim $hack_title = "Game Utility for 9Dragons"
Dim $hack_hwnd = WinGetHandle($hack_title)

Dim $hDll, $vDC, $vRegion

Func _SETUPVE()
	WinActivate($game_title)
	$pos = MouseGetPos()
	;$color = PixelGetColor($pos[0], $pos[1], $game_hwnd)
	;$checksum = PixelChecksum($pos[0], $pos[1], $pos[0] + 16, $pos[1] + 16)
	;_WriteStatus("Setting up VE... x=" & $pos[0] & " y=" & $pos[1] & " color=" & $color)
	
	; version 2
	;WinActivate($game_title)
	;$pos = MouseGetPos()
	;$hDll = DllOpen("gdi32.dll")
	;$vDC = _PixelGetColor_CreateDC($hDll)
	;$sSize = WinGetClientSize($game_title)
	;$vRegion = _PixelGetColor_CaptureRegion($vDC, 0, 0, $sSize[0], $sSize[1], $hDll)
	;$color = _PixelGetColor_GetPixel($vDC, $pos[0], $pos[1])
	
	$color = Hex(PixelGetColor($pos[0], $pos[1], $game_hwnd), 6)
	_WriteStatus("Setting up VE... x=" & $pos[0] & " y=" & $pos[1] & " color=" & $color)
	
	;PixelSearch(90, 60, 883, 754, 646464, 10, 1, $game_hwnd)
EndFunc

Func _EXIT()
	;_PixelGetColor_ReleaseRegion($vRegion)
	;_PixelGetColor_ReleaseDC($vDC, $hDll)
	;DllClose($hDll)
    Exit 0
EndFunc

Func _PAUSE()	
	$pause = 1 - $pause

	if $pause Then
        GUICtrlSetColor($lblRight, 0xFF0000)
		_WriteStatus("Paused.")
    Else
        GUICtrlSetColor($lblRight, 0xFFFFFF)
		_WriteStatus("Unpaused.")
    EndIf
EndFunc

Func _START()
	GUICtrlSetColor($lblRight, 0xFFFFFF)
	While 1
		if $pause = 0 Then
            ;$cur_color = Hex(PixelGetColor($pos[0], $pos[1], $game_hwnd), 6)
			;$cur_checksum = PixelChecksum($pos[0], $pos[1], $pos[0] + 16, $pos[1] + 16)
			
			; version 2
			;$cur_color = PixelGetColor($pos[0], $pos[1], $game_hwnd)
			PixelSearch($pos[0], $pos[1], $pos[0]+5, $pos[1]+5, 0x00009c, 10, 1, $game_hwnd)
	
			;_WriteStatus("Check: cur_color=" & $cur_color & ", color=" & $color)
			
			If Not @error Then
			;If $color = $cur_color Then
				If $hack_running = 0 Then
					_ToggleHack()
				EndIf
			Else
				_WriteStatus("Out of Vital Energy")
				If $meditating = 0 Then
					; we need to stop the hack and meditate
					If $hack_running = 1 Then
						_ToggleHack()
					EndIf
					_Meditate()
				EndIf
			EndIf
			
			Sleep(3000)
		EndIf
    WEnd
EndFunc

Func _Meditate()
	ControlSend($game_hwnd, "", "", "p") ; window doesnt need to be active
	$meditating = 1 - $meditating
	_WriteStatus("Meditating...")
EndFunc

Func _ToggleHack()
	ControlFocus($hack_title, "", "")
	;$ret = ControlClick($hack_title, "", "") ; we dont specify the button text; Auto button has no text, only an image
	$hack_running = 1 - $hack_running
	If $hack_running Then
		_WriteStatus("Enabling hack...")
	Else
		_WriteStatus("Disabling hack...")
	EndIf
EndFunc

Func _WriteStatus($msg)
	ConsoleWrite($msg & @CRLF)
	;GUICtrlSetData($lblLeft, $msg)
EndFunc

Func _MAIN()
    $hwnd = GUICreate("9Dragons Skill Trainer", 250, 30, 750, 15, -1, $WS_EX_TOPMOST)
    $lblLeft = GUICtrlCreateLabel("test", 10, 10, 200)
    $lblRight = GUICtrlCreateLabel("wait", 0, -1, 50)
    GUISetState()
    Do
    Until GUIGetMsg() = $GUI_EVENT_CLOSE
EndFunc

_MAIN()
This is incomplete. The _SETUPVE() is the point of interest. I was never able to come up with a reliable solution to detecting VE with PixelGetColor, PixelChecksum, PixelSearch, or _PixelGetColor_GetPixel without it working intermittently.

You run it, F10 to setup VE, then F11 to start and control-F11 to pause. This was designed to run with the Game Utility program, where the hack sends the buffs and this autoit tries to read VE, and meditate when necessary
saweet is offline  
Old 09/03/2009, 14:47   #5
 
dreamerdd's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 283
Received Thanks: 71
doesnt game utility d/c when u try to med without pushing the start/stop button
first i know it does for me o.O .So how u work around that?
dreamerdd is offline  
Old 09/03/2009, 15:14   #6

 
saweet's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,406
Received Thanks: 2,084
Quote:
Originally Posted by dreamerdd View Post
doesnt game utility d/c when u try to med without pushing the start/stop button
first i know it does for me o.O .So how u work around that?
There is a few ways to get around that. The first is to use a AutoIT script. The one I posted here will push the Start/Stop button when you press F10, the second is I can make the Game Utility stop when your character runs out of VE. The third is making the Game Utility do Auto Meditate.

I'm still working on auto meditate for the Game Utility.
saweet is offline  
Old 09/03/2009, 15:24   #7
 
elite*gold: 0
Join Date: Sep 2009
Posts: 168
Received Thanks: 13
heh, auto med?
Cant you just run two hacks at the same time..
and calculate the time for you ve to run out..then run a med script lol
Nirf is offline  
Old 09/03/2009, 16:37   #8

 
saweet's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,406
Received Thanks: 2,084
Quote:
Originally Posted by Nirf View Post
heh, auto med?
Cant you just run two hacks at the same time..
and calculate the time for you ve to run out..then run a med script lol
The hack is designed to only have 1 instance running at a time. It listens on a port waiting for the game client to connect to it. Only 1 process can have control over that port. That's why the hack is multithreaded, so multiple game clients can connect to it, each session opens in a new tab.

Calculating time for med is very unreliable due to lag and packet loss. It's better to have the program wait and listen for the packet that tells the game client what your HP/VE is. I'm very close to finishing this, I have a small bug that doesn't affect the auto med, it actually works right now. But in the game, your characters continuously repeats the ending animation for meditation. That's what I'm trying to fix.
saweet is offline  
Old 09/03/2009, 17:31   #9
 
elite*gold: 0
Join Date: Sep 2009
Posts: 168
Received Thanks: 13
Which Game Utility are you talking about lol? Mine or yours

xD sounds like your a lover techie (the type that in love with their work
so deeply, they'd marry it lol)

Plus it never hurts to try med script then the G.U (Game utility), Imma try it lol
since I hardly lagg now-a-days anyway...
*Back to that lol, it would work if you didn't lagg, but idk about you guys lol
Nirf is offline  
Old 09/03/2009, 17:33   #10
 
elite*gold: 0
Join Date: Sep 2009
Posts: 168
Received Thanks: 13
Quote:
Originally Posted by dreamerdd View Post
doesnt game utility d/c when u try to med without pushing the start/stop button
first i know it does for me o.O .So how u work around that?
Back to you lol
Your thing d/c whenever you med after pushing stop? that aint right man..
It should only d/c you when you try to med while hacking the game lol, not
when after you hit stop once your VE runs out >.>"
Nirf is offline  
Old 09/03/2009, 19:16   #11
 
dreamerdd's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 283
Received Thanks: 71
well i think mine is slow or something cause if i hit the start/stop button after i run out of ve i have to wait a few seconds--2-3- seconds if i try to med exactly after i turn it off i dc don't know if its lagg or bad connection even though i got 10mb connection.Sometimes i have to hit it the off button 2times to turn it off which gets annoying- i can tell if its still the little red word -out of ve keeps blinking.Found that i just have to wait for the bottom bar to load when im using the hack but takes a few secs as i said earlier..Even with the little auto it hack saweet made when i push my hot key it doesn't stop at that moment takes like 2-3 seconds .


hmm was actually wandering if there was like away to make the auto it -to hold don the power button for say a 2seconds, then let up - u know to simulate pressure .

fond if i just tap f10 it sometimes turns the power off but not always .If i press down completely on f10 it turns it on and off at a rapid speed




it doesn't always create a new tab when u dc sometime it just freezes not sure if changes in the server has any thing to do with it or not.sometimes it hard to log back in after dc ......last night the hack kept crashing likeso i just went to sleep o.O lol
dreamerdd is offline  
Old 09/03/2009, 19:41   #12

 
saweet's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,406
Received Thanks: 2,084
Quote:
Originally Posted by dreamerdd View Post
well i think mine is slow or something cuase if i hit the start/stop button after i run out of ve i have to wait a few seconds--2-3- seconds if i try to med exactley after i turn it off i dc dont know if its lagg or bad connection even though i got 10mb connection.Sometimes i have to hit it the off button 2times to turn it off which gets annoying- i can tell if its still the little red word -out of ve keeps blinking.Found that i just have to wait for the bottom bar to load when im using the hack but takes a few secs as i said earlier..Eeven with the little autoit hack saweet made when i push my hotkey it doesnt stop at that moment takes like 2-3 seconds .


hmm was actully wandering if there was like away to make the auto it -to hold don the power button for say a 2seconds, then let up - u know to simluate pressure .

fond if i just tap f10 it sometimes turns the power off but not always .If i press down completely on f10 it turns it on and off at a rapid speeed.
Do not worry my friend, I just fixed the one bug that has plagued me for 2 days. Auto Med is now working 100%, letting it run for a while to make sure all is well. After I confirm all is good, I'd like to add more teleport locations to it before release. Most of what I have is for white clan
saweet is offline  
Old 09/03/2009, 19:48   #13
 
dreamerdd's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 283
Received Thanks: 71
hmm ill log my acclaim nuker run around and get some spot s later maybe tonight idk lol


what problem was plaguing u ?
dreamerdd is offline  
Old 09/03/2009, 19:58   #14

 
saweet's Avatar
 
elite*gold: 20
Join Date: Sep 2007
Posts: 1,406
Received Thanks: 2,084
Quote:
Originally Posted by dreamerdd View Post
hmm ill log my acclaim nuker run around and get some spot s later maybe tonight idk lol


what problem was plaguing u ?
The client was behaving buggy when meditation ended, and intermittently causing disconnect. The disconnect issue I fixed earlier today, the client one I just resolved. Still need to tweak some timing issues.

I'd also like to change the maps, skills, teleport, and move data files into XML some day. Don't know when I'll get around to that. But for now, manually editing those files is a pita
saweet is offline  
Old 09/03/2009, 20:02   #15
 
elite*gold: 0
Join Date: Sep 2009
Posts: 168
Received Thanks: 13
techie boya x_x, above me ^
Nirf is offline  
Closed Thread


Similar Threads Similar Threads
9Dragons Buff training services
10/20/2009 - 9Dragons Trading - 1 Replies
Hi there first of all,sorry for sapmming u guys with my topics :p,but this will be my last one..today:p:p:p. i am offering buff training services for 9dragons..i will be training the buffs..well..not me exactly ..my mighty little robot will do it..i built this little bot that pushes the buttons..works great..and GG can't catch that can he? :p;) 1)anyway..b4 u go and say that i am a scammer..its up to u to trust me or not..but i can guarantee you that i wont steal ur account.. 2) after...



All times are GMT +2. The time now is 00:40.


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.