Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

When documentation says “and have the script do”, that usually means “add to the function”, not “add the code outside of the function”, so your updated code is correct. I can probably update the documentation to have a fully copy-paste-able example now that I no longer update the 2.2.5 version of GMLive.

Unable to find a handler for exception { value : Please add a completely empty room, add live_room_start(); to it’s Creation Code, and assign it to live_blank_room in obj_gmlive’s create event.

The error kind of speaks for itself, but any additional code goes after live_init call, just in case. The next release will have this error slightly more readable (I found a way to get rid of {} in the error message)

(+1)

Thanks for getting back so quickly!

I triple-checked and I definitely have everything that the error message is asking for. I ended up fixing my issue after poking around in the source code and finding the variables live_gmlive_asset_api_blank_object and live_gmlive_asset_api_blank_room; I used those in the create event and it started working.

live_init(1, "http://localhost:5100", "");
live_gmlive_asset_api_blank_object = obj_blank
live_gmlive_asset_api_blank_room = rm_blank

(+1)

Oh, that’s no good - I have now published a version that fixes that.