Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

PK Helper

Newbie Spellweaver
Joined
Sep 1, 2012
Messages
52
Reaction score
12
Does Any 1 have source of PK Helper..
i need to edit some keys in it...
i know it is build in autoitscript language..
if any 1 have..the script of it.. please post it..
it will be very help full
 
Last edited:
Newbie Spellweaver
Joined
Sep 1, 2012
Messages
52
Reaction score
12
soo cyberinferno???
its made by u... na right??
Prot
i gave the executable file.. @ up... if u can recompile the source of it.. then its good...
thxx guys...
and help me..
 
Joined
Jan 14, 2007
Messages
509
Reaction score
85
If you ready to use
I can write the same kind of script in a minute.

Code:
#IfWinActive, ahk_class pRoJeCtAaA
MsgBox,
(LTrim
    Use the following keys to activate Ctrl button after you are ingame
    Press 'F9' for activating Ctrl
    Press 'Left Ctrl' for deactivating Ctrl
    Before pressing 'ESCAPE' please deactivate this tool ingame
)
Return
F9::Send {LCtrl Down}

Here you go.
Also,
An extra feature of this code will be that the Shortcut button will work only when you are playing A3. To use the same on other applications, Just remove the first line of the code.
How to use : Just install AutoHotKey, copy paste the code given below into notepad, save it as blah.ahk . You can compile it too by right clicking on the file and pressing "Compile" Option.


If you prefer CyberInferno's Auto-It code,
How to use : Just install Autoit, copy paste the code given below into notepad, save it as blah.au3. You can compile it too by right clicking on the file and pressing "Compile" Option.
Code:
Global Const $gui_event_close = -3Global Const $gui_event_minimize = -4
Global Const $gui_event_restore = -5
Global Const $gui_event_maximize = -6
Global Const $gui_event_primarydown = -7
Global Const $gui_event_primaryup = -8
Global Const $gui_event_secondarydown = -9
Global Const $gui_event_secondaryup = -10
Global Const $gui_event_mousemove = -11
Global Const $gui_event_resized = -12
Global Const $gui_event_dropped = -13
Global Const $gui_rundefmsg = "GUI_RUNDEFMSG"
Global Const $gui_avistop = 0
Global Const $gui_avistart = 1
Global Const $gui_aviclose = 2
Global Const $gui_checked = 1
Global Const $gui_indeterminate = 2
Global Const $gui_unchecked = 4
Global Const $gui_dropaccepted = 8
Global Const $gui_nodropaccepted = 4096
Global Const $gui_acceptfiles = $gui_dropaccepted
Global Const $gui_show = 16
Global Const $gui_hide = 32
Global Const $gui_enable = 64
Global Const $gui_disable = 128
Global Const $gui_focus = 256
Global Const $gui_nofocus = 8192
Global Const $gui_defbutton = 512
Global Const $gui_expand = 1024
Global Const $gui_ontop = 2048
Global Const $gui_fontitalic = 2
Global Const $gui_fontunder = 4
Global Const $gui_fontstrike = 8
Global Const $gui_dockauto = 1
Global Const $gui_dockleft = 2
Global Const $gui_dockright = 4
Global Const $gui_dockhcenter = 8
Global Const $gui_docktop = 32
Global Const $gui_dockbottom = 64
Global Const $gui_dockvcenter = 128
Global Const $gui_dockwidth = 256
Global Const $gui_dockheight = 512
Global Const $gui_docksize = 768
Global Const $gui_dockmenubar = 544
Global Const $gui_dockstatebar = 576
Global Const $gui_dockall = 802
Global Const $gui_dockborders = 102
Global Const $gui_gr_close = 1
Global Const $gui_gr_line = 2
Global Const $gui_gr_bezier = 4
Global Const $gui_gr_move = 6
Global Const $gui_gr_color = 8
Global Const $gui_gr_rect = 10
Global Const $gui_gr_ellipse = 12
Global Const $gui_gr_pie = 14
Global Const $gui_gr_dot = 16
Global Const $gui_gr_pixel = 18
Global Const $gui_gr_hint = 20
Global Const $gui_gr_refresh = 22
Global Const $gui_gr_pensize = 24
Global Const $gui_gr_nobkcolor = -2
Global Const $gui_bkcolor_default = -1
Global Const $gui_bkcolor_transparent = -2
Global Const $gui_bkcolor_lv_alternate = -33554432
Global Const $gui_ws_ex_parentdrag = 1048576
HotKeySet("{F9}", "startctrl")
GUICreate("A3 PK helper by Karthik P", 380, 100)
GUICtrlCreateLabel("Use the following keys to activate Ctrl button after you are ingame", 50, 10)
GUICtrlCreateLabel("Press 'F9' for activating Ctrl", 100, 30)
GUICtrlCreateLabel("Press 'Left Ctrl' for deactivating Ctrl", 100, 50)
GUICtrlCreateLabel("Before pressing 'ESCAPE' please deactivate this tool ingame", 50, 70)


