replay old PBEM MP games
replay old PBEM MP games
If MP games are all loaded onto your server, is it possible to replay old PBEM games and re watch a finished battle from the start?
-
rbodleyscott
- Field of Glory 2

- Posts: 28411
- Joined: Sun Dec 04, 2005 6:25 pm
Re: replay old PBEM MP games
Sadly not. Full game replays are on the wishlist, but it is by no means simple to implement, because the replays are not videos, they actually reconstruct the events by running the players' actions through the scripts again.
This means that any change to the scripts will stop the replays working correctly. So even if we did implement full-game replays, old ones would not work correctly after a game update.
Richard Bodley Scott


Re: replay old PBEM MP games
OK Richard thanks. At least it's on the list.
-
Jagger2002
- Master Sergeant - Bf 109E

- Posts: 491
- Joined: Sun Dec 07, 2014 7:31 pm
Re: replay old PBEM MP games
So if I am following correctly, basically a video feature would have to be added to video the replay? Something independent of the game rerunning through the scripts as it does the replay?because the replays are not videos
Re: replay old PBEM MP games
Would it be possible to do a text dump of the raw data found in the save files on the server, and have the game continuously append to that file on the client side? Then write a special game mode that simply reads the raw data and replays the entire game in the engine?
It would mean that Slitherine doesn't have to store additional data on its server and you only really need to write a special game mode in the engine that is capable of dealing with multiple turns. Of course it would break old replays whenever the version changed but that would be a vast improvement to what we have currently.
edit: It would also have the benefit of allowing players to review their games that are currently sitting on the opponent's turn.
It would mean that Slitherine doesn't have to store additional data on its server and you only really need to write a special game mode in the engine that is capable of dealing with multiple turns. Of course it would break old replays whenever the version changed but that would be a vast improvement to what we have currently.
edit: It would also have the benefit of allowing players to review their games that are currently sitting on the opponent's turn.
Stratford Scramble Tournament
http://www.slitherine.com/forum/viewtopic.php?f=494&t=99766&p=861093#p861093
FoG 2 Post Game Analysis Series on Youtube:
https://www.youtube.com/channel/UCKmEROEwX2fgjoQLlQULhPg/
http://www.slitherine.com/forum/viewtopic.php?f=494&t=99766&p=861093#p861093
FoG 2 Post Game Analysis Series on Youtube:
https://www.youtube.com/channel/UCKmEROEwX2fgjoQLlQULhPg/
-
pipfromslitherine
- Site Admin

- Posts: 9934
- Joined: Wed Mar 23, 2005 10:35 pm
Re: replay old PBEM MP games
Something like that is one of the solutions we have been thinking about, but we want to make it a little more robust if we actually do it - otherwise it rapidly becomes of limited use given the relatively high frequency of updates.
Cheers
Pip
Cheers
Pip
follow me on Twitter here
Re: replay old PBEM MP games
If the difference between getting something vs getting nothing is the fact that replays will break in different versions, I'll gladly take something. Not having a full game replay literally is what is keeping me from doing more videos due to the sheer amount of video I have to record and then edit.
Also, you can manage this by releasing each out of date version of the game going forward as a "beta" in Steam. Steam will automatically manage versions for the user under the BETA tab. Much like how you handle betas right now. Clearly have stored replays indicate which version of the game it was recorded on so that if a player ever wants a replay of a certain game, they know exactly which version to revert to, boot up the game, and then run the replay file.
Also, you can manage this by releasing each out of date version of the game going forward as a "beta" in Steam. Steam will automatically manage versions for the user under the BETA tab. Much like how you handle betas right now. Clearly have stored replays indicate which version of the game it was recorded on so that if a player ever wants a replay of a certain game, they know exactly which version to revert to, boot up the game, and then run the replay file.
Stratford Scramble Tournament
http://www.slitherine.com/forum/viewtopic.php?f=494&t=99766&p=861093#p861093
FoG 2 Post Game Analysis Series on Youtube:
https://www.youtube.com/channel/UCKmEROEwX2fgjoQLlQULhPg/
http://www.slitherine.com/forum/viewtopic.php?f=494&t=99766&p=861093#p861093
FoG 2 Post Game Analysis Series on Youtube:
https://www.youtube.com/channel/UCKmEROEwX2fgjoQLlQULhPg/
Re: replay old PBEM MP games
It is common to record the player's action sequence and random seed to reproduce the whole result. With the random seed, the pseudo-random result can be determined, and it may not be affected by the update.
miles evocatus luce mundi
-
rbodleyscott
- Field of Glory 2

- Posts: 28411
- Joined: Sun Dec 04, 2005 6:25 pm
Re: replay old PBEM MP games
The game already records the random number seed - that is how it reproduces the same sequence of events in the replay.
However, each update may result in additional calls to the RNG function, which will then mean that all subsequent calls to the RNG will produce different results. Also, the updated scripts may change the results of an action even with the same RNG result, which will also have a knock on effect on the subsequent replay.
Richard Bodley Scott




