Skip to main content

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

[Solved] No error message, but also no live updating

A topic by Azurexis created Jan 11, 2018 Views: 700 Replies: 7
Viewing posts 1 to 8
(1 edit)

Hey guys,

so I've installed the extension according to the instructions, but for some reason nothing updates when I change it in the code. I tried to change the text in the obj_gmlive, but the change is only applied when I recompile the game.

gmlive-server.exe and netlog.exe are both running, and the gmlive-server.exe also shows that it's connected. Also I get these messages in the debugger:

[live][17:52:05] Ready!
[live][17:52:05] Reloaded obj_gmlive:Draw:0.

Also sometimes the gmlive-server.exe shows that it has timed out.

I hope somebody can help me! :)

Developer (1 edit)

Are you saving the file after making changes?

Additionally, make sure that you aren't loosing the instance of obj_gmlive somewhere along the way (e.g. having it non-persistent or deactivated by accident)

(2 edits)

Wow hey, quick response man!

I'm using GM:S1 btw, forgot to mention it.

Well I'm pressing the green Tick/OK Button? Is that what you mean?

The save icon in the script opens up a window where i can export the script, and the save button in GM:S is grayed out.

Also I haven't deactived it and I'm staying in the same room where the game starts.

Developer (1 edit)

As per documentation, you'll need to either use an external editor to edit files while game's running (I made one; it's free) or install netlog and gmlive-helper extensions so that the game can untie from IDE and you would be able to save the project, updating the files on disk. 

I would really like to work with method A :) I imported everything into the project and I'm starting gmlive-server.exe first, then netlog.exe .

I don't quite understand what you mean with this:

  • Use netlog script for debug logging instead of show_debug_message.  (which will display text in netlog's window when connected or IDE when not)

Maybe there's my mistake?

Thank you very much for your time!

Developer

Did you import netlog and GMLiveHelper extensions from the included files to actual project (GMS1 lacks abiltiy to import multiple extensions automatically). "netlog(message)" function is used if you want to see some debug output, but it being recognized as a function is also a sign that you did import the extension correctly.

(2 edits)

I finally got it working!

Yeah I somehow forgot to actually install these extensions... my bad.

If I want to apply the changes with method A I have to actually save the whole project again, right? Maybe I will use your editor then.

Anyway, thank you very much for your patience! <3

Developer

If "backup on save" is disabled in Preferences, saving only takes a few seconds at most times, but using an external editor is much faster as it doesn't have to re-save the project file - only the changed file.