Switching between modes with MIDI Fighter Twister button leads to a TypeError

325 viewsCSS BugsMaybe Bug Mode selector
0

Hi everyone,

I am getting strange behavior when trying to implement two additional modes on top of the Global Mode. Because I have followed the instructions outlined in the video (https://www.youtube.com/watch?v=Rh8plD3ajno) closely, using a MIDI Fighter Twister, and only using a different button for changing the mode, I think this is buggy behavior. Please correct me if I’m wrong and I made a mistake somewhere.

In the imported MIDI Fighter Twister template, I am using Button 2, set to:

Mode = mode0 (my global mode)

Controller Input = Button 2

Mode Selector = Scroll

Input Control Override = Custom

Control Type = Increment

The rest left as is.

Now, when I load the script and press Button 2 to switch modes, the Log registers a TypeError:

“int() argument must be a string, a byte-like object or a real number, not ‘NoneType'”

Further up, the line “goto = int(active_mode_key) + 1” is referenced.

Am I missing something?

Thanks!

Glenn V. Answered question
0

Here’s my own Mode Changing Mappings that I made in the past and had saved.

These still import correctly on my computer. You can try it out and see if it works. The increment Mapping seems to be set just like you described in your first post. If it does work on your computer, then I would still suggest trying to make the mapping again on your own, just to see if your version of CSS will compile it correctly this time. If you get errors again, then you might want to try to uninstall and reinstall CSS with a fresh copy from the site.

There’s also mappings for Shift Mode but you can make them invisible or delete them if you don’t want to deal with that.

Might need to change the Global Mode and the buttons on the Mappings to that of your preference.

Glenn V. Answered question
You are viewing 1 out of 7 answers, click here to view all answers.