lilijreey / bwapi

Automatically exported from code.google.com/p/bwapi
0 stars 0 forks source link

Save replay conflict causes crash #363

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When Starcraft goes to save LastReplay.rep for multiple instances, they 
conflict and one instance will crash.

It appears that the "save failure" functionality for outside of the game was 
not tested by Blizzard.

Detour DeleteFile, CreateFile, and GetFileAttributes. Replace the 
LastReplay.rep with our auto-menu save_replay name, or append the name with 
(2), (3), etc. if it exists.

Original issue reported on code.google.com by AHeinerm on 13 Mar 2011 at 12:55

GoogleCodeExporter commented 9 years ago
Detours are in place, working on the rest.

Original comment by AHeinerm on 2 Apr 2011 at 7:34

GoogleCodeExporter commented 9 years ago
Fixed in r3569.

Original comment by AHeinerm on 2 Apr 2011 at 8:39