Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Anyone start to recieveng this error, after the update?


After the update I'm recieving this error, and the solution is not working.

I also have the backups of my game, so tried it on the backup... The backups, with the old GMlive, are working perfect. 

I'm, Putting the new updated obj_gmlive to the start of the game. it is the first loaded object to game. but stil:


global variable name 'live_request_guid' index (100837) not set before reading it.

 at gml_Script_live_call (line 56) - if (live_request_guid == undefined) {



I also, searched the old and the new version of the script, and  found that there are some additions at the new update. So is it possible a, somehow, a bug? 


NEW UPDATE SEARCH RESULTS: (12 result)

Searching for 'live_request_guid'...

  • GMLive_tools at line 327: if (live_request_guid == undefined) {
  • GMLive_tools at line 330: l_url = live_request_url + "/update?guid=" + ((live_request_guid == undefined ? "null" : live_request_guid));
  • GMLive_tools at line 330: l_url = live_request_url + "/update?guid=" + ((live_request_guid == undefined ? "null" : live_request_guid));
  • GMLive_call at line 56: if (live_request_guid == undefined) {
  • GMLive_call at line 101: if (live_request_guid == undefined) {
  • GMLive_call at line 142: if (live_request_guid == undefined) {
  • GMLive_call at line 175: if (live_request_guid == undefined) {
  • GMLive_call at line 209: if (live_request_guid == undefined) {
  • GMLive at line 5441: globalvar live_request_guid; /// @is {live_yy_YyGUID}
  • GMLive at line 5442: if (live_enabled) live_request_guid = undefined;
  • GMLive_http at line 13: live_request_guid = ds_map_find_value(l_map, "guid");
  • GMLive_http at line 245: if (live_request_guid == undefined) live_async_http_0(l_map);

Search Complete (12 results)

***

OLDER and perfectly running version, search result: (11 Result)

Searching for 'live_request_guid'...

  • GMLive_tools at line 327: if (live_request_guid == undefined) {
  • GMLive_tools at line 330: l_url = live_request_url + "/update?guid=" + ((live_request_guid == undefined ? "null" : live_request_guid));
  • GMLive_tools at line 330: l_url = live_request_url + "/update?guid=" + ((live_request_guid == undefined ? "null" : live_request_guid));
  • GMLive_http at line 13: live_request_guid = ds_map_find_value(l_map, "guid");
  • GMLive_http at line 245: if (live_request_guid == undefined) live_async_http_0(l_map);
  • GMLive_call at line 55: if (live_request_guid == undefined) {
  • GMLive_call at line 96: if (live_request_guid == undefined) {
  • GMLive_call at line 133: if (live_request_guid == undefined) {
  • GMLive_call at line 162: if (live_request_guid == undefined) {
  • GMLive at line 5439: globalvar live_request_guid; /// @is {live_yy_YyGUID}
  • GMLive at line 5440: if (live_enabled) live_request_guid = undefined;

Search Complete (11 results)

(1 edit) (+1)

Is that the whole callstack? Sounds like you’re putting live_call straight into a global script (outside of a function/event), which causes it to be ran before GMLive initializes (and the old version likely works only because GMLive script was listed before the script using the function in your YYP file)