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

Reply
 
Thread Tools Display Modes
Old 10-24-13, 11:35 PM   #1
lodebeard
Gunner
 
Join Date: Sep 2013
Posts: 96
Downloads: 84
Uploads: 0
Default

Wait... I think I may have posted in the wrong CONFLICT THREAD...

whoops
lodebeard is offline   Reply With Quote
Old 10-25-13, 03:42 AM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Targor Avelany View Post
Oh, believe me, I understand the principle It doesn't make it any less tiring to figure it out because realistically the only way to do it is to do it by trial and error.
Well, to some extent one can evaluate the compatibility of two mods from the features they affect and by having a quick look into their respective files, but I agree that the more mods are enabled, the more are their interactions, and the harder is tracking down every potential source of problems.

Quote:
Originally Posted by volodya61 View Post
Very good explanation.. but.. two examples - Sub Flags and AI Sub Crew.. how these mods may corrupt a mod-list.. settings of these two mods don't overlap with settings of any other mods.. nowhere..
Sub flags, in several ways: see this post by me for an example. Dunno about AI sub crew though: never looked into this mod.

Quote:
Originally Posted by privateer View Post
They could have ID's that conflict? That has been a bain on modding from SH3 up to and includeing SH5.
ID conflicts have also been shown to be wildly variable! It may take special conditions to cause a crash.
Such as being near Units that have ID clashes.
Well said, this could explain some herratic and mysterious crashes.

Nonetheless, we must also consider that a 16-digit hex number can assume values from 0 to 18,446,744,073,709,552,000 lol. Unless we consider human error as a factor, the evenience of randomly duplicated Id's is extremely unlikely
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-25-13, 03:46 AM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by lodebeard View Post
Submarines are stupid and modding is immoral and you guys are all totally stuck up and I wish I had never joined this place
Quote:
Originally Posted by lodebeard View Post
Wait... I think I may have posted in the wrong CONFLICT THREAD...

whoops
May the Force forgive them for they know not what they do...
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-25-13, 08:39 AM   #4
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by gap View Post
Sub flags, in several ways: see this post by me for an example. Dunno about AI sub crew though: never looked into this mod.
This example is not correct because I got CTDs on campaign start with each of these two mods long ago.. 16-18 months ago.. and at that time RSD creation is not even supposed to..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 10-25-13, 11:10 AM   #5
plj
Captain
 
Join Date: Sep 2013
Posts: 542
Downloads: 70
Uploads: 0
Default

Quote:
Originally Posted by volodya61 View Post
This example is not correct because I got CTDs on campaign start with each of these two mods long ago.. 16-18 months ago.. and at that time RSD creation is not even supposed to..
I think CTD on campaign start is a special case .. as I got that too .. as did mikemike47 at the time .. and for as far as I know, neither of us have them anymore .. while we did NOT change our modlist or order. I think this might be traced back to the savefolder, but diagnosing it is kinda hard if I cant relyably reproduce it :/
plj is offline   Reply With Quote
Old 10-27-13, 02:57 PM   #6
vlad29
XO
 
Join Date: Dec 2010
Location: Arkhangelsk
Posts: 427
Downloads: 325
Uploads: 0
Default

Quote:
Originally Posted by volodya61 View Post
This example is not correct because I got CTDs on campaign start with each of these two mods long ago.. 16-18 months ago.. and at that time RSD creation is not even supposed to..
Hi Volodya! Can confirm that Sub Flags and AI Sub Crew, and + SubExaust mod caused CTD for me also long time ago. Tried dozens of times to put them in various positions in my mod list, but the result was the same So just to stop using those mods was the best solution
vlad29 is offline   Reply With Quote
Old 10-27-13, 03:53 PM   #7
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Hi Vlad

Quote:
Originally Posted by vlad29 View Post
Hi Volodya! Can confirm that Sub Flags and AI Sub Crew, and + SubExaust mod caused CTD for me also long time ago. Tried dozens of times to put them in various positions in my mod list, but the result was the same So just to stop using those mods was the best solution
That's why I stopped my work on my new mod-pack/build.. in the latest version (December, 2012) all these mods were present.. but now I can't use them together with the new mods and new versions of old mods.. as soon as I add any of the new mods to my pack/list I get constant CTDs on the campaign start loading..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 10-27-13, 03:33 PM   #8
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
Nonetheless, we must also consider that a 16-digit hex number can assume values from 0 to 18,446,744,073,709,552,000 lol. Unless we consider human error as a factor, the evenience of randomly duplicated Id's is extremely unlikely
Saw that same arguement in SH3 long ago. Results were still many ID conficts even after the basic 'cloneing' issues were solved.
Throw in animations and how those use ID's, then add any ID corrections by the Game engine itself by enternal cloneing? The numbers get smaller real quick.
  Reply With Quote
Old 10-28-13, 11:05 AM   #9
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by privateer View Post
Saw that same arguement in SH3 long ago. Results were still many ID conficts even after the basic 'cloneing' issues were solved.
Throw in animations and how those use ID's, then add any ID corrections by the Game engine itself by enternal cloneing? The numbers get smaller real quick.
Yes, but how many ID's can already be in use... one billion maybe? This would still be about 18.5 billion times lesser than the total number of possible ID's
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-29-13, 03:05 PM   #10
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
Yes, but how many ID's can already be in use... one billion maybe? This would still be about 18.5 billion times lesser than the total number of possible ID's
The total number depends on how many ID's the GR2 files are useing. The dats in stock SH5 are useing 9265.
Add in any dats or edited GR2 ID's added by mods? The number can get pretty large.
A somewhat Stock GWX 3 has 122563 and those numbers don't count what was unknown ID's when the program was written.

Now the Original files in all versions from 3 up, don't use random numbers.
There is code to create ID numbers from the names in the files.
That's what you see in GoblinEditor for SH5 happening on GR2 files.

The problem with randomly creating ID's is you have no way to see if that number was used in other dats or GR2 files so it is possible (and has happened) that ID's can be duplicated at the worst possible moment!
  Reply With Quote
Old 10-29-13, 03:37 PM   #11
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by privateer View Post
The total number depends on how many ID's the GR2 files are useing. The dats in stock SH5 are useing 9265.

how did you count them?

Quote:
Originally Posted by privateer View Post
A somewhat Stock GWX 3 has 122563 and those numbers don't count what was unknown ID's when the program was written.
unknown Id's? What's that?

Quote:
Originally Posted by privateer View Post
...it is possible (and has happened) that ID's can be duplicated at the worst possible moment!
Duplicated Id's are a constant source of anxiety whe I plan to add a new object or controller in game. Diagnosing hem would be a real nightmare
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-29-13, 03:42 PM   #12
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I have a program the reads all dats, sims, zon, etc., and finds all ID,s.
It then compares to see all confilicting ID's in known files in the Whole Game.
(It was written by ref for the GWX Team)

Unknown ID's at that time were ID's that we did not know were ID's. Such as some of the Mesh Animation stuff in SH3.

Since then I've discovered ID's in SH4's animations that do not follow the 64 byte rule we were use to.


Random number generation is a whole science in itself. Some very big Companies are still dumping lots of cash into the whole thing!
The problem faced in SH Games is makeing sure you don't pop an already used number! And that has happened many times.

I posted before that Sergbuto seems to have figured out how the SH Engine gets the ID's from a name.
Maybe I should ask one of the Dev's that signed the poster they sent me for more details?
  Reply With Quote
Reply

Thread Tools
Display Modes

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 01:31 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.