C
C#3mo ago
ne0lines

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
ero
ero3mo ago
Alright, and do you have a question or a problem?
ne0lines
ne0linesOP3mo ago
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."
ne0lines
ne0linesOP3mo ago
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.
ero
ero3mo ago
What is a "sub-action"? How is this being run? Do you have examples from others?
ne0lines
ne0linesOP3mo ago
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.
ero
ero3mo ago
The error would indicate that you're missing an assembly somewhere
ne0lines
ne0linesOP3mo ago
Okay, what's an "assembly" ^^ That's the level I'm at
ne0lines
ne0linesOP3mo ago
There's the References I've got, but the code is compiling, so don't think the references are an issue.
No description
ero
ero3mo ago
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?
ne0lines
ne0linesOP3mo ago
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.

Did you find this page helpful?