elite*gold: 0
Join Date: Mar 2008
Posts: 12
Received Thanks: 1
|
alternative option > use autokey for semi botting
I used this free tool like a pseudo bot. The application is called autokey. you will need to google and download it. The script below can be modified to work with any game that will allow an app to send macro onto game client that support window mode. It is effective only after you logon to game, go to a map that the mobs will attack you when you are with in range and you have loaded up with pots.
here is a sample macro script used for playing 2moons/dekaron:
(Notes: most lines are commented coz i didnt want it but left for reference. copy and paste using notepad and save script as .ahk instead of .txt > with autokey installed and active > you can double click script file to load and then use the special key combo to activate specific macro)
script begin ----------->
; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
; semicolon, such as this one, are comments. They are not executed.
;#InstallMouseHook
;#InstallKeybdHook
#!p::Pause ; Press Ctrl+Alt+p to Pause Script. Press it again to resume
#!x:: WinClose Dekaron ; Pres Win+Alt+X to Close Dekaron
;#z::Run "C:\Documents and Settings\admin\Desktop\zandek\ZanDekaronClient\bin \dekaron.exe"
#n::
IfWinExist Untitled - Notepad
WinActivate
else
Run Notepad
return
#NoEnv
SetKeyDelay, 10, 10
#x::
;this will launch EGDEK key macros
IfWinExist Dekaron
{
;sleep 10000
WinActivate
;click play
; send {click down, 802, 719}
; sleep 20
; send {click up}
;sleep 60000
}
else
Run D:\0EG-Dekaron\launcher.exe
;run "C:\Documents and Settings\admin\Desktop\zandek\ZanDekaronClient\bin \dekaron.exe"
return
#MaxThreadsPerHotkey 3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Script for boting in Dekaron activated by pressing Win+v
#v::
#MaxThreadsPerHotkey 1
;Check if Dekaron is running
IfWinExist Dekaron
{
;make Dekaron the active window
WinWaitActive
if KeepVRunning ; This means an underlying thread is already running the loop below.
{
KeepVRunning := false ; Signal that thread's loop to stop.
return ; End this thread so that the one underneath will resume and see the change made by the line above.
}
;make v macro key to loop keystrokes sequence
KeepVRunning := true
Loop 500
{
;Dekaron fighting Script skills 1, 2, 3, 4, 5, 7, 8, 9
send, {Down down}
sleep 1000
send, {Down up}
; send, {click down, 640, 480}
send, {click down, 511, 406}
sleep 10
send, {click up}
Send, {1 down} ; this part of script presses 1 key down
Sleep, 1000 ; wait for 1 sec
send, {1 up}
sleep 6000
; send, {click down, 530, 600}
send, {click down, 511, 406}
sleep 10
send, {click up}
Send, {2 down} ; this part of script presses 1 key down
Sleep, 1000 ; wait for 1 sec
send, {2 up}
;Pick up items 3x
Loop 3
{
Send, {Space down} ; this part of script presses ` key down
Sleep, 800 ; wait for .5 sec
Send, {Space up}
}
sleep 6000
send, {click down, 511, 406}
sleep 10
send, {click up}
Send, {3 down} ; this part of script presses 1 key down
Sleep, 1000 ; wait for 1 sec
send, {3 up}
sleep 6000
send, {click down, 511, 406}
sleep 10
send, {click up}
Send, {4 down} ; this part of script presses 1 key down
Sleep, 1000 ; wait for 1 sec
send, {4 up}
sleep 6000
send, {click down, 511, 406}
sleep 10
send, {click up}
Send, {5 down} ; this part of script presses 1 key down
Sleep, 1000 ; wait for 1 sec
send, {5 up}
sleep 6000
send, {click down, 511, 406}
sleep 10
send, {click up}
Send, {6 down} ; this part of script presses 1 key down
Sleep, 1000 ; wait for 1 sec
send, {6 up}
sleep 5000
Send, {9 down} ; this part of script presses 1 key down
Sleep, 2000 ; wait for 1 sec
send, {9 up}
Send, {8 down} ; this part of script presses 1 key down
Sleep, 2000 ; wait for 1 sec
send, {8 up}
Send, {7 down} ; this part of script presses 1 key down
Sleep, 2000 ; wait for 1 sec
send, {7 up}
; Pick up items 3x
Loop 3
{
Send, {Space down} ; this part of script presses ` key down
Sleep, 800 ; wait for .5 sec
Send, {Space up}
}
sleep 5000
if not KeepVRunning
;The user signaled the loop to stop by pressing v key again.
break ; Break out of this loop.
} ;this should end the nested loop
KeepVRunning := false ; Reset in preparation for the next press of this hotkey.
WinClose, Dekaron
;WinKill, Dekaron
; Break ; end script
return
;returns to before hotkey V was press
}
else
;if Dekaron is not open > launch it
Run D:\0EG-Dekaron\launcher.exe
return
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;#l::
;;logon to account
;;IfWinExist Dekaron
;;{
;; WinWaitActive
;select server
;; send {click down, 638, 668}
;; sleep 5000
;; send {click up}
;;click ok
;; send, {click down, 640, 819}
;; sleep 6000
;; send, {click up}
;;click username
;; send, {click down, 633, 774}
;; sleep 6000
;; send, {click up}
;;enter username
;; send, {h0tdoll}
;; sleep 6000
;; send, {click down, 639, 774}
;; sleep 2000
;; send, {click up}
;;enter pw
;; send, {hotd0ll}
;; sleep 6000
;;enter
;; send, {Enter down}
;; sleep 6000
;; send, {Enter up}
;;click char name
;;; send, {click down, 828, 120} for top left
;; send, {click down, 950, 228}
;; sleep 6000
;; send, {click up}
;;click channel B
;;; send, {click down, 711, 124} for top left
;; send, {click down, 855, 226}
;; sleep 6000
;; send, {click up}
;;click channel C
;;; send, {click down, 711, 124} for top left
;; send, {click down, 842, 244}
;; sleep 6000
;; send, {click up}
;;click connect
;;; send, {click down, 510, 677} for top left
;; send, {click down, 645, 779}
;; sleep 2000
;; send, {click up}
;;wait for it to load
;; sleep 25000
;;}
;;else
;; Run D:\0EG-Dekaron\launcher.exe
;;;run "C:\Documents and Settings\admin\Desktop\zandek\ZanDekaronClient\bin \dekaron.exe"
;;return
|