FAQ  •  Register  •  Login

Unexpected behavior from 'Make Copy'

Moderator: MiRai

<<

tanker

Posts: 222

Joined: Mon Jan 03, 2011 2:27 am

Post Fri Apr 13, 2012 7:09 pm

Unexpected behavior from 'Make Copy'

I created a new key map, and entered a new mapped key "Left Click Role 1". Inside this key I have two steps with four actions each. If I right click the 'Left Click Role 1' and select 'Make Copy', the newly created mapped key only has one step in it.

The source key:

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;Left Click Role 2&lt;/Name&gt;
  &lt;Description /&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;Default&lt;/Mode&gt;
  &lt;Steps&gt;
    &lt;Step&gt;
      &lt;Stick&gt;0&lt;/Stick&gt;
      &lt;Stop&gt;false&lt;/Stop&gt;
      &lt;Stump&gt;false&lt;/Stump&gt;
      &lt;Actions&gt;
        &lt;MappedKeyAction xsi:type="ClickBarButtonAction"&gt;
          &lt;Target&gt;all&lt;/Target&gt;
          &lt;ClickBarButton&gt;
            &lt;ClickBarString&gt;Roles&lt;/ClickBarString&gt;
            &lt;ClickBarButtonString&gt;Role 2&lt;/ClickBarButtonString&gt;
          &lt;/ClickBarButton&gt;
          &lt;Image&gt;
            &lt;ImageString&gt;Role Tank&lt;/ImageString&gt;
          &lt;/Image&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="TargetGroupAction"&gt;
          &lt;Target&gt;Toon-Server&lt;/Target&gt;
          &lt;Action&gt;Leave&lt;/Action&gt;
          &lt;RelayGroupString&gt;Healer&lt;/RelayGroupString&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="TargetGroupAction"&gt;
          &lt;Target&gt;Toon-Server&lt;/Target&gt;
          &lt;Action&gt;Leave&lt;/Action&gt;
          &lt;RelayGroupString&gt;DPS&lt;/RelayGroupString&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="TargetGroupAction"&gt;
          &lt;Target&gt;Toon-Server&lt;/Target&gt;
          &lt;Action&gt;Join&lt;/Action&gt;
          &lt;RelayGroupString&gt;Tank&lt;/RelayGroupString&gt;
        &lt;/MappedKeyAction&gt;
      &lt;/Actions&gt;
    &lt;/Step&gt;
    &lt;Step&gt;
      &lt;Stick&gt;0&lt;/Stick&gt;
      &lt;Stop&gt;false&lt;/Stop&gt;
      &lt;Stump&gt;false&lt;/Stump&gt;
      &lt;Actions&gt;
        &lt;MappedKeyAction xsi:type="ClickBarButtonAction"&gt;
          &lt;Target&gt;all&lt;/Target&gt;
          &lt;ClickBarButton&gt;
            &lt;ClickBarString&gt;Roles&lt;/ClickBarString&gt;
            &lt;ClickBarButtonString&gt;Role 2&lt;/ClickBarButtonString&gt;
          &lt;/ClickBarButton&gt;
          &lt;Image&gt;
            &lt;ImageString&gt;Role DPS&lt;/ImageString&gt;
          &lt;/Image&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="TargetGroupAction"&gt;
          &lt;Target&gt;Toon-Server&lt;/Target&gt;
          &lt;Action&gt;Leave&lt;/Action&gt;
          &lt;RelayGroupString&gt;Tank&lt;/RelayGroupString&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="TargetGroupAction"&gt;
          &lt;Target&gt;Toon-Server&lt;/Target&gt;
          &lt;Action&gt;Leave&lt;/Action&gt;
          &lt;RelayGroupString&gt;Healer&lt;/RelayGroupString&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="TargetGroupAction"&gt;
          &lt;Target&gt;Toon-Server&lt;/Target&gt;
          &lt;Action&gt;Join&lt;/Action&gt;
          &lt;RelayGroupString&gt;DPS&lt;/RelayGroupString&gt;
        &lt;/MappedKeyAction&gt;
      &lt;/Actions&gt;
    &lt;/Step&gt;
  &lt;/Steps&gt;
&lt;/MappedKey&gt;</SerializedObject>
</Box>


And the new copy:

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;Copy of Left Click Role 2&lt;/Name&gt;
  &lt;Description /&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;Default&lt;/Mode&gt;
  &lt;Steps&gt;
    &lt;Step&gt;
      &lt;Stick&gt;0&lt;/Stick&gt;
      &lt;Stop&gt;false&lt;/Stop&gt;
      &lt;Stump&gt;false&lt;/Stump&gt;
      &lt;Actions&gt;
        &lt;MappedKeyAction xsi:type="ClickBarButtonAction"&gt;
          &lt;Target&gt;all&lt;/Target&gt;
          &lt;ClickBarButton&gt;
            &lt;ClickBarString&gt;Roles&lt;/ClickBarString&gt;
            &lt;ClickBarButtonString&gt;Role 2&lt;/ClickBarButtonString&gt;
          &lt;/ClickBarButton&gt;
          &lt;Image&gt;
            &lt;ImageString&gt;Role Tank&lt;/ImageString&gt;
          &lt;/Image&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="TargetGroupAction"&gt;
          &lt;Target&gt;Toon-Server&lt;/Target&gt;
          &lt;Action&gt;Leave&lt;/Action&gt;
          &lt;RelayGroupString&gt;Healer&lt;/RelayGroupString&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="TargetGroupAction"&gt;
          &lt;Target&gt;Toon-Server&lt;/Target&gt;
          &lt;Action&gt;Leave&lt;/Action&gt;
          &lt;RelayGroupString&gt;DPS&lt;/RelayGroupString&gt;
        &lt;/MappedKeyAction&gt;
        &lt;MappedKeyAction xsi:type="TargetGroupAction"&gt;
          &lt;Target&gt;Toon-Server&lt;/Target&gt;
          &lt;Action&gt;Join&lt;/Action&gt;
          &lt;RelayGroupString&gt;Tank&lt;/RelayGroupString&gt;
        &lt;/MappedKeyAction&gt;
      &lt;/Actions&gt;
    &lt;/Step&gt;
  &lt;/Steps&gt;
&lt;/MappedKey&gt;</SerializedObject>
</Box>
<<

Alge

User avatar

League of Extraordinary Multiboxers

Posts: 1223

Joined: Wed Jan 26, 2011 2:17 am

Location: Under the milky way tonight

Post Wed Apr 25, 2012 2:32 am

Re: Unexpected behavior from 'Make Copy'

I can confirm that "Make Copy" from the context menu of a Mapped Key is only copying a single step of multi-step Mapped Keys. Please consider this a bug report.

"Copy Mapped Key to Clipboard" followed by "Paste Mapped Key from Clipboard" copies all steps, so that provides a workaround for now.
<<

lax

User avatar

Site Admin

Posts: 7303

Joined: Tue Nov 17, 2009 9:32 pm

Post Wed Apr 25, 2012 3:36 am

Re: Unexpected behavior from 'Make Copy'

Fixed in 40.2.0425.1, update through Help->About

Code:
ISBoxer 40.2.0425.1
    * Added 'Key Map Toggler' to Mapped Key Wizard
    * Using 'Make Copy' on a Mapped Key now properly saves changes to the Mapped Key first

Return to General discussion

Who is online

Users browsing this forum: No registered users and 1 guest