Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Hmm I think other isn't working correctly this time around. Under GMLive, referring to other yields an incorrect reference vs. without GMLive. Any quick workarounds for this?

Edit: Yup other was never working in the previous build. Self was fixed however.

Can I have a small snippet for reproduction? I’m pretty sure that I’m doing with (new_self) so that shouldn’t be breaking too easily

(1 edit)

Add show_debug_message(other); right under line 8 on the snippet above

Output without GMLive (the expected output):

 {  }

With GMLive:

{ live:context : "gml_Object_objGolem_Step_0", live:function : "objGolem:Step_0+1+1", live:self : { name : "Alex", greet : function gml_Script_vm_group_call_on_func_literal_lf } }

Running on the step event of a fresh new object named "objGolem"

How did you fix self, speaking of which? Could be related to that. I may be able to help look into it with some points of reference.

(+1)

This new issue is caused by self inside a bound method reasonably being the self from method call, but I have not rolled out a new version yet since I found more things to fix.

You can fix this specific thing by going into GMLive_vm_callvm_group_call_on_func_literal_lf and changing

live_custom_other=self;

to

live_custom_other=other;

You rock.