SteelSeries / gamesense-sdk

472 stars 146 forks source link

Bug: Color Sequences not updating to new Event definitions #131

Open tmwbook opened 1 year ago

tmwbook commented 1 year ago

Version: GG 30.0.0, GSDK Version 2.4.20.0

Events were originally created with the rust crate gamesense but all steps below have been recreated with plain HTTP with JSON in Insomnia.

Currently if you define an event with POST /register_game_event, go in the UI and create a color scheme image the top (and bottom I believe) of the value range is fixed. IE if you

  1. POST /remove_game_event
  2. POST /register_game_event (with the same name but a different value as min or max val)
  3. Open the integration in the UI, select the event

you will have the same top value (4 in this case as depicted in the screenshot) and get a ❌ on hover if you attempt to add more.

I can see that in the database the event has been updated in the game_integration_registered_events table to the correct values, but the color sequence cannot be adjusted in the UI. I have not been able to track down where color sequence is linked to a particular event in the database.

The problem persists if you POST /remove_game and go through all the steps to register the game and event as well.