Git Product home page Git Product logo

streamlabs_chatbot_hangman's People

Contributors

goosefuse avatar mithom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

streamlabs_chatbot_hangman's Issues

Documentation help

I cannot, for the life of me, figure out how to make this work. I have the hangman_StreamlabsSystem.py script along with the overlay.html on disk on my Mac laptop. I have Streamlabs OBS set to have a browser source set to the overlay.html. I've whispered to chatbot on Twitch. I have a Wordnik API key though I understand that's not necessary for basic functionality.

I don't understand the documentation about right-clicking on the script and inserting an API key. Which script and which key?

Javascript Error in Overlay

My overlay.html is throwing a javascript exception, the overlay does not work due to this error.

I use google chrome Version 67.0.3396.87

Firefox won't trow a exception, but does not render the overlay too.

Uncaught DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data. at Caman.Root.Caman.Caman.reloadCanvasData (file:///D:/Stream%20Data/Streamlabs%20Chatbot/Services/Scripts/streamlabs_chatbot_hangman-master/overlay/caman.min.js:36:231) at Caman.Root.Caman.Caman.finishInit (file:///D:/Stream%20Data/Streamlabs%20Chatbot/Services/Scripts/streamlabs_chatbot_hangman-master/overlay/caman.min.js:35:6) at Caman.Root.Caman.Caman.initCanvas (file:///D:/Stream%20Data/Streamlabs%20Chatbot/Services/Scripts/streamlabs_chatbot_hangman-master/overlay/caman.min.js:28:1232) at Caman.Root.Caman.Caman.setup (file:///D:/Stream%20Data/Streamlabs%20Chatbot/Services/Scripts/streamlabs_chatbot_hangman-master/overlay/caman.min.js:28:208) at Caman.<anonymous> (file:///D:/Stream%20Data/Streamlabs%20Chatbot/Services/Scripts/streamlabs_chatbot_hangman-master/overlay/caman.min.js:19:381) at file:///D:/Stream%20Data/Streamlabs%20Chatbot/Services/Scripts/streamlabs_chatbot_hangman-master/overlay/caman.min.js:20:250

My Hangman Settings:
{"next_word": "", "guess_command": "!guess", "turn_limit_response": "the word has not been found within the turn limit, the solution was {0}", "last_letter_found_response": "{0} found the last letter {1} of the word {2} and has been rewarded {3} {4} for finishing the word.", "found_letter_response": "{0} found {1}, reward: {2} {3}.", "global_cd": 1, "hangman_color": "rgba(255,255,255,1)", "mix_api_file_word": 100.0, "send_progress_after_guess": true, "start_response": "a game of hangman has been started, start guessing now using {0} (letter)", "word_guess_counts_as_turn": true, "nb_turns": 30.0, "start_game_command": "!startHangman", "ignore_response": "{0}, the letter {1} has already been used", "progress_response": "{0}", "not_show_me": false, "api_key": "", "only_online": true, "min_word_length": 4.0, "start_game_permission": "Moderator", "use_different_guess_command": false, "end_after_x_turns": false, "user_cd": 15, "guess_word_cost": 15, "not_enough_points_response": "{0}, you don't have enough {1}, you need {2} and only have {3}", "use_multiplier": false, "vanish_delay": 10, "ignore_used": false, "max_word_length": 20.0, "max_turns_prefix": "turn {0} / {1} : ", "guess_cost": 5, "found_correct_word_response": "{0} has found the correct word {1} and has been rewarded {2} {3}.", "start_game_info": "", "shown_letters": "-", "guess_word_addition": " and {0}", "auto_delay": 5, "finish_word_reward": 50, "send_response_if_ignored": true, "letter_not_in_word_response": "{0}, {1} is not in the word, cost: {2}, {3}", "currency_name": "fritten", "no_game_running_response": "{0}, there is currently no hangman game running, pls start one using {1}", "file_name": "words.txt", "wrong_word_guess_response": "{0}, the word {1} is incorrect, better luck next time", "guess_word_command": "!guessWord", "send_message_if_not_enough_points": true, "allow_chat_message": false, "guess_vowel_cost": 15, "in_progress_response": "current game is still in progress", "auto_start_game": false, "find_letter_reward": 5}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.