• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[vJASS] Watching a replay modify saved local files

Status
Not open for further replies.
Level 19
Joined
Aug 16, 2007
Messages
881
I'm using Codeless Save and Load (Multiplayer) - v3.0.1 in order to automatically save and load stats for players in my map.

However, many players have reported their stats are reset after watching replays.

I've found out that the cause is whenever Player 1 in the game saves to the local text file in the replay, the watching player has their file overwritten with the data from Player 1.

I can't remember if this was the case before Reforged, or if it's a bug introduced with patch 1.32.

Unfortunately there doesn't seem to be any solid way to detect if the game is in a replay state so I could prevent the save to execute.

Any ideas?

@TriggerHappy
 
Status
Not open for further replies.
Top