1.10
- [FEATURE] MagiLogNLoad can now unload units from transports seamlessly when loading a save-file.
Maps using this system require the custom ability 'AUNL' (customized 'Adri').
Please refer to the provided test map and the MLNL_Config file.
- [BREAKING] MagiLogNLoad.CreatePlayerSaveFile has replaced MagiLogNLoad.SaveLocalPlayer.
YOU MUST UPDATE ALL YOUR <MagiLogNLoad.SaveLocalPlayer> FUNCTION CALLS.
It's now sync while updating references, then it becomes async when saving the actual file.
- [BREAKING] Mode <savePreplacedUnits> has been renamed to <savePreplacedUnitsOfPlayer>
GUI config string has been changed to SAVE_PREPLACED_UNITS_OF_PLAYER. Please update your triggers.
Functionality unchanged.
- [BREAKING] Mode <saveAllUnitsOfPlayer> has been renamed to <saveNewUnitsOfPlayer>.
GUI config string has been changed to SAVE_NEW_UNITS_OF_PLAYER. Please update your triggers.
Enabling this will only saved units that have been created at runtime.
- [BREAKING] Mode <saveDestrsKilledByUnits> has been renamed to <saveDestroyedPreplacedDestrs>.
GUI config string has been changed to SAVE_DESTROYED_PREPLACED_DESTRS. Please update your triggers.
Functionality unchanged.
- [BREAKING] MagiLogNLoad.ALL_CARGO_ABILS has been replaced by MagiLogNLoad.ALL_TRANSP_ABILS
It now contains 2 arrays: CARGO, with all <Cargo Hold> abils in the map; and LOAD, with all <Load> abils in the map.
All units are assumed to have just one abil of each category.
- Added the mode <saveDestroyedPreplacedUnits>.
Save ALL destroyed pre-placed units as long as a logging player is defined when the destruction happens.
- Added a way to change the commands "-save" and "-load" to arbitrary strings in the config file.
- At the request of
@Antares, added the following callback functions to ease integration and message editing:
MagiLogNLoad.onSaveStarted
MagiLogNLoad.onSaveFinished
MagiLogNLoad.onLoadStarted
MagiLogNLoad.onLoadFinished
MagiLogNLoad.onSyncProgressCheckpoint
MagiLogNLoad.onAlreadyLoadedWarning
MagiLogNLoad.onMaxLoadsError
1.09
- Fixed a bunch of linting bugs thanks to
@Tomotz
- Fixed a bug preventing huge reals from being saved correctly. S2R and R2S are still unstable.
1.08
- Added parallel bursting sync streams. Load times can be up to 50x faster.
- Added filename validation to prevent users from shooting themselves in the foot.
- Added internal state monitoring capabilities to the system. Errors should be much easier to track.
- Added the option for the map-maker to set a time limit for loading and syncing. The loading will fail in case it's exceeded.
- Added progress prints for file loading. They should show up at 25, 50 and 75% loading progress.
- Changed the default behavior for MagiLogNLoad.WillSaveThis. Ommitting the second argument will default to <true>.
- Fixed a possible jamming desync when multiple players are syncing at the same time.
- Fixed a bug involving some weird Blizzard functions, like SetUnitColor.
- Fixed a bug involving unit groups that could cause saves to fail.
- Fixed a bug involving proxied tables that could cause saves to fail.
- Fixed a bug causing real variables to sometimes save as 10x their normal value.
- Fixed a bug causing research/upgrade entries to sometimes not load correctly.