GMTwitch icon indicating copy to clipboard operation
GMTwitch copied to clipboard

buffer index not found

Open ToRRent1812 opened this issue 2 years ago • 3 comments

I copy pasted 8 scripts from this project, 4 chat scripts, and 4 basic ones. I applied twitch init and chat connect to main object(create event) + twitch_chat_async in async http event. Compiling project results in this error:

Data structure with index does not exist. at gml_GlobalScript_twitch_chat_async (line 6) - var net_buff = ds_map_find_value(async_load,"buffer");

Is this because twitch has updated their api or is it something wrong with implementation to my project?

ToRRent1812 avatar Sep 15 '21 20:09 ToRRent1812

This is definitely an issue with a deprecated API, I don't recommend using this repo any more. Sorry, if you need any help going forward with the new API, I'd be happy to help guide you through setting that up!

kbjwes77 avatar Sep 15 '21 20:09 kbjwes77

Hi, I found a solution to this issue, it seems it's an issue with gms 2.3 forcing to use new functions for scripts so I made few small tweaks to all scripts and now it works :P

ToRRent1812 avatar Sep 15 '21 20:09 ToRRent1812