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.
[11:18 pm]
ClansAreForGays -- Echo Holy shit, I LOVE AoS lore, this is the best christmas gift ever!
[10:09 pm]
dumbducky -- Is your bank hiring? I'm separating next year and I need a job.
[10:09 pm]
dumbducky -- Sad!
[09:58 pm]
Echo -- I was reading your sentence and I was like OH WOW ME TOO, but realized you were replying to something I said. I actually got into a car accident and tore both my ACL. I ended up going into auditing and now I'm working at a bank LOL
[09:58 pm]
Echo -- Oh nice congrats dumbducky
[08:48 pm]
dumbducky -- dumbducky
dumbducky shouted: >I've been in college for nearly 7 years now. Switched majors from architecture to computer science. Currently doing officer training to become an officer in the Air Force for Cyber Ops.
Post badge
[08:47 pm]
dumbducky -- >I've been in college for nearly 7 years now. Switched majors from architecture to computer science. Currently doing officer training to become an officer in the Air Force for Cyber Ops.
[08:42 pm]
dumbducky -- Echo
Echo shouted: How is everyone doing? You guys got kids yet?
2 in fact
[04:11 pm]
Echo -- How is everyone doing? You guys got kids yet?
Please log in to shout.


Members Online: DiearAnother, NudeRaider, Roy