Close
Showing results 1 to 10 of 21

Threaded View

  1. #8

    Default

    Try this modified HKN script:

    it assumes the following details that might need to be ammended to fit your requirements (change as required)

    your laptop has the ip address of 192.168.1.25 (both pc's are on the 192.168.1.x subnet range)
    your main pc has a screen resolution of 1680x1050 (these can be changed for the values of your screen resolution in the code)
    your laptop has a screen resolution of 1440x900
    the main pc is configured as a server for HKN
    both machines have "C:\Hellgate Resurrection\hgllauncher.exe" as the launcher path - you might need to ammend this for the straight exe if possible
    ctrl+alt+z will open both windows to start

    Code:
    //-----------------------------------------------------------
    // SUBROUTINE TO LAUNCH AND RENAME A COPY OF HGL.
    //-----------------------------------------------------------
    <Command LaunchAndRename>
        <SendPC %1%>
             <Run %2%>
             <RenameTargetWin %3%>
             <RemoveWinFrame>
             <SetWinRect %4% %5% %6% %7%>
     
    //-----------------------------------------------------------
    // DEFINE A MAIL LABEL FOR EACH HGL
    //-----------------------------------------------------------
    <Label h1 Local SendWinM HGL1>
    <Label h2 192.168.0.25 SendWinM HGL2>
    //-----------------------------------------------------------
    // HOTKEY TO LAUNCH AND RENAME ALL OF THE HGL WINDOWS.
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn ctrl alt z>
    // ***change the last two values on the line below to match your main screen resolution***
    <LaunchAndRename Local "C:\Hellgate Resurrection\hgllauncher.exe" HGL1 0 0 1680 1050>
    // ***change the last two values on the line below to match your laptop screen resolution***
    <LaunchAndRename 192.168.1.25 "C:\Hellgate Resurrection\hgllauncher.exe" HGL2 0 0 1440 900>
     
    //-----------------------------------------------------------
    // DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
    // SENT TO ALL HGLS. ADD MORE KEY COMBO'S IF YOU WANT.
    //-----------------------------------------------------------
    <Hotkey ScrollLockOn A-Z, 0-9, F1-F6, minus, plus, insert, backspace, delete, pgup, pgdn, home, end, enter, oem2, esc, except W, A, S, D, Q>
    //<Hotkey ScrollLockOn AllMainKeys>          
    <SendLabel h1, h2>
                       <Key %Trigger%>
     
    <Hotkey ScrollLockOn Shift AllMainKeys; Alt AllMainKeys; ctrl AllMainKeys>
              <SendLabel h1, h2>
                       <Key %Trigger%> 
     
    //-----------------------------------------------------------
    // DEFINE MOVEMENT KEYS THAT WILL GET SENT TO ALL HGL'S.
    // ADD MORE KEYS IF YOU WANT.
    //-----------------------------------------------------------
    <MovementHotkey ScrollLockOn up, down, left, right, space, F7-F12, Numpad0 - Numpad9, W, A, S, D, Q>
             <SendLabel h1, h2>
                     <Key %Trigger%>
    //-----------------------------------------------------------
    // BROADCAST MOUSE CLICKS. HOLD DOWN OEM3 (top left corner the ¬ key on US Keyboard) WHEN YOU WANT TO BROADCAST.
    //-----------------------------------------------------------
    <UseKeyAsModifier Oem3>
    <Hotkey ScrollLockOn Oem3 LButton, MButton, RButton, Button4, Button5> 
    <PassThrough>
    <SendLabel h1,h2>
    <ClickMouse %TriggerMainKey%>
    //-----------------------------------------------------------
    // BROADCAST MOUSE CLICKS. HOLD DOWN OEM8 (top left corner the ¬ key on UK Keyboard) WHEN YOU WANT TO BROADCAST.
    //-----------------------------------------------------------
    //<UseKeyAsModifier Oem8>
    //<Hotkey ScrollLockOn Oem8 LButton, MButton, RButton, Button4, Button5>
    //        <SendLabel h1,h2>
    //                 <ClickMouse %TriggerMainKey%>
    Last edited by mikekim : 09-22-2010 at 02:06 AM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •