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 > SH4 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-17-21, 10:41 AM   #7
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,654
Downloads: 137
Uploads: 0


Default

Look!!!



Now there are a bunch of NON-ID assigned entries in that whole section.
Gonna have to figure out a way to filter those out. BUT that would create a more comprehensive Date Base.
Remember that SOME ID's are repetitive legitimately!
EnvColors dat files for example, have the same ID's but only one dat is loaded at a time!
Some ID's are calls to other files! But show as duplicates.
Take a look at any Location dat file and you'll see the Placement controller! Notorious for popping Duplicates!
But those are ALL legit usages!

Once good data bases are created? Simple to Script 010 to allow us to enter an ID and have it scan that.
We tell it to create a random ID and if it finds one exists? Re do.
All this would be done in Memory using Arrays and simply checking through the Arrays.
You could do it with Vectors but they use more memory.


Thinking about this? I probably HAVE 90% of the Code written in C++ that could be changed into a Stand Alone program so one would not need 010.

Last edited by Jeff-Groves; 12-17-21 at 12:25 PM.
Jeff-Groves is offline   Reply With Quote
 


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 07:23 AM.


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.