usmanatron / amBXPeripheralController

Server application (with a number of assisting clients) to control amBX gaming peripherals
Other
1 stars 4 forks source link

Fans go off when they shouldn't #8

Closed usmanatron closed 10 years ago

usmanatron commented 10 years ago
  1. Switch on Server
  2. Fans go off
  3. Use aPC.Client to change to CCNet_Red
  4. Fans go off, even though ccnet_red doesn't contain any fans!

Reason is that we're going from Sync -> Desync and, when the Server is switched on, the Default scene is pushed to both sync and desync conductors. What we should actually do is:

  1. Set everything up with an empty default scene
  2. Add the default_RedVsBlue scene to Sync /only/
usmanatron commented 10 years ago

The recommended solution above won't work. We push to both sync and desync because then, if we push a partial desync scene, they'll both merge together nicely (which is much more expected).

If anything, I would argue that this is by design - if you don't want the fans to go off, then the scene should be written with an extra frame to disable them (alternatively you could implement the IsExclusive flag :smile: )