Func startctrl()
    Send("{LCTRL down}")
EndFunc


GUISetState(@SW_SHOW)
While 1
    $msg = GUIGetMsg()
    Select 
        Case $msg = $gui_event_close
            GUIDelete()
            ExitLoop 
    EndSelect
WEnd

-Credits, CyberInferno :ridinghorse:
 
Newbie Spellweaver
Joined
Sep 1, 2012
Messages
52
Reaction score
12
yah,, i have got this source... i got it from executable file only... but i need to edit that... LCTRL and ESC key in that file...
i wanna add some other key...
for once i can edit... that LCTRL key... but aint got code about ESC key... in that coding...
 
Joined
Jan 14, 2007
Messages
509
Reaction score
85
Code:
[COLOR=#333333]#IfWinActive, ahk_class pRoJeCtAaA[/COLOR]MsgBox,
(LTrim
    Use the following keys to activate Ctrl button after you are ingame
    Press 'F9' for activating Ctrl
    Press 'Left Ctrl' for deactivating Ctrl
    Before pressing 'ESCAPE' please deactivate this tool ingame
)
Return [COLOR=#333333][/COLOR][COLOR=#ff0000]F9[/COLOR][COLOR=#333333]::Send {LCtrl Down}[/COLOR]

You see that F9 button marked in red?

You can use any other key in place of F9.
How it works?
the F9 key presses the left ctrl button. now to release the left control button, you need to press left ctrl button manually.

The Escape button is not even mentioned in the code, its just that if you press Esc button without releasing the left Crtl button, it will minimize A3 as it will send a Ctrl+Esc command to the computer.

If you don't understand what I explained above, just tell me what exactly you want to perform in here.. I ll change the script according to it.
 
Newbie Spellweaver
Joined
Sep 1, 2012
Messages
52
Reaction score
12
yeah Port i have got that...
i have totally understood the program of it..

i need to make it like that that i can Press HotKeySet("{F10}", "stopctrl") it should stop the LCTRL Function
& when i press F9 key LCTRL starts.. so if press ESC @ that time... program should get Exit... it Means it should get Totally to be closed

Code:
HotKeySet("{F9}", "startctrl")
HotKeySet("{ESC}", "Terminate") 

Func startctrl()
    Send("{LCTRL down}")
EndFunc

Func Terminate()
    Exit
EndFunc

can u help me in that..
 
Last edited:
Newbie Spellweaver
Joined
Sep 1, 2012
Messages
52
Reaction score
12
Code:
Global Const $gui_event_close = -3
HotKeySet("{F9}", "_startandstop")
HotKeySet("^{F9}", "_startandstop")
HotKeySet("{F10}", "_exit")
HotKeySet("^{F10}", "_exit")
GUICreate("A3 PK Helper ", 380, 100)
GUICtrlCreateLabel("Use the following keys to Activate Ctrl", 40, 10)
GUICtrlCreateLabel("Press 'F9' for activating Ctrl", 40, 30)
GUICtrlCreateLabel("Press 'F10' for deactivating Ctrl", 40, 50)
GUICtrlCreateLabel("Before pressing 'ESCAPE' please Deactivate this tool", 40, 70)

$isdown = False;

while 1
    Sleep(500)
WEnd

Func _startandstop()
    if ($isdown) Then
        ConsoleWrite("up ausgeführt")
        Send("{CTRLUP}")
        $isdown = False
    Else
        ConsoleWrite("down ausgeführt")
        Send("{CTRLDOWN}")
        $isdown = True
    EndIf
EndFunc

Func _exit()
    If ($isdown) Then
        Send("{CTRLUP}")
    EndIf
    ConsoleWrite("exit ausgeführt")
    Exit 1
EndFunc

GUISetState(@SW_SHOW)
While 1
	$msg = GUIGetMsg()
	Select
		Case $msg = $gui_event_close
			GUIDelete()
			ExitLoop
	EndSelect
WEnd
 
Last edited:
Initiate Mage
Joined
Feb 25, 2016
Messages
1
Reaction score
0
dude
can i have download link of this PK HELPER ?
or can u mail me @ priyank.ambalia@yahoo.com

thank you



dude
can i have download link of this PK HELPER ?
or can u mail me @ priyank.ambalia@yahoo.com

thank you
 
Back
Top