Author Topic: Hue.Store Error  (Read 1575 times)

0 Members and 1 Guest are viewing this topic.

IKROWNI

  • $upporter
  • Sr. Member
  • *****
  • Posts: 146
  • Karma: 2
    • View Profile
Hue.Store Error
« on: February 17, 2016, 06:10:49 PM »
Im having an issue with hue.store causing an error.

Code: [Select]
Hue.Store
Error: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at vc.Plugin.Plugin.doAction(String[] parsedActions, String[]
parsedParams)
Plugin: C:\Users\IKROWNI\VoxCommando\Plugins\Hue\Hue.dll

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hue.Store Error
« Reply #1 on: February 17, 2016, 06:32:02 PM »
Good catch.

I think this action is OK but there is a problem with the xml for the documentation (actions.xml)

This action actually requires 1 parameter which is a list of the light IDs to store.  So for example if you have the starter set with 3 lights you would write the first parameter as

1,2,3

In order to create the field for the parameter (right now there is no box because of the error in the xml) you can either switch the action temporarily to one that requires at least one parameter so that you can enter a value or you can use the parameter helper (blocks icon at the right of the action) and then click + to add an extra param field.
« Last Edit: February 17, 2016, 08:07:54 PM by jitterjames »

IKROWNI

  • $upporter
  • Sr. Member
  • *****
  • Posts: 146
  • Karma: 2
    • View Profile
Re: Hue.Store Error
« Reply #2 on: February 17, 2016, 10:06:25 PM »
In order to create the field for the parameter (right now there is no box because of the error in the xml) you can either switch the action temporarily to one that requires at least one parameter so that you can enter a value or you can use the parameter helper (blocks icon at the right of the action) and then click + to add an extra param field.

Thanks again James that worked to fix the issue.