Staredit Network > Forums > General StarCraft > Topic: Unpausing replay after 'Pause the game' action in trigge
Unpausing replay after 'Pause the game' action in trigge
Aug 27 2023, 8:14 pm
By: SerpMV  

Aug 27 2023, 8:14 pm SerpMV Post #1



Hi, everyone!
If UMS map has a trigger with action 'Pause the game' then the replay of a game on that map "freezes" when trigger executes that action.
Task Manager shows StarCraft application as 'working' but game does not react on any hot-keys and mouse cursor is not present. The only thing could be done is making screenshots :lol:
Just once I was able to get game back to senses and unpause the replay (it was map 4b of enslavers2 campaign) but I didn't get how that was achieved and has never done it again.

Is there any way for a replay to be unpaused after game fires 'Pause the game' action from trigger?

P.S. Sorry if it's a known issue answered thousand times, but I didn't find anything about it on this forum and internet in general.
P.P.S. environment - starcraft bw 1.16.1, win10 he



None.

Aug 28 2023, 5:40 pm DarkenedFantasies Post #2

Roy's Secret Service

The bug is a goof: When the pause game action is run in a replay, the game is programmed to also pause the replay itself. Since the replay is paused, trigger execution never resumes after the transmission is over/skipped and thus never reaches the unpause game action. It cannot be manually unpaused because user interaction is also disabled by the pause game action, so you're just stuck there.

I fixed that bug, among others, on my end with a personal mod (which I plan on releasing publicly some time), but without a similar plugin patch or unpausing the game using something like Cheat Engine, I don't think there's any way to unpause the replay after this.

If you really really need it now, I could send you a quick patch of the unmodded starcraft exe to remedy that specific issue.




Aug 28 2023, 6:56 pm SerpMV Post #3



...the game is programmed to also pause the replay itself. ...
Expected something like this :(

...I could send you a quick patch of the unmodded starcraft exe to remedy that specific issue
That would be much appreciated, because I don't have much experience with Cheat Engine and I guess there could be significant difference between unpausing just a replay or unpausing a game itself.



None.

Aug 29 2023, 12:23 am DarkenedFantasies Post #4

Roy's Secret Service

Here ya go.

Attachments:
StarCraft_pausefix.zip
Hits: 3 Size: 620.81kb




Aug 29 2023, 5:38 pm SerpMV Post #5



Many thanks, that worked just perfect!

I fixed that bug, among others, on my end with a personal mod (which I plan on releasing publicly some time) ...
Will it contain any patches for UMS replay desynching stuff?
May you give me a tip to track down the releasing of this mod: will it be a new topic on forum or standalone site or etc?



None.

Aug 29 2023, 7:14 pm DarkenedFantasies Post #6

Roy's Secret Service

Yeah I'll be creating a new thread here, and probably on the discord server as well. Not sure when I'll feel ready to publicly release it, exactly.

I'll eventually look into replay desync bugs, but right now, the only replay-specific bugs I have fixed are this and the final replay action being ignored. Although I guess the latter could be the cause of a desync if the replay goes on for long enough after the last player input.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[2026-7-16. : 2:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[2026-7-16. : 2:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
Please log in to shout.


Members Online: Roy