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.
[07:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
Please log in to shout.


Members Online: Wing Zero