2024.2 minifix


This update has caught me off-guard so there will be a proper update after I’m done with the rest of the changes/fixes, but replacing gmlive-server executables with these new ones should have them work with GM2024.2 updated project format.

Files

GM2024.2 minifix (for Included Files directory).zip 363 kB
Mar 05, 2024

Get GMLive.gml for GameMaker

Buy Now$29.95 USD or more

Comments

Log in with itch.io to leave a comment.

(+1)

Hi,

I'm having this issue when trying to update a function that uses another function with optional parameters. Here is a simple example:

function sc_draft(){

if live_call() return live_result////
        with os_player
        {
                var f_weapon_dir = weapon_dir
                var f_player_dir = direction + 1
                var f_target_id = sc_nearest_enemy(, , , , true)
                var f_t_focus = t_focus
        }

}

It used to work on 2023.11. But now I have this error even if the changed codes have nothing to do with the function like adding "var i = 0".

[GMLive][19/03/2024 17:18:57][ERROR] Runtime error: [error] Variable <unknown_object>.x(0, -2147483648) not set before reading it.
 called from sc_draft [line 8, col 37]

This is what sc_nearest_enemy look like:

/// @param number=1
/// @param object=op_enemies
/// @param x=-999
/// @param y=-999
/// @param include_1st_crates=false

function sc_nearest_enemy(
        f_number = 1, f_object = op_enemies, f_x = -999, f_y = -999, f_include_1st_crates = false)
{

I saw you're working on the new patch changes. But I just wanted to give this feedback in case it's useful.

Thanks for GMLive. It is truely a game changer for developpers!


(I wanted to send screenshots, but for some reason itch.io game me an error, so I just copy/pasted the functions)

That is caused by a GM bug/change that I have described here - functions will not be called with the right self unless you do method(self, func)(...).

I have fixed this for the next release, but I’m still trying to collect a sample for enums/macros not being seen by GMLive.

Great, thanks!

(2 edits)

Downloaded the fix which got me past the server issues. But now updating my create objects using the live_auto_call gives me the error...
---
Couldn't find `function_name` in `function/location/Create_0.gml`

---

Everything looks right to me. I checked the raw file and the function is definitely there. Not sure why it doesn't see it. Appreciate the help!

Make sure that:

  1. You’re using live_name if it’s a function-in-a-function or function-in-an-event
  2. Not using live_auto_call macro - that is currently a bit buggy

Ahh got it. Seems like using live_call() worked just fine . 2 - I'll keep that in mind. lol

Btw, at some time I believe you should start charging us again. It's amazing that you are still updating.

(+1)

The extension still sells relatively consistently, but yeah, it’s been around for a little while.

What I’d really love is for my extension to make it into the internal GM unit tests so that the updates are less likely to break something that I use here (and it’s a big extension so I use a lot of things)

(+1)

Integrating into gm would be better than most of the promises they have in store for us actually. I wish they would talk to you to do something better integrated.

Much appreciated! Thanks for the quick fix! 👌

(2 edits)

edit: I'm blind.


Is anyone else not able to download this? For some reason there's no "You already own this extension" and download button banner on this page like there is on the main GMLive page, and this fix doesn't show up in the possible version downloads. My only option on this page is to buy now even though I'm logged in and already own it.


(5 edits)

https://yellowafterlife.itch.io/gamemaker-live

Download from main pages 

Minifix work for me!!! 

Ah, got it, thanks! IDK how I missed that!