SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-25-10, 08:17 AM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by kylania View Post
Also seeing something strange. I first got a single ship contact at 9:15. While I still had it deleted, at 10:16 I got another single ship contact.

The first ship's contact time switched to 5 seconds BEFORE the 2nd ship's contact. So one was 10:16:23 and the original changed it time from 9:15 to 10:16:18.

Then when I got a convoy report at 2:32 or something, the first ship contact again changed it's reported time to just before the convoy's spotted time, but second ship contact retained it's sighted time.

Might this be related tot he whole "nothing was initialized yet" thing like early versions of teleport were?
it's related to a word called assuming....which you know what happens when you do that Yep, bit me in the @ss.
The contacts are stored in an array and I assumed that new contacts would be added to the end of the array.....not so! The game adds contacts wherever it wants to in the array. So I had to adjust my code to account for this. This problem no longer exists.
TheDarkWraith is offline   Reply With Quote
 

Tags
dbrn, favorite, new ui


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 08:04 PM.


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