Skip to main content

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

[Solved] Can't get it to work!

A topic by Tom Sennett created Aug 10, 2021 Views: 420 Replies: 3
Viewing posts 1 to 2
(1 edit) (+1)

I got GM Live through itch yesterday and can't get it working. I started a fresh project, imported the "GMLiveForGMS2.3+.yymps" package, put obj_gmlive into a Room with one other Object, started the server, and trying to run the game yields this error:

___________________________________________

############################################################################################

ERROR in

action number 1

of Create Event

for object <undefined>:

Variable <unknown_object>.vm_gml_thread_exec_slice_init(104800, -2147483648) not set before reading it.

 at gml_GlobalScript_GMLive (line 2145) - if (live_enabled) vm_gml_thread_exec_slice_funcs = vm_gml_thread_exec_slice_init();

############################################################################################

gml_GlobalScript_GMLive (line 2145)


This happens even without trying to put any live calls in my code. Help is appreciated!

I am on GM IDE v2.3.3.574 and Runtime v2.3.3.437.


Developer(+1)

This means that GMS2 corrupted one of the scripts (GMLive_exec in this case) during import - removing the script and re-importing will fix it. Failing that, rename YYMPs file to be a ZIP, extract it, and copy-paste the code from said GML file by hand.

I added a mechanism to check for missing scripts (and show a slightly more meaningful message), but it doesn’t detect a few of these due to execution order no longer being reliable.

"rename YYMPs file to be a ZIP, extract it, and copy-paste the code from said GML file by hand.".

Life saver. Copied everything by hand, scripts, objs  and the GMLive Folder. Works a charm. Thanks mate. ^

Extracting the YYMPS and copying in the script did the trick. Working now, very cool!

Thanks for the help!