Do ANYTHING In Streamer.bot With OBS Raw!

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024
  • Streamer.bot has the ability to let your Twitch viewers take control of your OBS scenes for some really fun and interactive channel point effects.
    But it’s actually possible to do even more with OBS, thanks to OBS Websockets. You can send an “OBS Raw” command and do almost anything you want in OBS. This video breaks down what OBS Raw is and how to use it.
    🔥 FOLLOW THE MAIN CHANNEL FOR MORE STREAMING TIPS & TRICKS
    / nuttylmao
    🔥 JOIN MY PATREON FOR EXCLUSIVE CUSTOM STREAM WIDGETS
    / nuttylmao
    === USEFUL LINKS ===
    ► OBS Websockets Documentation github.com/obs...
    === SOCIALS ===
    ► Watch the Live Stream! / nutty
    ► Missed a stream? Catch the VODs here! / nuttyvods
    ► Official Patreon / nuttylmao
    ► Get help on the Discord Server! / discord
    ► Twitter / nuttylmao
    ► Merch merch.streamel...
    ► Business Inquiries Only nuttylmao@gmail.com
    #nuttytips #streamerbot

ความคิดเห็น • 14

  • @nuttyLIVE
    @nuttyLIVE  2 ปีที่แล้ว +3

    I am now on Patreon! If you’ve ever wanted to download some of my stream widgets or redemptions, you can become a beta tester there!
    www.patreon.com/nuttylmao

  • @deldarel
    @deldarel 2 ปีที่แล้ว +3

    This is so incredibly powerful. I've been using them since 2 weeks ago and it's brilliant and infuriating. My favourite ways are for changing values in filters and moving the location of items on screen.
    Here is a little nugget of information that's hard to find: the Move Value filter is called identically to the source it inherits from. No extra nesting or parameters needed. Only the name is different.

  • @djeduardocelis
    @djeduardocelis 6 หลายเดือนก่อน

    Hello greetings. I want to ask you a question. Do you know if there is any way to set scene transitions in obs from streamer.bot? thanks and congratulations

  • @amettalegend
    @amettalegend 2 ปีที่แล้ว +3

    Do you happen to know how to move an image source on a scene with Streamer.bot using the OBS Raw input?

    • @TohVahKiin
      @TohVahKiin ปีที่แล้ว +1

      BUMP! Would like to know as well....

  • @robotninjayt
    @robotninjayt 5 หลายเดือนก่อน

    can u make a video on how to run Lua script inside obs using Streamerbot

  • @visability50
    @visability50 2 ปีที่แล้ว

    I actually have a question for commands that give you response items, if you use OBS Raw directly the response items get saved as variables to Streamer.bot. However, it's different if you use C#, It gets all the response items and turns it into one string that you need to "parse"
    My question is: How do we parse that string in order to get the exact setting that we need even if that string gets updated removing or adding response items? For example I want to get the text in a text source, I want to get that using CPH.ObsSendRaw exactly without anything else mixing in no matter how much I change that text source in the future, How do I do that? Is there a consistent way that works for any setting I want or does it vary from one setting to another?

    • @nuttyLIVE
      @nuttyLIVE  2 ปีที่แล้ว +1

      Instead of simply making the request, you can create a new JObject and store the results of the request into that JObject.
      e.g. The below will just make the request.
      CPH.ObsSendRaw("the name of the request you want", req.ToString(), connection);
      Whereas this will both make the request and store the response into a JObject, which you can then parse out
      whatever you need.
      JObject getReq = JObject.Parse(CPH.ObsSendRaw("the name of the request you want", req.ToString(), connection));
      And here is an example of parsing out an integer.
      int number = getReq.Value("whatever response item you need here");

    • @visability50
      @visability50 2 ปีที่แล้ว

      ​@@nuttyLIVEThank you for giving me a head start with this nutty!
      My problems were basically the brackets inside the JSON, for example, in order to parse a response item like sourceSettings from the request GetSourceSettings which basically opens new {} brackets inside the JSON you need to use an example like this:
      JObject unfunnyText = getReq.Value("sourceSettings");
      // THEN you parse the setting you want inside the {} brackets, in this case I will get the text.
      string funnyText = unfunnyText.Value("text");
      // funnyText will contain the text settings from the specified text source.
      And in order to parse an array inside the JSON it basically becomes a 3 step process. For example in order to parse a response item like sceneItems from the request GetSceneItemList which basically opens [] brackets that contain multiple {} brackets, you need to first parse the array in an example like this:
      JArray veryUnfunnyText = getReq.Value("sceneItems");
      // From now onwards, we do the same exact process we did before in the first example. HOWEVER, the first example had the "sourceSettings" string which we were able to use as a reference in order to parse, these brackets are in an array, there's no reference text for them, there's only the first {} bracket, the second {} bracket, etc.. In this case we use integers to reference what bracket we want to parse, first bracket is 0 referencing the source in the bottom position, second bracket is 1 referencing the source in the second position from the bottom, etc...
      JObject unfunnyText = veryUnfunnyText.Value(0);
      // Now the final step, doing the same exact final step in the first example, this time I want the source name.
      string funnyText = unfunnyText.Value("sourceName");
      // funnyText will contain the name of the source in the very bottom of the scene specified.
      This was a very long reply so.. yeah... not sure if you even read the whole thing but I actually spent almost an entire night trying to figure this out and googling stuff, turns out it's much simpler than I thought, but I am a baby programmer, I don't even know how efficient this whole thing is I still got long ways to go. If I ever forget how to parse at some point in the future I will hopefully use this video and comment thread myself in order to remember.
      Looking forward to lurking in your streams mate, thank you for the help!

  • @elyciarhiannon6721
    @elyciarhiannon6721 ปีที่แล้ว

    I've been trying this but obs raw wont let me connect to it ugh

  • @GamerJules_
    @GamerJules_ 2 ปีที่แล้ว

    Is there a boon to using C# versus OBS RAW? Is it that you're constrained to OBS-specific variables?

    • @nuttyLIVE
      @nuttyLIVE  2 ปีที่แล้ว

      OBS simply lets you make requests to OBS. And a request is just a "thing" that you want OBS to do, such as change scenes or change the size/position of a source.
      C# will allow you to do pretty much anything you want. By running OBS Raw commands in C#, you are able to manipulate variables that you can then use within an OBS Raw request.

  • @CGJoe
    @CGJoe ปีที่แล้ว

    Thx dude