Program to resume games from replays - Page 28
Forum Index > SC2 General |
d9mmdi
Germany179 Posts
| ||
Medrea
10003 Posts
Imagine the practice opportunities it could give, | ||
antiq
Slovakia191 Posts
On April 15 2012 06:47 Medrea wrote: The possibilities of being able to restart a game from a certain point are endless. Imagine the practice opportunities it could give, This is true. Remember all those times casters said things like "I could win it from this position"? They could put their money where their mouth is.. there could be legendary end-game positions which you could play out yourself, like in chess, etc. | ||
SamsLiST
Germany184 Posts
| ||
DustyShelf
United Kingdom111 Posts
Still a large amount of credit for doing this work, certainly shows an implementation of how this can be performed and how the problem of disconnects can be fixed WITHOUT adding LAN. Lets hope that Blizz already have a more stable/maintainable implementation of this in the pipeline. | ||
Proseat
Germany5113 Posts
On April 14 2012 23:31 TheSuperCow edited the opening post: edit: I made it so it pauses the game upon reaching the specified time, and it disables user input until then. [...] There is of course a few issues, the most notable right now is that it seems to matter who hosted/which order people joined. Most likely, the order joined/slot occupied by player must match with the originals from the replay, this is again most likely due to simple unit numbering internally in SC2, where the host's units are created first and so forth. Oh, and control groups are not restored. At least not with regards to the user interface. There should be no issues with spawn positions as this is indirectly determined by the random seed, which is overridden. [...] Nicely done adding the suggested pause and locking user input during fast forward. It makes sense as a general approach for the game/render engine to go with numbered placeholders for players with the actual player names just being stored in a separate string table. These numbered placeholders invariably correspond to the UI slots that joining players fill when creating the custom game. So to make things work properly with the current implementation, this slot setting needs to be replicated. If Blizzard ever were to incorporate a resume feature like this into the client, they'd probably render a custom game UI with only the slots to fill found in the replay to be loaded and internally associate these slots with the placeholder IDs used in game instructions (build unit X for player 1, move unit X to x,y for player 2, etc.). As for the missing control groups: Seeing as how replays viewed in the client have these, I am pretty sure the information about such control groups is indeed saved in the replay file. I assume there is a subroutine that needs to be called to visibly re-set these in the clients of those joining the custom game to resume the replay. Not sure how far you have gotten in reverse engineering the game/render engine APIs in that regard, but a little more digging might uncover such a subroutine to re-set and render the control groups in injected resume mode. It makes sense that spawn positions are a function of the random seed. So it's just down to filling the proper slots of all the original participants (definitely players, possibly also observers and referees, especially if they typed chat I guess?) and picking the original map version with the same terrain to not bug out recorded unit commands. I do believe the map data is part of the replay as well, but I'm sure it would mean a lot more work to replace a randomly picked map when creating the host custom game with the map data from the replay in-memory. | ||
Chronos.
United States805 Posts
I still feel iffy about downloading a 3rd party mod for SC2, but would love for Blizz to implement this. | ||
BoxingKangaroo
Japan955 Posts
On April 15 2012 06:39 [17]Purple wrote: Like what? Pissing of their consumers by not adding basic reconnect features for an e-sports title? That destroys consumer goodwill and makes them a less credible company in the eyes of many. really? Heart of the Swarm is your answer. Gamer 'boycotts' have been a joke in the past. 99.99% of people will buy HoTS with or without this feature, thus making implementing it a cursory issue. | ||
JackDT
724 Posts
| ||
Jisall
United States2054 Posts
| ||
Cubeface
965 Posts
| ||
stormchaser
Canada1009 Posts
On April 15 2012 10:15 JackDT wrote: Holy cow MrBitter just did special segment devoted to this program on NASL. Seriously best first post ever. Came here to say this, BLIZZARD HIRE THE DUDE THAT MADE THIS | ||
Rorix
357 Posts
SC'eption. | ||
rotegirte
Germany2859 Posts
On April 15 2012 06:39 [17]Purple wrote: Like what? Pissing of their consumers by not adding basic reconnect features for an e-sports title? That destroys consumer goodwill and makes them a less credible company in the eyes of many. Unfortunately, those interested in competitive gaming are not the majority of their customers by a large margin | ||
Josh_rakoons
United Kingdom1158 Posts
| ||
Herper
501 Posts
But the question blizzard may ask is, is it worth the time and money? Maybe they will put this as a feature for HotS? Or maybe LotV | ||
dudecrush
Canada418 Posts
| ||
Honga
Australia64 Posts
| ||
_MagnuM_
Denmark136 Posts
Sir, you have singlehandedly cured the game!! This will mean there won't be anymore disconnects in the future in tournaments!! If you have a third-party host that could immediately load up the game again after a disconnect.. I mean, the uses for this program are just so freaking awesome!! I'm lost for words man.. I'm just thinking of everything this can be used for.. Imagine pros watching a replay after a loss and trying to figure out what they did wrong and see if they could change a few things.. Its like going back in time almost!!... Dude.. You have just invented a SC2 TIME MACHINE... and yeah thats what you should call it...!!! And i'm sure you can fix the controlgroup issue.. Cos they are loaded up when you load the replay, so maybe you are just missing some code somewhere?.. anyway man... AWESOME JOB!! GG GL !!! | ||
StarcraftMan
Canada507 Posts
On April 15 2012 11:18 rotegirte wrote: Unfortunately, those interested in competitive gaming are not the majority of their customers by a large margin Don't know about that. Alot of the SC2 playerbase are watching competitive SC2 now. Look at the turnout for MLG and IPL - the turnout has been stellar and growing. | ||
| ||