SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Modern-Era Subsims > Dangerous Waters
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-14-06, 07:43 PM   #1
SeaQueen
Naval Royalty
 
Join Date: Jun 2005
Location: Washington, DC
Posts: 1,185
Downloads: 0
Uploads: 0
Default Playback Incorrect

I was trying to watch the replay of a mission I just completed, for an ~20 hour game, the playbacks have always been slow, but now I've noticed that the position of my own ship is radically wrong.

Has anyone else had this problem?
SeaQueen is offline   Reply With Quote
Old 05-14-06, 10:46 PM   #2
Sonoboy
Planesman
 
Join Date: Aug 2005
Location: United States, CA
Posts: 195
Downloads: 9
Uploads: 0
Default

A 20 hour game?! That's... hardcore.
Sonoboy is offline   Reply With Quote
Old 05-15-06, 12:03 AM   #3
Bellman
Sea Lord
 
Join Date: Feb 2004
Posts: 1,945
Downloads: 220
Uploads: 0
Default

20 Hour replay I am beginning to suspect that you are the player who ran Silent Hunter in real time and
reported it blow by blow.

Replays have always been screwed. I still see some of what I saw in SC MP, only now I dont waste time in pursuing
suspicions about opponents behaviour. Their replay almost always reflected a different picture of certain events.

Two or three participants replays may allow some reconstruction of in-game events. (May !)
__________________

Liberty, Equality, Fraternity
Bellman is offline   Reply With Quote
Old 05-15-06, 01:48 AM   #4
LuftWolf
Ocean Warrior
 
Join Date: May 2005
Location: Free New York
Posts: 3,167
Downloads: 2
Uploads: 0
Default

SeaQueen, for a run that long, the replay is next to useless... and will take forever to run unless you have some grunt in the front of your computer.
__________________
LW
LuftWolf is offline   Reply With Quote
Old 05-15-06, 03:03 PM   #5
Mau
Sonar Guy
 
Join Date: Jun 2005
Posts: 382
Downloads: 3
Uploads: 0
Default

But I still don't understand why that Replay is so innefective.

I mean Flight Simulator for exemple, there are more data and in 3D!! and it is very fluid.

Is that because we are dealing with some older technology here?
Mau is offline   Reply With Quote
Old 05-15-06, 11:41 PM   #6
LuftWolf
Ocean Warrior
 
Join Date: May 2005
Location: Free New York
Posts: 3,167
Downloads: 2
Uploads: 0
Default

Flight sims are running a physics, a graphics, and a sound engine.

DW is running a phsyics, a graphics, and a sound engine, AND the acoustic engine.

It's a massive drain on the processor.

My suspicion is that the coding challenge of making the game capable of storing a replay file that can be easily replayed without errors that doesn't significantly drag the performance of the software down as a whole was beyond the budget of SCS.
__________________
LW
LuftWolf is offline   Reply With Quote
Old 05-16-06, 04:31 AM   #7
MaHuJa
Sonar Guy
 
Join Date: Jan 2002
Location: 59.96156N 11.02255E
Posts: 385
Downloads: 3
Uploads: 0
Default

LW is correct that the acoustics engine draws a lot of cpu, but I think he overestimates its role in causing problems for the replay.

Replays have problems, that's for sure. But what causes these problems? Lack of cpu time? Hardly. Ergo: the acoustics engine doesn't affect it; at least not the part of it draining cpu time.

I think it's a coding problem more than anything else. Without looking at the code, I can only guess; but at least I can evaluate a probability for a guess. Here's my guesses for culprits.

#1: Storing only deltas, instead of the positions themselves. I remember there were statements that *could* mean this.
This means that if there is an incorrect update, the rest of the replay is pretty much bogus.
It also means that fast-forward and fast-backward is slow, and jumping to a very different time is very slow. We know that is the case from observation. ("keyframes" could mitigate this; as discussed in another thread - "third-party replayer")

#2: Insufficient accuracy in the deltas
The replay saying course and speed, but without accounting for wind and currents.
If true, this will really only have them "slide" from their original position. I've seen platforms "jump around". Still, it could be a factor.

#3: Race conditions, partial updates of values before they were recorded
Could probably explain at least some jumping around. These are usually quite hard to debug. Esp since there may be some safeguards against it, that the compiler just happens to optimize away
If this is part of the problem, then it's no wonder if SCS let dead beast lie

Those are my guesses.
__________________

Teaching DW newbies how to climb the food chain.
MaHuJa is offline   Reply With Quote
Old 05-16-06, 06:16 AM   #8
SeaQueen
Naval Royalty
 
Join Date: Jun 2005
Location: Washington, DC
Posts: 1,185
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by Sonoboy
A 20 hour game?! That's... hardcore.
That's actually pretty typical of one of my missions. There's usually sufficient randomness in the game that it can vary a lot. Sometimes it lasts just a few hours, sometimes it goes for 8...12...16...

I try to set things up so that there's an interesting search problem.

That SAVE & EXIT option was made just for me. :-)
SeaQueen is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:23 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.