Savegame problems ?

Started by Marion, Thu 03/04/2025 08:14:47

Previous topic - Next topic

Marion

Hi, I think I have a problem with my savegames. I don't know why, but when I test my game, everything works fine. I save, I load my game, and then nothing works anymore. It crashes when it tries to execute the Global Script's "repeatedly execute" commands and says there's no reference, or when I click anywhere in the GUI - then I get this message:


It's as if once a game is loaded, it no longer takes into account the global script...

I'm using AGS 4.00.00.15.

Thank you in advance ♥

Khris

Not saying this isn't a bug, but please post line 483 and surrounding ones.

Marion

#2
Here is the code from the error message, but it's not the only thing not working. It doesn't want to execute ANY of the GUI buttons (I have different error messages depending on which button I click), or anything included in the Repeteadly_execute, once I have loaded a previous game :


function bCharger_OnClick(GUIControl *control, MouseButton button)
{
 aClic.Play();
Wait(20);
gCrafting.Visible=false;
gCuisine.Visible=false;
gInventaire.Visible=false;
dCharger.Start();
}
}

Crimson Wizard

Please try to upgrade to 4.0.0.16 and check if this error still happens.
This would be the current download link in ags 4 forum thread:
https://www.adventuregamestudio.co.uk/forums/ags-engine-editor-releases/ags-4-0-early-alpha-for-public-test/


Also, in general, since 4.0 is not entirely stable at the moment, it's better to report such "strange" errors in the AGS 4 forum thread.

Marion

Thank you very much, I'll try this right now !

Marion

It works ! THANK YOU !!  :-*  :-*  :-*  :-*

SMF spam blocked by CleanTalk