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.
[02:58 pm]
lil-Inferno -- penis and balls part 4
[2026-3-09. : 2:49 am]
Ultraviolet -- "Not many people know this, but I actually got the idea for my mustache after seeing the end of a paintbrush for the first time." :lol:
[2026-3-08. : 1:15 pm]
NudeRaider -- literally Hitler
[2026-3-08. : 12:54 pm]
Oh_Man -- this is a work of art: https://youtu.be/NmjrfXO0mdk
[2026-3-08. : 12:10 am]
Ultraviolet -- "often was always pretty cool" 60% of the time, it works every time :shifty:
[2026-3-07. : 11:26 pm]
NudeRaider -- The visuals are good, the animation is terrible: the movement is off, the impacts in battle scenes have zero weight to it, the lip sync is right up uncanny valley. But yeah, considering what it is it's pretty good overall.
[2026-3-07. : 6:24 pm]
Oh_Man -- https://youtu.be/pPZafFJOi48 crazy good
[2026-3-07. : 9:51 am]
NimoStar -- And Pathfinding in SC1 was not *that* bad, the problem is that it was designed as a flat 2D game like WC1 (and it was in the alpha) and then switched to isometric without changing the base code. So its actually a flat game pretending to be isometric. With the custom competitive maps that use larger ramps and elevation, pathfinding is quite fixed.
[2026-3-07. : 9:47 am]
NimoStar -- The unlocking and map choice was fine, but mostly in WoL - In HoTS the worst of all units are irrelevant because Kerrigan has infinite summon and stuff. And even in WoL the spaceship instakill map powers are better than units. If I could RTS in my RTS that'd be great.
[2026-3-05. : 8:45 pm]
NudeRaider -- Nekron
Nekron shouted: NudeRaider not that the og sc1 campaigns are particularly good mechanically but cmon, SC2 map mechanics are the opposite of fun
There's many parts to it. I think the raw rts gameplay of sc1 is unsurpassed to this day. And I too never liked that sc2 missions always rush you in some way or another, because I like to take my time. However I still have to admit that they way they did it often was always pretty cool. Like lava rising and receding, a huge-ass mothership destroying bases, undead coming at night, just to name a few, those are definitely creative, so I'm sure there's people that liked it. But that's not even what I meant. It's the unlocking of new features and upgrades and choice which map to play next that made it so much more motivating for me.
Please log in to shout.


Members Online: NudeRaider