FAQ  •  Register  •  Login

Strange keymap problem

Moderator: MiRai

<<

tanker

Posts: 222

Joined: Mon Jan 03, 2011 2:27 am

Post Sat Feb 05, 2011 2:21 am

Strange keymap problem

I'm trying to get my six toons to separate by sending W+Q to 1, W+E to 2, Q to 3, E to 4, S+Q to 5 and S+E to 6 using standard WASD keys plus Q and E for strafe.

All the toons do the correct thing except the main window. No matter what I do it always moves straight ahead. If I press W+Q on the keyboard, the correct thing happens, but through ISBoxer, he doesn't.

Any suggestions? Mapped key is copied below.

Edit: Curiously, If I send W+E to 1 and W+Q to 2, the toons spread out as I expect. Only W+Q to 1 doesn't work right.

Code:
<?xml version="1.0" encoding="utf-8"?>
<Box xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ObjectType>ISBoxer_Toolkit.Configs.KeyMaps.MappedKey</ObjectType>
  <SerializedObject>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;MappedKey xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;Name&gt;Hex Formation&lt;/Name&gt;
  &lt;Description&gt;Generated for movement keys WASD with Q and E for strafe left/right, and up to 5 characters.

The Hex formation aligns your characters in a hexagon.&lt;/Description&gt;
  &lt;Combo&gt;
    &lt;Combo&gt;Ctrl+Shift+X&lt;/Combo&gt;
    &lt;Modifiers&gt;Ctrl Shift&lt;/Modifiers&gt;
    &lt;Key&gt;
      &lt;Key&gt;X&lt;/Key&gt;
      &lt;Code&gt;45&lt;/Code&gt;
    &lt;/Key&gt;
  &lt;/Combo&gt;
  &lt;Hold&gt;
    &lt;Value&gt;true&lt;/Value&gt;
  &lt;/Hold&gt;
  &lt;SendNextClickBlockLocal&gt;false&lt;/SendNextClickBlockLocal&gt;
  &lt;ManualLoad&gt;false&lt;/ManualLoad&gt;
  &lt;ResetTimer&gt;0.1&lt;/ResetTimer&gt;
  &lt;ResetType&gt;Never&lt;/ResetType&gt;
  &lt;Mode&gt;OnRelease&lt;/Mode&gt;
  &lt;Steps&gt;
    &lt;Step&gt;
      &lt;Stick&gt;0&lt;/Stick&gt;
      &lt;Actions&gt;
        &lt;MappedKeyAction xsi:type="Keystroke"&gt;
          &lt;Target&gt;1&lt;/Target&gt;
          &lt;Combo&gt;
            &lt;Combo&gt;W&lt;/Combo&gt;
            &lt;Modifiers&gt;None&lt;/Modifiers&gt;
            &lt;Key&gt;
              &lt;Key&gt;W&lt;/Key&gt;
              &lt;Code&gt;17&lt;/Code&gt;
            &lt;/Key&gt;
          &lt;/Combo&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="Keystroke"&gt;
          &lt;Target&gt;1&lt;/Target&gt;
          &lt;Combo&gt;
            &lt;Combo&gt;Q&lt;/Combo&gt;
            &lt;Modifiers&gt;None&lt;/Modifiers&gt;
            &lt;Key&gt;
              &lt;Key&gt;Q&lt;/Key&gt;
              &lt;Code&gt;16&lt;/Code&gt;
            &lt;/Key&gt;
          &lt;/Combo&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="Keystroke"&gt;
          &lt;Target&gt;2&lt;/Target&gt;
          &lt;Combo&gt;
            &lt;Combo&gt;W&lt;/Combo&gt;
            &lt;Modifiers&gt;None&lt;/Modifiers&gt;
            &lt;Key&gt;
              &lt;Key&gt;W&lt;/Key&gt;
              &lt;Code&gt;17&lt;/Code&gt;
            &lt;/Key&gt;
          &lt;/Combo&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="Keystroke"&gt;
          &lt;Target&gt;2&lt;/Target&gt;
          &lt;Combo&gt;
            &lt;Combo&gt;E&lt;/Combo&gt;
            &lt;Modifiers&gt;None&lt;/Modifiers&gt;
            &lt;Key&gt;
              &lt;Key&gt;E&lt;/Key&gt;
              &lt;Code&gt;18&lt;/Code&gt;
            &lt;/Key&gt;
          &lt;/Combo&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="Keystroke"&gt;
          &lt;Target&gt;3&lt;/Target&gt;
          &lt;Combo&gt;
            &lt;Combo&gt;Q&lt;/Combo&gt;
            &lt;Modifiers&gt;None&lt;/Modifiers&gt;
            &lt;Key&gt;
              &lt;Key&gt;Q&lt;/Key&gt;
              &lt;Code&gt;16&lt;/Code&gt;
            &lt;/Key&gt;
          &lt;/Combo&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="Keystroke"&gt;
          &lt;Target&gt;4&lt;/Target&gt;
          &lt;Combo&gt;
            &lt;Combo&gt;E&lt;/Combo&gt;
            &lt;Modifiers&gt;None&lt;/Modifiers&gt;
            &lt;Key&gt;
              &lt;Key&gt;E&lt;/Key&gt;
              &lt;Code&gt;18&lt;/Code&gt;
            &lt;/Key&gt;
          &lt;/Combo&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="Keystroke"&gt;
          &lt;Target&gt;5&lt;/Target&gt;
          &lt;Combo&gt;
            &lt;Combo&gt;S&lt;/Combo&gt;
            &lt;Modifiers&gt;None&lt;/Modifiers&gt;
            &lt;Key&gt;
              &lt;Key&gt;S&lt;/Key&gt;
              &lt;Code&gt;31&lt;/Code&gt;
            &lt;/Key&gt;
          &lt;/Combo&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="Keystroke"&gt;
          &lt;Target&gt;5&lt;/Target&gt;
          &lt;Combo&gt;
            &lt;Combo&gt;Q&lt;/Combo&gt;
            &lt;Modifiers&gt;None&lt;/Modifiers&gt;
            &lt;Key&gt;
              &lt;Key&gt;Q&lt;/Key&gt;
              &lt;Code&gt;16&lt;/Code&gt;
            &lt;/Key&gt;
          &lt;/Combo&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="Keystroke"&gt;
          &lt;Target&gt;6&lt;/Target&gt;
          &lt;Combo&gt;
            &lt;Combo&gt;S&lt;/Combo&gt;
            &lt;Modifiers&gt;None&lt;/Modifiers&gt;
            &lt;Key&gt;
              &lt;Key&gt;S&lt;/Key&gt;
              &lt;Code&gt;31&lt;/Code&gt;
            &lt;/Key&gt;
          &lt;/Combo&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="Keystroke"&gt;
          &lt;Target&gt;6&lt;/Target&gt;
          &lt;Combo&gt;
            &lt;Combo&gt;E&lt;/Combo&gt;
            &lt;Modifiers&gt;None&lt;/Modifiers&gt;
            &lt;Key&gt;
              &lt;Key&gt;E&lt;/Key&gt;
              &lt;Code&gt;18&lt;/Code&gt;
            &lt;/Key&gt;
          &lt;/Combo&gt;
        &lt;/MappedKeyAction&gt;
      &lt;/Actions&gt;
    &lt;/Step&gt;
  &lt;/Steps&gt;
