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:23 pm]
NudeRaider -- dumbducky
dumbducky shouted: I found a sneaky way to view some of my coworkers SAT scores and it is shocking
:ban:
[11:22 pm]
NudeRaider -- dumbducky
dumbducky shouted: I miss forums. Twitter is way more engaging but unless you have a following, nobody talks to you. Reddit is just filled with the stupidest people
well, most active members here are the bots, so not sure if this is an improvement :P
[06:05 pm]
dumbducky -- I found a sneaky way to view some of my coworkers SAT scores and it is shocking
[06:03 pm]
dumbducky -- FaRTy1billion
FaRTy1billion shouted: o, i keep meaning to add things to it but instead don't
Farty does your website work anymore
[06:02 pm]
dumbducky -- I miss forums. Twitter is way more engaging but unless you have a following, nobody talks to you. Reddit is just filled with the stupidest people
[02:32 pm]
Zoan -- :wob:
[02:54 am]
Ultraviolet -- :wob:
[2024-7-25. : 2:39 am]
O)FaRTy1billion[MM] -- o, i keep meaning to add things to it but instead don't
[2024-7-24. : 11:55 pm]
Roy -- Make that three changes to the wiki in the last month, all three being just edits to user pages.
[2024-7-23. : 2:47 pm]
dumbducky -- Two changes to the wiki in the last month, both are just edits to user pages
Please log in to shout.


Members Online: Moose