Th0rstenf / Rocksniffer-to-Streamer.bot-extension

A set of streamerbot actions interacting with the Rocksmith RSSniffer
MIT License
6 stars 1 forks source link

RockSniffer to Streamer.bot extension

A streamer.bot implementation to replace Warths SceneSwitcher, and more.

Description

Switching Scenes

This code fetches the output of RockSniffer and evaluates game state and song timer. Depending on the state it switches to the scenes defined in global variables for Rocksmith, song, and break (pausing during a song).

Providing Global variables

The following data is written to global variables whenever they change:

In addition to that, the following are provided to SB, as soon as the arrangement is identified:

Reacting to Sections

Assuming the song has properly named sections, the following section types are recognized:

For each of those sections, an enter and leave action is provided. Those will automatically be called by the SceneSwitcher action. Feel free to fill them with whatever you like.
In addition to that, actions for entering/leaving a pause, the tuner and starting or ending a song are provided.

Guessing Game

The guessing game was introduced in version 0.3.0. When active, after start of a song the users have a configurable amount of time to guess your accuracy. The game will only validate guesses if the amount of guesses is above a configurable threshold. The closest guess will be displayed in the chat. In addition to that win counts for each user are tracked and can be fetched either as top ten list, or the rank for a specific user.

Commands

(Introduced in release v0.3.0)

Configurable Options

Installation and configuration

Add to Streamer.bot

Adapt to your needs

Inside the SceneSwitcher action, there are several arguments that can/need to be changed: For scene switching:

For the sniffer connection:

For determining when it is active:

Scene switching:

To enable/disable or set certain functions:

Dependencies

Help

In case the switcher does not work, double check the spellings of the scenes. Note that the IP address needs to be entered with quotes e.g.

"127.0.0.1"

Otherwise Streamer.bot will misinterpret it as double value. If the issues can not be solved this way, feel free to contact me in discord. See below.

With the usage of whitelist or blacklist, make sure to only switch to scenes that are valid for running. Otherwise you will not automatically switch back!

Author

Thorsten "Th0lamin" Fieger

Version History

License

This project is licensed under the MIT License - see the LICENSE.txt file for details

Acknowledgments