&lt;/MappedKey&gt;</SerializedObject>
</Box>
<<

Ualaa

Grandmaster Guidesmith

Posts: 714

Joined: Wed Nov 18, 2009 8:36 pm

Post Sat Feb 05, 2011 4:42 am

Re: Strange keymap problem

I haven't looked at the code within the Toolkit.

If it works for the other slots, but does not work for the main character...
Do you have those keys bound on the main, within your game?
Streaming in 720p HD: www.twitch.tv/ualaa
<<

tanker

Posts: 222

Joined: Mon Jan 03, 2011 2:27 am

Post Sat Feb 05, 2011 9:01 am

Re: Strange keymap problem

Ualaa wrote:I haven't looked at the code within the Toolkit.

If it works for the other slots, but does not work for the main character...
Do you have those keys bound on the main, within your game?


Yes, when I enter the keys directly into the window, the toon moves correctly. When I send them through ISBoxer, the toon does not.
<<

lax

User avatar

Site Admin

Posts: 7303

Joined: Tue Nov 17, 2009 9:32 pm

Post Sat Feb 05, 2011 10:05 am

Re: Strange keymap problem

The issue is as follows: The "Hold" option can't properly maintain modifier states in the current window. Whichever window you're currently in is going to get Ctrl+Shift (since you're holding them down for your Hotkey) plus whatever keystrokes, so for example Ctrl+Shift+W+Q instead of just W+Q.

Unfortunately this particular issue is relatively complex as far as correcting it in Inner Space. However, it is fixed in Joe Multiboxer (later this year).

Fortunately, there are various ways of working around it. The simplest fix in this case would be to find a single key you wouldnt mind setting this to. You could also add it to the Formations Click Bar (if you have it, the default toggle hotkey to show it is Ctrl+Shift+Alt+F) and activate it via clicking instead. Another way is to avoid moving the current window, although in this case it sounds like you want all of them to move. ("dynamic" formations will typically move every OTHER character, and allow the current one to remain still; Ualaa has some walkthroughs for setting these up, e.g. example "I" under Key Maps in http://isboxer.com/index.php/guides/9-wow-ualaa-isboxer-guide)
<<

tanker

Posts: 222

Joined: Mon Jan 03, 2011 2:27 am

Post Sat Feb 05, 2011 3:39 pm

Re: Strange keymap problem

That makes since. I have CTL+SHFT+Q mapped to dismount, so when it gets sent the the current window it doesn't do anything.

Return to Key Maps

Who is online

Users browsing this forum: No registered users and 0 guests