Starcraft II Betting System

A lot of bots have the option to do bettings in chat but nobody really uses that feature since it’s quite a hassle to always set them up manually and for StarCraft II even more so. It’s a great idea to do that for every game but .. let’s be honest: It’s a pain in the ass to do and hence nobody does it.

However! What would happen if that process of creating a bet, letting people do the betting, closes it and actually select winners was automated?

That’s where our betting system comes into play since that’s exactly what it does! This means you only need to set it up once and decide if you want to enable it this stream or not. Easy, right?

You: “Well, yea… but that’s a chat-only thing again, right?”

Mh… well, have a look at these screenshots in the Usage Example section below!

It’s not! We also offer overlays which you can use for your stream and decide on some customizations such as the labels, betting commands for the viewers and animation you want and if the overlay should hide again after the time is up where people can bet so it only fades in again to announce the winner of the match.

Big update for version 1.2.0:
Voting: If you don’t like to use a currency for your stream then don’t do it. Switch the betting system to a voting system and let them vote without any currency at all. The overlay will be displayed with percentages then instead of total amount of points then.
You like the voting system more but also want to use your currency? We got you covered: Set an amount of points every vote will cost and viewers can vote with just the commands.

Overlays/Themes: We created a theme system for Chatbot and our script so you can go ahead and create your own betting overlay with just a bit of HTML, CSS and JS knowledge. Afterwards just select the theme you’d like to use within the script and change them up on the fly.

Usage Example

Changelog

  • v1.2.3
    • Fixed an issue with debugging / logging
  • v1.2.2
    • Added a log feature so we can backtrack problems way faster
    • Fixed an issue that bets would get stuck if streamer uses ‘quit & rewind’ feature
    • Fixed an issue with the ‘SC2Score’ theme where it got displayed before the start
  • v1.2.1
    • Added the GSL theme
    • Hotfixes/improvements for the other themes
    • Added a checkbox in the overlay options to decide if you want capitalized names or not
    • Changed some labels, default values and tooltips
    • Added an ‘Open readme file’ button
  • v1.2.0
    • Completely overhauled the sidebar menu for the script (Arrangements, labels, tooltips, etc)
    • Added a dropdown menu to choose from themes
    • Added a “SC2ScoreBoard” theme which is smaller and especially created for showing on the top border of the screen
    • Users can now create their own themes easily without touching existing ones
    • Users can also create specific variables for seperate themes (userSettings)
    • Added “Configure Options” for set up and test purposes
      – Button to do a “Test Bet”: Start, Update and showing a winner
      – Option to be able to test it live against “AI opponents”
      – Option to be able to bet/vote multiple times to test alone
      – Option to always show the Betting overlay to adjust your OBS BrowserSource neatly
    • Fixed LOTS OF SHIT (Too lazy to write all down 😀 )
    • Reworked the core code
  • v1.1.3
    • Fixed issue where both players had a name found in the list of “StarCraft II Accounts”
    • In case users enter wrong StarCraft Names (like with trailing white space or with character code, e.g. Burny#1337), it will now automatically correct them
    • Renamed “StarCraft II Accounts” to “Player Names”
    • Necessary changes since AnkhBot became Streamlabs Chatbot
  • v1.1.2
    • Added dev options – testing overlay vs AI and multiple entries
    • Added Voting system (either without currency or with currency and a fixed amount)
    • Added ability to display percentages of amount of votes / amount of currency worth of bets
    • Removed “Betting Enabled” because Ankhbot put in its own enabler
  • v1.1.1
    • Replaced “requests” with “urllib2”
    • Fixed some stuff
  • v1.1.0
    • Added Overlay System + First Design: StarCraft II
  • v1.0.0
    • First release
  • Scriptname: SC II Betting System
  • Author: Brain & Burny
  • Last Update: 2018-01-24
  • scbet01

  • scbet02

  • scbet03

  • scbet04