Streamer.bot + git/CounterStrike2GSI
Hi guys! Any C# wizard out there that are able to help me out with a project I'm working on? Need a bit of guidance, not too much just a few pointers.
I'm trying to get git/Streamerbot working with git/CounterStrike2GSI.
https://github.com/Streamerbot/Streamer.bot
https://github.com/antonpup/CounterStrike2GSI
GitHub
GitHub - Streamerbot/Streamer.bot: Supercharge your stream! Add an ...
Supercharge your stream! Add an advanced level of interactivity and integration! - Streamerbot/Streamer.bot
GitHub
GitHub - antonpup/CounterStrike2GSI: A C# library to interface with...
A C# library to interface with the Game State Integration found in Counter-Strike 2. - antonpup/CounterStrike2GSI
10 Replies
Alright, and do you have a question or a problem?
I'm able to compile the code within the C# Code Sub-Action, but when I try to run the Action I get a message saying "Could not load type System.Object from assembly System.Private.CoreLib because the parent does not exist."
This is my code in the C# Sub-Action https://codefile.io/f/H4zTvV4E3O
Codefile.io
Streamer.bot C# Sub-Action — Codefile
Create collaborative code files online for your technical interviews, pair programming, teaching, etc.
What is a "sub-action"? How is this being run? Do you have examples from others?
A Sub-Action is an "action" you can take within Streamer.bot, ie. Send message to Twitch Chat, Change scene in OBS, but there's also a C# sub-action where you can do stuff with C# aswell.
Here's some quick info -> https://docs.streamer.bot/guide/csharp
C# Code Actions
Take full control of Streamer.bot with custom code actions.
The error would indicate that you're missing an assembly somewhere
Okay, what's an "assembly" ^^ That's the level I'm at
There's the References I've got, but the code is compiling, so don't think the references are an issue.

Without knowing how, whatever program it is that consumes your code, actually does so, it's hard to say what the problem is.
What is this "Execute C# Code# window you're showing? That doesn't look like a development environment...
Does streamer.bot have their own Discord server or something?
That window is the environment where you put your C# Code. That's the actual C# Sub-Action. Yeah, they have their own Discord server, but the community isn't that quick, so that's why I was hoping to get some help in here.