Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

MM's Twitch.tv IRC Interface for GameMaker

Extension to connect GameMaker Games (even HTML5!) to Twitch chat · By mMcFab

DemoProject File is empty

A topic by antman313 created Jan 31, 2020 Views: 116 Replies: 5
Viewing posts 1 to 5
(1 edit)

Hi, great work and a nice script. But the DemoProjekt File is empty if I load it into GMS2.0.
Got these errors:

Failed to load resource 'views/03dadd2-3e21-404a-9788-7675d9a047ba-yy'

and so on. 
can you help or explain what's wrong?

thx

Developer

Hello!

Thanks for letting me know. I'll give it a check to see what's wrong and get back to you once I've figured it out. Hopefully just later today.

Developer

Ok, I've checked it out and it turns out I made a mistake and accidentally uploaded the wrong file. Whoops! I've now checked the project again, updated the version of the IRC extension it uses and properly uploaded a YYZ file instead which can be imported into GMS2. 

Thanks again for letting me know about this, I hope it works for you!

Thanks for your help
I got another error and I can't figure out why. Here is it:

Run_Start
ERROR!!! :: ############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object obj_gameManager:

Variable obj_gameManager.PUBLIC_TWITCH_CAP_ALL(100029, -2147483648) not set before reading it.
 at gml_Object_obj_gameManager_Create_0 (line 16) - twitch_set_cap_requests(PUBLIC_TWITCH_CAP_ALL);
############################################################################################

Also another question - is it possible to get also the sprites you use in your demo project from you video?
Is it possible to enter some message into the demo and then send them to twitch? so your demo will be a irc twitch chat client?

thanks again for your help. is it possible to send you a PM? so we can discuss some more? i have an idea for a small game and i need some small help. i pay for it.

Developer

The error message suggests that the macro "PUBLIC_TWITCH_CAP_ALL" has not been defined, which doesn't make much sense - did the scripts import correctly? The macro is defined in "twitch_connect", so you might have to check that script to see if it has loaded correctly.


I'm a little confused by the second question - I don't believe I used any sprites in the demo project, nor in the video - could you clarify what you mean please? Pictures may help me understand.


Yes, you can modify the demo to send messages to Twitch quite easily! 

I think the simplest way is to do something like this:

Add a key press event (I chose Key Press Enter) and add this code to it:

if(twitch_check_connected())
{
    twitch_send_chat_message(get_string("Send Message","message"));
}

If the demo is currently properly connected to a twitch chat, this will open a textbox when enter is pressed, and will send the message once confirmed.

For non-test purposes, you should use async input functions - or better yet, custom text inputs - but this test code gets the job done in a simple enough way.


I don't know if it is possible to send DMs on itch, but you can send an email to MaddeStudios@gmail.com if you want! 

Hi, is this updated to 1.4.9999?